import { APIResource } from "../core/resource.js"; import { APIPromise } from "../core/api-promise.js"; import { PageCursorURL, PagePromise } from "../core/pagination.js"; import { RequestOptions } from "../internal/request-options.js"; /** * Developer Platform account and team management */ export declare class DeveloperProgramApplication extends APIResource { /** * Get the Developer Program application for the authenticated company. * * - Requires: `Developer Program` * * @example HTTP * Representative request and response shapes. * ``` * GET /developer-program-application/ 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", * "signup_id": "string", * "company_id": "string", * "role_id": "string", * "email": "string", * "build_description": "string", * "submitted_at": "string", * "expires_at": "string", * "status": "EMAIL_VERIFICATION_PENDING", * "stages": { * "application_submitted": "string", * "email_confirmed": "string", * "access_ready": "string", * "start_building": "string" * } * } * ], * "next_link": "string" * } * ``` */ list(options?: RequestOptions): PagePromise; /** * Submit a Developer Program application for the authenticated company. * * @example HTTP * Representative request and response shapes. * ``` * POST /developer-program-application/ HTTP/1.1 * Host: rest.ripplingapis.com * Content-Type: application/json * Accept: application/json * Rippling-Api-Version: 2024-08-01 * * {} * * HTTP/1.1 200 OK * Content-Type: application/json * * { * "id": "string", * "signup_id": "string", * "company_id": "string", * "role_id": "string", * "email": "string", * "build_description": "string", * "submitted_at": "string", * "expires_at": "string", * "status": "EMAIL_VERIFICATION_PENDING", * "stages": { * "application_submitted": false, * "email_confirmed": false, * "access_ready": false, * "start_building": false * } * } * ``` */ create(body?: DeveloperProgramApplicationCreateParams | null | undefined, options?: RequestOptions): APIPromise; } export type DeveloperProgramApplicationListResponsesPageCursorURL = PageCursorURL; /** * Developer Program application resource for Path B existing-company apply. */ export interface DeveloperProgramApplicationListResponse { /** * Stable application ID */ id: string; /** * What the company plans to build on Rippling */ build_description?: string; /** * Rippling company ID on the application */ company_id?: string; /** * Applicant email on the application */ email?: string; /** * Time after which ops can no longer approve this pending application */ expires_at?: string; /** * Applicant role ID */ role_id?: string; /** * Deprecated alias of id. Prefer id. */ signup_id?: string; /** * Application checklist stages */ stages?: DeveloperProgramApplicationListResponse.Stages; /** * Application status: EMAIL_VERIFICATION_PENDING, SUBMITTED, APPROVED, VERIFIED, * REJECTED, or EXPIRED. Existing-company apply writes SUBMITTED and never * EMAIL_VERIFICATION_PENDING. VERIFIED means provision finished, not email * verified. */ status?: 'EMAIL_VERIFICATION_PENDING' | 'SUBMITTED' | 'APPROVED' | 'VERIFIED' | 'REJECTED' | 'EXPIRED'; /** * Time the application was submitted */ submitted_at?: string; } export declare namespace DeveloperProgramApplicationListResponse { /** * Application checklist stages */ interface Stages { /** * Whether ops approved the application and provisioning is pending */ access_ready?: boolean; /** * Whether the application has been submitted */ application_submitted?: boolean; /** * Whether the applicant email is confirmed */ email_confirmed?: boolean; /** * Whether Developer Program access has been provisioned */ start_building?: boolean; } } /** * Developer Program application resource for Path B existing-company apply. */ export interface DeveloperProgramApplicationCreateResponse { /** * Stable application ID */ id: string; /** * What the company plans to build on Rippling */ build_description?: string; /** * Rippling company ID on the application */ company_id?: string; /** * Applicant email on the application */ email?: string; /** * Time after which ops can no longer approve this pending application */ expires_at?: string; /** * Applicant role ID */ role_id?: string; /** * Deprecated alias of id. Prefer id. */ signup_id?: string; /** * Application checklist stages */ stages?: DeveloperProgramApplicationCreateResponse.Stages; /** * Application status: EMAIL_VERIFICATION_PENDING, SUBMITTED, APPROVED, VERIFIED, * REJECTED, or EXPIRED. Existing-company apply writes SUBMITTED and never * EMAIL_VERIFICATION_PENDING. VERIFIED means provision finished, not email * verified. */ status?: 'EMAIL_VERIFICATION_PENDING' | 'SUBMITTED' | 'APPROVED' | 'VERIFIED' | 'REJECTED' | 'EXPIRED'; /** * Time the application was submitted */ submitted_at?: string; } export declare namespace DeveloperProgramApplicationCreateResponse { /** * Application checklist stages */ interface Stages { /** * Whether ops approved the application and provisioning is pending */ access_ready?: boolean; /** * Whether the application has been submitted */ application_submitted?: boolean; /** * Whether the applicant email is confirmed */ email_confirmed?: boolean; /** * Whether Developer Program access has been provisioned */ start_building?: boolean; } } export interface DeveloperProgramApplicationCreateParams { /** * What the company plans to build on Rippling */ build_description?: string; /** * Apply entrypoint: llm_cli_apply or web_apply */ entrypoint?: 'llm_cli_apply' | 'web_apply'; } export declare namespace DeveloperProgramApplication { export { type DeveloperProgramApplicationListResponse as DeveloperProgramApplicationListResponse, type DeveloperProgramApplicationCreateResponse as DeveloperProgramApplicationCreateResponse, type DeveloperProgramApplicationListResponsesPageCursorURL as DeveloperProgramApplicationListResponsesPageCursorURL, type DeveloperProgramApplicationCreateParams as DeveloperProgramApplicationCreateParams, }; } //# sourceMappingURL=developer-program-application.d.ts.map