Shared
Types-
Address -
CountryCode -
GroupMember -
RedactedFields
Companies
Types Methods-
client.companies.list({ ...params }) -> CompaniesPageCursorURL- Example:
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);
}
- Example:
Compensations
Types-
Compensation -
CompensationRetrieveResponse
-
client.compensations.list({ ...params }) -> CompensationsPageCursorURL- Example:
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);
}
- Example:
-
client.compensations.retrieve(id, { ...params }) -> CompensationRetrieveResponse
CustomObjects
Types Methods-
client.customObjects.list() -> CustomObjectsPageCursorURL- Example:
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);
}
- Example:
-
client.customObjects.create({ ...params }) -> CustomObject- Example:
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);
- Example:
-
client.customObjects.retrieve(customObjectAPIName) -> CustomObject -
client.customObjects.update(customObjectAPIName, { ...params }) -> CustomObject -
client.customObjects.delete(customObjectAPIName) -> void
Fields
Types 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 -
RecordCreateResponse -
RecordQueryResponse -
RecordUpdateResponse -
RecordBulkCreateResponse -
RecordBulkUpdateResponse
-
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 -
DepartmentRetrieveResponse
-
client.departments.list({ ...params }) -> DepartmentsPageCursorURL- Example:
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);
}
- Example:
-
client.departments.create({ ...params }) -> Department- Example:
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);
- Example:
-
client.departments.retrieve(id, { ...params }) -> DepartmentRetrieveResponse -
client.departments.update(id, { ...params }) -> Department
EmploymentTypes
Types-
CompanyEmploymentType -
EmploymentTypeRetrieveResponse
-
client.employmentTypes.list({ ...params }) -> CompanyEmploymentTypesPageCursorURL- Example:
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);
}
- Example:
-
client.employmentTypes.retrieve(id) -> EmploymentTypeRetrieveResponse
JobCodes
Types-
JobCode -
JobCodeRequest -
JobCodeRetrieveResponse
-
client.jobCodes.list({ ...params }) -> JobCodesPageCursorURL- Example:
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);
}
- Example:
-
client.jobCodes.create({ ...params }) -> JobCode- Example:
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);
- Example:
-
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 -
JobDimensionRequest -
JobDimensionRetrieveResponse
-
client.jobDimensions.list({ ...params }) -> JobDimensionsPageCursorURL- Example:
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);
}
- Example:
-
client.jobDimensions.create({ ...params }) -> JobDimension- Example:
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);
- Example:
-
client.jobDimensions.retrieve(id) -> JobDimensionRetrieveResponse -
client.jobDimensions.update(id, { ...params }) -> JobDimension -
client.jobDimensions.delete(id) -> void
JobRequisitions
Types Methods-
client.jobRequisitions.list({ ...params }) -> JobRequisitionsPageCursorURL- Example:
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);
}
- Example:
KioskBadges
Types-
TimeKioskBadge -
KioskBadgeListResponse -
KioskBadgeCreateResponse -
KioskBadgeRetrieveResponse -
KioskBadgeUpdateResponse
-
client.kioskBadges.list({ ...params }) -> KioskBadgeListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.kioskBadges.create({ ...params }) -> KioskBadgeCreateResponse- Example:
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);
- Example:
-
client.kioskBadges.retrieve(id, { ...params }) -> KioskBadgeRetrieveResponse -
client.kioskBadges.update(id, { ...params }) -> KioskBadgeUpdateResponse -
client.kioskBadges.delete(id) -> void
LeaveBalances
Types-
LeaveBalance -
LeaveBalanceRetrieveResponse
-
client.leaveBalances.list({ ...params }) -> LeaveBalancesPageCursorURL- Example:
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);
}
- Example:
-
client.leaveBalances.retrieve(id, { ...params }) -> LeaveBalanceRetrieveResponse
LeaveRequests
Types-
LeaveRequest -
LeaveRequestListResponse -
LeaveRequestCreateResponse -
LeaveRequestRetrieveResponse -
LeaveRequestUpdateResponse
-
client.leaveRequests.list({ ...params }) -> LeaveRequestListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.leaveRequests.create({ ...params }) -> LeaveRequestCreateResponse- Example:
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);
- Example:
-
client.leaveRequests.retrieve(id, { ...params }) -> LeaveRequestRetrieveResponse -
client.leaveRequests.update(id, { ...params }) -> LeaveRequestUpdateResponse
LeaveTypes
Types-
LeaveType -
LeaveTypeRetrieveResponse
-
client.leaveTypes.list({ ...params }) -> LeaveTypesPageCursorURL- Example:
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);
}
- Example:
-
client.leaveTypes.retrieve(id) -> LeaveTypeRetrieveResponse
LegalEntities
Types-
LegalEntity -
LegalEntityRetrieveResponse
-
client.legalEntities.list({ ...params }) -> LegalEntitiesPageCursorURL- Example:
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);
}
- Example:
-
client.legalEntities.retrieve(id, { ...params }) -> LegalEntityRetrieveResponse
Levels
Types-
Level -
LevelRetrieveResponse
-
client.levels.list({ ...params }) -> LevelsPageCursorURL- Example:
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);
}
- Example:
-
client.levels.create({ ...params }) -> Level- Example:
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);
- Example:
-
client.levels.retrieve(id, { ...params }) -> LevelRetrieveResponse -
client.levels.update(id, { ...params }) -> Level -
client.levels.delete(id) -> void
ObjectCategories
Types Methods-
client.objectCategories.list() -> ObjectCategoriesPageCursorURL- Example:
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);
}
- Example:
-
client.objectCategories.create({ ...params }) -> ObjectCategory- Example:
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);
- Example:
-
client.objectCategories.retrieve(id) -> ObjectCategory -
client.objectCategories.update(id, { ...params }) -> ObjectCategory -
client.objectCategories.delete(id) -> void
ShiftInputs
Types-
ShiftInput -
ShiftInputListResponse -
ShiftInputCreateResponse -
ShiftInputRetrieveResponse -
ShiftInputUpdateResponse
-
client.shiftInputs.list({ ...params }) -> ShiftInputListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.shiftInputs.create({ ...params }) -> ShiftInputCreateResponse- Example:
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);
- Example:
-
client.shiftInputs.retrieve(id, { ...params }) -> ShiftInputRetrieveResponse -
client.shiftInputs.update(id, { ...params }) -> ShiftInputUpdateResponse -
client.shiftInputs.delete(id) -> void
SSOMe
Types Methods-
client.ssoMe.list({ ...params }) -> SSOMe- Example:
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);
- Example:
Supergroups
Types-
Supergroup -
SupergroupRetrieveResponse
-
client.supergroups.list({ ...params }) -> SupergroupsPageCursorURL- Example:
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);
}
- Example:
-
client.supergroups.retrieve(id) -> SupergroupRetrieveResponse
Members
Methods-
client.supergroups.members.list(groupID, { ...params }) -> GroupMembersPageCursorURL
InclusionMembers
Types-
InclusionMemberUpdateResponse
-
client.supergroups.inclusionMembers.list(groupID, { ...params }) -> GroupMembersPageCursorURL -
client.supergroups.inclusionMembers.update(groupID, { ...params }) -> InclusionMemberUpdateResponse
ExclusionMembers
Types-
ExclusionMemberUpdateResponse
-
client.supergroups.exclusionMembers.list(groupID, { ...params }) -> GroupMembersPageCursorURL -
client.supergroups.exclusionMembers.update(groupID, { ...params }) -> ExclusionMemberUpdateResponse
Teams
Types-
Team -
TeamRetrieveResponse
-
client.teams.list({ ...params }) -> TeamsPageCursorURL- Example:
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);
}
- Example:
-
client.teams.create({ ...params }) -> Team- Example:
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);
- Example:
-
client.teams.retrieve(id, { ...params }) -> TeamRetrieveResponse -
client.teams.update(id, { ...params }) -> Team -
client.teams.delete(id) -> void
TimeCards
Types Methods-
client.timeCards.list({ ...params }) -> TimeCardsPageCursorURL- Example:
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);
}
- Example:
-
client.timeCards.retrieve(id, { ...params }) -> TimeCardRetrieveResponse
TimeEntries
Types-
TimeEntry -
TimeEntryListResponse -
TimeEntryCreateResponse -
TimeEntryRetrieveResponse -
TimeEntryUpdateResponse
-
client.timeEntries.list({ ...params }) -> TimeEntryListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.timeEntries.create({ ...params }) -> TimeEntryCreateResponse- Example:
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);
- Example:
-
client.timeEntries.retrieve(id, { ...params }) -> TimeEntryRetrieveResponse -
client.timeEntries.update(id, { ...params }) -> TimeEntryUpdateResponse -
client.timeEntries.delete(id) -> void
Tracks
Types-
Track -
TrackRetrieveResponse
-
client.tracks.list({ ...params }) -> TracksPageCursorURL- Example:
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);
}
- Example:
-
client.tracks.create({ ...params }) -> Track- Example:
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);
- Example:
-
client.tracks.retrieve(id) -> TrackRetrieveResponse -
client.tracks.update(id, { ...params }) -> Track -
client.tracks.delete(id) -> void
Users
Types-
User -
UserRetrieveResponse
-
client.users.list({ ...params }) -> UsersPageCursorURL- Example:
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);
}
- Example:
-
client.users.retrieve(id) -> UserRetrieveResponse
WorkLocations
Types-
WorkLocation -
WorkLocationRetrieveResponse
-
client.workLocations.list({ ...params }) -> WorkLocationsPageCursorURL- Example:
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);
}
- Example:
-
client.workLocations.create({ ...params }) -> WorkLocation- Example:
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);
- Example:
-
client.workLocations.retrieve(id) -> WorkLocationRetrieveResponse -
client.workLocations.update(id, { ...params }) -> WorkLocation -
client.workLocations.delete(id) -> void
Workers
Types-
Worker -
WorkerRetrieveResponse
-
client.workers.list({ ...params }) -> WorkersPageCursorURL- Example:
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);
}
- Example:
-
client.workers.retrieve(id, { ...params }) -> WorkerRetrieveResponse
BusinessPartners
Types-
BusinessPartner -
Meta -
BusinessPartnerRetrieveResponse
-
client.businessPartners.list({ ...params }) -> BusinessPartnersPageCursorURL- Example:
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);
}
- Example:
-
client.businessPartners.create({ ...params }) -> BusinessPartner- Example:
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);
- Example:
-
client.businessPartners.retrieve(id, { ...params }) -> BusinessPartnerRetrieveResponse -
client.businessPartners.delete(id) -> void
BusinessPartnerGroups
Types-
BusinessPartnerGroup -
BusinessPartnerGroupRetrieveResponse
-
client.businessPartnerGroups.list({ ...params }) -> BusinessPartnerGroupsPageCursorURL- Example:
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);
}
- Example:
-
client.businessPartnerGroups.create({ ...params }) -> BusinessPartnerGroup- Example:
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);
- Example:
-
client.businessPartnerGroups.retrieve(id, { ...params }) -> BusinessPartnerGroupRetrieveResponse -
client.businessPartnerGroups.delete(id) -> void
Functions
Types-
Function -
FunctionCreateDevBundleResponse
-
client.functions.list({ ...params }) -> FunctionsPageCursorURL- Example:
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);
}
- Example:
-
client.functions.create({ ...params }) -> Function- Example:
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);
- Example:
-
client.functions.retrieve(functionAPIName) -> Function -
client.functions.update(functionAPIName, { ...params }) -> Function -
client.functions.createDevBundle(functionAPIName) -> FunctionCreateDevBundleResponse
Deployments
Types-
FunctionDeployment -
DeploymentListResponse -
DeploymentListLogsResponse
-
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 -
ExecutionListLogsResponse
-
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 -
JobAssignment -
JobAssignmentRetrieveResponse
-
client.jobAssignments.list({ ...params }) -> JobAssignmentsPageCursorURL- Example:
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);
}
- Example:
-
client.jobAssignments.create({ ...params }) -> JobAssignment- Example:
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);
- Example:
-
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 -
JobPayRateExceptionRetrieveResponse
-
client.jobPayRateExceptions.list({ ...params }) -> JobPayRateExceptionsPageCursorURL- Example:
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);
}
- Example:
-
client.jobPayRateExceptions.retrieve(id, { ...params }) -> JobPayRateExceptionRetrieveResponse -
client.jobPayRateExceptions.listChangeLog(jobPayRateExceptionID, { ...params }) -> AttributeChangeDetailsPageCursorURL
Agents
Types-
AgentListResponse -
AgentCreateResponse -
AgentRetrieveResponse -
AgentUpdateResponse
-
client.agents.list({ ...params }) -> AgentListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.agents.create({ ...params }) -> AgentCreateResponse- Example:
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);
- Example:
-
client.agents.retrieve(agentID) -> AgentRetrieveResponse -
client.agents.update(agentID, { ...params }) -> AgentUpdateResponse -
client.agents.delete(agentID) -> void
SourceRevisions
Types-
SourceRevisionListResponse -
SourceRevisionCreateResponse -
SourceRevisionRetrieveResponse
-
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
-
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
-
client.agents.sessions.create({ ...params }) -> SessionCreateResponse- Example:
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);
- Example:
-
client.agents.sessions.list(agentID, { ...params }) -> SessionListResponsesPageCursorURL -
client.agents.sessions.retrieve(sessionID) -> SessionRetrieveResponse
Messages
Types-
MessageCreateResponse
-
client.agents.sessions.messages.create(sessionID, { ...params }) -> MessageCreateResponse
Events
Types-
EventRetrieveResponse
-
client.agents.sessions.events.retrieve(sessionID, { ...params }) -> EventRetrieveResponse
AppUsers
Types-
AppUserListResponse -
AppUserRetrieveResponse
-
client.appUsers.list({ ...params }) -> AppUserListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.appUsers.retrieve(id, { ...params }) -> AppUserRetrieveResponse
BreakPolicies
Types-
BreakPolicyListResponse -
BreakPolicyRetrieveResponse
-
client.breakPolicies.list({ ...params }) -> BreakPolicyListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.breakPolicies.retrieve(id) -> BreakPolicyRetrieveResponse
BreakTypes
Types-
BreakTypeListResponse -
BreakTypeRetrieveResponse
-
client.breakTypes.list({ ...params }) -> BreakTypeListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.breakTypes.retrieve(id, { ...params }) -> BreakTypeRetrieveResponse
BusinessStructurePaths
Types-
BusinessStructurePathListResponse -
BusinessStructurePathRetrieveResponse
-
client.businessStructurePaths.list({ ...params }) -> BusinessStructurePathListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.businessStructurePaths.retrieve(id, { ...params }) -> BusinessStructurePathRetrieveResponse
Candidates
Types-
CandidateListResponse
-
client.candidates.list({ ...params }) -> CandidateListResponsesPageCursorURL- Example:
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);
}
- Example:
CandidateApplications
Types-
CandidateApplicationListResponse
-
client.candidateApplications.list({ ...params }) -> CandidateApplicationListResponsesPageCursorURL- Example:
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);
}
- Example:
CompanyLegalEntities
Types-
CompanyLegalEntityListResponse -
CompanyLegalEntityRetrieveResponse
-
client.companyLegalEntities.list({ ...params }) -> CompanyLegalEntityListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.companyLegalEntities.retrieve(id) -> CompanyLegalEntityRetrieveResponse
CompanyLegalEntityWorkers
Types-
CompanyLegalEntityWorkerListResponse -
CompanyLegalEntityWorkerRetrieveResponse
-
client.companyLegalEntityWorkers.list({ ...params }) -> CompanyLegalEntityWorkerListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.companyLegalEntityWorkers.retrieve(id) -> CompanyLegalEntityWorkerRetrieveResponse
CompensationBandsDetails
Types-
CompensationBandsDetailListResponse -
CompensationBandsDetailRetrieveResponse
-
client.compensationBandsDetails.list({ ...params }) -> CompensationBandsDetailListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.compensationBandsDetails.retrieve(id, { ...params }) -> CompensationBandsDetailRetrieveResponse
CustomApps
Types-
CustomAppListResponse -
CustomAppCreateResponse -
CustomAppRetrieveResponse -
CustomAppUpdateResponse
-
client.customApps.list() -> CustomAppListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.customApps.create({ ...params }) -> CustomAppCreateResponse- Example:
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);
- Example:
-
client.customApps.retrieve(id) -> CustomAppRetrieveResponse -
client.customApps.update(id, { ...params }) -> CustomAppUpdateResponse -
client.customApps.delete(id) -> void
CustomFields
Types-
CustomFieldListResponse
-
client.customFields.list({ ...params }) -> CustomFieldListResponsesPageCursorURL- Example:
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);
}
- Example:
CustomPages
Types-
CustomPageListResponse -
CustomPageCreateResponse -
CustomPageRetrieveResponse -
CustomPageUpdateResponse
-
client.customPages.list() -> CustomPageListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.customPages.create({ ...params }) -> CustomPageCreateResponse- Example:
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);
- Example:
-
client.customPages.retrieve(id) -> CustomPageRetrieveResponse -
client.customPages.update(id, { ...params }) -> CustomPageUpdateResponse -
client.customPages.delete(id) -> void
CustomSettings
Types-
CustomSettingListResponse -
CustomSettingCreateResponse -
CustomSettingRetrieveResponse -
CustomSettingUpdateResponse
-
client.customSettings.list({ ...params }) -> CustomSettingListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.customSettings.create({ ...params }) -> CustomSettingCreateResponse- Example:
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);
- Example:
-
client.customSettings.retrieve(id) -> CustomSettingRetrieveResponse -
client.customSettings.update(id, { ...params }) -> CustomSettingUpdateResponse -
client.customSettings.delete(id) -> void
Devices
Types-
DeviceListResponse -
DeviceRetrieveResponse
-
client.devices.list({ ...params }) -> DeviceListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.devices.retrieve(id, { ...params }) -> DeviceRetrieveResponse
DeviceOrders
Types-
DeviceOrderListResponse -
DeviceOrderRetrieveResponse
-
client.deviceOrders.list({ ...params }) -> DeviceOrderListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.deviceOrders.retrieve(id, { ...params }) -> DeviceOrderRetrieveResponse
DraftHires
Types-
DraftHireCreateResponse
-
client.draftHires.create({ ...params }) -> DraftHireCreateResponse- Example:
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);
- Example:
EarningTypes
Types-
EarningTypeListResponse
-
client.earningTypes.list() -> EarningTypeListResponsesPageCursorURL- Example:
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);
}
- Example:
EarningsInputs
Types-
EarningsInputListResponse -
EarningsInputCreateResponse
-
client.earningsInputs.list() -> EarningsInputListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.earningsInputs.create({ ...params }) -> EarningsInputCreateResponse- Example:
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);
- Example:
-
client.earningsInputs.delete(id) -> void
EmployeeDocuments
Types-
EmployeeDocumentCreateResponse
-
client.employeeDocuments.create({ ...params }) -> EmployeeDocumentCreateResponse- Example:
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);
- Example:
Entitlements
Types-
EntitlementListResponse
-
client.entitlements.list() -> EntitlementListResponsesPageCursorURL- Example:
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);
}
- Example:
Files
Types-
FileRetrieveResponse -
FileCreateResponse
-
client.files.retrieve(id) -> FileRetrieveResponse -
client.files.create({ ...params }) -> FileCreateResponse- Example:
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);
- Example:
HeadcountPositions
Types-
HeadcountPositionListResponse -
HeadcountPositionRetrieveResponse
-
client.headcountPositions.list({ ...params }) -> HeadcountPositionListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.headcountPositions.retrieve(id, { ...params }) -> HeadcountPositionRetrieveResponse
HeadcountPriorities
Types-
HeadcountPriorityListResponse -
HeadcountPriorityRetrieveResponse
-
client.headcountPriorities.list({ ...params }) -> HeadcountPriorityListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.headcountPriorities.retrieve(id) -> HeadcountPriorityRetrieveResponse
JobFunctions
Types-
JobFunctionListResponse -
JobFunctionRetrieveResponse
-
client.jobFunctions.list({ ...params }) -> JobFunctionListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.jobFunctions.retrieve(id) -> JobFunctionRetrieveResponse
JobRequisitionsWrite
Types-
JobRequisitionsWriteCreateResponse
-
client.jobRequisitionsWrite.create({ ...params }) -> JobRequisitionsWriteCreateResponse- Example:
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);
- Example:
LeaveAccruals
Types-
LeaveAccrualListResponse -
LeaveAccrualCreateResponse -
LeaveAccrualRetrieveResponse
-
client.leaveAccruals.list({ ...params }) -> LeaveAccrualListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.leaveAccruals.create({ ...params }) -> LeaveAccrualCreateResponse- Example:
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);
- Example:
-
client.leaveAccruals.retrieve(id, { ...params }) -> LeaveAccrualRetrieveResponse
LeaveProgramEvaluations
Types-
LeaveProgramEvaluationCreateResponse
-
client.leaveProgramEvaluations.create({ ...params }) -> LeaveProgramEvaluationCreateResponse- Example:
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);
- Example:
LocationFactors
Types-
LocationFactorListResponse -
LocationFactorRetrieveResponse
-
client.locationFactors.list({ ...params }) -> LocationFactorListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.locationFactors.retrieve(id) -> LocationFactorRetrieveResponse
Packages
Types-
PackageListResponse -
PackageCreateResponse -
PackageRetrieveResponse -
PackageUpdateResponse
-
client.packages.list({ ...params }) -> PackageListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.packages.create({ ...params }) -> PackageCreateResponse- Example:
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);
- Example:
-
client.packages.retrieve(id) -> PackageRetrieveResponse -
client.packages.update(id, { ...params }) -> PackageUpdateResponse -
client.packages.delete(id) -> void
Versions
Types-
VersionCreateResponse
-
client.packages.versions.create(packageKey, { ...params }) -> VersionCreateResponse
PayrollRuns
Types-
PayrollRunListResponse -
PayrollRunRetrieveResponse
-
client.payrollRuns.list({ ...params }) -> PayrollRunListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.payrollRuns.retrieve(id) -> PayrollRunRetrieveResponse
WorkerPayrollRecords
Types-
WorkerPayrollRecordListResponse
-
client.payrollRuns.workerPayrollRecords.list(runID, { ...params }) -> WorkerPayrollRecordListResponsesPageCursorURL
PlatformCapabilities
Types-
PlatformCapabilityListResponse
-
client.platformCapabilities.list() -> PlatformCapabilityListResponsesPageCursorURL- Example:
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);
}
- Example:
Reports
Types-
ReportRetrieveResponse
-
client.reports.retrieve(id) -> ReportRetrieveResponse
AvailableFilters
Types-
AvailableFilterRetrieveResponse
-
client.reports.availableFilters.retrieve(reportID) -> AvailableFilterRetrieveResponse
ReportRuns
Types-
ReportRunCreateResponse -
ReportRunRetrieveResponse
-
client.reportRuns.create({ ...params }) -> ReportRunCreateResponse- Example:
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);
- Example:
-
client.reportRuns.retrieve(runID) -> ReportRunRetrieveResponse
Schedules
Types-
ScheduleListResponse -
ScheduleCreateResponse -
ScheduleRetrieveResponse -
ScheduleUpdateResponse
-
client.schedules.list({ ...params }) -> ScheduleListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.schedules.create({ ...params }) -> ScheduleCreateResponse- Example:
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);
- Example:
-
client.schedules.retrieve(id, { ...params }) -> ScheduleRetrieveResponse -
client.schedules.update(id, { ...params }) -> ScheduleUpdateResponse
ScheduledJobAssignments
Types-
ScheduledJobAssignmentListResponse -
ScheduledJobAssignmentRetrieveResponse
-
client.scheduledJobAssignments.list({ ...params }) -> ScheduledJobAssignmentListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.scheduledJobAssignments.retrieve(id) -> ScheduledJobAssignmentRetrieveResponse -
client.scheduledJobAssignments.delete(id) -> void
Shiftassignments
Types-
ShiftassignmentListResponse -
ShiftassignmentCreateResponse -
ShiftassignmentRetrieveResponse -
ShiftassignmentUpdateResponse
-
client.shiftassignments.list({ ...params }) -> ShiftassignmentListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.shiftassignments.create({ ...params }) -> ShiftassignmentCreateResponse- Example:
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);
- Example:
-
client.shiftassignments.retrieve(id, { ...params }) -> ShiftassignmentRetrieveResponse -
client.shiftassignments.update(id, { ...params }) -> ShiftassignmentUpdateResponse
Sites
Types-
SiteListResponse -
SiteCreateResponse -
SiteRetrieveResponse -
SiteUpdateResponse -
SiteUploadBatchesPresignResponse -
SiteFilesResponse -
SiteFileOperationsResponse
-
client.sites.list() -> SiteListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.sites.create({ ...params }) -> SiteCreateResponse- Example:
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);
- Example:
-
client.sites.retrieve(apiName) -> SiteRetrieveResponse -
client.sites.update(apiName, { ...params }) -> SiteUpdateResponse -
client.sites.delete(apiName) -> void -
client.sites.uploadBatchesPresign({ ...params }) -> SiteUploadBatchesPresignResponse- Example:
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);
- Example:
-
client.sites.files(apiName, { ...params }) -> SiteFilesResponse -
client.sites.fileOperations(apiName, { ...params }) -> SiteFileOperationsResponse
SoftwareDeployments
Types-
SoftwareDeploymentListResponse -
SoftwareDeploymentCreateResponse -
SoftwareDeploymentRetrieveResponse -
SoftwareDeploymentUpdateResponse
-
client.softwareDeployments.list({ ...params }) -> SoftwareDeploymentListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.softwareDeployments.create({ ...params }) -> SoftwareDeploymentCreateResponse- Example:
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);
- Example:
-
client.softwareDeployments.retrieve(id, { ...params }) -> SoftwareDeploymentRetrieveResponse -
client.softwareDeployments.update(id, { ...params }) -> SoftwareDeploymentUpdateResponse -
client.softwareDeployments.delete(id) -> void
Titles
Types-
TitleListResponse -
TitleCreateResponse -
TitleRetrieveResponse -
TitleUpdateResponse
-
client.titles.list({ ...params }) -> TitleListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.titles.create({ ...params }) -> TitleCreateResponse- Example:
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);
- Example:
-
client.titles.retrieve(id) -> TitleRetrieveResponse -
client.titles.update(id, { ...params }) -> TitleUpdateResponse -
client.titles.delete(id) -> void
Unassignedshifts
Types-
UnassignedshiftListResponse -
UnassignedshiftCreateResponse -
UnassignedshiftRetrieveResponse -
UnassignedshiftUpdateResponse
-
client.unassignedshifts.list({ ...params }) -> UnassignedshiftListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.unassignedshifts.create({ ...params }) -> UnassignedshiftCreateResponse- Example:
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);
- Example:
-
client.unassignedshifts.retrieve(id, { ...params }) -> UnassignedshiftRetrieveResponse -
client.unassignedshifts.update(id, { ...params }) -> UnassignedshiftUpdateResponse
WorkerChanges
Types-
WorkerChangeListResponse -
WorkerChangeRetrieveResponse
-
client.workerChanges.list({ ...params }) -> WorkerChangeListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.workerChanges.retrieve(id, { ...params }) -> WorkerChangeRetrieveResponse
WorkerChangeFields
Types-
WorkerChangeFieldListResponse
-
client.workerChangeFields.list() -> WorkerChangeFieldListResponsesPageCursorURL- Example:
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);
}
- Example:
WorkerTimeSplits
Types-
WorkerTimeSplitListResponse -
WorkerTimeSplitCreateResponse -
WorkerTimeSplitRetrieveResponse -
WorkerTimeSplitUpdateResponse
-
client.workerTimeSplits.list({ ...params }) -> WorkerTimeSplitListResponsesPageCursorURL- Example:
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);
}
- Example:
-
client.workerTimeSplits.create({ ...params }) -> WorkerTimeSplitCreateResponse- Example:
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);
- Example:
-
client.workerTimeSplits.retrieve(id, { ...params }) -> WorkerTimeSplitRetrieveResponse -
client.workerTimeSplits.update(id, { ...params }) -> WorkerTimeSplitUpdateResponse -
client.workerTimeSplits.delete(id) -> void
WorkflowActionExecutions
Types-
WorkflowActionExecutionCreateResponse
-
client.workflowActionExecutions.create({ ...params }) -> WorkflowActionExecutionCreateResponse- Example:
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);
- Example:
ShiftAssignments
Types-
ShiftAssignmentUpdateCustomfieldsResponse
-
client.shiftAssignments.updateCustomfields(id, { ...params }) -> ShiftAssignmentUpdateCustomfieldsResponse
UnassignedShifts
Types-
UnassignedShiftUpdateCustomfieldsResponse -
UnassignedShiftAssignResponse
-
client.unassignedShifts.updateCustomfields(id, { ...params }) -> UnassignedShiftUpdateCustomfieldsResponse -
client.unassignedShifts.assign(id, { ...params }) -> UnassignedShiftAssignResponse