import { APIResource } from "../core/resource.mjs"; import { PageCursorURL, PagePromise } from "../core/pagination.mjs"; import { RequestOptions } from "../internal/request-options.mjs"; /** * Developer Platform account and team management */ export declare class ListingTransitions extends APIResource { /** * List chronological listing transitions. * * - Requires: `Developer Program` * * @example HTTP * Representative request and response shapes. * ``` * GET /listing-transitions/?listing_id=listing_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": [ * { * "name": "date_of_birth", * "reason": "Insufficient entitlements" * } * ] * }, * "results": [ * { * "listing_id": "string", * "submission_id": "string", * "action": "string", * "previous_status": "string", * "new_status": "string", * "actor_id": "string", * "comment": "string", * "timestamp": "string" * } * ], * "next_link": "string" * } * ``` */ list(query: ListingTransitionListParams, options?: RequestOptions): PagePromise; } export type ListingTransitionListResponsesPageCursorURL = PageCursorURL; export interface ListingTransitionListResponse { /** * The lifecycle action recorded for this activity item. */ action?: string; /** * The actor role ID that performed the action. */ actor_id?: string; /** * Optional comment recorded with the action. */ comment?: string; /** * The parent listing ID. */ listing_id?: string; /** * The new lifecycle status. */ new_status?: string; /** * The previous lifecycle status. */ previous_status?: string; /** * The listing version ID associated with this activity. */ submission_id?: string; /** * Activity timestamp. */ timestamp?: string; } export interface ListingTransitionListParams { /** * The unique identifier of the listing whose transitions should be returned. */ listing_id: string; } export declare namespace ListingTransitions { export { type ListingTransitionListResponse as ListingTransitionListResponse, type ListingTransitionListResponsesPageCursorURL as ListingTransitionListResponsesPageCursorURL, type ListingTransitionListParams as ListingTransitionListParams, }; } //# sourceMappingURL=listing-transitions.d.mts.map