import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { EcommerceProduct, EcommerceProduct$Outbound } from "./ecommerceproduct.js"; import { Links, Links$Outbound } from "./links.js"; import { Meta, Meta$Outbound } from "./meta.js"; /** * Products */ export type GetProductsResponse = { /** * HTTP Response Status Code */ statusCode: number; /** * HTTP Response Status */ status: string; /** * Apideck ID of service provider */ service: string; /** * Unified API resource name */ resource: string; /** * Operation performed */ operation: string; data: Array; /** * Response metadata */ meta?: Meta | undefined; /** * Links to navigate to previous or next pages through the API */ links?: Links | undefined; }; /** @internal */ export declare const GetProductsResponse$inboundSchema: z.ZodType; /** @internal */ export type GetProductsResponse$Outbound = { status_code: number; status: string; service: string; resource: string; operation: string; data: Array; meta?: Meta$Outbound | undefined; links?: Links$Outbound | undefined; }; /** @internal */ export declare const GetProductsResponse$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetProductsResponse$ { /** @deprecated use `GetProductsResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetProductsResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetProductsResponse$Outbound` instead. */ type Outbound = GetProductsResponse$Outbound; } export declare function getProductsResponseToJSON(getProductsResponse: GetProductsResponse): string; export declare function getProductsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getproductsresponse.d.ts.map