/** * @example * { * uuid: "b1c2d3e4-f5a6-47b8-89c0-d1e2f3a4b5c6", * name: "Updated Product Catalog", * url: "https://api.newstore.com/products/v2" * } * * @example * { * uuid: "b1c2d3e4-f5a6-47b8-89c0-d1e2f3a4b5c6", * authType: "token", * token: "newabc123token789" * } * * @example * { * uuid: "b1c2d3e4-f5a6-47b8-89c0-d1e2f3a4b5c6", * maxRetries: 5, * cache: true * } * * @example * { * uuid: "b1c2d3e4-f5a6-47b8-89c0-d1e2f3a4b5c6", * headers: [{ * name: "X-API-Version", * value: "v2" * }, { * name: "User-Agent", * value: "Brevo-Feed-Client/1.0" * }] * } * * @example * { * uuid: "b1c2d3e4-f5a6-47b8-89c0-d1e2f3a4b5c6", * name: "Enterprise Product Feed", * url: "https://enterprise-api.company.com/catalog", * authType: "token", * token: "enterprise789token123", * headers: [{ * name: "Authorization", * value: "Bearer enterprise789token123" * }, { * name: "Accept", * value: "application/json" * }], * maxRetries: 3, * cache: true * } */ export interface UpdateExternalFeedRequest { /** UUID of the feed to update */ uuid: string; /** Name of the feed */ name?: string; /** URL of the external data source */ url?: string; /** Authentication type for accessing the feed */ authType?: UpdateExternalFeedRequest.AuthType; /** Username for basic authentication */ username?: string; /** Password for basic authentication */ password?: string; /** Token for token-based authentication */ token?: string; /** Custom HTTP headers for the feed request */ headers?: UpdateExternalFeedRequest.Headers.Item[]; /** Maximum number of retry attempts for failed requests */ maxRetries?: number; /** Whether to cache the feed response */ cache?: boolean; } export declare namespace UpdateExternalFeedRequest { /** Authentication type for accessing the feed */ const AuthType: { readonly Basic: "basic"; readonly Token: "token"; readonly NoAuth: "noAuth"; }; type AuthType = (typeof AuthType)[keyof typeof AuthType]; type Headers = Headers.Item[]; namespace Headers { interface Item { /** Header name */ name: string; /** Header value */ value: string; } } }