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"; /** * Organizational job categories that group similar roles and responsibilities within a company */ export declare class JobFunctions extends APIResource { /** * A list of job functions. * * - Requires: `API Tier 1` * - Sortable fields: `id`, `created_at`, `updated_at` * * @example HTTP * Representative request and response shapes. * ``` * GET /job-functions/?order_by=order_by&limit=50&cursor=cursor HTTP/1.1 * Host: rest.ripplingapis.com * Accept: application/json * Rippling-Api-Version: 2024-08-01 * * HTTP/1.1 200 OK * Content-Type: application/json * * { * "__meta": { * "redacted_fields": [ * { * "name": "date_of_birth", * "reason": "Insufficient entitlements" * } * ] * }, * "results": [ * { * "id": "string", * "created_at": "string", * "updated_at": "string", * "name": "string" * } * ], * "next_link": "string" * } * ``` */ list(query?: JobFunctionListParams | null | undefined, options?: RequestOptions): PagePromise; /** * Retrieve a specific job function * * @example HTTP * Representative request and response shapes. * ``` * GET /job-functions/{id}/ HTTP/1.1 * Host: rest.ripplingapis.com * Accept: application/json * Rippling-Api-Version: 2024-08-01 * * HTTP/1.1 200 OK * Content-Type: application/json * * { * "__meta": { * "redacted_fields": [ * {} * ] * } * } * ``` */ retrieve(id: string, options?: RequestOptions): APIPromise; } export type JobFunctionListResponsesPageCursorURL = PageCursorURL; export interface JobFunctionListResponse { /** * Identifier field */ id: string; /** * Record creation date */ created_at: string; /** * Record update date */ updated_at: string; /** * Displayed name of the job function */ name?: string; } /** * Meta information for the response. */ export interface JobFunctionRetrieveResponse extends BusinessPartnersAPI.Meta { /** * Identifier field */ id: string; /** * Record creation date */ created_at: string; /** * Record update date */ updated_at: string; /** * Displayed name of the job function */ name?: string; } export interface JobFunctionListParams { cursor?: string; /** * The maximum number of results to return. Defaults to 50. Maximum is 100. */ limit?: number; order_by?: string; } export declare namespace JobFunctions { export { type JobFunctionListResponse as JobFunctionListResponse, type JobFunctionRetrieveResponse as JobFunctionRetrieveResponse, type JobFunctionListResponsesPageCursorURL as JobFunctionListResponsesPageCursorURL, type JobFunctionListParams as JobFunctionListParams, }; } //# sourceMappingURL=job-functions.d.mts.map