import { APIResource } from "../core/resource.mjs"; import * as BusinessPartnersAPI from "./business-partners.mjs"; import { APIPromise } from "../core/api-promise.mjs"; import { PageCursorURL, PagePromise } from "../core/pagination.mjs"; import { RequestOptions } from "../internal/request-options.mjs"; export declare class CustomPages extends APIResource { /** * A list of CustomPage. * * - Requires: `Custom Apps Platform API` */ list(options?: RequestOptions): PagePromise; /** * Create a new CustomPage */ create(body?: CustomPageCreateParams | null | undefined, options?: RequestOptions): APIPromise; /** * Retrieve a specific CustomPage */ retrieve(id: string, options?: RequestOptions): APIPromise; /** * Update a specific CustomPage. */ update(id: string, body?: CustomPageUpdateParams | null | undefined, options?: RequestOptions): APIPromise; /** * Delete a CustomPage */ delete(id: string, options?: RequestOptions): APIPromise; } export type CustomPageListResponsesPageCursorURL = PageCursorURL; export interface CustomPageListResponse { /** * Identifier field */ id?: string; /** * Record creation date */ created_at?: string; /** * The ID of the role that created the page */ created_by?: string; /** * The ID of the Rippling Function that renders this page */ function_id?: string; /** * The display name of the custom page */ name?: string; /** * Record update date */ updated_at?: string; /** * The ID of the role that last modified the page */ updated_by?: string; } export interface CustomPageCreateResponse { /** * Identifier field */ id?: string; /** * Record creation date */ created_at?: string; /** * The ID of the role that created the page */ created_by?: string; /** * The ID of the Rippling Function that renders this page */ function_id?: string; /** * The display name of the custom page */ name?: string; /** * Record update date */ updated_at?: string; /** * The ID of the role that last modified the page */ updated_by?: string; } /** * Meta information for the response. */ export interface CustomPageRetrieveResponse extends BusinessPartnersAPI.Meta { /** * Identifier field */ id?: string; /** * Record creation date */ created_at?: string; /** * The ID of the role that created the page */ created_by?: string; /** * The ID of the Rippling Function that renders this page */ function_id?: string; /** * The display name of the custom page */ name?: string; /** * Record update date */ updated_at?: string; /** * The ID of the role that last modified the page */ updated_by?: string; } export interface CustomPageUpdateResponse { /** * Identifier field */ id?: string; /** * Record creation date */ created_at?: string; /** * The ID of the role that created the page */ created_by?: string; /** * The ID of the Rippling Function that renders this page */ function_id?: string; /** * The display name of the custom page */ name?: string; /** * Record update date */ updated_at?: string; /** * The ID of the role that last modified the page */ updated_by?: string; } export interface CustomPageCreateParams { /** * The ID of the Rippling Function that renders this page */ function_id?: string; /** * The display name of the custom page */ name?: string; } export interface CustomPageUpdateParams { /** * The ID of the Rippling Function that renders this page */ function_id?: string; /** * The display name of the custom page */ name?: string; } export declare namespace CustomPages { export { type CustomPageListResponse as CustomPageListResponse, type CustomPageCreateResponse as CustomPageCreateResponse, type CustomPageRetrieveResponse as CustomPageRetrieveResponse, type CustomPageUpdateResponse as CustomPageUpdateResponse, type CustomPageListResponsesPageCursorURL as CustomPageListResponsesPageCursorURL, type CustomPageCreateParams as CustomPageCreateParams, type CustomPageUpdateParams as CustomPageUpdateParams, }; } //# sourceMappingURL=custom-pages.d.mts.map