import type { ApiClient } from "@promobase/sdk-runtime"; import { Cursor } from "@promobase/sdk-runtime"; import type { AutomotiveModelFields } from "./automotive-model.ts"; import type { DestinationFields } from "./destination.ts"; import type { FlightFields } from "./flight.ts"; import type { HomeListingFields } from "./home-listing.ts"; import type { HotelFields } from "./hotel.ts"; import type { ProductFeedRuleFields } from "./product-feed-rule.ts"; import type { ProductFeedScheduleFields } from "./product-feed-schedule.ts"; import type { ProductFeedUploadFields } from "./product-feed-upload.ts"; import type { ProductItemFields } from "./product-item.ts"; import type { VehicleFields } from "./vehicle.ts"; import type { VehicleOfferFields } from "./vehicle-offer.ts"; import type { ProductFeedDelimiter, ProductFeedIngestionSourceType, ProductFeedQuotedFieldsMode } from "../enums.ts"; export interface ProductFeedFields { country: string; created_time: string; default_currency: string; deletion_enabled: boolean; delimiter: ProductFeedDelimiter; encoding: string; file_name: string; id: string; ingestion_source_type: ProductFeedIngestionSourceType; item_sub_type: string; latest_upload: ProductFeedUploadFields; migrated_from_feed_id: string; name: string; override_type: string; primary_feeds: string[]; product_count: number; quoted_fields_mode: ProductFeedQuotedFieldsMode; schedule: ProductFeedScheduleFields; supplementary_feeds: string[]; update_schedule: ProductFeedScheduleFields; } export interface ProductFeedListAutomotiveModelsParams { bulk_pagination?: boolean; filter?: Record; [key: string]: unknown; } export interface ProductFeedListDestinationsParams { bulk_pagination?: boolean; filter?: Record; [key: string]: unknown; } export interface ProductFeedListFlightsParams { bulk_pagination?: boolean; filter?: Record; [key: string]: unknown; } export interface ProductFeedListHomeListingsParams { bulk_pagination?: boolean; filter?: Record; [key: string]: unknown; } export interface ProductFeedListHotelsParams { bulk_pagination?: boolean; filter?: Record; [key: string]: unknown; } export interface ProductFeedListProductsParams { bulk_pagination?: boolean; error_priority?: string; error_type?: string; filter?: Record; [key: string]: unknown; } export interface ProductFeedCreateRulesParams { attribute: string; params?: Record; rule_type: string; [key: string]: unknown; } export interface ProductFeedCreateSupplementaryFeedAssocsParams { assoc_data: Record[]; [key: string]: unknown; } export interface ProductFeedCreateUploadSchedulesParams { upload_schedule?: string; [key: string]: unknown; } export interface ProductFeedCreateUploadsParams { fbe_external_business_id?: string; file?: File | Blob | ReadableStream; password?: string; update_only?: boolean; url?: string; username?: string; [key: string]: unknown; } export interface ProductFeedListVehicleOffersParams { bulk_pagination?: boolean; filter?: Record; [key: string]: unknown; } export interface ProductFeedListVehiclesParams { bulk_pagination?: boolean; filter?: Record; [key: string]: unknown; } export interface ProductFeedUpdateParams { default_currency?: string; deletion_enabled?: boolean; delimiter?: string; encoding?: string; migrated_from_feed_id?: string; name?: string; quoted_fields_mode?: string; schedule?: string; update_schedule?: string; [key: string]: unknown; } export declare function productFeedNode(client: ApiClient, id: string): { __path: string; __brand: ProductFeedFields; get: (opts: { fields: F; params?: Record; }) => Promise>; update: (params: ProductFeedUpdateParams) => Promise; delete: () => Promise; automotiveModels: (opts: { fields: F; params?: ProductFeedListAutomotiveModelsParams; }) => Cursor>; destinations: (opts: { fields: F; params?: ProductFeedListDestinationsParams; }) => Cursor>; flights: (opts: { fields: F; params?: ProductFeedListFlightsParams; }) => Cursor>; homeListings: (opts: { fields: F; params?: ProductFeedListHomeListingsParams; }) => Cursor>; hotels: (opts: { fields: F; params?: ProductFeedListHotelsParams; }) => Cursor>; products: (opts: { fields: F; params?: ProductFeedListProductsParams; }) => Cursor>; rules: { __path: string; __brand: ProductFeedRuleFields; list: (opts: { fields: F; params?: Record; }) => Cursor>; create: (params: ProductFeedCreateRulesParams) => Promise; }; createSupplementaryFeedAssoc: (params: ProductFeedCreateSupplementaryFeedAssocsParams) => Promise>; uploadSchedules: { __path: string; __brand: ProductFeedScheduleFields; list: (opts: { fields: F; params?: Record; }) => Cursor>; create: (params: ProductFeedCreateUploadSchedulesParams) => Promise; }; uploads: { __path: string; __brand: ProductFeedUploadFields; list: (opts: { fields: F; params?: Record; }) => Cursor>; create: (params: ProductFeedCreateUploadsParams) => Promise; }; vehicleOffers: (opts: { fields: F; params?: ProductFeedListVehicleOffersParams; }) => Cursor>; vehicles: (opts: { fields: F; params?: ProductFeedListVehiclesParams; }) => Cursor>; }; //# sourceMappingURL=product-feed.d.ts.map