import { APIResource } from "../core/resource.js"; import { PageCursorURL, PagePromise } from "../core/pagination.js"; import { RequestOptions } from "../internal/request-options.js"; /** * Availability of API features to the company or Partners. */ export declare class Entitlements extends APIResource { /** * A list of entitlements. * * - Requires: `API Tier 1` * * @example HTTP * Representative request and response shapes. * ``` * GET /entitlements/ 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", * "description": "string", * "display_name": "string" * } * ], * "next_link": "string" * } * ``` */ list(options?: RequestOptions): PagePromise; } export type EntitlementListResponsesPageCursorURL = PageCursorURL; export interface EntitlementListResponse { /** * Identifier field */ id: string; /** * Description of the entitlement */ description: string; /** * Display name of the entitlement */ display_name: string; } export declare namespace Entitlements { export { type EntitlementListResponse as EntitlementListResponse, type EntitlementListResponsesPageCursorURL as EntitlementListResponsesPageCursorURL, }; } //# sourceMappingURL=entitlements.d.ts.map