import * as z from "zod/v4-mini";
import { FedExConnectExistingOwnAccountParameters, FedExConnectExistingOwnAccountParameters$Outbound } from "./fedexconnectexistingownaccountparameters.js";
import { UPSConnectExistingOwnAccountParameters, UPSConnectExistingOwnAccountParameters$Outbound } from "./upsconnectexistingownaccountparameters.js";
export type CarrierAccountBaseParameters = UPSConnectExistingOwnAccountParameters | FedExConnectExistingOwnAccountParameters | {
[k: string]: any;
};
export type CarrierAccountBase = {
/**
* 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;
};
/** @internal */
export type CarrierAccountBaseParameters$Outbound = UPSConnectExistingOwnAccountParameters$Outbound | FedExConnectExistingOwnAccountParameters$Outbound | {
[k: string]: any;
};
/** @internal */
export declare const CarrierAccountBaseParameters$outboundSchema: z.ZodMiniType;
export declare function carrierAccountBaseParametersToJSON(carrierAccountBaseParameters: CarrierAccountBaseParameters): string;
/** @internal */
export type CarrierAccountBase$Outbound = {
account_id: string;
active?: boolean | undefined;
carrier: string;
parameters?: UPSConnectExistingOwnAccountParameters$Outbound | FedExConnectExistingOwnAccountParameters$Outbound | {
[k: string]: any;
} | undefined;
};
/** @internal */
export declare const CarrierAccountBase$outboundSchema: z.ZodMiniType;
export declare function carrierAccountBaseToJSON(carrierAccountBase: CarrierAccountBase): string;
//# sourceMappingURL=carrieraccountbase.d.ts.map