UNPKG

intercom-client

Version:

Official Node bindings to the Intercom API

34 lines (33 loc) 1.42 kB
/** * @example * { * source_id: "source_id", * sync_behavior: "api", * url: "https://www.example.com" * } */ export interface UpdateContentImportSourceRequest { /** The unique identifier for the content import source which is given by Intercom. */ source_id: string; /** If you intend to create or update External Pages via the API, this should be set to `api`. You can not change the value to or from api. */ sync_behavior: UpdateContentImportSourceRequest.SyncBehavior; /** The status of the content import source. */ status?: UpdateContentImportSourceRequest.Status; /** The URL of the content import source. This may only be different from the existing value if the sync behavior is API. */ url: string; } export declare namespace UpdateContentImportSourceRequest { /** If you intend to create or update External Pages via the API, this should be set to `api`. You can not change the value to or from api. */ const SyncBehavior: { readonly Api: "api"; readonly Automated: "automated"; readonly Manual: "manual"; }; type SyncBehavior = (typeof SyncBehavior)[keyof typeof SyncBehavior]; /** The status of the content import source. */ const Status: { readonly Active: "active"; readonly Deactivated: "deactivated"; }; type Status = (typeof Status)[keyof typeof Status]; }