# API reference

## Shared

**Types**

-   `[Address](https://developer.rippling.com/documentation/rest-api/reference/schemas/address)`
-   `CountryCode`
-   `[GroupMember](https://developer.rippling.com/documentation/rest-api/reference/schemas/groupmember)`
-   `[RedactedFields](https://developer.rippling.com/documentation/rest-api/reference/schemas/redactedfields)`

## Companies

**Types**

-   `[Company](https://developer.rippling.com/documentation/rest-api/reference/schemas/company)`

**Methods**

-   `client.companies.list({ ...params }) -> CompaniesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const company of client.companies.list()) {
          console.log(company.id);
        }
        ```
        

## Compensations

**Types**

-   `[Compensation](https://developer.rippling.com/documentation/rest-api/reference/schemas/compensation)`
-   `CompensationRetrieveResponse`

**Methods**

-   `client.compensations.list({ ...params }) -> CompensationsPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const compensation of client.compensations.list()) {
          console.log(compensation.id);
        }
        ```
        
-   `client.compensations.retrieve(id, { ...params }) -> CompensationRetrieveResponse`

## CustomObjects

**Types**

-   `[CustomObject](https://developer.rippling.com/documentation/rest-api/reference/schemas/customobject)`

**Methods**

-   `client.customObjects.list() -> CustomObjectsPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const customObject of client.customObjects.list()) {
          console.log(customObject.id);
        }
        ```
        
-   `client.customObjects.create({ ...params }) -> CustomObject`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const customObject = await client.customObjects.create();
        
        console.log(customObject.id);
        ```
        
-   `client.customObjects.retrieve(customObjectAPIName) -> CustomObject`
-   `client.customObjects.update(customObjectAPIName, { ...params }) -> CustomObject`
-   `client.customObjects.delete(customObjectAPIName) -> void`

### Fields

**Types**

-   `[CustomObjectField](https://developer.rippling.com/documentation/rest-api/reference/schemas/customobjectfield)`

**Methods**

-   `client.customObjects.fields.list(customObjectAPIName) -> CustomObjectFieldsPageCursorURL`
-   `client.customObjects.fields.create(customObjectAPIName, { ...params }) -> CustomObjectField`
-   `client.customObjects.fields.retrieve(customObjectAPIName, fieldAPIName) -> CustomObjectField`
-   `client.customObjects.fields.update(customObjectAPIName, fieldAPIName, { ...params }) -> CustomObjectField`
-   `client.customObjects.fields.delete(customObjectAPIName, fieldAPIName) -> void`

### Records

**Types**

-   `[CustomObjectDataRow](https://developer.rippling.com/documentation/rest-api/reference/schemas/customobjectdatarow)`
-   `RecordCreateResponse`
-   `RecordQueryResponse`
-   `RecordUpdateResponse`
-   `RecordBulkCreateResponse`
-   `RecordBulkUpdateResponse`

**Methods**

-   `client.customObjects.records.list(customObjectAPIName) -> CustomObjectDataRowsPageCursorURL`
-   `client.customObjects.records.create(customObjectAPIName, { ...params }) -> RecordCreateResponse`
-   `client.customObjects.records.query(customObjectAPIName, { ...params }) -> RecordQueryResponse`
-   `client.customObjects.records.retrieve(customObjectAPIName, codrID) -> CustomObjectDataRow`
-   `client.customObjects.records.update(customObjectAPIName, codrID, { ...params }) -> RecordUpdateResponse`
-   `client.customObjects.records.delete(customObjectAPIName, codrID) -> void`
-   `client.customObjects.records.retrieveByExternalID(customObjectAPIName, externalID) -> CustomObjectDataRow`
-   `client.customObjects.records.bulkCreate(customObjectAPIName, { ...params }) -> RecordBulkCreateResponse`
-   `client.customObjects.records.bulkUpdate(customObjectAPIName, { ...params }) -> RecordBulkUpdateResponse`
-   `client.customObjects.records.bulkDelete(customObjectAPIName, { ...params }) -> void`

## Departments

**Types**

-   `[Department](https://developer.rippling.com/documentation/rest-api/reference/schemas/department)`
-   `DepartmentRetrieveResponse`

**Methods**

-   `client.departments.list({ ...params }) -> DepartmentsPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const department of client.departments.list()) {
          console.log(department.id);
        }
        ```
        
-   `client.departments.create({ ...params }) -> Department`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const department = await client.departments.create({ name: 'name' });
        
        console.log(department.id);
        ```
        
-   `client.departments.retrieve(id, { ...params }) -> DepartmentRetrieveResponse`
-   `client.departments.update(id, { ...params }) -> Department`

## EmploymentTypes

**Types**

-   `[CompanyEmploymentType](https://developer.rippling.com/documentation/rest-api/reference/schemas/companyemploymenttype)`
-   `EmploymentTypeRetrieveResponse`

**Methods**

-   `client.employmentTypes.list({ ...params }) -> CompanyEmploymentTypesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const companyEmploymentType of client.employmentTypes.list()) {
          console.log(companyEmploymentType.id);
        }
        ```
        
-   `client.employmentTypes.retrieve(id) -> EmploymentTypeRetrieveResponse`

## JobCodes

**Types**

-   `[JobCode](https://developer.rippling.com/documentation/rest-api/reference/schemas/jobcode)`
-   `[JobCodeRequest](https://developer.rippling.com/documentation/rest-api/reference/schemas/jobcoderequest)`
-   `JobCodeRetrieveResponse`

**Methods**

-   `client.jobCodes.list({ ...params }) -> JobCodesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const jobCode of client.jobCodes.list()) {
          console.log(jobCode.id);
        }
        ```
        
-   `client.jobCodes.create({ ...params }) -> JobCode`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const jobCode = await client.jobCodes.create({
          job_dimension_id: 'job_dimension_id',
          name: 'name',
        });
        
        console.log(jobCode.id);
        ```
        
-   `client.jobCodes.retrieve(id, { ...params }) -> JobCodeRetrieveResponse`
-   `client.jobCodes.update(id, { ...params }) -> JobCode`
-   `client.jobCodes.delete(id) -> void`
-   `client.jobCodes.listChangeLog(jobCodeID, { ...params }) -> AttributeChangeDetailsPageCursorURL`

## JobDimensions

**Types**

-   `[JobDimension](https://developer.rippling.com/documentation/rest-api/reference/schemas/jobdimension)`
-   `[JobDimensionRequest](https://developer.rippling.com/documentation/rest-api/reference/schemas/jobdimensionrequest)`
-   `JobDimensionRetrieveResponse`

**Methods**

-   `client.jobDimensions.list({ ...params }) -> JobDimensionsPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const jobDimension of client.jobDimensions.list()) {
          console.log(jobDimension.id);
        }
        ```
        
-   `client.jobDimensions.create({ ...params }) -> JobDimension`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const jobDimension = await client.jobDimensions.create({ name: 'name' });
        
        console.log(jobDimension.id);
        ```
        
-   `client.jobDimensions.retrieve(id) -> JobDimensionRetrieveResponse`
-   `client.jobDimensions.update(id, { ...params }) -> JobDimension`
-   `client.jobDimensions.delete(id) -> void`

## JobRequisitions

**Types**

-   `[JobRequisition](https://developer.rippling.com/documentation/rest-api/reference/schemas/jobrequisition)`

**Methods**

-   `client.jobRequisitions.list({ ...params }) -> JobRequisitionsPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const jobRequisition of client.jobRequisitions.list()) {
          console.log(jobRequisition.id);
        }
        ```
        

## KioskBadges

**Types**

-   `[TimeKioskBadge](https://developer.rippling.com/documentation/rest-api/reference/schemas/timekioskbadge)`
-   `KioskBadgeListResponse`
-   `KioskBadgeCreateResponse`
-   `KioskBadgeRetrieveResponse`
-   `KioskBadgeUpdateResponse`

**Methods**

-   `client.kioskBadges.list({ ...params }) -> KioskBadgeListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const kioskBadgeListResponse of client.kioskBadges.list()) {
          console.log(kioskBadgeListResponse.id);
        }
        ```
        
-   `client.kioskBadges.create({ ...params }) -> KioskBadgeCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const kioskBadge = await client.kioskBadges.create({ badge_id: 'badge_id' });
        
        console.log(kioskBadge.id);
        ```
        
-   `client.kioskBadges.retrieve(id, { ...params }) -> KioskBadgeRetrieveResponse`
-   `client.kioskBadges.update(id, { ...params }) -> KioskBadgeUpdateResponse`
-   `client.kioskBadges.delete(id) -> void`

## LeaveBalances

**Types**

-   `[LeaveBalance](https://developer.rippling.com/documentation/rest-api/reference/schemas/leavebalance)`
-   `LeaveBalanceRetrieveResponse`

**Methods**

-   `client.leaveBalances.list({ ...params }) -> LeaveBalancesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const leaveBalance of client.leaveBalances.list()) {
          console.log(leaveBalance.id);
        }
        ```
        
-   `client.leaveBalances.retrieve(id, { ...params }) -> LeaveBalanceRetrieveResponse`

## LeaveRequests

**Types**

-   `[LeaveRequest](https://developer.rippling.com/documentation/rest-api/reference/schemas/leaverequest)`
-   `LeaveRequestListResponse`
-   `LeaveRequestCreateResponse`
-   `LeaveRequestRetrieveResponse`
-   `LeaveRequestUpdateResponse`

**Methods**

-   `client.leaveRequests.list({ ...params }) -> LeaveRequestListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const leaveRequestListResponse of client.leaveRequests.list()) {
          console.log(leaveRequestListResponse.id);
        }
        ```
        
-   `client.leaveRequests.create({ ...params }) -> LeaveRequestCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const leaveRequest = await client.leaveRequests.create({
          end_date: 'end_date',
          start_date: 'start_date',
          status: 'PENDING',
          worker_id: 'worker_id',
        });
        
        console.log(leaveRequest.id);
        ```
        
-   `client.leaveRequests.retrieve(id, { ...params }) -> LeaveRequestRetrieveResponse`
-   `client.leaveRequests.update(id, { ...params }) -> LeaveRequestUpdateResponse`

## LeaveTypes

**Types**

-   `[LeaveType](https://developer.rippling.com/documentation/rest-api/reference/schemas/leavetype)`
-   `LeaveTypeRetrieveResponse`

**Methods**

-   `client.leaveTypes.list({ ...params }) -> LeaveTypesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const leaveType of client.leaveTypes.list()) {
          console.log(leaveType.id);
        }
        ```
        
-   `client.leaveTypes.retrieve(id) -> LeaveTypeRetrieveResponse`

## LegalEntities

**Types**

-   `[LegalEntity](https://developer.rippling.com/documentation/rest-api/reference/schemas/legalentity)`
-   `LegalEntityRetrieveResponse`

**Methods**

-   `client.legalEntities.list({ ...params }) -> LegalEntitiesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const legalEntity of client.legalEntities.list()) {
          console.log(legalEntity.id);
        }
        ```
        
-   `client.legalEntities.retrieve(id, { ...params }) -> LegalEntityRetrieveResponse`

## Levels

**Types**

-   `[Level](https://developer.rippling.com/documentation/rest-api/reference/schemas/level)`
-   `LevelRetrieveResponse`

**Methods**

-   `client.levels.list({ ...params }) -> LevelsPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const level of client.levels.list()) {
          console.log(level.id);
        }
        ```
        
-   `client.levels.create({ ...params }) -> Level`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const level = await client.levels.create({ name: 'name', track_id: 'track_id' });
        
        console.log(level.id);
        ```
        
-   `client.levels.retrieve(id, { ...params }) -> LevelRetrieveResponse`
-   `client.levels.update(id, { ...params }) -> Level`
-   `client.levels.delete(id) -> void`

## ObjectCategories

**Types**

-   `[ObjectCategory](https://developer.rippling.com/documentation/rest-api/reference/schemas/objectcategory)`

**Methods**

-   `client.objectCategories.list() -> ObjectCategoriesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const objectCategory of client.objectCategories.list()) {
          console.log(objectCategory.id);
        }
        ```
        
-   `client.objectCategories.create({ ...params }) -> ObjectCategory`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const objectCategory = await client.objectCategories.create();
        
        console.log(objectCategory.id);
        ```
        
-   `client.objectCategories.retrieve(id) -> ObjectCategory`
-   `client.objectCategories.update(id, { ...params }) -> ObjectCategory`
-   `client.objectCategories.delete(id) -> void`

## ShiftInputs

**Types**

-   `[ShiftInput](https://developer.rippling.com/documentation/rest-api/reference/schemas/shiftinput)`
-   `ShiftInputListResponse`
-   `ShiftInputCreateResponse`
-   `ShiftInputRetrieveResponse`
-   `ShiftInputUpdateResponse`

**Methods**

-   `client.shiftInputs.list({ ...params }) -> ShiftInputListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const shiftInputListResponse of client.shiftInputs.list()) {
          console.log(shiftInputListResponse.id);
        }
        ```
        
-   `client.shiftInputs.create({ ...params }) -> ShiftInputCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const shiftInput = await client.shiftInputs.create({
          country_code: 'country_code',
          name: 'name',
          prompt: 'prompt',
          type: 'type',
        });
        
        console.log(shiftInput.id);
        ```
        
-   `client.shiftInputs.retrieve(id, { ...params }) -> ShiftInputRetrieveResponse`
-   `client.shiftInputs.update(id, { ...params }) -> ShiftInputUpdateResponse`
-   `client.shiftInputs.delete(id) -> void`

## SSOMe

**Types**

-   `[SSOMe](https://developer.rippling.com/documentation/rest-api/reference/schemas/ssome)`

**Methods**

-   `client.ssoMe.list({ ...params }) -> SSOMe`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const ssoMe = await client.ssoMe.list();
        
        console.log(ssoMe.id);
        ```
        

## Supergroups

**Types**

-   `[Supergroup](https://developer.rippling.com/documentation/rest-api/reference/schemas/supergroup)`
-   `SupergroupRetrieveResponse`

**Methods**

-   `client.supergroups.list({ ...params }) -> SupergroupsPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const supergroup of client.supergroups.list()) {
          console.log(supergroup.id);
        }
        ```
        
-   `client.supergroups.retrieve(id) -> SupergroupRetrieveResponse`

### Members

**Methods**

-   `client.supergroups.members.list(groupID, { ...params }) -> GroupMembersPageCursorURL`

### InclusionMembers

**Types**

-   `InclusionMemberUpdateResponse`

**Methods**

-   `client.supergroups.inclusionMembers.list(groupID, { ...params }) -> GroupMembersPageCursorURL`
-   `client.supergroups.inclusionMembers.update(groupID, { ...params }) -> InclusionMemberUpdateResponse`

### ExclusionMembers

**Types**

-   `ExclusionMemberUpdateResponse`

**Methods**

-   `client.supergroups.exclusionMembers.list(groupID, { ...params }) -> GroupMembersPageCursorURL`
-   `client.supergroups.exclusionMembers.update(groupID, { ...params }) -> ExclusionMemberUpdateResponse`

## Teams

**Types**

-   `[Team](https://developer.rippling.com/documentation/rest-api/reference/schemas/team)`
-   `TeamRetrieveResponse`

**Methods**

-   `client.teams.list({ ...params }) -> TeamsPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const team of client.teams.list()) {
          console.log(team.id);
        }
        ```
        
-   `client.teams.create({ ...params }) -> Team`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const team = await client.teams.create({ name: 'name' });
        
        console.log(team.id);
        ```
        
-   `client.teams.retrieve(id, { ...params }) -> TeamRetrieveResponse`
-   `client.teams.update(id, { ...params }) -> Team`
-   `client.teams.delete(id) -> void`

## TimeCards

**Types**

-   `[PayPeriod](https://developer.rippling.com/documentation/rest-api/reference/schemas/payperiod)`
-   `[TimeCard](https://developer.rippling.com/documentation/rest-api/reference/schemas/timecard)`
-   `TimeCardRetrieveResponse`

**Methods**

-   `client.timeCards.list({ ...params }) -> TimeCardsPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const timeCard of client.timeCards.list()) {
          console.log(timeCard.id);
        }
        ```
        
-   `client.timeCards.retrieve(id, { ...params }) -> TimeCardRetrieveResponse`

## TimeEntries

**Types**

-   `[TimeEntry](https://developer.rippling.com/documentation/rest-api/reference/schemas/timeentry)`
-   `TimeEntryListResponse`
-   `TimeEntryCreateResponse`
-   `TimeEntryRetrieveResponse`
-   `TimeEntryUpdateResponse`

**Methods**

-   `client.timeEntries.list({ ...params }) -> TimeEntryListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const timeEntryListResponse of client.timeEntries.list()) {
          console.log(timeEntryListResponse.id);
        }
        ```
        
-   `client.timeEntries.create({ ...params }) -> TimeEntryCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const timeEntry = await client.timeEntries.create({ worker_id: 'worker_id' });
        
        console.log(timeEntry.id);
        ```
        
-   `client.timeEntries.retrieve(id, { ...params }) -> TimeEntryRetrieveResponse`
-   `client.timeEntries.update(id, { ...params }) -> TimeEntryUpdateResponse`
-   `client.timeEntries.delete(id) -> void`

## Tracks

**Types**

-   `[Track](https://developer.rippling.com/documentation/rest-api/reference/schemas/track)`
-   `TrackRetrieveResponse`

**Methods**

-   `client.tracks.list({ ...params }) -> TracksPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const track of client.tracks.list()) {
          console.log(track.id);
        }
        ```
        
-   `client.tracks.create({ ...params }) -> Track`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const track = await client.tracks.create({ name: 'name' });
        
        console.log(track.id);
        ```
        
-   `client.tracks.retrieve(id) -> TrackRetrieveResponse`
-   `client.tracks.update(id, { ...params }) -> Track`
-   `client.tracks.delete(id) -> void`

## Users

**Types**

-   `[User](https://developer.rippling.com/documentation/rest-api/reference/schemas/user)`
-   `UserRetrieveResponse`

**Methods**

-   `client.users.list({ ...params }) -> UsersPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const user of client.users.list()) {
          console.log(user.id);
        }
        ```
        
-   `client.users.retrieve(id) -> UserRetrieveResponse`

## WorkLocations

**Types**

-   `[WorkLocation](https://developer.rippling.com/documentation/rest-api/reference/schemas/worklocation)`
-   `WorkLocationRetrieveResponse`

**Methods**

-   `client.workLocations.list({ ...params }) -> WorkLocationsPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const workLocation of client.workLocations.list()) {
          console.log(workLocation.id);
        }
        ```
        
-   `client.workLocations.create({ ...params }) -> WorkLocation`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const workLocation = await client.workLocations.create({
          address: {},
          name: 'name',
        });
        
        console.log(workLocation.id);
        ```
        
-   `client.workLocations.retrieve(id) -> WorkLocationRetrieveResponse`
-   `client.workLocations.update(id, { ...params }) -> WorkLocation`
-   `client.workLocations.delete(id) -> void`

## Workers

**Types**

-   `[Worker](https://developer.rippling.com/documentation/rest-api/reference/schemas/worker)`
-   `WorkerRetrieveResponse`

**Methods**

-   `client.workers.list({ ...params }) -> WorkersPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const worker of client.workers.list()) {
          console.log(worker.id);
        }
        ```
        
-   `client.workers.retrieve(id, { ...params }) -> WorkerRetrieveResponse`

## BusinessPartners

**Types**

-   `[BusinessPartner](https://developer.rippling.com/documentation/rest-api/reference/schemas/businesspartner)`
-   `Meta`
-   `BusinessPartnerRetrieveResponse`

**Methods**

-   `client.businessPartners.list({ ...params }) -> BusinessPartnersPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const businessPartner of client.businessPartners.list()) {
          console.log(businessPartner.id);
        }
        ```
        
-   `client.businessPartners.create({ ...params }) -> BusinessPartner`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const businessPartner = await client.businessPartners.create({
          business_partner_group_id: 'business_partner_group_id',
          worker_id: 'worker_id',
        });
        
        console.log(businessPartner.id);
        ```
        
-   `client.businessPartners.retrieve(id, { ...params }) -> BusinessPartnerRetrieveResponse`
-   `client.businessPartners.delete(id) -> void`

## BusinessPartnerGroups

**Types**

-   `[BusinessPartnerGroup](https://developer.rippling.com/documentation/rest-api/reference/schemas/businesspartnergroup)`
-   `BusinessPartnerGroupRetrieveResponse`

**Methods**

-   `client.businessPartnerGroups.list({ ...params }) -> BusinessPartnerGroupsPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const businessPartnerGroup of client.businessPartnerGroups.list()) {
          console.log(businessPartnerGroup.id);
        }
        ```
        
-   `client.businessPartnerGroups.create({ ...params }) -> BusinessPartnerGroup`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const businessPartnerGroup = await client.businessPartnerGroups.create({ name: 'name' });
        
        console.log(businessPartnerGroup.id);
        ```
        
-   `client.businessPartnerGroups.retrieve(id, { ...params }) -> BusinessPartnerGroupRetrieveResponse`
-   `client.businessPartnerGroups.delete(id) -> void`

## Functions

**Types**

-   `[Function](https://developer.rippling.com/documentation/rest-api/reference/schemas/function)`
-   `FunctionCreateDevBundleResponse`

**Methods**

-   `client.functions.list({ ...params }) -> FunctionsPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const _function of client.functions.list()) {
          console.log(_function.id);
        }
        ```
        
-   `client.functions.create({ ...params }) -> Function`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const _function = await client.functions.create();
        
        console.log(_function.id);
        ```
        
-   `client.functions.retrieve(functionAPIName) -> Function`
-   `client.functions.update(functionAPIName, { ...params }) -> Function`
-   `client.functions.createDevBundle(functionAPIName) -> FunctionCreateDevBundleResponse`

### Deployments

**Types**

-   `[FunctionDeployment](https://developer.rippling.com/documentation/rest-api/reference/schemas/functiondeployment)`
-   `DeploymentListResponse`
-   `DeploymentListLogsResponse`

**Methods**

-   `client.functions.deployments.list(functionAPIName) -> DeploymentListResponse`
-   `client.functions.deployments.create(functionAPIName, { ...params }) -> FunctionDeployment`
-   `client.functions.deployments.retrieve(deploymentID, { ...params }) -> FunctionDeployment`
-   `client.functions.deployments.listLogs(deploymentID, { ...params }) -> DeploymentListLogsResponse`

### Executions

**Types**

-   `[FunctionExecution](https://developer.rippling.com/documentation/rest-api/reference/schemas/functionexecution)`
-   `ExecutionListLogsResponse`

**Methods**

-   `client.functions.executions.list(functionAPIName, { ...params }) -> FunctionExecutionsPageCursorURL`
-   `client.functions.executions.create(functionAPIName, { ...params }) -> FunctionExecution`
-   `client.functions.executions.retrieve(executionID, { ...params }) -> FunctionExecution`
-   `client.functions.executions.listLogs(executionID, { ...params }) -> ExecutionListLogsResponse`

## JobAssignments

**Types**

-   `[AttributeChangeDetails](https://developer.rippling.com/documentation/rest-api/reference/schemas/attributechangedetails)`
-   `[JobAssignment](https://developer.rippling.com/documentation/rest-api/reference/schemas/jobassignment)`
-   `JobAssignmentRetrieveResponse`

**Methods**

-   `client.jobAssignments.list({ ...params }) -> JobAssignmentsPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const jobAssignment of client.jobAssignments.list()) {
          console.log(jobAssignment.id);
        }
        ```
        
-   `client.jobAssignments.create({ ...params }) -> JobAssignment`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const jobAssignment = await client.jobAssignments.create({
          job_code_id: 'job_code_id',
          worker_id: 'worker_id',
        });
        
        console.log(jobAssignment.id);
        ```
        
-   `client.jobAssignments.retrieve(id, { ...params }) -> JobAssignmentRetrieveResponse`
-   `client.jobAssignments.update(id, { ...params }) -> JobAssignment`
-   `client.jobAssignments.delete(id, { ...params }) -> void`
-   `client.jobAssignments.listChangeLog(jobAssignmentID, { ...params }) -> AttributeChangeDetailsPageCursorURL`

## JobPayRateExceptions

**Types**

-   `[JobPayRateException](https://developer.rippling.com/documentation/rest-api/reference/schemas/jobpayrateexception)`
-   `JobPayRateExceptionRetrieveResponse`

**Methods**

-   `client.jobPayRateExceptions.list({ ...params }) -> JobPayRateExceptionsPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const jobPayRateException of client.jobPayRateExceptions.list()) {
          console.log(jobPayRateException.id);
        }
        ```
        
-   `client.jobPayRateExceptions.retrieve(id, { ...params }) -> JobPayRateExceptionRetrieveResponse`
-   `client.jobPayRateExceptions.listChangeLog(jobPayRateExceptionID, { ...params }) -> AttributeChangeDetailsPageCursorURL`

## Agents

**Types**

-   `AgentListResponse`
-   `AgentCreateResponse`
-   `AgentRetrieveResponse`
-   `AgentUpdateResponse`

**Methods**

-   `client.agents.list({ ...params }) -> AgentListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const agentListResponse of client.agents.list()) {
          console.log(agentListResponse.id);
        }
        ```
        
-   `client.agents.create({ ...params }) -> AgentCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const agent = await client.agents.create({ api_name: 'api_name', name: 'name' });
        
        console.log(agent.id);
        ```
        
-   `client.agents.retrieve(agentID) -> AgentRetrieveResponse`
-   `client.agents.update(agentID, { ...params }) -> AgentUpdateResponse`
-   `client.agents.delete(agentID) -> void`

### SourceRevisions

**Types**

-   `SourceRevisionListResponse`
-   `SourceRevisionCreateResponse`
-   `SourceRevisionRetrieveResponse`

**Methods**

-   `client.agents.sourceRevisions.list(agentID, { ...params }) -> SourceRevisionListResponsesPageCursorURL`
-   `client.agents.sourceRevisions.create(agentID, { ...params }) -> SourceRevisionCreateResponse`
-   `client.agents.sourceRevisions.retrieve(agentID, sourceRevisionID) -> SourceRevisionRetrieveResponse`

### Deployments

**Types**

-   `DeploymentListResponse`
-   `DeploymentCreateResponse`
-   `DeploymentRetrieveResponse`

**Methods**

-   `client.agents.deployments.list(agentID, { ...params }) -> DeploymentListResponsesPageCursorURL`
-   `client.agents.deployments.create(agentID, { ...params }) -> DeploymentCreateResponse`
-   `client.agents.deployments.retrieve(agentID, deploymentID) -> DeploymentRetrieveResponse`

### Sessions

**Types**

-   `SessionCreateResponse`
-   `SessionListResponse`
-   `SessionRetrieveResponse`

**Methods**

-   `client.agents.sessions.create({ ...params }) -> SessionCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const session = await client.agents.sessions.create({ agent_id: 'agent_id', prompt: 'prompt' });
        
        console.log(session.id);
        ```
        
-   `client.agents.sessions.list(agentID, { ...params }) -> SessionListResponsesPageCursorURL`
-   `client.agents.sessions.retrieve(sessionID) -> SessionRetrieveResponse`

#### Messages

**Types**

-   `MessageCreateResponse`

**Methods**

-   `client.agents.sessions.messages.create(sessionID, { ...params }) -> MessageCreateResponse`

#### Events

**Types**

-   `EventRetrieveResponse`

**Methods**

-   `client.agents.sessions.events.retrieve(sessionID, { ...params }) -> EventRetrieveResponse`

## AppUsers

**Types**

-   `AppUserListResponse`
-   `AppUserRetrieveResponse`

**Methods**

-   `client.appUsers.list({ ...params }) -> AppUserListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const appUserListResponse of client.appUsers.list()) {
          console.log(appUserListResponse.id);
        }
        ```
        
-   `client.appUsers.retrieve(id, { ...params }) -> AppUserRetrieveResponse`

## BreakPolicies

**Types**

-   `BreakPolicyListResponse`
-   `BreakPolicyRetrieveResponse`

**Methods**

-   `client.breakPolicies.list({ ...params }) -> BreakPolicyListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const breakPolicyListResponse of client.breakPolicies.list()) {
          console.log(breakPolicyListResponse.id);
        }
        ```
        
-   `client.breakPolicies.retrieve(id) -> BreakPolicyRetrieveResponse`

## BreakTypes

**Types**

-   `BreakTypeListResponse`
-   `BreakTypeRetrieveResponse`

**Methods**

-   `client.breakTypes.list({ ...params }) -> BreakTypeListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const breakTypeListResponse of client.breakTypes.list()) {
          console.log(breakTypeListResponse.id);
        }
        ```
        
-   `client.breakTypes.retrieve(id, { ...params }) -> BreakTypeRetrieveResponse`

## BusinessStructurePaths

**Types**

-   `BusinessStructurePathListResponse`
-   `BusinessStructurePathRetrieveResponse`

**Methods**

-   `client.businessStructurePaths.list({ ...params }) -> BusinessStructurePathListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const businessStructurePathListResponse of client.businessStructurePaths.list()) {
          console.log(businessStructurePathListResponse.id);
        }
        ```
        
-   `client.businessStructurePaths.retrieve(id, { ...params }) -> BusinessStructurePathRetrieveResponse`

## Candidates

**Types**

-   `CandidateListResponse`

**Methods**

-   `client.candidates.list({ ...params }) -> CandidateListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const candidateListResponse of client.candidates.list()) {
          console.log(candidateListResponse.id);
        }
        ```
        

## CandidateApplications

**Types**

-   `CandidateApplicationListResponse`

**Methods**

-   `client.candidateApplications.list({ ...params }) -> CandidateApplicationListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const candidateApplicationListResponse of client.candidateApplications.list({
          candidate_id: 'candidate_id',
        })) {
          console.log(candidateApplicationListResponse.id);
        }
        ```
        

## CompanyLegalEntities

**Types**

-   `CompanyLegalEntityListResponse`
-   `CompanyLegalEntityRetrieveResponse`

**Methods**

-   `client.companyLegalEntities.list({ ...params }) -> CompanyLegalEntityListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const companyLegalEntityListResponse of client.companyLegalEntities.list()) {
          console.log(companyLegalEntityListResponse.id);
        }
        ```
        
-   `client.companyLegalEntities.retrieve(id) -> CompanyLegalEntityRetrieveResponse`

## CompanyLegalEntityWorkers

**Types**

-   `CompanyLegalEntityWorkerListResponse`
-   `CompanyLegalEntityWorkerRetrieveResponse`

**Methods**

-   `client.companyLegalEntityWorkers.list({ ...params }) -> CompanyLegalEntityWorkerListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const companyLegalEntityWorkerListResponse of client.companyLegalEntityWorkers.list()) {
          console.log(companyLegalEntityWorkerListResponse.id);
        }
        ```
        
-   `client.companyLegalEntityWorkers.retrieve(id) -> CompanyLegalEntityWorkerRetrieveResponse`

## CompensationBandsDetails

**Types**

-   `CompensationBandsDetailListResponse`
-   `CompensationBandsDetailRetrieveResponse`

**Methods**

-   `client.compensationBandsDetails.list({ ...params }) -> CompensationBandsDetailListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const compensationBandsDetailListResponse of client.compensationBandsDetails.list()) {
          console.log(compensationBandsDetailListResponse.id);
        }
        ```
        
-   `client.compensationBandsDetails.retrieve(id, { ...params }) -> CompensationBandsDetailRetrieveResponse`

## CustomApps

**Types**

-   `CustomAppListResponse`
-   `CustomAppCreateResponse`
-   `CustomAppRetrieveResponse`
-   `CustomAppUpdateResponse`

**Methods**

-   `client.customApps.list() -> CustomAppListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const customAppListResponse of client.customApps.list()) {
          console.log(customAppListResponse.id);
        }
        ```
        
-   `client.customApps.create({ ...params }) -> CustomAppCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const customApp = await client.customApps.create({ api_name: 'api_name', name: 'name' });
        
        console.log(customApp.id);
        ```
        
-   `client.customApps.retrieve(id) -> CustomAppRetrieveResponse`
-   `client.customApps.update(id, { ...params }) -> CustomAppUpdateResponse`
-   `client.customApps.delete(id) -> void`

## CustomFields

**Types**

-   `CustomFieldListResponse`

**Methods**

-   `client.customFields.list({ ...params }) -> CustomFieldListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const customFieldListResponse of client.customFields.list()) {
          console.log(customFieldListResponse.id);
        }
        ```
        

## CustomPages

**Types**

-   `CustomPageListResponse`
-   `CustomPageCreateResponse`
-   `CustomPageRetrieveResponse`
-   `CustomPageUpdateResponse`

**Methods**

-   `client.customPages.list() -> CustomPageListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const customPageListResponse of client.customPages.list()) {
          console.log(customPageListResponse.id);
        }
        ```
        
-   `client.customPages.create({ ...params }) -> CustomPageCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const customPage = await client.customPages.create();
        
        console.log(customPage.id);
        ```
        
-   `client.customPages.retrieve(id) -> CustomPageRetrieveResponse`
-   `client.customPages.update(id, { ...params }) -> CustomPageUpdateResponse`
-   `client.customPages.delete(id) -> void`

## CustomSettings

**Types**

-   `CustomSettingListResponse`
-   `CustomSettingCreateResponse`
-   `CustomSettingRetrieveResponse`
-   `CustomSettingUpdateResponse`

**Methods**

-   `client.customSettings.list({ ...params }) -> CustomSettingListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const customSettingListResponse of client.customSettings.list()) {
          console.log(customSettingListResponse.id);
        }
        ```
        
-   `client.customSettings.create({ ...params }) -> CustomSettingCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const customSetting = await client.customSettings.create();
        
        console.log(customSetting.id);
        ```
        
-   `client.customSettings.retrieve(id) -> CustomSettingRetrieveResponse`
-   `client.customSettings.update(id, { ...params }) -> CustomSettingUpdateResponse`
-   `client.customSettings.delete(id) -> void`

## Devices

**Types**

-   `DeviceListResponse`
-   `DeviceRetrieveResponse`

**Methods**

-   `client.devices.list({ ...params }) -> DeviceListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const deviceListResponse of client.devices.list()) {
          console.log(deviceListResponse.id);
        }
        ```
        
-   `client.devices.retrieve(id, { ...params }) -> DeviceRetrieveResponse`

## DeviceOrders

**Types**

-   `DeviceOrderListResponse`
-   `DeviceOrderRetrieveResponse`

**Methods**

-   `client.deviceOrders.list({ ...params }) -> DeviceOrderListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const deviceOrderListResponse of client.deviceOrders.list()) {
          console.log(deviceOrderListResponse.id);
        }
        ```
        
-   `client.deviceOrders.retrieve(id, { ...params }) -> DeviceOrderRetrieveResponse`

## DraftHires

**Types**

-   `DraftHireCreateResponse`

**Methods**

-   `client.draftHires.create({ ...params }) -> DraftHireCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const draftHire = await client.draftHires.create({
          draft_hires: [
            {
              employment_info: { employment_type_id: 'employment_type_id', title: 'title' },
              personal_info: {
                invite_email: 'invite_email',
                name: {},
              },
              work_location_info: {},
            },
          ],
        });
        
        console.log(draftHire.invalid_items);
        ```
        

## EarningTypes

**Types**

-   `EarningTypeListResponse`

**Methods**

-   `client.earningTypes.list() -> EarningTypeListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const earningTypeListResponse of client.earningTypes.list()) {
          console.log(earningTypeListResponse.id);
        }
        ```
        

## EarningsInputs

**Types**

-   `EarningsInputListResponse`
-   `EarningsInputCreateResponse`

**Methods**

-   `client.earningsInputs.list() -> EarningsInputListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const earningsInputListResponse of client.earningsInputs.list()) {
          console.log(earningsInputListResponse.id);
        }
        ```
        
-   `client.earningsInputs.create({ ...params }) -> EarningsInputCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const earningsInput = await client.earningsInputs.create();
        
        console.log(earningsInput.id);
        ```
        
-   `client.earningsInputs.delete(id) -> void`

## EmployeeDocuments

**Types**

-   `EmployeeDocumentCreateResponse`

**Methods**

-   `client.employeeDocuments.create({ ...params }) -> EmployeeDocumentCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const employeeDocument = await client.employeeDocuments.create({
          items: [{ documents: [{ file_id: 'file_id' }], worker_id: 'worker_id' }],
        });
        
        console.log(employeeDocument.id);
        ```
        

## Entitlements

**Types**

-   `EntitlementListResponse`

**Methods**

-   `client.entitlements.list() -> EntitlementListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const entitlementListResponse of client.entitlements.list()) {
          console.log(entitlementListResponse.id);
        }
        ```
        

## Files

**Types**

-   `FileRetrieveResponse`
-   `FileCreateResponse`

**Methods**

-   `client.files.retrieve(id) -> FileRetrieveResponse`
-   `client.files.create({ ...params }) -> FileCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const file = await client.files.create({ status: 'status' });
        
        console.log(file.id);
        ```
        

## HeadcountPositions

**Types**

-   `HeadcountPositionListResponse`
-   `HeadcountPositionRetrieveResponse`

**Methods**

-   `client.headcountPositions.list({ ...params }) -> HeadcountPositionListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const headcountPositionListResponse of client.headcountPositions.list()) {
          console.log(headcountPositionListResponse.id);
        }
        ```
        
-   `client.headcountPositions.retrieve(id, { ...params }) -> HeadcountPositionRetrieveResponse`

## HeadcountPriorities

**Types**

-   `HeadcountPriorityListResponse`
-   `HeadcountPriorityRetrieveResponse`

**Methods**

-   `client.headcountPriorities.list({ ...params }) -> HeadcountPriorityListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const headcountPriorityListResponse of client.headcountPriorities.list()) {
          console.log(headcountPriorityListResponse.id);
        }
        ```
        
-   `client.headcountPriorities.retrieve(id) -> HeadcountPriorityRetrieveResponse`

## JobFunctions

**Types**

-   `JobFunctionListResponse`
-   `JobFunctionRetrieveResponse`

**Methods**

-   `client.jobFunctions.list({ ...params }) -> JobFunctionListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const jobFunctionListResponse of client.jobFunctions.list()) {
          console.log(jobFunctionListResponse.id);
        }
        ```
        
-   `client.jobFunctions.retrieve(id) -> JobFunctionRetrieveResponse`

## JobRequisitionsWrite

**Types**

-   `JobRequisitionsWriteCreateResponse`

**Methods**

-   `client.jobRequisitionsWrite.create({ ...params }) -> JobRequisitionsWriteCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const jobRequisitionsWrite = await client.jobRequisitionsWrite.create({ name: 'name' });
        
        console.log(jobRequisitionsWrite.id);
        ```
        

## LeaveAccruals

**Types**

-   `LeaveAccrualListResponse`
-   `LeaveAccrualCreateResponse`
-   `LeaveAccrualRetrieveResponse`

**Methods**

-   `client.leaveAccruals.list({ ...params }) -> LeaveAccrualListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const leaveAccrualListResponse of client.leaveAccruals.list()) {
          console.log(leaveAccrualListResponse.id);
        }
        ```
        
-   `client.leaveAccruals.create({ ...params }) -> LeaveAccrualCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const leaveAccrual = await client.leaveAccruals.create({
          accrual_date: 'accrual_date',
          grantor_id: 'grantor_id',
          leave_type_id: 'leave_type_id',
          worker_id: 'worker_id',
        });
        
        console.log(leaveAccrual.id);
        ```
        
-   `client.leaveAccruals.retrieve(id, { ...params }) -> LeaveAccrualRetrieveResponse`

## LeaveProgramEvaluations

**Types**

-   `LeaveProgramEvaluationCreateResponse`

**Methods**

-   `client.leaveProgramEvaluations.create({ ...params }) -> LeaveProgramEvaluationCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const leaveProgramEvaluation = await client.leaveProgramEvaluations.create({
          claim_start_date: 'claim_start_date',
          leave_reason: 'BONDING',
          role_id: 'role_id',
        });
        
        console.log(leaveProgramEvaluation.missing_evidence);
        ```
        

## LocationFactors

**Types**

-   `LocationFactorListResponse`
-   `LocationFactorRetrieveResponse`

**Methods**

-   `client.locationFactors.list({ ...params }) -> LocationFactorListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const locationFactorListResponse of client.locationFactors.list()) {
          console.log(locationFactorListResponse.id);
        }
        ```
        
-   `client.locationFactors.retrieve(id) -> LocationFactorRetrieveResponse`

## Packages

**Types**

-   `PackageListResponse`
-   `PackageCreateResponse`
-   `PackageRetrieveResponse`
-   `PackageUpdateResponse`

**Methods**

-   `client.packages.list({ ...params }) -> PackageListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const packageListResponse of client.packages.list()) {
          console.log(packageListResponse.id);
        }
        ```
        
-   `client.packages.create({ ...params }) -> PackageCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const _package = await client.packages.create({
          package_display_name: 'package_display_name',
          package_key: 'package_key',
          package_type: 'package_type',
        });
        
        console.log(_package.id);
        ```
        
-   `client.packages.retrieve(id) -> PackageRetrieveResponse`
-   `client.packages.update(id, { ...params }) -> PackageUpdateResponse`
-   `client.packages.delete(id) -> void`

### Versions

**Types**

-   `VersionCreateResponse`

**Methods**

-   `client.packages.versions.create(packageKey, { ...params }) -> VersionCreateResponse`

## PayrollRuns

**Types**

-   `PayrollRunListResponse`
-   `PayrollRunRetrieveResponse`

**Methods**

-   `client.payrollRuns.list({ ...params }) -> PayrollRunListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const payrollRunListResponse of client.payrollRuns.list()) {
          console.log(payrollRunListResponse.id);
        }
        ```
        
-   `client.payrollRuns.retrieve(id) -> PayrollRunRetrieveResponse`

### WorkerPayrollRecords

**Types**

-   `WorkerPayrollRecordListResponse`

**Methods**

-   `client.payrollRuns.workerPayrollRecords.list(runID, { ...params }) -> WorkerPayrollRecordListResponsesPageCursorURL`

## PlatformCapabilities

**Types**

-   `PlatformCapabilityListResponse`

**Methods**

-   `client.platformCapabilities.list() -> PlatformCapabilityListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const platformCapabilityListResponse of client.platformCapabilities.list()) {
          console.log(platformCapabilityListResponse.version);
        }
        ```
        

## Reports

**Types**

-   `ReportRetrieveResponse`

**Methods**

-   `client.reports.retrieve(id) -> ReportRetrieveResponse`

### AvailableFilters

**Types**

-   `AvailableFilterRetrieveResponse`

**Methods**

-   `client.reports.availableFilters.retrieve(reportID) -> AvailableFilterRetrieveResponse`

## ReportRuns

**Types**

-   `ReportRunCreateResponse`
-   `ReportRunRetrieveResponse`

**Methods**

-   `client.reportRuns.create({ ...params }) -> ReportRunCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const reportRun = await client.reportRuns.create({ report_id: 'report_id' });
        
        console.log(reportRun.id);
        ```
        
-   `client.reportRuns.retrieve(runID) -> ReportRunRetrieveResponse`

## Schedules

**Types**

-   `ScheduleListResponse`
-   `ScheduleCreateResponse`
-   `ScheduleRetrieveResponse`
-   `ScheduleUpdateResponse`

**Methods**

-   `client.schedules.list({ ...params }) -> ScheduleListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const scheduleListResponse of client.schedules.list()) {
          console.log(scheduleListResponse.id);
        }
        ```
        
-   `client.schedules.create({ ...params }) -> ScheduleCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const schedule = await client.schedules.create();
        
        console.log(schedule.id);
        ```
        
-   `client.schedules.retrieve(id, { ...params }) -> ScheduleRetrieveResponse`
-   `client.schedules.update(id, { ...params }) -> ScheduleUpdateResponse`

## ScheduledJobAssignments

**Types**

-   `ScheduledJobAssignmentListResponse`
-   `ScheduledJobAssignmentRetrieveResponse`

**Methods**

-   `client.scheduledJobAssignments.list({ ...params }) -> ScheduledJobAssignmentListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const scheduledJobAssignmentListResponse of client.scheduledJobAssignments.list()) {
          console.log(scheduledJobAssignmentListResponse.id);
        }
        ```
        
-   `client.scheduledJobAssignments.retrieve(id) -> ScheduledJobAssignmentRetrieveResponse`
-   `client.scheduledJobAssignments.delete(id) -> void`

## Shiftassignments

**Types**

-   `ShiftassignmentListResponse`
-   `ShiftassignmentCreateResponse`
-   `ShiftassignmentRetrieveResponse`
-   `ShiftassignmentUpdateResponse`

**Methods**

-   `client.shiftassignments.list({ ...params }) -> ShiftassignmentListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const shiftassignmentListResponse of client.shiftassignments.list()) {
          console.log(shiftassignmentListResponse.id);
        }
        ```
        
-   `client.shiftassignments.create({ ...params }) -> ShiftassignmentCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const shiftassignment = await client.shiftassignments.create({
          is_published: true,
          schedule_id: 'schedule_id',
          shift_data: { end_time: 'end_time', start_time: 'start_time' },
          worker_id: 'worker_id',
        });
        
        console.log(shiftassignment.id);
        ```
        
-   `client.shiftassignments.retrieve(id, { ...params }) -> ShiftassignmentRetrieveResponse`
-   `client.shiftassignments.update(id, { ...params }) -> ShiftassignmentUpdateResponse`

## Sites

**Types**

-   `SiteListResponse`
-   `SiteCreateResponse`
-   `SiteRetrieveResponse`
-   `SiteUpdateResponse`
-   `SiteUploadBatchesPresignResponse`
-   `SiteFilesResponse`
-   `SiteFileOperationsResponse`

**Methods**

-   `client.sites.list() -> SiteListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const siteListResponse of client.sites.list()) {
          console.log(siteListResponse.id);
        }
        ```
        
-   `client.sites.create({ ...params }) -> SiteCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const site = await client.sites.create({
          api_name: 'my_portal',
          file_id: 'file_id_1',
          name: 'My Portal',
          entry_path: 'index.html',
        });
        
        console.log(site.id);
        ```
        
-   `client.sites.retrieve(apiName) -> SiteRetrieveResponse`
-   `client.sites.update(apiName, { ...params }) -> SiteUpdateResponse`
-   `client.sites.delete(apiName) -> void`
-   `client.sites.uploadBatchesPresign({ ...params }) -> SiteUploadBatchesPresignResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const response = await client.sites.uploadBatchesPresign({
          file_intents: [{ client_ref: 'index', file_name: 'index.html' }],
        });
        
        console.log(response.upload_batch_id);
        ```
        
-   `client.sites.files(apiName, { ...params }) -> SiteFilesResponse`
-   `client.sites.fileOperations(apiName, { ...params }) -> SiteFileOperationsResponse`

## SoftwareDeployments

**Types**

-   `SoftwareDeploymentListResponse`
-   `SoftwareDeploymentCreateResponse`
-   `SoftwareDeploymentRetrieveResponse`
-   `SoftwareDeploymentUpdateResponse`

**Methods**

-   `client.softwareDeployments.list({ ...params }) -> SoftwareDeploymentListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const softwareDeploymentListResponse of client.softwareDeployments.list()) {
          console.log(softwareDeploymentListResponse.id);
        }
        ```
        
-   `client.softwareDeployments.create({ ...params }) -> SoftwareDeploymentCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const softwareDeployment = await client.softwareDeployments.create({ software_id: 'software_id' });
        
        console.log(softwareDeployment.id);
        ```
        
-   `client.softwareDeployments.retrieve(id, { ...params }) -> SoftwareDeploymentRetrieveResponse`
-   `client.softwareDeployments.update(id, { ...params }) -> SoftwareDeploymentUpdateResponse`
-   `client.softwareDeployments.delete(id) -> void`

## Titles

**Types**

-   `TitleListResponse`
-   `TitleCreateResponse`
-   `TitleRetrieveResponse`
-   `TitleUpdateResponse`

**Methods**

-   `client.titles.list({ ...params }) -> TitleListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const titleListResponse of client.titles.list()) {
          console.log(titleListResponse.id);
        }
        ```
        
-   `client.titles.create({ ...params }) -> TitleCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const title = await client.titles.create({ name: 'name' });
        
        console.log(title.id);
        ```
        
-   `client.titles.retrieve(id) -> TitleRetrieveResponse`
-   `client.titles.update(id, { ...params }) -> TitleUpdateResponse`
-   `client.titles.delete(id) -> void`

## Unassignedshifts

**Types**

-   `UnassignedshiftListResponse`
-   `UnassignedshiftCreateResponse`
-   `UnassignedshiftRetrieveResponse`
-   `UnassignedshiftUpdateResponse`

**Methods**

-   `client.unassignedshifts.list({ ...params }) -> UnassignedshiftListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const unassignedshiftListResponse of client.unassignedshifts.list()) {
          console.log(unassignedshiftListResponse.id);
        }
        ```
        
-   `client.unassignedshifts.create({ ...params }) -> UnassignedshiftCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const unassignedshift = await client.unassignedshifts.create({
          is_published: true,
          schedule_id: 'schedule_id',
          shift_data: { end_time: 'end_time', start_time: 'start_time' },
          target_count: 0,
        });
        
        console.log(unassignedshift.id);
        ```
        
-   `client.unassignedshifts.retrieve(id, { ...params }) -> UnassignedshiftRetrieveResponse`
-   `client.unassignedshifts.update(id, { ...params }) -> UnassignedshiftUpdateResponse`

## WorkerChanges

**Types**

-   `WorkerChangeListResponse`
-   `WorkerChangeRetrieveResponse`

**Methods**

-   `client.workerChanges.list({ ...params }) -> WorkerChangeListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const workerChangeListResponse of client.workerChanges.list()) {
          console.log(workerChangeListResponse.id);
        }
        ```
        
-   `client.workerChanges.retrieve(id, { ...params }) -> WorkerChangeRetrieveResponse`

## WorkerChangeFields

**Types**

-   `WorkerChangeFieldListResponse`

**Methods**

-   `client.workerChangeFields.list() -> WorkerChangeFieldListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const workerChangeFieldListResponse of client.workerChangeFields.list()) {
          console.log(workerChangeFieldListResponse.category);
        }
        ```
        

## WorkerTimeSplits

**Types**

-   `WorkerTimeSplitListResponse`
-   `WorkerTimeSplitCreateResponse`
-   `WorkerTimeSplitRetrieveResponse`
-   `WorkerTimeSplitUpdateResponse`

**Methods**

-   `client.workerTimeSplits.list({ ...params }) -> WorkerTimeSplitListResponsesPageCursorURL`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        // Automatically fetches more pages as needed.
        for await (const workerTimeSplitListResponse of client.workerTimeSplits.list()) {
          console.log(workerTimeSplitListResponse.id);
        }
        ```
        
-   `client.workerTimeSplits.create({ ...params }) -> WorkerTimeSplitCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const workerTimeSplit = await client.workerTimeSplits.create({ worker_id: 'worker_id' });
        
        console.log(workerTimeSplit.id);
        ```
        
-   `client.workerTimeSplits.retrieve(id, { ...params }) -> WorkerTimeSplitRetrieveResponse`
-   `client.workerTimeSplits.update(id, { ...params }) -> WorkerTimeSplitUpdateResponse`
-   `client.workerTimeSplits.delete(id) -> void`

## WorkflowActionExecutions

**Types**

-   `WorkflowActionExecutionCreateResponse`

**Methods**

-   `client.workflowActionExecutions.create({ ...params }) -> WorkflowActionExecutionCreateResponse`
    -   Example:
        
        ```js
        import RipplingSDK from '@rippling/rippling-sdk';
        
        const client = new RipplingSDK({
          bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
        });
        
        const workflowActionExecution = await client.workflowActionExecutions.create({
          action_type: 'run_query',
          payload: { query: 'query' },
          workflow_definition_id: 'workflow_definition_id',
        });
        
        console.log(workflowActionExecution.result);
        ```
        

## ShiftAssignments

**Types**

-   `ShiftAssignmentUpdateCustomfieldsResponse`

**Methods**

-   `client.shiftAssignments.updateCustomfields(id, { ...params }) -> ShiftAssignmentUpdateCustomfieldsResponse`

## UnassignedShifts

**Types**

-   `UnassignedShiftUpdateCustomfieldsResponse`
-   `UnassignedShiftAssignResponse`

**Methods**

-   `client.unassignedShifts.updateCustomfields(id, { ...params }) -> UnassignedShiftUpdateCustomfieldsResponse`
-   `client.unassignedShifts.assign(id, { ...params }) -> UnassignedShiftAssignResponse`

Source: https://developer.rippling.com/documentation/js-sdk/api

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
