@factorialco/api-client 2.0.0 → 3.0.0-beta.2026100100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/generated/index.d.ts +2 -2
- package/dist/cjs/generated/index.js +561 -561
- package/dist/cjs/generated/sdk.gen.d.ts +556 -552
- package/dist/cjs/generated/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/generated/sdk.gen.js +1666 -1662
- package/dist/cjs/generated/sdk.gen.js.map +1 -1
- package/dist/cjs/generated/types.gen.d.ts +2210 -2203
- package/dist/cjs/generated/types.gen.d.ts.map +1 -1
- package/dist/cjs/sdk.d.ts +847 -847
- package/dist/cjs/sdk.js +698 -698
- package/dist/esm/generated/index.d.ts +2 -2
- package/dist/esm/generated/index.js +1 -1
- package/dist/esm/generated/sdk.gen.d.ts +556 -552
- package/dist/esm/generated/sdk.gen.d.ts.map +1 -1
- package/dist/esm/generated/sdk.gen.js +1105 -1101
- package/dist/esm/generated/sdk.gen.js.map +1 -1
- package/dist/esm/generated/types.gen.d.ts +2210 -2203
- package/dist/esm/generated/types.gen.d.ts.map +1 -1
- package/dist/esm/sdk.d.ts +847 -847
- package/dist/esm/sdk.js +699 -699
- package/package.json +1 -1
package/dist/esm/sdk.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// DO NOT edit manually — run `npm run generate-sdk` to regenerate.
|
|
3
3
|
// Generated from src/generated/sdk.gen.ts
|
|
4
4
|
import { createClient, createConfig } from "./generated/client/index.js";
|
|
5
|
-
import { deleteApi20260701ResourcesApiPublicWebhookSubscriptionsById, deleteApi20260701ResourcesAtsApplicationsById, deleteApi20260701ResourcesAtsCandidatesById, deleteApi20260701ResourcesAtsFeedbacksById, deleteApi20260701ResourcesAtsJobPostingsById, deleteApi20260701ResourcesAtsQuestionsById, deleteApi20260701ResourcesAttendanceEditTimesheetRequestsById, deleteApi20260701ResourcesAttendanceOvertimeRequestsById, deleteApi20260701ResourcesAttendanceShiftsById, deleteApi20260701ResourcesContractsCompensationsById, deleteApi20260701ResourcesContractsContractVersionsById, deleteApi20260701ResourcesCustomFieldsFieldsById, deleteApi20260701ResourcesDocumentsDocumentsById, deleteApi20260701ResourcesFinanceCostCentersById, deleteApi20260701ResourcesItManagementItAssetsById, deleteApi20260701ResourcesLocationsLocationsById, deleteApi20260701ResourcesPayrollEmployeesIdentifiersById, deleteApi20260701ResourcesPayrollIntegrationsBaseCodesById, deleteApi20260701ResourcesPayrollSupplementsById, deleteApi20260701ResourcesPerformanceReviewOwnersById, deleteApi20260701ResourcesPerformanceReviewProcessTargetsById, deleteApi20260701ResourcesPerformanceReviewProcessesById, deleteApi20260701ResourcesPostsCommentsById, deleteApi20260701ResourcesPostsGroupsById, deleteApi20260701ResourcesPostsPostsById, deleteApi20260701ResourcesProjectManagementBudgetStrategiesById, deleteApi20260701ResourcesProjectManagementPlannedRecordsById, deleteApi20260701ResourcesProjectManagementSubprojectsById, deleteApi20260701ResourcesProjectManagementTimeRecordsById, deleteApi20260701ResourcesShiftManagementShiftsById, deleteApi20260701ResourcesTasksTaskFilesById, deleteApi20260701ResourcesTasksTasksById, deleteApi20260701ResourcesTeamsMembershipsById, deleteApi20260701ResourcesTeamsTeamsById, deleteApi20260701ResourcesTimePlanningPlanningVersionsById, deleteApi20260701ResourcesTimeoffAllowanceIncidencesById, deleteApi20260701ResourcesTimeoffAllowancesById, deleteApi20260701ResourcesTimeoffBlockedPeriodsById, deleteApi20260701ResourcesTimeoffLeavesById, deleteApi20260701ResourcesTimeoffPoliciesById, deleteApi20260701ResourcesTimeoffPolicyAssignmentsById, deleteApi20260701ResourcesTrainingsCategoriesById, deleteApi20260701ResourcesTrainingsSessionsById, deleteApi20260701ResourcesTrainingsTrainingClassesById, deleteApi20260701ResourcesTrainingsTrainingsById, deleteApi20260701ResourcesWorkScheduleOverlapPeriodsById, getApi20260701ResourcesApiPublicCredentials, getApi20260701ResourcesApiPublicWebhookSubscriptions, getApi20260701ResourcesApiPublicWebhookSubscriptionsById, getApi20260701ResourcesAtsAnswers, getApi20260701ResourcesAtsAnswersById, getApi20260701ResourcesAtsApplicationPhases, getApi20260701ResourcesAtsApplicationPhasesById, getApi20260701ResourcesAtsApplications, getApi20260701ResourcesAtsApplicationsById, getApi20260701ResourcesAtsCandidateSources, getApi20260701ResourcesAtsCandidateSourcesById, getApi20260701ResourcesAtsCandidates, getApi20260701ResourcesAtsCandidatesById, getApi20260701ResourcesAtsEvaluationForms, getApi20260701ResourcesAtsEvaluationFormsById, getApi20260701ResourcesAtsFeedbacks, getApi20260701ResourcesAtsFeedbacksById, getApi20260701ResourcesAtsHiringStages, getApi20260701ResourcesAtsHiringStagesById, getApi20260701ResourcesAtsJobPostings, getApi20260701ResourcesAtsJobPostingsById, getApi20260701ResourcesAtsMessages, getApi20260701ResourcesAtsMessagesById, getApi20260701ResourcesAtsQuestions, getApi20260701ResourcesAtsQuestionsById, getApi20260701ResourcesAtsRejectionReasons, getApi20260701ResourcesAtsRejectionReasonsById, getApi20260701ResourcesAttendanceBreakConfigurations, getApi20260701ResourcesAttendanceBreakConfigurationsById, getApi20260701ResourcesAttendanceEditTimesheetRequests, getApi20260701ResourcesAttendanceEditTimesheetRequestsById, getApi20260701ResourcesAttendanceEstimatedTimes, getApi20260701ResourcesAttendanceOpenShifts, getApi20260701ResourcesAttendanceOvertimeRequests, getApi20260701ResourcesAttendanceOvertimeRequestsById, getApi20260701ResourcesAttendanceReviews, getApi20260701ResourcesAttendanceShifts, getApi20260701ResourcesAttendanceShiftsById, getApi20260701ResourcesAttendanceWorkedTimes, getApi20260701ResourcesBankingBankAccounts, getApi20260701ResourcesBankingBankAccountsById, getApi20260701ResourcesBankingCardPayments, getApi20260701ResourcesBankingCardPaymentsById, getApi20260701ResourcesBankingTransactions, getApi20260701ResourcesBankingTransactionsById, getApi20260701ResourcesBookkeepersManagementIncidences, getApi20260701ResourcesBookkeepersManagementIncidencesById, getApi20260701ResourcesCompaniesLegalEntities, getApi20260701ResourcesCompaniesLegalEntitiesById, getApi20260701ResourcesCompensationsConcepts, getApi20260701ResourcesCompensationsConceptsById, getApi20260701ResourcesContractsCompensations, getApi20260701ResourcesContractsCompensationsById, getApi20260701ResourcesContractsContractTemplates, getApi20260701ResourcesContractsContractTemplatesById, getApi20260701ResourcesContractsContractVersionHistories, getApi20260701ResourcesContractsContractVersionHistoriesById, getApi20260701ResourcesContractsContractVersionMetaData, getApi20260701ResourcesContractsContractVersions, getApi20260701ResourcesContractsContractVersionsById, getApi20260701ResourcesContractsFrenchContractTypes, getApi20260701ResourcesContractsFrenchContractTypesById, getApi20260701ResourcesContractsGermanContractTypes, getApi20260701ResourcesContractsGermanContractTypesById, getApi20260701ResourcesContractsMaterializedTemplates, getApi20260701ResourcesContractsPortugueseContractTypes, getApi20260701ResourcesContractsPortugueseContractTypesById, getApi20260701ResourcesContractsReferenceContracts, getApi20260701ResourcesContractsSpanishContractTypes, getApi20260701ResourcesContractsSpanishContractTypesById, getApi20260701ResourcesContractsSpanishEducationLevels, getApi20260701ResourcesContractsSpanishEducationLevelsById, getApi20260701ResourcesContractsSpanishProfessionalCategories, getApi20260701ResourcesContractsSpanishProfessionalCategoriesById, getApi20260701ResourcesContractsSpanishWorkingDayTypes, getApi20260701ResourcesContractsSpanishWorkingDayTypesById, getApi20260701ResourcesContractsTaxonomies, getApi20260701ResourcesContractsTaxonomiesById, getApi20260701ResourcesCustomFieldsFields, getApi20260701ResourcesCustomFieldsFieldsById, getApi20260701ResourcesCustomFieldsOptions, getApi20260701ResourcesCustomFieldsOptionsById, getApi20260701ResourcesCustomFieldsResourceFields, getApi20260701ResourcesCustomFieldsResourceFieldsById, getApi20260701ResourcesCustomFieldsValues, getApi20260701ResourcesCustomFieldsValuesById, getApi20260701ResourcesCustomResourcesResources, getApi20260701ResourcesCustomResourcesResourcesById, getApi20260701ResourcesCustomResourcesSchemas, getApi20260701ResourcesCustomResourcesSchemasById, getApi20260701ResourcesCustomResourcesValues, getApi20260701ResourcesCustomResourcesValuesById, getApi20260701ResourcesDocumentsDocuments, getApi20260701ResourcesDocumentsDocumentsById, getApi20260701ResourcesDocumentsFolders, getApi20260701ResourcesDocumentsFoldersById, getApi20260701ResourcesEmployeeUpdatesAbsences, getApi20260701ResourcesEmployeeUpdatesAbsencesById, getApi20260701ResourcesEmployeeUpdatesContractChanges, getApi20260701ResourcesEmployeeUpdatesContractChangesById, getApi20260701ResourcesEmployeeUpdatesNewHires, getApi20260701ResourcesEmployeeUpdatesNewHiresById, getApi20260701ResourcesEmployeeUpdatesPersonalChanges, getApi20260701ResourcesEmployeeUpdatesPersonalChangesById, getApi20260701ResourcesEmployeeUpdatesSummaries, getApi20260701ResourcesEmployeeUpdatesSummariesById, getApi20260701ResourcesEmployeeUpdatesTerminations, getApi20260701ResourcesEmployeeUpdatesTerminationsById, getApi20260701ResourcesEmployeesEmployees, getApi20260701ResourcesEmployeesEmployeesById, getApi20260701ResourcesExpensesExpensables, getApi20260701ResourcesExpensesExpensablesById, getApi20260701ResourcesExpensesExpenses, getApi20260701ResourcesExpensesExpensesById, getApi20260701ResourcesExpensesMileages, getApi20260701ResourcesExpensesMileagesById, getApi20260701ResourcesExpensesPerDiems, getApi20260701ResourcesExpensesPerDiemsById, getApi20260701ResourcesFinanceAccountingSettings, getApi20260701ResourcesFinanceAccountingSettingsById, getApi20260701ResourcesFinanceAccounts, getApi20260701ResourcesFinanceAccountsById, getApi20260701ResourcesFinanceBudgetOptions, getApi20260701ResourcesFinanceBudgetOptionsById, getApi20260701ResourcesFinanceCategories, getApi20260701ResourcesFinanceCategoriesById, getApi20260701ResourcesFinanceContacts, getApi20260701ResourcesFinanceContactsById, getApi20260701ResourcesFinanceCostCenterMemberships, getApi20260701ResourcesFinanceCostCenters, getApi20260701ResourcesFinanceCostCentersById, getApi20260701ResourcesFinanceFinancialDocuments, getApi20260701ResourcesFinanceFinancialDocumentsById, getApi20260701ResourcesFinanceJournalEntries, getApi20260701ResourcesFinanceJournalEntriesById, getApi20260701ResourcesFinanceJournalLines, getApi20260701ResourcesFinanceJournalLinesById, getApi20260701ResourcesFinanceLedgerAccountResources, getApi20260701ResourcesFinanceLedgerAccountResourcesById, getApi20260701ResourcesFinanceTaxRates, getApi20260701ResourcesFinanceTaxRatesById, getApi20260701ResourcesFinanceTaxTypes, getApi20260701ResourcesFinanceTaxTypesById, getApi20260701ResourcesHolidaysCompanyHolidays, getApi20260701ResourcesHolidaysCompanyHolidaysById, getApi20260701ResourcesIntegrationsSyncableItems, getApi20260701ResourcesItManagementItAssetModels, getApi20260701ResourcesItManagementItAssetModelsById, getApi20260701ResourcesItManagementItAssets, getApi20260701ResourcesItManagementItAssetsById, getApi20260701ResourcesJobCatalogLevels, getApi20260701ResourcesJobCatalogLevelsById, getApi20260701ResourcesJobCatalogNodeAttributes, getApi20260701ResourcesJobCatalogRoles, getApi20260701ResourcesJobCatalogRolesById, getApi20260701ResourcesJobCatalogTreeNodes, getApi20260701ResourcesLocationsLocations, getApi20260701ResourcesLocationsLocationsById, getApi20260701ResourcesLocationsWorkAreas, getApi20260701ResourcesLocationsWorkAreasById, getApi20260701ResourcesMarketplaceInstallationSettings, getApi20260701ResourcesPayrollEmployeesIdentifiers, getApi20260701ResourcesPayrollEmployeesIdentifiersById, getApi20260701ResourcesPayrollFamilySituations, getApi20260701ResourcesPayrollIntegrationsBaseCodes, getApi20260701ResourcesPayrollSupplements, getApi20260701ResourcesPayrollSupplementsById, getApi20260701ResourcesPerformanceAgreements, getApi20260701ResourcesPerformanceAgreementsById, getApi20260701ResourcesPerformanceCompanyEmployeeScoreScales, getApi20260701ResourcesPerformanceCompanyEmployeeScoreScalesById, getApi20260701ResourcesPerformanceEmployeeScoreScales, getApi20260701ResourcesPerformanceEmployeeScoreScalesById, getApi20260701ResourcesPerformanceReviewEvaluationAnswers, getApi20260701ResourcesPerformanceReviewEvaluationScores, getApi20260701ResourcesPerformanceReviewEvaluationScoresById, getApi20260701ResourcesPerformanceReviewEvaluations, getApi20260701ResourcesPerformanceReviewEvaluationsById, getApi20260701ResourcesPerformanceReviewOwners, getApi20260701ResourcesPerformanceReviewProcessCustomTemplates, getApi20260701ResourcesPerformanceReviewProcessCustomTemplatesById, getApi20260701ResourcesPerformanceReviewProcessEstimatedTargets, getApi20260701ResourcesPerformanceReviewProcessTargets, getApi20260701ResourcesPerformanceReviewProcessTargetsById, getApi20260701ResourcesPerformanceReviewProcesses, getApi20260701ResourcesPerformanceReviewProcessesById, getApi20260701ResourcesPerformanceReviewQuestionnaireByStrategies, getApi20260701ResourcesPerformanceReviewQuestionnaireByStrategiesById, getApi20260701ResourcesPerformanceReviewVisibilitySettings, getApi20260701ResourcesPerformanceTargetManagers, getApi20260701ResourcesPerformanceTargetManagersById, getApi20260701ResourcesPostsComments, getApi20260701ResourcesPostsCommentsById, getApi20260701ResourcesPostsGroups, getApi20260701ResourcesPostsGroupsById, getApi20260701ResourcesPostsPosts, getApi20260701ResourcesPostsPostsById, getApi20260701ResourcesProcurementPurchaseOrders, getApi20260701ResourcesProcurementPurchaseOrdersById, getApi20260701ResourcesProcurementPurchaseRequests, getApi20260701ResourcesProcurementPurchaseRequestsById, getApi20260701ResourcesProcurementTypes, getApi20260701ResourcesProcurementTypesById, getApi20260701ResourcesProjectManagementBudgetStrategies, getApi20260701ResourcesProjectManagementBudgetStrategiesById, getApi20260701ResourcesProjectManagementExpenseRecords, getApi20260701ResourcesProjectManagementExpenseRecordsById, getApi20260701ResourcesProjectManagementExportableExpenses, getApi20260701ResourcesProjectManagementImputableProjects, getApi20260701ResourcesProjectManagementImputableProjectsById, getApi20260701ResourcesProjectManagementPlannedRecords, getApi20260701ResourcesProjectManagementPlannedRecordsById, getApi20260701ResourcesProjectManagementProjectTasks, getApi20260701ResourcesProjectManagementProjectTasksById, getApi20260701ResourcesProjectManagementProjectWorkers, getApi20260701ResourcesProjectManagementProjectWorkersById, getApi20260701ResourcesProjectManagementProjects, getApi20260701ResourcesProjectManagementProjectsById, getApi20260701ResourcesProjectManagementSubprojects, getApi20260701ResourcesProjectManagementSubprojectsById, getApi20260701ResourcesProjectManagementTimeRecords, getApi20260701ResourcesProjectManagementTimeRecordsById, getApi20260701ResourcesShiftManagementShifts, getApi20260701ResourcesShiftManagementShiftsById, getApi20260701ResourcesTasksTaskFiles, getApi20260701ResourcesTasksTaskFilesById, getApi20260701ResourcesTasksTasks, getApi20260701ResourcesTasksTasksById, getApi20260701ResourcesTeamsMemberships, getApi20260701ResourcesTeamsMembershipsById, getApi20260701ResourcesTeamsTeams, getApi20260701ResourcesTeamsTeamsById, getApi20260701ResourcesTimePlanningPlannedBreaks, getApi20260701ResourcesTimePlanningPlannedBreaksById, getApi20260701ResourcesTimePlanningPlanningVersions, getApi20260701ResourcesTimeSettingsBreakConfigurations, getApi20260701ResourcesTimeSettingsBreakConfigurationsById, getApi20260701ResourcesTimeoffAllowanceIncidences, getApi20260701ResourcesTimeoffAllowanceIncidencesById, getApi20260701ResourcesTimeoffAllowanceStats, getApi20260701ResourcesTimeoffAllowanceStatsById, getApi20260701ResourcesTimeoffAllowances, getApi20260701ResourcesTimeoffAllowancesById, getApi20260701ResourcesTimeoffBlockedPeriods, getApi20260701ResourcesTimeoffBlockedPeriodsById, getApi20260701ResourcesTimeoffLeaveTypes, getApi20260701ResourcesTimeoffLeaveTypesById, getApi20260701ResourcesTimeoffLeaves, getApi20260701ResourcesTimeoffLeavesById, getApi20260701ResourcesTimeoffPolicies, getApi20260701ResourcesTimeoffPoliciesById, getApi20260701ResourcesTimeoffPolicyAssignments, getApi20260701ResourcesTimeoffPolicyAssignmentsById, getApi20260701ResourcesTimeoffPolicyTimelines, getApi20260701ResourcesTrainingsCategories, getApi20260701ResourcesTrainingsCategoriesById, getApi20260701ResourcesTrainingsSessionAccessMemberships, getApi20260701ResourcesTrainingsSessionAccessMembershipsById, getApi20260701ResourcesTrainingsSessionAttendances, getApi20260701ResourcesTrainingsSessionAttendancesById, getApi20260701ResourcesTrainingsSessions, getApi20260701ResourcesTrainingsSessionsById, getApi20260701ResourcesTrainingsTrainingClasses, getApi20260701ResourcesTrainingsTrainingClassesById, getApi20260701ResourcesTrainingsTrainingMemberships, getApi20260701ResourcesTrainingsTrainingMembershipsById, getApi20260701ResourcesTrainingsTrainings, getApi20260701ResourcesTrainingsTrainingsById, getApi20260701ResourcesWorkScheduleDayConfigurations, getApi20260701ResourcesWorkScheduleDayConfigurationsById, getApi20260701ResourcesWorkScheduleOverlapPeriods, getApi20260701ResourcesWorkScheduleOverlapPeriodsById, getApi20260701ResourcesWorkScheduleSchedules, getApi20260701ResourcesWorkScheduleSchedulesById, postApi20260701ResourcesApiPublicWebhookSubscriptions, postApi20260701ResourcesApprovalsMaterializedApprovalsFlowsApproveResource, postApi20260701ResourcesApprovalsMaterializedApprovalsFlowsRejectResource, postApi20260701ResourcesAtsAnswers, postApi20260701ResourcesAtsApplications, postApi20260701ResourcesAtsApplicationsApply, postApi20260701ResourcesAtsApplicationsMoveToPhase, postApi20260701ResourcesAtsCandidates, postApi20260701ResourcesAtsEvaluationFormsSaveAsTemplate, postApi20260701ResourcesAtsFeedbacks, postApi20260701ResourcesAtsJobPostings, postApi20260701ResourcesAtsJobPostingsDuplicate, postApi20260701ResourcesAtsMessages, postApi20260701ResourcesAtsQuestions, postApi20260701ResourcesAttendanceBreakConfigurations, postApi20260701ResourcesAttendanceEditTimesheetRequests, postApi20260701ResourcesAttendanceOvertimeRequests, postApi20260701ResourcesAttendanceOvertimeRequestsApprove, postApi20260701ResourcesAttendanceOvertimeRequestsReject, postApi20260701ResourcesAttendanceReviewsBulkCreate, postApi20260701ResourcesAttendanceReviewsBulkDestroy, postApi20260701ResourcesAttendanceShifts, postApi20260701ResourcesAttendanceShiftsAutofill, postApi20260701ResourcesAttendanceShiftsBreakEnd, postApi20260701ResourcesAttendanceShiftsBreakStart, postApi20260701ResourcesAttendanceShiftsClockIn, postApi20260701ResourcesAttendanceShiftsClockOut, postApi20260701ResourcesAttendanceShiftsToggleClock, postApi20260701ResourcesBankingBankAccountsCreateManual, postApi20260701ResourcesCompaniesLegalEntities, postApi20260701ResourcesContractsCompensations, postApi20260701ResourcesContractsContractVersions, postApi20260701ResourcesContractsSpanishContractTypes, postApi20260701ResourcesContractsSpanishEducationLevels, postApi20260701ResourcesContractsSpanishProfessionalCategories, postApi20260701ResourcesContractsSpanishWorkingDayTypes, postApi20260701ResourcesCustomFieldsFields, postApi20260701ResourcesCustomFieldsOptions, postApi20260701ResourcesCustomFieldsResourceFields, postApi20260701ResourcesCustomFieldsValues, postApi20260701ResourcesCustomResourcesSchemas, postApi20260701ResourcesCustomResourcesValues, postApi20260701ResourcesDocumentsDocuments, postApi20260701ResourcesDocumentsDocumentsMoveToTrashBin, postApi20260701ResourcesDocumentsDocumentsRestoreFromTrashBin, postApi20260701ResourcesDocumentsDownloadUrlsBulkCreate, postApi20260701ResourcesDocumentsFolders, postApi20260701ResourcesEmployeesEmployeesCreateWithContract, postApi20260701ResourcesEmployeesEmployeesInvite, postApi20260701ResourcesEmployeesEmployeesSetRegularAccessStartDate, postApi20260701ResourcesEmployeesEmployeesTerminate, postApi20260701ResourcesEmployeesEmployeesUnterminate, postApi20260701ResourcesExpensesExpensablesBulkSetToPaid, postApi20260701ResourcesExpensesExpensablesUpdateReimbursableAmount, postApi20260701ResourcesFinanceAccountingSettingsUpsert, postApi20260701ResourcesFinanceAccounts, postApi20260701ResourcesFinanceContacts, postApi20260701ResourcesFinanceCostCenterMembershipsBulkCreateUpdate, postApi20260701ResourcesFinanceCostCenters, postApi20260701ResourcesFinanceCostCentersEdit, postApi20260701ResourcesFinanceJournalEntries, postApi20260701ResourcesFinanceLedgerAccountResourcesUpsert, postApi20260701ResourcesFinanceTaxRates, postApi20260701ResourcesFinanceTaxTypes, postApi20260701ResourcesIntegrationsSyncRunOutputs, postApi20260701ResourcesItManagementItAssetModels, postApi20260701ResourcesItManagementItAssets, postApi20260701ResourcesLocationsLocations, postApi20260701ResourcesLocationsWorkAreas, postApi20260701ResourcesLocationsWorkAreasArchive, postApi20260701ResourcesLocationsWorkAreasUnarchive, postApi20260701ResourcesMarketplaceInstallations, postApi20260701ResourcesPayrollEmployeesIdentifiers, postApi20260701ResourcesPayrollFamilySituations, postApi20260701ResourcesPayrollIntegrationsBaseCodes, postApi20260701ResourcesPayrollPolicyPeriodsChangeStatus, postApi20260701ResourcesPayrollSupplements, postApi20260701ResourcesPerformanceAgreementsBulkInitiate, postApi20260701ResourcesPerformanceAgreementsInitiate, postApi20260701ResourcesPerformanceCompanyEmployeeScoreScalesSet, postApi20260701ResourcesPerformanceReviewEvaluationsReplaceReviewer, postApi20260701ResourcesPerformanceReviewOwnersBulkCreate, postApi20260701ResourcesPerformanceReviewProcessTargetsAddPeers, postApi20260701ResourcesPerformanceReviewProcessTargetsBulkCreate, postApi20260701ResourcesPerformanceReviewProcessTargetsRemovePeerEvaluations, postApi20260701ResourcesPerformanceReviewProcesses, postApi20260701ResourcesPerformanceReviewProcessesCreateFromTemplate, postApi20260701ResourcesPerformanceReviewProcessesDuplicate, postApi20260701ResourcesPerformanceReviewProcessesRemindInBulk, postApi20260701ResourcesPerformanceReviewProcessesRemoveSchedule, postApi20260701ResourcesPerformanceReviewProcessesReopen, postApi20260701ResourcesPerformanceReviewProcessesSchedule, postApi20260701ResourcesPerformanceReviewProcessesStart, postApi20260701ResourcesPerformanceReviewProcessesStop, postApi20260701ResourcesPerformanceReviewProcessesToggleArchive, postApi20260701ResourcesPerformanceReviewProcessesUpdateAgreementsConfiguration, postApi20260701ResourcesPerformanceReviewProcessesUpdateBasicInfo, postApi20260701ResourcesPerformanceReviewProcessesUpdateCompetenciesAssessmentsConfiguration, postApi20260701ResourcesPerformanceReviewProcessesUpdateDeadline, postApi20260701ResourcesPerformanceReviewProcessesUpdateEmployeeScoreConfiguration, postApi20260701ResourcesPerformanceReviewProcessesUpdateReviewerStrategies, postApi20260701ResourcesPerformanceReviewProcessesUpdateSchedule, postApi20260701ResourcesPerformanceReviewProcessesUpdateTargetStrategy, postApi20260701ResourcesPerformanceReviewQuestionnaireByStrategiesUpdateDefaultRatingScale, postApi20260701ResourcesPerformanceReviewQuestionnaireByStrategiesUpdateQuestionnaireForStrategy, postApi20260701ResourcesPostsComments, postApi20260701ResourcesPostsGroups, postApi20260701ResourcesPostsGroupsArchive, postApi20260701ResourcesPostsPosts, postApi20260701ResourcesProjectManagementBudgetStrategies, postApi20260701ResourcesProjectManagementPlannedRecordsBulkCreate, postApi20260701ResourcesProjectManagementProjectTasks, postApi20260701ResourcesProjectManagementProjectTasksBulkDestroy, postApi20260701ResourcesProjectManagementProjectTasksBulkDuplicate, postApi20260701ResourcesProjectManagementProjectWorkers, postApi20260701ResourcesProjectManagementProjectWorkersBulkAssign, postApi20260701ResourcesProjectManagementProjectWorkersBulkCreate, postApi20260701ResourcesProjectManagementProjectWorkersUnassign, postApi20260701ResourcesProjectManagementProjects, postApi20260701ResourcesProjectManagementProjectsActivate, postApi20260701ResourcesProjectManagementProjectsChangeAssignment, postApi20260701ResourcesProjectManagementProjectsChangeStatus, postApi20260701ResourcesProjectManagementProjectsClose, postApi20260701ResourcesProjectManagementProjectsSoftDelete, postApi20260701ResourcesProjectManagementSubprojects, postApi20260701ResourcesProjectManagementSubprojectsRename, postApi20260701ResourcesProjectManagementTimeRecords, postApi20260701ResourcesProjectManagementTimeRecordsBulkDelete, postApi20260701ResourcesProjectManagementTimeRecordsBulkProcess, postApi20260701ResourcesProjectManagementTimeRecordsUpdateProjectWorker, postApi20260701ResourcesShiftManagementShifts, postApi20260701ResourcesShiftManagementShiftsBulkCreate, postApi20260701ResourcesShiftManagementShiftsBulkDelete, postApi20260701ResourcesTasksTaskFiles, postApi20260701ResourcesTasksTasks, postApi20260701ResourcesTasksTasksBulkCreate, postApi20260701ResourcesTasksTasksBulkDelete, postApi20260701ResourcesTasksTasksBulkUpdate, postApi20260701ResourcesTasksTasksCopy, postApi20260701ResourcesTasksTasksCreateComment, postApi20260701ResourcesTeamsMemberships, postApi20260701ResourcesTeamsTeams, postApi20260701ResourcesTimePlanningPlannedBreaksBulkCreate, postApi20260701ResourcesTimePlanningPlanningVersions, postApi20260701ResourcesTimePlanningPlanningVersionsBulkCreate, postApi20260701ResourcesTimeSettingsBreakConfigurations, postApi20260701ResourcesTimeoffAllowanceIncidences, postApi20260701ResourcesTimeoffAllowances, postApi20260701ResourcesTimeoffAllowancesDeleteWithAltAllowance, postApi20260701ResourcesTimeoffBlockedPeriods, postApi20260701ResourcesTimeoffLeaveTypes, postApi20260701ResourcesTimeoffLeaves, postApi20260701ResourcesTimeoffLeavesApprove, postApi20260701ResourcesTimeoffLeavesApproveAll, postApi20260701ResourcesTimeoffLeavesReject, postApi20260701ResourcesTimeoffPolicies, postApi20260701ResourcesTimeoffPolicyAssignments, postApi20260701ResourcesTrainingsCategories, postApi20260701ResourcesTrainingsSessionAccessMembershipsBulkCreate, postApi20260701ResourcesTrainingsSessionAccessMembershipsBulkDestroy, postApi20260701ResourcesTrainingsSessionAttendancesBulkUpdate, postApi20260701ResourcesTrainingsSessions, postApi20260701ResourcesTrainingsTrainingClasses, postApi20260701ResourcesTrainingsTrainingMembershipsBulkCreate, postApi20260701ResourcesTrainingsTrainingMembershipsBulkDestroy, postApi20260701ResourcesTrainingsTrainings, postApi20260701ResourcesTrainingsTrainingsBulkDelete, postApi20260701ResourcesTrainingsTrainingsBulkUpdateCatalog, postApi20260701ResourcesTrainingsTrainingsUpdateStatus, postApi20260701ResourcesWorkScheduleDayConfigurationsBulkCud, postApi20260701ResourcesWorkScheduleOverlapPeriods, postApi20260701ResourcesWorkScheduleSchedules, postApi20260701ResourcesWorkScheduleSchedulesToggleArchive, putApi20260701ResourcesApiPublicWebhookSubscriptionsById, putApi20260701ResourcesAtsApplicationsById, putApi20260701ResourcesAtsCandidatesById, putApi20260701ResourcesAtsFeedbacksById, putApi20260701ResourcesAtsJobPostingsById, putApi20260701ResourcesAtsQuestionsById, putApi20260701ResourcesAttendanceBreakConfigurationsById, putApi20260701ResourcesAttendanceEditTimesheetRequestsById, putApi20260701ResourcesAttendanceOvertimeRequestsById, putApi20260701ResourcesAttendanceShiftsById, putApi20260701ResourcesBookkeepersManagementIncidencesById, putApi20260701ResourcesContractsCompensationsById, putApi20260701ResourcesContractsContractVersionsById, putApi20260701ResourcesCustomFieldsValuesById, putApi20260701ResourcesDocumentsDocumentsById, putApi20260701ResourcesDocumentsFoldersById, putApi20260701ResourcesEmployeesEmployeesById, putApi20260701ResourcesFinanceAccountsById, putApi20260701ResourcesFinanceContactsById, putApi20260701ResourcesFinanceTaxRatesById, putApi20260701ResourcesFinanceTaxTypesById, putApi20260701ResourcesIntegrationsSyncableSyncRunsById, putApi20260701ResourcesItManagementItAssetModelsById, putApi20260701ResourcesItManagementItAssetsById, putApi20260701ResourcesLocationsLocationsById, putApi20260701ResourcesLocationsWorkAreasById, putApi20260701ResourcesPayrollEmployeesIdentifiersById, putApi20260701ResourcesPayrollFamilySituationsById, putApi20260701ResourcesPayrollIntegrationsBaseCodesById, putApi20260701ResourcesPayrollSupplementsById, putApi20260701ResourcesPerformanceReviewVisibilitySettingsById, putApi20260701ResourcesPostsCommentsById, putApi20260701ResourcesPostsGroupsById, putApi20260701ResourcesPostsPostsById, putApi20260701ResourcesProjectManagementBudgetStrategiesById, putApi20260701ResourcesProjectManagementPlannedRecordsById, putApi20260701ResourcesProjectManagementProjectTasksById, putApi20260701ResourcesProjectManagementProjectsById, putApi20260701ResourcesProjectManagementSubprojectsById, putApi20260701ResourcesTasksTasksById, putApi20260701ResourcesTeamsMembershipsById, putApi20260701ResourcesTeamsTeamsById, putApi20260701ResourcesTimePlanningPlanningVersionsById, putApi20260701ResourcesTimeSettingsBreakConfigurationsById, putApi20260701ResourcesTimeoffAllowanceIncidencesById, putApi20260701ResourcesTimeoffAllowancesById, putApi20260701ResourcesTimeoffBlockedPeriodsById, putApi20260701ResourcesTimeoffLeaveTypesById, putApi20260701ResourcesTimeoffLeavesById, putApi20260701ResourcesTimeoffPoliciesById, putApi20260701ResourcesTimeoffPolicyAssignmentsById, putApi20260701ResourcesTrainingsSessionsById, putApi20260701ResourcesTrainingsTrainingClassesById, putApi20260701ResourcesTrainingsTrainingMembershipsById, putApi20260701ResourcesTrainingsTrainingsById, putApi20260701ResourcesWorkScheduleOverlapPeriodsById, putApi20260701ResourcesWorkScheduleSchedulesById, } from "./generated/sdk.gen.js";
|
|
5
|
+
import { deleteApi20261001ResourcesApiPublicWebhookSubscriptionsById, deleteApi20261001ResourcesAtsApplicationsById, deleteApi20261001ResourcesAtsCandidatesById, deleteApi20261001ResourcesAtsFeedbacksById, deleteApi20261001ResourcesAtsJobPostingsById, deleteApi20261001ResourcesAtsQuestionsById, deleteApi20261001ResourcesAttendanceEditTimesheetRequestsById, deleteApi20261001ResourcesAttendanceOvertimeRequestsById, deleteApi20261001ResourcesAttendanceShiftsById, deleteApi20261001ResourcesContractsCompensationsById, deleteApi20261001ResourcesContractsContractVersionsById, deleteApi20261001ResourcesCustomFieldsFieldsById, deleteApi20261001ResourcesDocumentsDocumentsById, deleteApi20261001ResourcesFinanceCostCentersById, deleteApi20261001ResourcesItManagementItAssetsById, deleteApi20261001ResourcesLocationsLocationsById, deleteApi20261001ResourcesPayrollEmployeesIdentifiersById, deleteApi20261001ResourcesPayrollIntegrationsBaseCodesById, deleteApi20261001ResourcesPayrollSupplementsById, deleteApi20261001ResourcesPerformanceReviewOwnersById, deleteApi20261001ResourcesPerformanceReviewProcessTargetsById, deleteApi20261001ResourcesPerformanceReviewProcessesById, deleteApi20261001ResourcesPostsCommentsById, deleteApi20261001ResourcesPostsGroupsById, deleteApi20261001ResourcesPostsPostsById, deleteApi20261001ResourcesProjectManagementBudgetStrategiesById, deleteApi20261001ResourcesProjectManagementPlannedRecordsById, deleteApi20261001ResourcesProjectManagementSubprojectsById, deleteApi20261001ResourcesProjectManagementTimeRecordsById, deleteApi20261001ResourcesShiftManagementShiftsById, deleteApi20261001ResourcesTasksTaskFilesById, deleteApi20261001ResourcesTasksTasksById, deleteApi20261001ResourcesTeamsMembershipsById, deleteApi20261001ResourcesTeamsTeamsById, deleteApi20261001ResourcesTimePlanningPlanningVersionsById, deleteApi20261001ResourcesTimeoffAllowanceIncidencesById, deleteApi20261001ResourcesTimeoffAllowancesById, deleteApi20261001ResourcesTimeoffBlockedPeriodsById, deleteApi20261001ResourcesTimeoffLeavesById, deleteApi20261001ResourcesTimeoffPoliciesById, deleteApi20261001ResourcesTimeoffPolicyAssignmentsById, deleteApi20261001ResourcesTrainingsCategoriesById, deleteApi20261001ResourcesTrainingsSessionsById, deleteApi20261001ResourcesTrainingsTrainingClassesById, deleteApi20261001ResourcesTrainingsTrainingsById, deleteApi20261001ResourcesWorkScheduleOverlapPeriodsById, getApi20261001ResourcesApiPublicCredentials, getApi20261001ResourcesApiPublicWebhookSubscriptions, getApi20261001ResourcesApiPublicWebhookSubscriptionsById, getApi20261001ResourcesAtsAnswers, getApi20261001ResourcesAtsAnswersById, getApi20261001ResourcesAtsApplicationPhases, getApi20261001ResourcesAtsApplicationPhasesById, getApi20261001ResourcesAtsApplications, getApi20261001ResourcesAtsApplicationsById, getApi20261001ResourcesAtsCandidateSources, getApi20261001ResourcesAtsCandidateSourcesById, getApi20261001ResourcesAtsCandidates, getApi20261001ResourcesAtsCandidatesById, getApi20261001ResourcesAtsEvaluationForms, getApi20261001ResourcesAtsEvaluationFormsById, getApi20261001ResourcesAtsFeedbacks, getApi20261001ResourcesAtsFeedbacksById, getApi20261001ResourcesAtsHiringStages, getApi20261001ResourcesAtsHiringStagesById, getApi20261001ResourcesAtsJobPostings, getApi20261001ResourcesAtsJobPostingsById, getApi20261001ResourcesAtsMessages, getApi20261001ResourcesAtsMessagesById, getApi20261001ResourcesAtsQuestions, getApi20261001ResourcesAtsQuestionsById, getApi20261001ResourcesAtsRejectionReasons, getApi20261001ResourcesAtsRejectionReasonsById, getApi20261001ResourcesAttendanceBreakConfigurations, getApi20261001ResourcesAttendanceBreakConfigurationsById, getApi20261001ResourcesAttendanceEditTimesheetRequests, getApi20261001ResourcesAttendanceEditTimesheetRequestsById, getApi20261001ResourcesAttendanceEstimatedTimes, getApi20261001ResourcesAttendanceOpenShifts, getApi20261001ResourcesAttendanceOvertimeRequests, getApi20261001ResourcesAttendanceOvertimeRequestsById, getApi20261001ResourcesAttendanceReviews, getApi20261001ResourcesAttendanceShifts, getApi20261001ResourcesAttendanceShiftsById, getApi20261001ResourcesAttendanceWorkedTimes, getApi20261001ResourcesBankingBankAccounts, getApi20261001ResourcesBankingBankAccountsById, getApi20261001ResourcesBankingCardPayments, getApi20261001ResourcesBankingCardPaymentsById, getApi20261001ResourcesBankingTransactions, getApi20261001ResourcesBankingTransactionsById, getApi20261001ResourcesBookkeepersManagementIncidences, getApi20261001ResourcesBookkeepersManagementIncidencesById, getApi20261001ResourcesCompaniesLegalEntities, getApi20261001ResourcesCompaniesLegalEntitiesById, getApi20261001ResourcesCompensationsConcepts, getApi20261001ResourcesCompensationsConceptsById, getApi20261001ResourcesContractsCompensations, getApi20261001ResourcesContractsCompensationsById, getApi20261001ResourcesContractsContractTemplates, getApi20261001ResourcesContractsContractTemplatesById, getApi20261001ResourcesContractsContractVersionHistories, getApi20261001ResourcesContractsContractVersionHistoriesById, getApi20261001ResourcesContractsContractVersionMetaData, getApi20261001ResourcesContractsContractVersions, getApi20261001ResourcesContractsContractVersionsById, getApi20261001ResourcesContractsFrenchContractTypes, getApi20261001ResourcesContractsFrenchContractTypesById, getApi20261001ResourcesContractsGermanContractTypes, getApi20261001ResourcesContractsGermanContractTypesById, getApi20261001ResourcesContractsMaterializedTemplates, getApi20261001ResourcesContractsPortugueseContractTypes, getApi20261001ResourcesContractsPortugueseContractTypesById, getApi20261001ResourcesContractsReferenceContracts, getApi20261001ResourcesContractsSpanishContractTypes, getApi20261001ResourcesContractsSpanishContractTypesById, getApi20261001ResourcesContractsSpanishEducationLevels, getApi20261001ResourcesContractsSpanishEducationLevelsById, getApi20261001ResourcesContractsSpanishProfessionalCategories, getApi20261001ResourcesContractsSpanishProfessionalCategoriesById, getApi20261001ResourcesContractsSpanishWorkingDayTypes, getApi20261001ResourcesContractsSpanishWorkingDayTypesById, getApi20261001ResourcesContractsTaxonomies, getApi20261001ResourcesContractsTaxonomiesById, getApi20261001ResourcesCustomFieldsFields, getApi20261001ResourcesCustomFieldsFieldsById, getApi20261001ResourcesCustomFieldsOptions, getApi20261001ResourcesCustomFieldsOptionsById, getApi20261001ResourcesCustomFieldsResourceFields, getApi20261001ResourcesCustomFieldsResourceFieldsById, getApi20261001ResourcesCustomFieldsValues, getApi20261001ResourcesCustomFieldsValuesById, getApi20261001ResourcesCustomResourcesResources, getApi20261001ResourcesCustomResourcesResourcesById, getApi20261001ResourcesCustomResourcesSchemas, getApi20261001ResourcesCustomResourcesSchemasById, getApi20261001ResourcesCustomResourcesValues, getApi20261001ResourcesCustomResourcesValuesById, getApi20261001ResourcesDocumentsDocuments, getApi20261001ResourcesDocumentsDocumentsById, getApi20261001ResourcesDocumentsFolders, getApi20261001ResourcesDocumentsFoldersById, getApi20261001ResourcesEmployeeUpdatesAbsences, getApi20261001ResourcesEmployeeUpdatesAbsencesById, getApi20261001ResourcesEmployeeUpdatesContractChanges, getApi20261001ResourcesEmployeeUpdatesContractChangesById, getApi20261001ResourcesEmployeeUpdatesNewHires, getApi20261001ResourcesEmployeeUpdatesNewHiresById, getApi20261001ResourcesEmployeeUpdatesPersonalChanges, getApi20261001ResourcesEmployeeUpdatesPersonalChangesById, getApi20261001ResourcesEmployeeUpdatesSummaries, getApi20261001ResourcesEmployeeUpdatesSummariesById, getApi20261001ResourcesEmployeeUpdatesTerminations, getApi20261001ResourcesEmployeeUpdatesTerminationsById, getApi20261001ResourcesEmployeesEmployees, getApi20261001ResourcesEmployeesEmployeesById, getApi20261001ResourcesExpensesExpensables, getApi20261001ResourcesExpensesExpensablesById, getApi20261001ResourcesExpensesExpenses, getApi20261001ResourcesExpensesExpensesById, getApi20261001ResourcesExpensesMileages, getApi20261001ResourcesExpensesMileagesById, getApi20261001ResourcesExpensesPerDiems, getApi20261001ResourcesExpensesPerDiemsById, getApi20261001ResourcesFinanceAccountingSettings, getApi20261001ResourcesFinanceAccountingSettingsById, getApi20261001ResourcesFinanceAccounts, getApi20261001ResourcesFinanceAccountsById, getApi20261001ResourcesFinanceBudgetOptions, getApi20261001ResourcesFinanceBudgetOptionsById, getApi20261001ResourcesFinanceCategories, getApi20261001ResourcesFinanceCategoriesById, getApi20261001ResourcesFinanceContacts, getApi20261001ResourcesFinanceContactsById, getApi20261001ResourcesFinanceCostCenterMemberships, getApi20261001ResourcesFinanceCostCenters, getApi20261001ResourcesFinanceCostCentersById, getApi20261001ResourcesFinanceFinancialDocuments, getApi20261001ResourcesFinanceFinancialDocumentsById, getApi20261001ResourcesFinanceJournalEntries, getApi20261001ResourcesFinanceJournalEntriesById, getApi20261001ResourcesFinanceJournalLines, getApi20261001ResourcesFinanceJournalLinesById, getApi20261001ResourcesFinanceLedgerAccountResources, getApi20261001ResourcesFinanceLedgerAccountResourcesById, getApi20261001ResourcesFinanceTaxRates, getApi20261001ResourcesFinanceTaxRatesById, getApi20261001ResourcesFinanceTaxTypes, getApi20261001ResourcesFinanceTaxTypesById, getApi20261001ResourcesHolidaysCompanyHolidays, getApi20261001ResourcesHolidaysCompanyHolidaysById, getApi20261001ResourcesIntegrationsSyncableItems, getApi20261001ResourcesItManagementItAssetModels, getApi20261001ResourcesItManagementItAssetModelsById, getApi20261001ResourcesItManagementItAssets, getApi20261001ResourcesItManagementItAssetsById, getApi20261001ResourcesJobCatalogLevels, getApi20261001ResourcesJobCatalogLevelsById, getApi20261001ResourcesJobCatalogNodeAttributes, getApi20261001ResourcesJobCatalogRoles, getApi20261001ResourcesJobCatalogRolesById, getApi20261001ResourcesJobCatalogTreeNodes, getApi20261001ResourcesLocationsLocations, getApi20261001ResourcesLocationsLocationsById, getApi20261001ResourcesLocationsWorkAreas, getApi20261001ResourcesLocationsWorkAreasById, getApi20261001ResourcesMarketplaceInstallationSettings, getApi20261001ResourcesPayrollEmployeesIdentifiers, getApi20261001ResourcesPayrollEmployeesIdentifiersById, getApi20261001ResourcesPayrollFamilySituations, getApi20261001ResourcesPayrollIntegrationsBaseCodes, getApi20261001ResourcesPayrollSupplements, getApi20261001ResourcesPayrollSupplementsById, getApi20261001ResourcesPerformanceAgreements, getApi20261001ResourcesPerformanceAgreementsById, getApi20261001ResourcesPerformanceCompanyEmployeeScoreScales, getApi20261001ResourcesPerformanceCompanyEmployeeScoreScalesById, getApi20261001ResourcesPerformanceEmployeeScoreScales, getApi20261001ResourcesPerformanceEmployeeScoreScalesById, getApi20261001ResourcesPerformanceReviewEvaluationAnswers, getApi20261001ResourcesPerformanceReviewEvaluationScores, getApi20261001ResourcesPerformanceReviewEvaluationScoresById, getApi20261001ResourcesPerformanceReviewEvaluations, getApi20261001ResourcesPerformanceReviewEvaluationsById, getApi20261001ResourcesPerformanceReviewOwners, getApi20261001ResourcesPerformanceReviewProcessCustomTemplates, getApi20261001ResourcesPerformanceReviewProcessCustomTemplatesById, getApi20261001ResourcesPerformanceReviewProcessEstimatedTargets, getApi20261001ResourcesPerformanceReviewProcessTargets, getApi20261001ResourcesPerformanceReviewProcessTargetsById, getApi20261001ResourcesPerformanceReviewProcesses, getApi20261001ResourcesPerformanceReviewProcessesById, getApi20261001ResourcesPerformanceReviewQuestionnaireByStrategies, getApi20261001ResourcesPerformanceReviewQuestionnaireByStrategiesById, getApi20261001ResourcesPerformanceReviewVisibilitySettings, getApi20261001ResourcesPerformanceTargetManagers, getApi20261001ResourcesPerformanceTargetManagersById, getApi20261001ResourcesPostsComments, getApi20261001ResourcesPostsCommentsById, getApi20261001ResourcesPostsGroups, getApi20261001ResourcesPostsGroupsById, getApi20261001ResourcesPostsPosts, getApi20261001ResourcesPostsPostsById, getApi20261001ResourcesProcurementPurchaseOrders, getApi20261001ResourcesProcurementPurchaseOrdersById, getApi20261001ResourcesProcurementPurchaseRequests, getApi20261001ResourcesProcurementPurchaseRequestsById, getApi20261001ResourcesProcurementTypes, getApi20261001ResourcesProcurementTypesById, getApi20261001ResourcesProjectManagementBudgetStrategies, getApi20261001ResourcesProjectManagementBudgetStrategiesById, getApi20261001ResourcesProjectManagementExpenseRecords, getApi20261001ResourcesProjectManagementExpenseRecordsById, getApi20261001ResourcesProjectManagementExportableExpenses, getApi20261001ResourcesProjectManagementImputableProjects, getApi20261001ResourcesProjectManagementImputableProjectsById, getApi20261001ResourcesProjectManagementPlannedRecords, getApi20261001ResourcesProjectManagementPlannedRecordsById, getApi20261001ResourcesProjectManagementProjectTasks, getApi20261001ResourcesProjectManagementProjectTasksById, getApi20261001ResourcesProjectManagementProjectWorkers, getApi20261001ResourcesProjectManagementProjectWorkersById, getApi20261001ResourcesProjectManagementProjects, getApi20261001ResourcesProjectManagementProjectsById, getApi20261001ResourcesProjectManagementSubprojects, getApi20261001ResourcesProjectManagementSubprojectsById, getApi20261001ResourcesProjectManagementTimeRecords, getApi20261001ResourcesProjectManagementTimeRecordsById, getApi20261001ResourcesShiftManagementShifts, getApi20261001ResourcesShiftManagementShiftsById, getApi20261001ResourcesTasksTaskFiles, getApi20261001ResourcesTasksTaskFilesById, getApi20261001ResourcesTasksTasks, getApi20261001ResourcesTasksTasksById, getApi20261001ResourcesTeamsMemberships, getApi20261001ResourcesTeamsMembershipsById, getApi20261001ResourcesTeamsTeams, getApi20261001ResourcesTeamsTeamsById, getApi20261001ResourcesTimePlanningPlannedBreaks, getApi20261001ResourcesTimePlanningPlannedBreaksById, getApi20261001ResourcesTimePlanningPlanningVersions, getApi20261001ResourcesTimeSettingsBreakConfigurations, getApi20261001ResourcesTimeSettingsBreakConfigurationsById, getApi20261001ResourcesTimeoffAllowanceIncidences, getApi20261001ResourcesTimeoffAllowanceIncidencesById, getApi20261001ResourcesTimeoffAllowanceStats, getApi20261001ResourcesTimeoffAllowanceStatsById, getApi20261001ResourcesTimeoffAllowances, getApi20261001ResourcesTimeoffAllowancesById, getApi20261001ResourcesTimeoffBlockedPeriods, getApi20261001ResourcesTimeoffBlockedPeriodsById, getApi20261001ResourcesTimeoffLeaveTypes, getApi20261001ResourcesTimeoffLeaveTypesById, getApi20261001ResourcesTimeoffLeaves, getApi20261001ResourcesTimeoffLeavesById, getApi20261001ResourcesTimeoffPolicies, getApi20261001ResourcesTimeoffPoliciesById, getApi20261001ResourcesTimeoffPolicyAssignments, getApi20261001ResourcesTimeoffPolicyAssignmentsById, getApi20261001ResourcesTimeoffPolicyTimelines, getApi20261001ResourcesTrainingsCategories, getApi20261001ResourcesTrainingsCategoriesById, getApi20261001ResourcesTrainingsSessionAccessMemberships, getApi20261001ResourcesTrainingsSessionAccessMembershipsById, getApi20261001ResourcesTrainingsSessionAttendances, getApi20261001ResourcesTrainingsSessionAttendancesById, getApi20261001ResourcesTrainingsSessions, getApi20261001ResourcesTrainingsSessionsById, getApi20261001ResourcesTrainingsTrainingClasses, getApi20261001ResourcesTrainingsTrainingClassesById, getApi20261001ResourcesTrainingsTrainingMemberships, getApi20261001ResourcesTrainingsTrainingMembershipsById, getApi20261001ResourcesTrainingsTrainings, getApi20261001ResourcesTrainingsTrainingsById, getApi20261001ResourcesWorkScheduleDayConfigurations, getApi20261001ResourcesWorkScheduleDayConfigurationsById, getApi20261001ResourcesWorkScheduleOverlapPeriods, getApi20261001ResourcesWorkScheduleOverlapPeriodsById, getApi20261001ResourcesWorkScheduleSchedules, getApi20261001ResourcesWorkScheduleSchedulesById, postApi20261001ResourcesApiPublicWebhookSubscriptions, postApi20261001ResourcesApprovalsMaterializedApprovalsFlowsApproveResource, postApi20261001ResourcesApprovalsMaterializedApprovalsFlowsRejectResource, postApi20261001ResourcesAtsAnswers, postApi20261001ResourcesAtsApplications, postApi20261001ResourcesAtsApplicationsApply, postApi20261001ResourcesAtsApplicationsMoveToPhase, postApi20261001ResourcesAtsCandidates, postApi20261001ResourcesAtsEvaluationFormsSaveAsTemplate, postApi20261001ResourcesAtsFeedbacks, postApi20261001ResourcesAtsJobPostings, postApi20261001ResourcesAtsJobPostingsDuplicate, postApi20261001ResourcesAtsMessages, postApi20261001ResourcesAtsQuestions, postApi20261001ResourcesAttendanceBreakConfigurations, postApi20261001ResourcesAttendanceEditTimesheetRequests, postApi20261001ResourcesAttendanceOvertimeRequests, postApi20261001ResourcesAttendanceOvertimeRequestsApprove, postApi20261001ResourcesAttendanceOvertimeRequestsReject, postApi20261001ResourcesAttendanceReviewsBulkCreate, postApi20261001ResourcesAttendanceReviewsBulkDestroy, postApi20261001ResourcesAttendanceShifts, postApi20261001ResourcesAttendanceShiftsAutofill, postApi20261001ResourcesAttendanceShiftsBreakEnd, postApi20261001ResourcesAttendanceShiftsBreakStart, postApi20261001ResourcesAttendanceShiftsClockIn, postApi20261001ResourcesAttendanceShiftsClockOut, postApi20261001ResourcesAttendanceShiftsToggleClock, postApi20261001ResourcesBankingBankAccountsCreateManual, postApi20261001ResourcesCompaniesLegalEntities, postApi20261001ResourcesContractsCompensations, postApi20261001ResourcesContractsContractVersions, postApi20261001ResourcesContractsSpanishContractTypes, postApi20261001ResourcesContractsSpanishEducationLevels, postApi20261001ResourcesContractsSpanishProfessionalCategories, postApi20261001ResourcesContractsSpanishWorkingDayTypes, postApi20261001ResourcesCustomFieldsFields, postApi20261001ResourcesCustomFieldsOptions, postApi20261001ResourcesCustomFieldsResourceFields, postApi20261001ResourcesCustomFieldsValues, postApi20261001ResourcesCustomResourcesSchemas, postApi20261001ResourcesCustomResourcesValues, postApi20261001ResourcesDocumentsDocuments, postApi20261001ResourcesDocumentsDocumentsMoveToTrashBin, postApi20261001ResourcesDocumentsDocumentsRestoreFromTrashBin, postApi20261001ResourcesDocumentsDownloadUrlsBulkCreate, postApi20261001ResourcesDocumentsFolders, postApi20261001ResourcesEmployeesEmployeesCreateWithContract, postApi20261001ResourcesEmployeesEmployeesInvite, postApi20261001ResourcesEmployeesEmployeesSetRegularAccessStartDate, postApi20261001ResourcesEmployeesEmployeesTerminate, postApi20261001ResourcesEmployeesEmployeesUnterminate, postApi20261001ResourcesExpensesExpensablesBulkSetToPaid, postApi20261001ResourcesExpensesExpensablesUpdateReimbursableAmount, postApi20261001ResourcesFinanceAccountingSettingsUpsert, postApi20261001ResourcesFinanceAccounts, postApi20261001ResourcesFinanceContacts, postApi20261001ResourcesFinanceCostCenterMembershipsBulkCreateUpdate, postApi20261001ResourcesFinanceCostCenters, postApi20261001ResourcesFinanceCostCentersEdit, postApi20261001ResourcesFinanceJournalEntries, postApi20261001ResourcesFinanceLedgerAccountResourcesUpsert, postApi20261001ResourcesFinanceTaxRates, postApi20261001ResourcesFinanceTaxTypes, postApi20261001ResourcesIntegrationsSyncRunOutputs, postApi20261001ResourcesItManagementItAssetModels, postApi20261001ResourcesItManagementItAssets, postApi20261001ResourcesLocationsLocations, postApi20261001ResourcesLocationsWorkAreas, postApi20261001ResourcesLocationsWorkAreasArchive, postApi20261001ResourcesLocationsWorkAreasUnarchive, postApi20261001ResourcesMarketplaceInstallations, postApi20261001ResourcesPayrollEmployeesIdentifiers, postApi20261001ResourcesPayrollFamilySituations, postApi20261001ResourcesPayrollIntegrationsBaseCodes, postApi20261001ResourcesPayrollPolicyPeriodsChangeStatus, postApi20261001ResourcesPayrollSupplements, postApi20261001ResourcesPerformanceAgreementsBulkInitiate, postApi20261001ResourcesPerformanceAgreementsInitiate, postApi20261001ResourcesPerformanceCompanyEmployeeScoreScalesSet, postApi20261001ResourcesPerformanceReviewEvaluationsReplaceReviewer, postApi20261001ResourcesPerformanceReviewOwnersBulkCreate, postApi20261001ResourcesPerformanceReviewProcessTargetsAddPeers, postApi20261001ResourcesPerformanceReviewProcessTargetsBulkCreate, postApi20261001ResourcesPerformanceReviewProcessTargetsRemovePeerEvaluations, postApi20261001ResourcesPerformanceReviewProcesses, postApi20261001ResourcesPerformanceReviewProcessesCreateFromTemplate, postApi20261001ResourcesPerformanceReviewProcessesDuplicate, postApi20261001ResourcesPerformanceReviewProcessesRemindInBulk, postApi20261001ResourcesPerformanceReviewProcessesRemoveSchedule, postApi20261001ResourcesPerformanceReviewProcessesReopen, postApi20261001ResourcesPerformanceReviewProcessesSchedule, postApi20261001ResourcesPerformanceReviewProcessesStart, postApi20261001ResourcesPerformanceReviewProcessesStop, postApi20261001ResourcesPerformanceReviewProcessesToggleArchive, postApi20261001ResourcesPerformanceReviewProcessesUpdateAgreementsConfiguration, postApi20261001ResourcesPerformanceReviewProcessesUpdateBasicInfo, postApi20261001ResourcesPerformanceReviewProcessesUpdateCompetenciesAssessmentsConfiguration, postApi20261001ResourcesPerformanceReviewProcessesUpdateDeadline, postApi20261001ResourcesPerformanceReviewProcessesUpdateEmployeeScoreConfiguration, postApi20261001ResourcesPerformanceReviewProcessesUpdateReviewerStrategies, postApi20261001ResourcesPerformanceReviewProcessesUpdateSchedule, postApi20261001ResourcesPerformanceReviewProcessesUpdateTargetStrategy, postApi20261001ResourcesPerformanceReviewQuestionnaireByStrategiesUpdateDefaultRatingScale, postApi20261001ResourcesPerformanceReviewQuestionnaireByStrategiesUpdateQuestionnaireForStrategy, postApi20261001ResourcesPostsComments, postApi20261001ResourcesPostsGroups, postApi20261001ResourcesPostsGroupsArchive, postApi20261001ResourcesPostsPosts, postApi20261001ResourcesProjectManagementBudgetStrategies, postApi20261001ResourcesProjectManagementPlannedRecordsBulkCreate, postApi20261001ResourcesProjectManagementProjectTasks, postApi20261001ResourcesProjectManagementProjectTasksBulkDestroy, postApi20261001ResourcesProjectManagementProjectTasksBulkDuplicate, postApi20261001ResourcesProjectManagementProjectWorkers, postApi20261001ResourcesProjectManagementProjectWorkersBulkAssign, postApi20261001ResourcesProjectManagementProjectWorkersBulkCreate, postApi20261001ResourcesProjectManagementProjectWorkersUnassign, postApi20261001ResourcesProjectManagementProjects, postApi20261001ResourcesProjectManagementProjectsActivate, postApi20261001ResourcesProjectManagementProjectsChangeAssignment, postApi20261001ResourcesProjectManagementProjectsChangeStatus, postApi20261001ResourcesProjectManagementProjectsClose, postApi20261001ResourcesProjectManagementProjectsSoftDelete, postApi20261001ResourcesProjectManagementSubprojects, postApi20261001ResourcesProjectManagementSubprojectsRename, postApi20261001ResourcesProjectManagementTimeRecords, postApi20261001ResourcesProjectManagementTimeRecordsBulkDelete, postApi20261001ResourcesProjectManagementTimeRecordsBulkProcess, postApi20261001ResourcesProjectManagementTimeRecordsUpdateProjectWorker, postApi20261001ResourcesShiftManagementShifts, postApi20261001ResourcesShiftManagementShiftsBulkCreate, postApi20261001ResourcesShiftManagementShiftsBulkDelete, postApi20261001ResourcesTasksTaskFiles, postApi20261001ResourcesTasksTasks, postApi20261001ResourcesTasksTasksBulkCreate, postApi20261001ResourcesTasksTasksBulkDelete, postApi20261001ResourcesTasksTasksBulkUpdate, postApi20261001ResourcesTasksTasksCopy, postApi20261001ResourcesTasksTasksCreateComment, postApi20261001ResourcesTeamsMemberships, postApi20261001ResourcesTeamsTeams, postApi20261001ResourcesTimePlanningPlannedBreaksBulkCreate, postApi20261001ResourcesTimePlanningPlanningVersions, postApi20261001ResourcesTimePlanningPlanningVersionsBulkCreate, postApi20261001ResourcesTimeSettingsBreakConfigurations, postApi20261001ResourcesTimeoffAllowanceIncidences, postApi20261001ResourcesTimeoffAllowances, postApi20261001ResourcesTimeoffAllowancesDeleteWithAltAllowance, postApi20261001ResourcesTimeoffBlockedPeriods, postApi20261001ResourcesTimeoffLeaveTypes, postApi20261001ResourcesTimeoffLeaves, postApi20261001ResourcesTimeoffLeavesApprove, postApi20261001ResourcesTimeoffLeavesApproveAll, postApi20261001ResourcesTimeoffLeavesReject, postApi20261001ResourcesTimeoffPolicies, postApi20261001ResourcesTimeoffPolicyAssignments, postApi20261001ResourcesTrainingsCategories, postApi20261001ResourcesTrainingsSessionAccessMembershipsBulkCreate, postApi20261001ResourcesTrainingsSessionAccessMembershipsBulkDestroy, postApi20261001ResourcesTrainingsSessionAttendancesBulkUpdate, postApi20261001ResourcesTrainingsSessions, postApi20261001ResourcesTrainingsTrainingClasses, postApi20261001ResourcesTrainingsTrainingMembershipsBulkCreate, postApi20261001ResourcesTrainingsTrainingMembershipsBulkDestroy, postApi20261001ResourcesTrainingsTrainings, postApi20261001ResourcesTrainingsTrainingsBulkDelete, postApi20261001ResourcesTrainingsTrainingsBulkUpdateCatalog, postApi20261001ResourcesTrainingsTrainingsUpdateStatus, postApi20261001ResourcesWorkScheduleDayConfigurationsBulkCud, postApi20261001ResourcesWorkScheduleOverlapPeriods, postApi20261001ResourcesWorkScheduleSchedules, postApi20261001ResourcesWorkScheduleSchedulesToggleArchive, putApi20261001ResourcesApiPublicWebhookSubscriptionsById, putApi20261001ResourcesAtsApplicationsById, putApi20261001ResourcesAtsCandidatesById, putApi20261001ResourcesAtsFeedbacksById, putApi20261001ResourcesAtsJobPostingsById, putApi20261001ResourcesAtsQuestionsById, putApi20261001ResourcesAttendanceBreakConfigurationsById, putApi20261001ResourcesAttendanceEditTimesheetRequestsById, putApi20261001ResourcesAttendanceOvertimeRequestsById, putApi20261001ResourcesAttendanceShiftsById, putApi20261001ResourcesBookkeepersManagementIncidencesById, putApi20261001ResourcesContractsCompensationsById, putApi20261001ResourcesContractsContractVersionsById, putApi20261001ResourcesCustomFieldsValuesById, putApi20261001ResourcesDocumentsDocumentsById, putApi20261001ResourcesDocumentsFoldersById, putApi20261001ResourcesEmployeesEmployeesById, putApi20261001ResourcesFinanceAccountsById, putApi20261001ResourcesFinanceContactsById, putApi20261001ResourcesFinanceTaxRatesById, putApi20261001ResourcesFinanceTaxTypesById, putApi20261001ResourcesIntegrationsSyncableSyncRunsById, putApi20261001ResourcesItManagementItAssetModelsById, putApi20261001ResourcesItManagementItAssetsById, putApi20261001ResourcesLocationsLocationsById, putApi20261001ResourcesLocationsWorkAreasById, putApi20261001ResourcesPayrollEmployeesIdentifiersById, putApi20261001ResourcesPayrollFamilySituationsById, putApi20261001ResourcesPayrollIntegrationsBaseCodesById, putApi20261001ResourcesPayrollSupplementsById, putApi20261001ResourcesPerformanceReviewVisibilitySettingsById, putApi20261001ResourcesPostsCommentsById, putApi20261001ResourcesPostsGroupsById, putApi20261001ResourcesPostsPostsById, putApi20261001ResourcesProjectManagementBudgetStrategiesById, putApi20261001ResourcesProjectManagementPlannedRecordsById, putApi20261001ResourcesProjectManagementProjectTasksById, putApi20261001ResourcesProjectManagementProjectsById, putApi20261001ResourcesProjectManagementSubprojectsById, putApi20261001ResourcesTasksTasksById, putApi20261001ResourcesTeamsMembershipsById, putApi20261001ResourcesTeamsTeamsById, putApi20261001ResourcesTimePlanningPlanningVersionsById, putApi20261001ResourcesTimeSettingsBreakConfigurationsById, putApi20261001ResourcesTimeoffAllowanceIncidencesById, putApi20261001ResourcesTimeoffAllowancesById, putApi20261001ResourcesTimeoffBlockedPeriodsById, putApi20261001ResourcesTimeoffLeaveTypesById, putApi20261001ResourcesTimeoffLeavesById, putApi20261001ResourcesTimeoffPoliciesById, putApi20261001ResourcesTimeoffPolicyAssignmentsById, putApi20261001ResourcesTrainingsSessionsById, putApi20261001ResourcesTrainingsTrainingClassesById, putApi20261001ResourcesTrainingsTrainingMembershipsById, putApi20261001ResourcesTrainingsTrainingsById, putApi20261001ResourcesWorkScheduleOverlapPeriodsById, putApi20261001ResourcesWorkScheduleSchedulesById, } from "./generated/sdk.gen.js";
|
|
6
6
|
export * from "./generated/types.gen.js";
|
|
7
7
|
import { paginate, collectAll } from "./pagination.js";
|
|
8
8
|
/** Methods for the api_public > credentials resource */
|
|
@@ -12,14 +12,14 @@ export class ApiPublicCredentialsResource {
|
|
|
12
12
|
this._client = _client;
|
|
13
13
|
}
|
|
14
14
|
/** Lists all credentials */
|
|
15
|
-
list = (options) =>
|
|
15
|
+
list = (options) => getApi20261001ResourcesApiPublicCredentials({ client: this._client, ...options });
|
|
16
16
|
/**
|
|
17
17
|
* Auto-paginate through all credentials, yielding one item at a time.
|
|
18
18
|
* @example for await (const item of client.apiPublic.credentials.paginate()) { ... }
|
|
19
19
|
*/
|
|
20
20
|
paginate(options) {
|
|
21
21
|
const { maxItems, ...rest } = options ?? {};
|
|
22
|
-
return paginate((params) =>
|
|
22
|
+
return paginate((params) => getApi20261001ResourcesApiPublicCredentials({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Fetch all credentials across all pages into a single array.
|
|
@@ -36,14 +36,14 @@ export class ApiPublicWebhookSubscriptionsResource {
|
|
|
36
36
|
this._client = _client;
|
|
37
37
|
}
|
|
38
38
|
/** Lists all webhook_subscriptions */
|
|
39
|
-
list = (options) =>
|
|
39
|
+
list = (options) => getApi20261001ResourcesApiPublicWebhookSubscriptions({ client: this._client, ...options });
|
|
40
40
|
/**
|
|
41
41
|
* Auto-paginate through all webhook_subscriptions, yielding one item at a time.
|
|
42
42
|
* @example for await (const item of client.apiPublic.webhookSubscriptions.paginate()) { ... }
|
|
43
43
|
*/
|
|
44
44
|
paginate(options) {
|
|
45
45
|
const { maxItems, ...rest } = options ?? {};
|
|
46
|
-
return paginate((params) =>
|
|
46
|
+
return paginate((params) => getApi20261001ResourcesApiPublicWebhookSubscriptions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* Fetch all webhook_subscriptions across all pages into a single array.
|
|
@@ -53,13 +53,13 @@ export class ApiPublicWebhookSubscriptionsResource {
|
|
|
53
53
|
return collectAll(this.paginate(options));
|
|
54
54
|
}
|
|
55
55
|
/** Creates a webhook_subscriptions record */
|
|
56
|
-
create = (options) =>
|
|
56
|
+
create = (options) => postApi20261001ResourcesApiPublicWebhookSubscriptions({ client: this._client, ...options });
|
|
57
57
|
/** Reads a single webhook_subscriptions record */
|
|
58
|
-
get = (options) =>
|
|
58
|
+
get = (options) => getApi20261001ResourcesApiPublicWebhookSubscriptionsById({ client: this._client, ...options });
|
|
59
59
|
/** Updates a webhook_subscriptions record */
|
|
60
|
-
update = (options) =>
|
|
60
|
+
update = (options) => putApi20261001ResourcesApiPublicWebhookSubscriptionsById({ client: this._client, ...options });
|
|
61
61
|
/** Deletes a webhook_subscriptions record */
|
|
62
|
-
delete = (options) =>
|
|
62
|
+
delete = (options) => deleteApi20261001ResourcesApiPublicWebhookSubscriptionsById({ client: this._client, ...options });
|
|
63
63
|
}
|
|
64
64
|
/** Methods for the approvals > materialized_approvals_flows resource */
|
|
65
65
|
export class ApprovalsMaterializedApprovalsFlowsResource {
|
|
@@ -68,9 +68,9 @@ export class ApprovalsMaterializedApprovalsFlowsResource {
|
|
|
68
68
|
this._client = _client;
|
|
69
69
|
}
|
|
70
70
|
/** approveResource */
|
|
71
|
-
approveResource = (options) =>
|
|
71
|
+
approveResource = (options) => postApi20261001ResourcesApprovalsMaterializedApprovalsFlowsApproveResource({ client: this._client, ...options });
|
|
72
72
|
/** rejectResource */
|
|
73
|
-
rejectResource = (options) =>
|
|
73
|
+
rejectResource = (options) => postApi20261001ResourcesApprovalsMaterializedApprovalsFlowsRejectResource({ client: this._client, ...options });
|
|
74
74
|
}
|
|
75
75
|
/** Methods for the ats > answers resource */
|
|
76
76
|
export class AtsAnswersResource {
|
|
@@ -79,14 +79,14 @@ export class AtsAnswersResource {
|
|
|
79
79
|
this._client = _client;
|
|
80
80
|
}
|
|
81
81
|
/** Lists all answers */
|
|
82
|
-
list = (options) =>
|
|
82
|
+
list = (options) => getApi20261001ResourcesAtsAnswers({ client: this._client, ...options });
|
|
83
83
|
/**
|
|
84
84
|
* Auto-paginate through all answers, yielding one item at a time.
|
|
85
85
|
* @example for await (const item of client.ats.answers.paginate()) { ... }
|
|
86
86
|
*/
|
|
87
87
|
paginate(options) {
|
|
88
88
|
const { maxItems, ...rest } = options ?? {};
|
|
89
|
-
return paginate((params) =>
|
|
89
|
+
return paginate((params) => getApi20261001ResourcesAtsAnswers({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
92
|
* Fetch all answers across all pages into a single array.
|
|
@@ -96,9 +96,9 @@ export class AtsAnswersResource {
|
|
|
96
96
|
return collectAll(this.paginate(options));
|
|
97
97
|
}
|
|
98
98
|
/** Creates a answers record */
|
|
99
|
-
create = (options) =>
|
|
99
|
+
create = (options) => postApi20261001ResourcesAtsAnswers({ client: this._client, ...options });
|
|
100
100
|
/** Reads a single answers record */
|
|
101
|
-
get = (options) =>
|
|
101
|
+
get = (options) => getApi20261001ResourcesAtsAnswersById({ client: this._client, ...options });
|
|
102
102
|
}
|
|
103
103
|
/** Methods for the ats > application_phases resource */
|
|
104
104
|
export class AtsApplicationPhasesResource {
|
|
@@ -107,14 +107,14 @@ export class AtsApplicationPhasesResource {
|
|
|
107
107
|
this._client = _client;
|
|
108
108
|
}
|
|
109
109
|
/** Lists all application_phases */
|
|
110
|
-
list = (options) =>
|
|
110
|
+
list = (options) => getApi20261001ResourcesAtsApplicationPhases({ client: this._client, ...options });
|
|
111
111
|
/**
|
|
112
112
|
* Auto-paginate through all application_phases, yielding one item at a time.
|
|
113
113
|
* @example for await (const item of client.ats.applicationPhases.paginate()) { ... }
|
|
114
114
|
*/
|
|
115
115
|
paginate(options) {
|
|
116
116
|
const { maxItems, ...rest } = options ?? {};
|
|
117
|
-
return paginate((params) =>
|
|
117
|
+
return paginate((params) => getApi20261001ResourcesAtsApplicationPhases({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
118
118
|
}
|
|
119
119
|
/**
|
|
120
120
|
* Fetch all application_phases across all pages into a single array.
|
|
@@ -124,7 +124,7 @@ export class AtsApplicationPhasesResource {
|
|
|
124
124
|
return collectAll(this.paginate(options));
|
|
125
125
|
}
|
|
126
126
|
/** Reads a single application_phases record */
|
|
127
|
-
get = (options) =>
|
|
127
|
+
get = (options) => getApi20261001ResourcesAtsApplicationPhasesById({ client: this._client, ...options });
|
|
128
128
|
}
|
|
129
129
|
/** Methods for the ats > applications resource */
|
|
130
130
|
export class AtsApplicationsResource {
|
|
@@ -133,14 +133,14 @@ export class AtsApplicationsResource {
|
|
|
133
133
|
this._client = _client;
|
|
134
134
|
}
|
|
135
135
|
/** Lists all applications */
|
|
136
|
-
list = (options) =>
|
|
136
|
+
list = (options) => getApi20261001ResourcesAtsApplications({ client: this._client, ...options });
|
|
137
137
|
/**
|
|
138
138
|
* Auto-paginate through all applications, yielding one item at a time.
|
|
139
139
|
* @example for await (const item of client.ats.applications.paginate()) { ... }
|
|
140
140
|
*/
|
|
141
141
|
paginate(options) {
|
|
142
142
|
const { maxItems, ...rest } = options ?? {};
|
|
143
|
-
return paginate((params) =>
|
|
143
|
+
return paginate((params) => getApi20261001ResourcesAtsApplications({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
146
|
* Fetch all applications across all pages into a single array.
|
|
@@ -150,17 +150,17 @@ export class AtsApplicationsResource {
|
|
|
150
150
|
return collectAll(this.paginate(options));
|
|
151
151
|
}
|
|
152
152
|
/** Creates a applications record */
|
|
153
|
-
create = (options) =>
|
|
153
|
+
create = (options) => postApi20261001ResourcesAtsApplications({ client: this._client, ...options });
|
|
154
154
|
/** Reads a single applications record */
|
|
155
|
-
get = (options) =>
|
|
155
|
+
get = (options) => getApi20261001ResourcesAtsApplicationsById({ client: this._client, ...options });
|
|
156
156
|
/** Updates a applications record */
|
|
157
|
-
update = (options) =>
|
|
157
|
+
update = (options) => putApi20261001ResourcesAtsApplicationsById({ client: this._client, ...options });
|
|
158
158
|
/** Deletes a applications record */
|
|
159
|
-
delete = (options) =>
|
|
159
|
+
delete = (options) => deleteApi20261001ResourcesAtsApplicationsById({ client: this._client, ...options });
|
|
160
160
|
/** apply */
|
|
161
|
-
apply = (options) =>
|
|
161
|
+
apply = (options) => postApi20261001ResourcesAtsApplicationsApply({ client: this._client, ...options });
|
|
162
162
|
/** moveToPhase */
|
|
163
|
-
moveToPhase = (options) =>
|
|
163
|
+
moveToPhase = (options) => postApi20261001ResourcesAtsApplicationsMoveToPhase({ client: this._client, ...options });
|
|
164
164
|
}
|
|
165
165
|
/** Methods for the ats > candidate_sources resource */
|
|
166
166
|
export class AtsCandidateSourcesResource {
|
|
@@ -169,14 +169,14 @@ export class AtsCandidateSourcesResource {
|
|
|
169
169
|
this._client = _client;
|
|
170
170
|
}
|
|
171
171
|
/** Lists all candidate_sources */
|
|
172
|
-
list = (options) =>
|
|
172
|
+
list = (options) => getApi20261001ResourcesAtsCandidateSources({ client: this._client, ...options });
|
|
173
173
|
/**
|
|
174
174
|
* Auto-paginate through all candidate_sources, yielding one item at a time.
|
|
175
175
|
* @example for await (const item of client.ats.candidateSources.paginate()) { ... }
|
|
176
176
|
*/
|
|
177
177
|
paginate(options) {
|
|
178
178
|
const { maxItems, ...rest } = options ?? {};
|
|
179
|
-
return paginate((params) =>
|
|
179
|
+
return paginate((params) => getApi20261001ResourcesAtsCandidateSources({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
180
180
|
}
|
|
181
181
|
/**
|
|
182
182
|
* Fetch all candidate_sources across all pages into a single array.
|
|
@@ -186,7 +186,7 @@ export class AtsCandidateSourcesResource {
|
|
|
186
186
|
return collectAll(this.paginate(options));
|
|
187
187
|
}
|
|
188
188
|
/** Reads a single candidate_sources record */
|
|
189
|
-
get = (options) =>
|
|
189
|
+
get = (options) => getApi20261001ResourcesAtsCandidateSourcesById({ client: this._client, ...options });
|
|
190
190
|
}
|
|
191
191
|
/** Methods for the ats > candidates resource */
|
|
192
192
|
export class AtsCandidatesResource {
|
|
@@ -195,14 +195,14 @@ export class AtsCandidatesResource {
|
|
|
195
195
|
this._client = _client;
|
|
196
196
|
}
|
|
197
197
|
/** Lists all candidates */
|
|
198
|
-
list = (options) =>
|
|
198
|
+
list = (options) => getApi20261001ResourcesAtsCandidates({ client: this._client, ...options });
|
|
199
199
|
/**
|
|
200
200
|
* Auto-paginate through all candidates, yielding one item at a time.
|
|
201
201
|
* @example for await (const item of client.ats.candidates.paginate()) { ... }
|
|
202
202
|
*/
|
|
203
203
|
paginate(options) {
|
|
204
204
|
const { maxItems, ...rest } = options ?? {};
|
|
205
|
-
return paginate((params) =>
|
|
205
|
+
return paginate((params) => getApi20261001ResourcesAtsCandidates({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
206
206
|
}
|
|
207
207
|
/**
|
|
208
208
|
* Fetch all candidates across all pages into a single array.
|
|
@@ -212,13 +212,13 @@ export class AtsCandidatesResource {
|
|
|
212
212
|
return collectAll(this.paginate(options));
|
|
213
213
|
}
|
|
214
214
|
/** Creates a candidates record */
|
|
215
|
-
create = (options) =>
|
|
215
|
+
create = (options) => postApi20261001ResourcesAtsCandidates({ client: this._client, ...options });
|
|
216
216
|
/** Reads a single candidates record */
|
|
217
|
-
get = (options) =>
|
|
217
|
+
get = (options) => getApi20261001ResourcesAtsCandidatesById({ client: this._client, ...options });
|
|
218
218
|
/** Updates a candidates record */
|
|
219
|
-
update = (options) =>
|
|
219
|
+
update = (options) => putApi20261001ResourcesAtsCandidatesById({ client: this._client, ...options });
|
|
220
220
|
/** Deletes a candidates record */
|
|
221
|
-
delete = (options) =>
|
|
221
|
+
delete = (options) => deleteApi20261001ResourcesAtsCandidatesById({ client: this._client, ...options });
|
|
222
222
|
}
|
|
223
223
|
/** Methods for the ats > evaluation_forms resource */
|
|
224
224
|
export class AtsEvaluationFormsResource {
|
|
@@ -227,14 +227,14 @@ export class AtsEvaluationFormsResource {
|
|
|
227
227
|
this._client = _client;
|
|
228
228
|
}
|
|
229
229
|
/** Lists all evaluation_forms */
|
|
230
|
-
list = (options) =>
|
|
230
|
+
list = (options) => getApi20261001ResourcesAtsEvaluationForms({ client: this._client, ...options });
|
|
231
231
|
/**
|
|
232
232
|
* Auto-paginate through all evaluation_forms, yielding one item at a time.
|
|
233
233
|
* @example for await (const item of client.ats.evaluationForms.paginate()) { ... }
|
|
234
234
|
*/
|
|
235
235
|
paginate(options) {
|
|
236
236
|
const { maxItems, ...rest } = options ?? {};
|
|
237
|
-
return paginate((params) =>
|
|
237
|
+
return paginate((params) => getApi20261001ResourcesAtsEvaluationForms({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
238
238
|
}
|
|
239
239
|
/**
|
|
240
240
|
* Fetch all evaluation_forms across all pages into a single array.
|
|
@@ -244,9 +244,9 @@ export class AtsEvaluationFormsResource {
|
|
|
244
244
|
return collectAll(this.paginate(options));
|
|
245
245
|
}
|
|
246
246
|
/** Reads a single evaluation_forms record */
|
|
247
|
-
get = (options) =>
|
|
247
|
+
get = (options) => getApi20261001ResourcesAtsEvaluationFormsById({ client: this._client, ...options });
|
|
248
248
|
/** saveAsTemplate */
|
|
249
|
-
saveAsTemplate = (options) =>
|
|
249
|
+
saveAsTemplate = (options) => postApi20261001ResourcesAtsEvaluationFormsSaveAsTemplate({ client: this._client, ...options });
|
|
250
250
|
}
|
|
251
251
|
/** Methods for the ats > feedbacks resource */
|
|
252
252
|
export class AtsFeedbacksResource {
|
|
@@ -255,14 +255,14 @@ export class AtsFeedbacksResource {
|
|
|
255
255
|
this._client = _client;
|
|
256
256
|
}
|
|
257
257
|
/** Lists all feedbacks */
|
|
258
|
-
list = (options) =>
|
|
258
|
+
list = (options) => getApi20261001ResourcesAtsFeedbacks({ client: this._client, ...options });
|
|
259
259
|
/**
|
|
260
260
|
* Auto-paginate through all feedbacks, yielding one item at a time.
|
|
261
261
|
* @example for await (const item of client.ats.feedbacks.paginate()) { ... }
|
|
262
262
|
*/
|
|
263
263
|
paginate(options) {
|
|
264
264
|
const { maxItems, ...rest } = options ?? {};
|
|
265
|
-
return paginate((params) =>
|
|
265
|
+
return paginate((params) => getApi20261001ResourcesAtsFeedbacks({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
266
266
|
}
|
|
267
267
|
/**
|
|
268
268
|
* Fetch all feedbacks across all pages into a single array.
|
|
@@ -272,13 +272,13 @@ export class AtsFeedbacksResource {
|
|
|
272
272
|
return collectAll(this.paginate(options));
|
|
273
273
|
}
|
|
274
274
|
/** Creates a feedbacks record */
|
|
275
|
-
create = (options) =>
|
|
275
|
+
create = (options) => postApi20261001ResourcesAtsFeedbacks({ client: this._client, ...options });
|
|
276
276
|
/** Reads a single feedbacks record */
|
|
277
|
-
get = (options) =>
|
|
277
|
+
get = (options) => getApi20261001ResourcesAtsFeedbacksById({ client: this._client, ...options });
|
|
278
278
|
/** Updates a feedbacks record */
|
|
279
|
-
update = (options) =>
|
|
279
|
+
update = (options) => putApi20261001ResourcesAtsFeedbacksById({ client: this._client, ...options });
|
|
280
280
|
/** Deletes a feedbacks record */
|
|
281
|
-
delete = (options) =>
|
|
281
|
+
delete = (options) => deleteApi20261001ResourcesAtsFeedbacksById({ client: this._client, ...options });
|
|
282
282
|
}
|
|
283
283
|
/** Methods for the ats > hiring_stages resource */
|
|
284
284
|
export class AtsHiringStagesResource {
|
|
@@ -287,14 +287,14 @@ export class AtsHiringStagesResource {
|
|
|
287
287
|
this._client = _client;
|
|
288
288
|
}
|
|
289
289
|
/** Lists all hiring_stages */
|
|
290
|
-
list = (options) =>
|
|
290
|
+
list = (options) => getApi20261001ResourcesAtsHiringStages({ client: this._client, ...options });
|
|
291
291
|
/**
|
|
292
292
|
* Auto-paginate through all hiring_stages, yielding one item at a time.
|
|
293
293
|
* @example for await (const item of client.ats.hiringStages.paginate()) { ... }
|
|
294
294
|
*/
|
|
295
295
|
paginate(options) {
|
|
296
296
|
const { maxItems, ...rest } = options ?? {};
|
|
297
|
-
return paginate((params) =>
|
|
297
|
+
return paginate((params) => getApi20261001ResourcesAtsHiringStages({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
298
298
|
}
|
|
299
299
|
/**
|
|
300
300
|
* Fetch all hiring_stages across all pages into a single array.
|
|
@@ -304,7 +304,7 @@ export class AtsHiringStagesResource {
|
|
|
304
304
|
return collectAll(this.paginate(options));
|
|
305
305
|
}
|
|
306
306
|
/** Reads a single hiring_stages record */
|
|
307
|
-
get = (options) =>
|
|
307
|
+
get = (options) => getApi20261001ResourcesAtsHiringStagesById({ client: this._client, ...options });
|
|
308
308
|
}
|
|
309
309
|
/** Methods for the ats > job_postings resource */
|
|
310
310
|
export class AtsJobPostingsResource {
|
|
@@ -313,14 +313,14 @@ export class AtsJobPostingsResource {
|
|
|
313
313
|
this._client = _client;
|
|
314
314
|
}
|
|
315
315
|
/** Lists all job_postings */
|
|
316
|
-
list = (options) =>
|
|
316
|
+
list = (options) => getApi20261001ResourcesAtsJobPostings({ client: this._client, ...options });
|
|
317
317
|
/**
|
|
318
318
|
* Auto-paginate through all job_postings, yielding one item at a time.
|
|
319
319
|
* @example for await (const item of client.ats.jobPostings.paginate()) { ... }
|
|
320
320
|
*/
|
|
321
321
|
paginate(options) {
|
|
322
322
|
const { maxItems, ...rest } = options ?? {};
|
|
323
|
-
return paginate((params) =>
|
|
323
|
+
return paginate((params) => getApi20261001ResourcesAtsJobPostings({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
324
324
|
}
|
|
325
325
|
/**
|
|
326
326
|
* Fetch all job_postings across all pages into a single array.
|
|
@@ -330,15 +330,15 @@ export class AtsJobPostingsResource {
|
|
|
330
330
|
return collectAll(this.paginate(options));
|
|
331
331
|
}
|
|
332
332
|
/** Creates a job_postings record */
|
|
333
|
-
create = (options) =>
|
|
333
|
+
create = (options) => postApi20261001ResourcesAtsJobPostings({ client: this._client, ...options });
|
|
334
334
|
/** Reads a single job_postings record */
|
|
335
|
-
get = (options) =>
|
|
335
|
+
get = (options) => getApi20261001ResourcesAtsJobPostingsById({ client: this._client, ...options });
|
|
336
336
|
/** Updates a job_postings record */
|
|
337
|
-
update = (options) =>
|
|
337
|
+
update = (options) => putApi20261001ResourcesAtsJobPostingsById({ client: this._client, ...options });
|
|
338
338
|
/** Deletes a job_postings record */
|
|
339
|
-
delete = (options) =>
|
|
339
|
+
delete = (options) => deleteApi20261001ResourcesAtsJobPostingsById({ client: this._client, ...options });
|
|
340
340
|
/** duplicate */
|
|
341
|
-
duplicate = (options) =>
|
|
341
|
+
duplicate = (options) => postApi20261001ResourcesAtsJobPostingsDuplicate({ client: this._client, ...options });
|
|
342
342
|
}
|
|
343
343
|
/** Methods for the ats > messages resource */
|
|
344
344
|
export class AtsMessagesResource {
|
|
@@ -347,14 +347,14 @@ export class AtsMessagesResource {
|
|
|
347
347
|
this._client = _client;
|
|
348
348
|
}
|
|
349
349
|
/** Lists all messages */
|
|
350
|
-
list = (options) =>
|
|
350
|
+
list = (options) => getApi20261001ResourcesAtsMessages({ client: this._client, ...options });
|
|
351
351
|
/**
|
|
352
352
|
* Auto-paginate through all messages, yielding one item at a time.
|
|
353
353
|
* @example for await (const item of client.ats.messages.paginate()) { ... }
|
|
354
354
|
*/
|
|
355
355
|
paginate(options) {
|
|
356
356
|
const { maxItems, ...rest } = options ?? {};
|
|
357
|
-
return paginate((params) =>
|
|
357
|
+
return paginate((params) => getApi20261001ResourcesAtsMessages({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
358
358
|
}
|
|
359
359
|
/**
|
|
360
360
|
* Fetch all messages across all pages into a single array.
|
|
@@ -364,9 +364,9 @@ export class AtsMessagesResource {
|
|
|
364
364
|
return collectAll(this.paginate(options));
|
|
365
365
|
}
|
|
366
366
|
/** Creates a messages record */
|
|
367
|
-
create = (options) =>
|
|
367
|
+
create = (options) => postApi20261001ResourcesAtsMessages({ client: this._client, ...options });
|
|
368
368
|
/** Reads a single messages record */
|
|
369
|
-
get = (options) =>
|
|
369
|
+
get = (options) => getApi20261001ResourcesAtsMessagesById({ client: this._client, ...options });
|
|
370
370
|
}
|
|
371
371
|
/** Methods for the ats > questions resource */
|
|
372
372
|
export class AtsQuestionsResource {
|
|
@@ -375,14 +375,14 @@ export class AtsQuestionsResource {
|
|
|
375
375
|
this._client = _client;
|
|
376
376
|
}
|
|
377
377
|
/** Lists all questions */
|
|
378
|
-
list = (options) =>
|
|
378
|
+
list = (options) => getApi20261001ResourcesAtsQuestions({ client: this._client, ...options });
|
|
379
379
|
/**
|
|
380
380
|
* Auto-paginate through all questions, yielding one item at a time.
|
|
381
381
|
* @example for await (const item of client.ats.questions.paginate()) { ... }
|
|
382
382
|
*/
|
|
383
383
|
paginate(options) {
|
|
384
384
|
const { maxItems, ...rest } = options ?? {};
|
|
385
|
-
return paginate((params) =>
|
|
385
|
+
return paginate((params) => getApi20261001ResourcesAtsQuestions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
386
386
|
}
|
|
387
387
|
/**
|
|
388
388
|
* Fetch all questions across all pages into a single array.
|
|
@@ -392,13 +392,13 @@ export class AtsQuestionsResource {
|
|
|
392
392
|
return collectAll(this.paginate(options));
|
|
393
393
|
}
|
|
394
394
|
/** Creates a questions record */
|
|
395
|
-
create = (options) =>
|
|
395
|
+
create = (options) => postApi20261001ResourcesAtsQuestions({ client: this._client, ...options });
|
|
396
396
|
/** Reads a single questions record */
|
|
397
|
-
get = (options) =>
|
|
397
|
+
get = (options) => getApi20261001ResourcesAtsQuestionsById({ client: this._client, ...options });
|
|
398
398
|
/** Updates a questions record */
|
|
399
|
-
update = (options) =>
|
|
399
|
+
update = (options) => putApi20261001ResourcesAtsQuestionsById({ client: this._client, ...options });
|
|
400
400
|
/** Deletes a questions record */
|
|
401
|
-
delete = (options) =>
|
|
401
|
+
delete = (options) => deleteApi20261001ResourcesAtsQuestionsById({ client: this._client, ...options });
|
|
402
402
|
}
|
|
403
403
|
/** Methods for the ats > rejection_reasons resource */
|
|
404
404
|
export class AtsRejectionReasonsResource {
|
|
@@ -407,14 +407,14 @@ export class AtsRejectionReasonsResource {
|
|
|
407
407
|
this._client = _client;
|
|
408
408
|
}
|
|
409
409
|
/** Lists all rejection_reasons */
|
|
410
|
-
list = (options) =>
|
|
410
|
+
list = (options) => getApi20261001ResourcesAtsRejectionReasons({ client: this._client, ...options });
|
|
411
411
|
/**
|
|
412
412
|
* Auto-paginate through all rejection_reasons, yielding one item at a time.
|
|
413
413
|
* @example for await (const item of client.ats.rejectionReasons.paginate()) { ... }
|
|
414
414
|
*/
|
|
415
415
|
paginate(options) {
|
|
416
416
|
const { maxItems, ...rest } = options ?? {};
|
|
417
|
-
return paginate((params) =>
|
|
417
|
+
return paginate((params) => getApi20261001ResourcesAtsRejectionReasons({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
418
418
|
}
|
|
419
419
|
/**
|
|
420
420
|
* Fetch all rejection_reasons across all pages into a single array.
|
|
@@ -424,7 +424,7 @@ export class AtsRejectionReasonsResource {
|
|
|
424
424
|
return collectAll(this.paginate(options));
|
|
425
425
|
}
|
|
426
426
|
/** Reads a single rejection_reasons record */
|
|
427
|
-
get = (options) =>
|
|
427
|
+
get = (options) => getApi20261001ResourcesAtsRejectionReasonsById({ client: this._client, ...options });
|
|
428
428
|
}
|
|
429
429
|
/** Methods for the attendance > break_configurations resource */
|
|
430
430
|
export class AttendanceBreakConfigurationsResource {
|
|
@@ -433,14 +433,14 @@ export class AttendanceBreakConfigurationsResource {
|
|
|
433
433
|
this._client = _client;
|
|
434
434
|
}
|
|
435
435
|
/** Lists all break_configurations */
|
|
436
|
-
list = (options) =>
|
|
436
|
+
list = (options) => getApi20261001ResourcesAttendanceBreakConfigurations({ client: this._client, ...options });
|
|
437
437
|
/**
|
|
438
438
|
* Auto-paginate through all break_configurations, yielding one item at a time.
|
|
439
439
|
* @example for await (const item of client.attendance.breakConfigurations.paginate()) { ... }
|
|
440
440
|
*/
|
|
441
441
|
paginate(options) {
|
|
442
442
|
const { maxItems, ...rest } = options ?? {};
|
|
443
|
-
return paginate((params) =>
|
|
443
|
+
return paginate((params) => getApi20261001ResourcesAttendanceBreakConfigurations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
444
444
|
}
|
|
445
445
|
/**
|
|
446
446
|
* Fetch all break_configurations across all pages into a single array.
|
|
@@ -450,11 +450,11 @@ export class AttendanceBreakConfigurationsResource {
|
|
|
450
450
|
return collectAll(this.paginate(options));
|
|
451
451
|
}
|
|
452
452
|
/** Creates a break_configurations record */
|
|
453
|
-
create = (options) =>
|
|
453
|
+
create = (options) => postApi20261001ResourcesAttendanceBreakConfigurations({ client: this._client, ...options });
|
|
454
454
|
/** Reads a single break_configurations record */
|
|
455
|
-
get = (options) =>
|
|
455
|
+
get = (options) => getApi20261001ResourcesAttendanceBreakConfigurationsById({ client: this._client, ...options });
|
|
456
456
|
/** Updates a break_configurations record */
|
|
457
|
-
update = (options) =>
|
|
457
|
+
update = (options) => putApi20261001ResourcesAttendanceBreakConfigurationsById({ client: this._client, ...options });
|
|
458
458
|
}
|
|
459
459
|
/** Methods for the attendance > edit_timesheet_requests resource */
|
|
460
460
|
export class AttendanceEditTimesheetRequestsResource {
|
|
@@ -463,14 +463,14 @@ export class AttendanceEditTimesheetRequestsResource {
|
|
|
463
463
|
this._client = _client;
|
|
464
464
|
}
|
|
465
465
|
/** Lists all edit_timesheet_requests */
|
|
466
|
-
list = (options) =>
|
|
466
|
+
list = (options) => getApi20261001ResourcesAttendanceEditTimesheetRequests({ client: this._client, ...options });
|
|
467
467
|
/**
|
|
468
468
|
* Auto-paginate through all edit_timesheet_requests, yielding one item at a time.
|
|
469
469
|
* @example for await (const item of client.attendance.editTimesheetRequests.paginate()) { ... }
|
|
470
470
|
*/
|
|
471
471
|
paginate(options) {
|
|
472
472
|
const { maxItems, ...rest } = options ?? {};
|
|
473
|
-
return paginate((params) =>
|
|
473
|
+
return paginate((params) => getApi20261001ResourcesAttendanceEditTimesheetRequests({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
474
474
|
}
|
|
475
475
|
/**
|
|
476
476
|
* Fetch all edit_timesheet_requests across all pages into a single array.
|
|
@@ -480,13 +480,13 @@ export class AttendanceEditTimesheetRequestsResource {
|
|
|
480
480
|
return collectAll(this.paginate(options));
|
|
481
481
|
}
|
|
482
482
|
/** Creates a edit_timesheet_requests record */
|
|
483
|
-
create = (options) =>
|
|
483
|
+
create = (options) => postApi20261001ResourcesAttendanceEditTimesheetRequests({ client: this._client, ...options });
|
|
484
484
|
/** Reads a single edit_timesheet_requests record */
|
|
485
|
-
get = (options) =>
|
|
485
|
+
get = (options) => getApi20261001ResourcesAttendanceEditTimesheetRequestsById({ client: this._client, ...options });
|
|
486
486
|
/** Updates a edit_timesheet_requests record */
|
|
487
|
-
update = (options) =>
|
|
487
|
+
update = (options) => putApi20261001ResourcesAttendanceEditTimesheetRequestsById({ client: this._client, ...options });
|
|
488
488
|
/** Deletes a edit_timesheet_requests record */
|
|
489
|
-
delete = (options) =>
|
|
489
|
+
delete = (options) => deleteApi20261001ResourcesAttendanceEditTimesheetRequestsById({ client: this._client, ...options });
|
|
490
490
|
}
|
|
491
491
|
/** Methods for the attendance > estimated_times resource */
|
|
492
492
|
export class AttendanceEstimatedTimesResource {
|
|
@@ -495,14 +495,14 @@ export class AttendanceEstimatedTimesResource {
|
|
|
495
495
|
this._client = _client;
|
|
496
496
|
}
|
|
497
497
|
/** Lists all estimated_times */
|
|
498
|
-
list = (options) =>
|
|
498
|
+
list = (options) => getApi20261001ResourcesAttendanceEstimatedTimes({ client: this._client, ...options });
|
|
499
499
|
/**
|
|
500
500
|
* Auto-paginate through all estimated_times, yielding one item at a time.
|
|
501
501
|
* @example for await (const item of client.attendance.estimatedTimes.paginate()) { ... }
|
|
502
502
|
*/
|
|
503
503
|
paginate(options) {
|
|
504
504
|
const { maxItems, ...rest } = options ?? {};
|
|
505
|
-
return paginate((params) =>
|
|
505
|
+
return paginate((params) => getApi20261001ResourcesAttendanceEstimatedTimes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
506
506
|
}
|
|
507
507
|
/**
|
|
508
508
|
* Fetch all estimated_times across all pages into a single array.
|
|
@@ -519,14 +519,14 @@ export class AttendanceOpenShiftsResource {
|
|
|
519
519
|
this._client = _client;
|
|
520
520
|
}
|
|
521
521
|
/** Lists all open_shifts */
|
|
522
|
-
list = (options) =>
|
|
522
|
+
list = (options) => getApi20261001ResourcesAttendanceOpenShifts({ client: this._client, ...options });
|
|
523
523
|
/**
|
|
524
524
|
* Auto-paginate through all open_shifts, yielding one item at a time.
|
|
525
525
|
* @example for await (const item of client.attendance.openShifts.paginate()) { ... }
|
|
526
526
|
*/
|
|
527
527
|
paginate(options) {
|
|
528
528
|
const { maxItems, ...rest } = options ?? {};
|
|
529
|
-
return paginate((params) =>
|
|
529
|
+
return paginate((params) => getApi20261001ResourcesAttendanceOpenShifts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
530
530
|
}
|
|
531
531
|
/**
|
|
532
532
|
* Fetch all open_shifts across all pages into a single array.
|
|
@@ -543,14 +543,14 @@ export class AttendanceOvertimeRequestsResource {
|
|
|
543
543
|
this._client = _client;
|
|
544
544
|
}
|
|
545
545
|
/** Lists all overtime_requests */
|
|
546
|
-
list = (options) =>
|
|
546
|
+
list = (options) => getApi20261001ResourcesAttendanceOvertimeRequests({ client: this._client, ...options });
|
|
547
547
|
/**
|
|
548
548
|
* Auto-paginate through all overtime_requests, yielding one item at a time.
|
|
549
549
|
* @example for await (const item of client.attendance.overtimeRequests.paginate()) { ... }
|
|
550
550
|
*/
|
|
551
551
|
paginate(options) {
|
|
552
552
|
const { maxItems, ...rest } = options ?? {};
|
|
553
|
-
return paginate((params) =>
|
|
553
|
+
return paginate((params) => getApi20261001ResourcesAttendanceOvertimeRequests({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
554
554
|
}
|
|
555
555
|
/**
|
|
556
556
|
* Fetch all overtime_requests across all pages into a single array.
|
|
@@ -560,17 +560,17 @@ export class AttendanceOvertimeRequestsResource {
|
|
|
560
560
|
return collectAll(this.paginate(options));
|
|
561
561
|
}
|
|
562
562
|
/** Creates a overtime_requests record */
|
|
563
|
-
create = (options) =>
|
|
563
|
+
create = (options) => postApi20261001ResourcesAttendanceOvertimeRequests({ client: this._client, ...options });
|
|
564
564
|
/** Reads a single overtime_requests record */
|
|
565
|
-
get = (options) =>
|
|
565
|
+
get = (options) => getApi20261001ResourcesAttendanceOvertimeRequestsById({ client: this._client, ...options });
|
|
566
566
|
/** Updates a overtime_requests record */
|
|
567
|
-
update = (options) =>
|
|
567
|
+
update = (options) => putApi20261001ResourcesAttendanceOvertimeRequestsById({ client: this._client, ...options });
|
|
568
568
|
/** Deletes a overtime_requests record */
|
|
569
|
-
delete = (options) =>
|
|
569
|
+
delete = (options) => deleteApi20261001ResourcesAttendanceOvertimeRequestsById({ client: this._client, ...options });
|
|
570
570
|
/** approve */
|
|
571
|
-
approve = (options) =>
|
|
571
|
+
approve = (options) => postApi20261001ResourcesAttendanceOvertimeRequestsApprove({ client: this._client, ...options });
|
|
572
572
|
/** reject */
|
|
573
|
-
reject = (options) =>
|
|
573
|
+
reject = (options) => postApi20261001ResourcesAttendanceOvertimeRequestsReject({ client: this._client, ...options });
|
|
574
574
|
}
|
|
575
575
|
/** Methods for the attendance > reviews resource */
|
|
576
576
|
export class AttendanceReviewsResource {
|
|
@@ -579,14 +579,14 @@ export class AttendanceReviewsResource {
|
|
|
579
579
|
this._client = _client;
|
|
580
580
|
}
|
|
581
581
|
/** Lists all reviews */
|
|
582
|
-
list = (options) =>
|
|
582
|
+
list = (options) => getApi20261001ResourcesAttendanceReviews({ client: this._client, ...options });
|
|
583
583
|
/**
|
|
584
584
|
* Auto-paginate through all reviews, yielding one item at a time.
|
|
585
585
|
* @example for await (const item of client.attendance.reviews.paginate()) { ... }
|
|
586
586
|
*/
|
|
587
587
|
paginate(options) {
|
|
588
588
|
const { maxItems, ...rest } = options ?? {};
|
|
589
|
-
return paginate((params) =>
|
|
589
|
+
return paginate((params) => getApi20261001ResourcesAttendanceReviews({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
590
590
|
}
|
|
591
591
|
/**
|
|
592
592
|
* Fetch all reviews across all pages into a single array.
|
|
@@ -596,9 +596,9 @@ export class AttendanceReviewsResource {
|
|
|
596
596
|
return collectAll(this.paginate(options));
|
|
597
597
|
}
|
|
598
598
|
/** bulkCreate */
|
|
599
|
-
bulkCreate = (options) =>
|
|
599
|
+
bulkCreate = (options) => postApi20261001ResourcesAttendanceReviewsBulkCreate({ client: this._client, ...options });
|
|
600
600
|
/** bulkDestroy */
|
|
601
|
-
bulkDestroy = (options) =>
|
|
601
|
+
bulkDestroy = (options) => postApi20261001ResourcesAttendanceReviewsBulkDestroy({ client: this._client, ...options });
|
|
602
602
|
}
|
|
603
603
|
/** Methods for the attendance > shifts resource */
|
|
604
604
|
export class AttendanceShiftsResource {
|
|
@@ -607,14 +607,14 @@ export class AttendanceShiftsResource {
|
|
|
607
607
|
this._client = _client;
|
|
608
608
|
}
|
|
609
609
|
/** Lists all shifts */
|
|
610
|
-
list = (options) =>
|
|
610
|
+
list = (options) => getApi20261001ResourcesAttendanceShifts({ client: this._client, ...options });
|
|
611
611
|
/**
|
|
612
612
|
* Auto-paginate through all shifts, yielding one item at a time.
|
|
613
613
|
* @example for await (const item of client.attendance.shifts.paginate()) { ... }
|
|
614
614
|
*/
|
|
615
615
|
paginate(options) {
|
|
616
616
|
const { maxItems, ...rest } = options ?? {};
|
|
617
|
-
return paginate((params) =>
|
|
617
|
+
return paginate((params) => getApi20261001ResourcesAttendanceShifts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
618
618
|
}
|
|
619
619
|
/**
|
|
620
620
|
* Fetch all shifts across all pages into a single array.
|
|
@@ -624,25 +624,25 @@ export class AttendanceShiftsResource {
|
|
|
624
624
|
return collectAll(this.paginate(options));
|
|
625
625
|
}
|
|
626
626
|
/** Creates a shifts record */
|
|
627
|
-
create = (options) =>
|
|
627
|
+
create = (options) => postApi20261001ResourcesAttendanceShifts({ client: this._client, ...options });
|
|
628
628
|
/** Reads a single shifts record */
|
|
629
|
-
get = (options) =>
|
|
629
|
+
get = (options) => getApi20261001ResourcesAttendanceShiftsById({ client: this._client, ...options });
|
|
630
630
|
/** Updates a shifts record */
|
|
631
|
-
update = (options) =>
|
|
631
|
+
update = (options) => putApi20261001ResourcesAttendanceShiftsById({ client: this._client, ...options });
|
|
632
632
|
/** Deletes a shifts record */
|
|
633
|
-
delete = (options) =>
|
|
633
|
+
delete = (options) => deleteApi20261001ResourcesAttendanceShiftsById({ client: this._client, ...options });
|
|
634
634
|
/** autofill */
|
|
635
|
-
autofill = (options) =>
|
|
635
|
+
autofill = (options) => postApi20261001ResourcesAttendanceShiftsAutofill({ client: this._client, ...options });
|
|
636
636
|
/** breakEnd */
|
|
637
|
-
breakEnd = (options) =>
|
|
637
|
+
breakEnd = (options) => postApi20261001ResourcesAttendanceShiftsBreakEnd({ client: this._client, ...options });
|
|
638
638
|
/** breakStart */
|
|
639
|
-
breakStart = (options) =>
|
|
639
|
+
breakStart = (options) => postApi20261001ResourcesAttendanceShiftsBreakStart({ client: this._client, ...options });
|
|
640
640
|
/** clockIn */
|
|
641
|
-
clockIn = (options) =>
|
|
641
|
+
clockIn = (options) => postApi20261001ResourcesAttendanceShiftsClockIn({ client: this._client, ...options });
|
|
642
642
|
/** clockOut */
|
|
643
|
-
clockOut = (options) =>
|
|
643
|
+
clockOut = (options) => postApi20261001ResourcesAttendanceShiftsClockOut({ client: this._client, ...options });
|
|
644
644
|
/** toggleClock */
|
|
645
|
-
toggleClock = (options) =>
|
|
645
|
+
toggleClock = (options) => postApi20261001ResourcesAttendanceShiftsToggleClock({ client: this._client, ...options });
|
|
646
646
|
}
|
|
647
647
|
/** Methods for the attendance > worked_times resource */
|
|
648
648
|
export class AttendanceWorkedTimesResource {
|
|
@@ -651,14 +651,14 @@ export class AttendanceWorkedTimesResource {
|
|
|
651
651
|
this._client = _client;
|
|
652
652
|
}
|
|
653
653
|
/** Lists all worked_times */
|
|
654
|
-
list = (options) =>
|
|
654
|
+
list = (options) => getApi20261001ResourcesAttendanceWorkedTimes({ client: this._client, ...options });
|
|
655
655
|
/**
|
|
656
656
|
* Auto-paginate through all worked_times, yielding one item at a time.
|
|
657
657
|
* @example for await (const item of client.attendance.workedTimes.paginate()) { ... }
|
|
658
658
|
*/
|
|
659
659
|
paginate(options) {
|
|
660
660
|
const { maxItems, ...rest } = options ?? {};
|
|
661
|
-
return paginate((params) =>
|
|
661
|
+
return paginate((params) => getApi20261001ResourcesAttendanceWorkedTimes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
662
662
|
}
|
|
663
663
|
/**
|
|
664
664
|
* Fetch all worked_times across all pages into a single array.
|
|
@@ -675,14 +675,14 @@ export class BankingBankAccountsResource {
|
|
|
675
675
|
this._client = _client;
|
|
676
676
|
}
|
|
677
677
|
/** Lists all bank_accounts */
|
|
678
|
-
list = (options) =>
|
|
678
|
+
list = (options) => getApi20261001ResourcesBankingBankAccounts({ client: this._client, ...options });
|
|
679
679
|
/**
|
|
680
680
|
* Auto-paginate through all bank_accounts, yielding one item at a time.
|
|
681
681
|
* @example for await (const item of client.banking.bankAccounts.paginate()) { ... }
|
|
682
682
|
*/
|
|
683
683
|
paginate(options) {
|
|
684
684
|
const { maxItems, ...rest } = options ?? {};
|
|
685
|
-
return paginate((params) =>
|
|
685
|
+
return paginate((params) => getApi20261001ResourcesBankingBankAccounts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
686
686
|
}
|
|
687
687
|
/**
|
|
688
688
|
* Fetch all bank_accounts across all pages into a single array.
|
|
@@ -692,9 +692,9 @@ export class BankingBankAccountsResource {
|
|
|
692
692
|
return collectAll(this.paginate(options));
|
|
693
693
|
}
|
|
694
694
|
/** Reads a single bank_accounts record */
|
|
695
|
-
get = (options) =>
|
|
695
|
+
get = (options) => getApi20261001ResourcesBankingBankAccountsById({ client: this._client, ...options });
|
|
696
696
|
/** createManual */
|
|
697
|
-
createManual = (options) =>
|
|
697
|
+
createManual = (options) => postApi20261001ResourcesBankingBankAccountsCreateManual({ client: this._client, ...options });
|
|
698
698
|
}
|
|
699
699
|
/** Methods for the banking > card_payments resource */
|
|
700
700
|
export class BankingCardPaymentsResource {
|
|
@@ -703,14 +703,14 @@ export class BankingCardPaymentsResource {
|
|
|
703
703
|
this._client = _client;
|
|
704
704
|
}
|
|
705
705
|
/** Lists all card_payments */
|
|
706
|
-
list = (options) =>
|
|
706
|
+
list = (options) => getApi20261001ResourcesBankingCardPayments({ client: this._client, ...options });
|
|
707
707
|
/**
|
|
708
708
|
* Auto-paginate through all card_payments, yielding one item at a time.
|
|
709
709
|
* @example for await (const item of client.banking.cardPayments.paginate()) { ... }
|
|
710
710
|
*/
|
|
711
711
|
paginate(options) {
|
|
712
712
|
const { maxItems, ...rest } = options ?? {};
|
|
713
|
-
return paginate((params) =>
|
|
713
|
+
return paginate((params) => getApi20261001ResourcesBankingCardPayments({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
714
714
|
}
|
|
715
715
|
/**
|
|
716
716
|
* Fetch all card_payments across all pages into a single array.
|
|
@@ -720,7 +720,7 @@ export class BankingCardPaymentsResource {
|
|
|
720
720
|
return collectAll(this.paginate(options));
|
|
721
721
|
}
|
|
722
722
|
/** Reads a single card_payments record */
|
|
723
|
-
get = (options) =>
|
|
723
|
+
get = (options) => getApi20261001ResourcesBankingCardPaymentsById({ client: this._client, ...options });
|
|
724
724
|
}
|
|
725
725
|
/** Methods for the banking > transactions resource */
|
|
726
726
|
export class BankingTransactionsResource {
|
|
@@ -729,14 +729,14 @@ export class BankingTransactionsResource {
|
|
|
729
729
|
this._client = _client;
|
|
730
730
|
}
|
|
731
731
|
/** Lists all transactions */
|
|
732
|
-
list = (options) =>
|
|
732
|
+
list = (options) => getApi20261001ResourcesBankingTransactions({ client: this._client, ...options });
|
|
733
733
|
/**
|
|
734
734
|
* Auto-paginate through all transactions, yielding one item at a time.
|
|
735
735
|
* @example for await (const item of client.banking.transactions.paginate()) { ... }
|
|
736
736
|
*/
|
|
737
737
|
paginate(options) {
|
|
738
738
|
const { maxItems, ...rest } = options ?? {};
|
|
739
|
-
return paginate((params) =>
|
|
739
|
+
return paginate((params) => getApi20261001ResourcesBankingTransactions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
740
740
|
}
|
|
741
741
|
/**
|
|
742
742
|
* Fetch all transactions across all pages into a single array.
|
|
@@ -746,7 +746,7 @@ export class BankingTransactionsResource {
|
|
|
746
746
|
return collectAll(this.paginate(options));
|
|
747
747
|
}
|
|
748
748
|
/** Reads a single transactions record */
|
|
749
|
-
get = (options) =>
|
|
749
|
+
get = (options) => getApi20261001ResourcesBankingTransactionsById({ client: this._client, ...options });
|
|
750
750
|
}
|
|
751
751
|
/** Methods for the bookkeepers_management > incidences resource */
|
|
752
752
|
export class BookkeepersManagementIncidencesResource {
|
|
@@ -755,14 +755,14 @@ export class BookkeepersManagementIncidencesResource {
|
|
|
755
755
|
this._client = _client;
|
|
756
756
|
}
|
|
757
757
|
/** Lists all incidences */
|
|
758
|
-
list = (options) =>
|
|
758
|
+
list = (options) => getApi20261001ResourcesBookkeepersManagementIncidences({ client: this._client, ...options });
|
|
759
759
|
/**
|
|
760
760
|
* Auto-paginate through all incidences, yielding one item at a time.
|
|
761
761
|
* @example for await (const item of client.bookkeepersManagement.incidences.paginate()) { ... }
|
|
762
762
|
*/
|
|
763
763
|
paginate(options) {
|
|
764
764
|
const { maxItems, ...rest } = options ?? {};
|
|
765
|
-
return paginate((params) =>
|
|
765
|
+
return paginate((params) => getApi20261001ResourcesBookkeepersManagementIncidences({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
766
766
|
}
|
|
767
767
|
/**
|
|
768
768
|
* Fetch all incidences across all pages into a single array.
|
|
@@ -772,9 +772,9 @@ export class BookkeepersManagementIncidencesResource {
|
|
|
772
772
|
return collectAll(this.paginate(options));
|
|
773
773
|
}
|
|
774
774
|
/** Reads a single incidences record */
|
|
775
|
-
get = (options) =>
|
|
775
|
+
get = (options) => getApi20261001ResourcesBookkeepersManagementIncidencesById({ client: this._client, ...options });
|
|
776
776
|
/** Updates a incidences record */
|
|
777
|
-
update = (options) =>
|
|
777
|
+
update = (options) => putApi20261001ResourcesBookkeepersManagementIncidencesById({ client: this._client, ...options });
|
|
778
778
|
}
|
|
779
779
|
/** Methods for the companies > legal_entities resource */
|
|
780
780
|
export class CompaniesLegalEntitiesResource {
|
|
@@ -783,14 +783,14 @@ export class CompaniesLegalEntitiesResource {
|
|
|
783
783
|
this._client = _client;
|
|
784
784
|
}
|
|
785
785
|
/** Lists all legal_entities */
|
|
786
|
-
list = (options) =>
|
|
786
|
+
list = (options) => getApi20261001ResourcesCompaniesLegalEntities({ client: this._client, ...options });
|
|
787
787
|
/**
|
|
788
788
|
* Auto-paginate through all legal_entities, yielding one item at a time.
|
|
789
789
|
* @example for await (const item of client.companies.legalEntities.paginate()) { ... }
|
|
790
790
|
*/
|
|
791
791
|
paginate(options) {
|
|
792
792
|
const { maxItems, ...rest } = options ?? {};
|
|
793
|
-
return paginate((params) =>
|
|
793
|
+
return paginate((params) => getApi20261001ResourcesCompaniesLegalEntities({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
794
794
|
}
|
|
795
795
|
/**
|
|
796
796
|
* Fetch all legal_entities across all pages into a single array.
|
|
@@ -800,9 +800,9 @@ export class CompaniesLegalEntitiesResource {
|
|
|
800
800
|
return collectAll(this.paginate(options));
|
|
801
801
|
}
|
|
802
802
|
/** Creates a legal_entities record */
|
|
803
|
-
create = (options) =>
|
|
803
|
+
create = (options) => postApi20261001ResourcesCompaniesLegalEntities({ client: this._client, ...options });
|
|
804
804
|
/** Reads a single legal_entities record */
|
|
805
|
-
get = (options) =>
|
|
805
|
+
get = (options) => getApi20261001ResourcesCompaniesLegalEntitiesById({ client: this._client, ...options });
|
|
806
806
|
}
|
|
807
807
|
/** Methods for the compensations > concepts resource */
|
|
808
808
|
export class CompensationsConceptsResource {
|
|
@@ -811,14 +811,14 @@ export class CompensationsConceptsResource {
|
|
|
811
811
|
this._client = _client;
|
|
812
812
|
}
|
|
813
813
|
/** Lists all concepts */
|
|
814
|
-
list = (options) =>
|
|
814
|
+
list = (options) => getApi20261001ResourcesCompensationsConcepts({ client: this._client, ...options });
|
|
815
815
|
/**
|
|
816
816
|
* Auto-paginate through all concepts, yielding one item at a time.
|
|
817
817
|
* @example for await (const item of client.compensations.concepts.paginate()) { ... }
|
|
818
818
|
*/
|
|
819
819
|
paginate(options) {
|
|
820
820
|
const { maxItems, ...rest } = options ?? {};
|
|
821
|
-
return paginate((params) =>
|
|
821
|
+
return paginate((params) => getApi20261001ResourcesCompensationsConcepts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
822
822
|
}
|
|
823
823
|
/**
|
|
824
824
|
* Fetch all concepts across all pages into a single array.
|
|
@@ -828,7 +828,7 @@ export class CompensationsConceptsResource {
|
|
|
828
828
|
return collectAll(this.paginate(options));
|
|
829
829
|
}
|
|
830
830
|
/** Reads a single concepts record */
|
|
831
|
-
get = (options) =>
|
|
831
|
+
get = (options) => getApi20261001ResourcesCompensationsConceptsById({ client: this._client, ...options });
|
|
832
832
|
}
|
|
833
833
|
/** Methods for the contracts > compensations resource */
|
|
834
834
|
export class ContractsCompensationsResource {
|
|
@@ -837,14 +837,14 @@ export class ContractsCompensationsResource {
|
|
|
837
837
|
this._client = _client;
|
|
838
838
|
}
|
|
839
839
|
/** Lists all compensations */
|
|
840
|
-
list = (options) =>
|
|
840
|
+
list = (options) => getApi20261001ResourcesContractsCompensations({ client: this._client, ...options });
|
|
841
841
|
/**
|
|
842
842
|
* Auto-paginate through all compensations, yielding one item at a time.
|
|
843
843
|
* @example for await (const item of client.contracts.compensations.paginate()) { ... }
|
|
844
844
|
*/
|
|
845
845
|
paginate(options) {
|
|
846
846
|
const { maxItems, ...rest } = options ?? {};
|
|
847
|
-
return paginate((params) =>
|
|
847
|
+
return paginate((params) => getApi20261001ResourcesContractsCompensations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
848
848
|
}
|
|
849
849
|
/**
|
|
850
850
|
* Fetch all compensations across all pages into a single array.
|
|
@@ -854,13 +854,13 @@ export class ContractsCompensationsResource {
|
|
|
854
854
|
return collectAll(this.paginate(options));
|
|
855
855
|
}
|
|
856
856
|
/** Creates a compensations record */
|
|
857
|
-
create = (options) =>
|
|
857
|
+
create = (options) => postApi20261001ResourcesContractsCompensations({ client: this._client, ...options });
|
|
858
858
|
/** Reads a single compensations record */
|
|
859
|
-
get = (options) =>
|
|
859
|
+
get = (options) => getApi20261001ResourcesContractsCompensationsById({ client: this._client, ...options });
|
|
860
860
|
/** Updates a compensations record */
|
|
861
|
-
update = (options) =>
|
|
861
|
+
update = (options) => putApi20261001ResourcesContractsCompensationsById({ client: this._client, ...options });
|
|
862
862
|
/** Deletes a compensations record */
|
|
863
|
-
delete = (options) =>
|
|
863
|
+
delete = (options) => deleteApi20261001ResourcesContractsCompensationsById({ client: this._client, ...options });
|
|
864
864
|
}
|
|
865
865
|
/** Methods for the contracts > contract_templates resource */
|
|
866
866
|
export class ContractsContractTemplatesResource {
|
|
@@ -869,14 +869,14 @@ export class ContractsContractTemplatesResource {
|
|
|
869
869
|
this._client = _client;
|
|
870
870
|
}
|
|
871
871
|
/** Lists all contract_templates */
|
|
872
|
-
list = (options) =>
|
|
872
|
+
list = (options) => getApi20261001ResourcesContractsContractTemplates({ client: this._client, ...options });
|
|
873
873
|
/**
|
|
874
874
|
* Auto-paginate through all contract_templates, yielding one item at a time.
|
|
875
875
|
* @example for await (const item of client.contracts.contractTemplates.paginate()) { ... }
|
|
876
876
|
*/
|
|
877
877
|
paginate(options) {
|
|
878
878
|
const { maxItems, ...rest } = options ?? {};
|
|
879
|
-
return paginate((params) =>
|
|
879
|
+
return paginate((params) => getApi20261001ResourcesContractsContractTemplates({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
880
880
|
}
|
|
881
881
|
/**
|
|
882
882
|
* Fetch all contract_templates across all pages into a single array.
|
|
@@ -886,7 +886,7 @@ export class ContractsContractTemplatesResource {
|
|
|
886
886
|
return collectAll(this.paginate(options));
|
|
887
887
|
}
|
|
888
888
|
/** Reads a single contract_templates record */
|
|
889
|
-
get = (options) =>
|
|
889
|
+
get = (options) => getApi20261001ResourcesContractsContractTemplatesById({ client: this._client, ...options });
|
|
890
890
|
}
|
|
891
891
|
/** Methods for the contracts > contract_version_histories resource */
|
|
892
892
|
export class ContractsContractVersionHistoriesResource {
|
|
@@ -895,14 +895,14 @@ export class ContractsContractVersionHistoriesResource {
|
|
|
895
895
|
this._client = _client;
|
|
896
896
|
}
|
|
897
897
|
/** Lists all contract_version_histories */
|
|
898
|
-
list = (options) =>
|
|
898
|
+
list = (options) => getApi20261001ResourcesContractsContractVersionHistories({ client: this._client, ...options });
|
|
899
899
|
/**
|
|
900
900
|
* Auto-paginate through all contract_version_histories, yielding one item at a time.
|
|
901
901
|
* @example for await (const item of client.contracts.contractVersionHistories.paginate()) { ... }
|
|
902
902
|
*/
|
|
903
903
|
paginate(options) {
|
|
904
904
|
const { maxItems, ...rest } = options ?? {};
|
|
905
|
-
return paginate((params) =>
|
|
905
|
+
return paginate((params) => getApi20261001ResourcesContractsContractVersionHistories({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
906
906
|
}
|
|
907
907
|
/**
|
|
908
908
|
* Fetch all contract_version_histories across all pages into a single array.
|
|
@@ -912,7 +912,7 @@ export class ContractsContractVersionHistoriesResource {
|
|
|
912
912
|
return collectAll(this.paginate(options));
|
|
913
913
|
}
|
|
914
914
|
/** Reads a single contract_version_histories record */
|
|
915
|
-
get = (options) =>
|
|
915
|
+
get = (options) => getApi20261001ResourcesContractsContractVersionHistoriesById({ client: this._client, ...options });
|
|
916
916
|
}
|
|
917
917
|
/** Methods for the contracts > contract_version_meta_data resource */
|
|
918
918
|
export class ContractsContractVersionMetaDataResource {
|
|
@@ -921,14 +921,14 @@ export class ContractsContractVersionMetaDataResource {
|
|
|
921
921
|
this._client = _client;
|
|
922
922
|
}
|
|
923
923
|
/** Lists all contract_version_meta_data */
|
|
924
|
-
list = (options) =>
|
|
924
|
+
list = (options) => getApi20261001ResourcesContractsContractVersionMetaData({ client: this._client, ...options });
|
|
925
925
|
/**
|
|
926
926
|
* Auto-paginate through all contract_version_meta_data, yielding one item at a time.
|
|
927
927
|
* @example for await (const item of client.contracts.contractVersionMetaData.paginate()) { ... }
|
|
928
928
|
*/
|
|
929
929
|
paginate(options) {
|
|
930
930
|
const { maxItems, ...rest } = options ?? {};
|
|
931
|
-
return paginate((params) =>
|
|
931
|
+
return paginate((params) => getApi20261001ResourcesContractsContractVersionMetaData({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
932
932
|
}
|
|
933
933
|
/**
|
|
934
934
|
* Fetch all contract_version_meta_data across all pages into a single array.
|
|
@@ -945,14 +945,14 @@ export class ContractsContractVersionsResource {
|
|
|
945
945
|
this._client = _client;
|
|
946
946
|
}
|
|
947
947
|
/** Lists all contract_versions */
|
|
948
|
-
list = (options) =>
|
|
948
|
+
list = (options) => getApi20261001ResourcesContractsContractVersions({ client: this._client, ...options });
|
|
949
949
|
/**
|
|
950
950
|
* Auto-paginate through all contract_versions, yielding one item at a time.
|
|
951
951
|
* @example for await (const item of client.contracts.contractVersions.paginate()) { ... }
|
|
952
952
|
*/
|
|
953
953
|
paginate(options) {
|
|
954
954
|
const { maxItems, ...rest } = options ?? {};
|
|
955
|
-
return paginate((params) =>
|
|
955
|
+
return paginate((params) => getApi20261001ResourcesContractsContractVersions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
956
956
|
}
|
|
957
957
|
/**
|
|
958
958
|
* Fetch all contract_versions across all pages into a single array.
|
|
@@ -962,13 +962,13 @@ export class ContractsContractVersionsResource {
|
|
|
962
962
|
return collectAll(this.paginate(options));
|
|
963
963
|
}
|
|
964
964
|
/** Creates a contract_versions record */
|
|
965
|
-
create = (options) =>
|
|
965
|
+
create = (options) => postApi20261001ResourcesContractsContractVersions({ client: this._client, ...options });
|
|
966
966
|
/** Reads a single contract_versions record */
|
|
967
|
-
get = (options) =>
|
|
967
|
+
get = (options) => getApi20261001ResourcesContractsContractVersionsById({ client: this._client, ...options });
|
|
968
968
|
/** Updates a contract_versions record */
|
|
969
|
-
update = (options) =>
|
|
969
|
+
update = (options) => putApi20261001ResourcesContractsContractVersionsById({ client: this._client, ...options });
|
|
970
970
|
/** Deletes a contract_versions record */
|
|
971
|
-
delete = (options) =>
|
|
971
|
+
delete = (options) => deleteApi20261001ResourcesContractsContractVersionsById({ client: this._client, ...options });
|
|
972
972
|
}
|
|
973
973
|
/** Methods for the contracts > french_contract_types resource */
|
|
974
974
|
export class ContractsFrenchContractTypesResource {
|
|
@@ -977,14 +977,14 @@ export class ContractsFrenchContractTypesResource {
|
|
|
977
977
|
this._client = _client;
|
|
978
978
|
}
|
|
979
979
|
/** Lists all french_contract_types */
|
|
980
|
-
list = (options) =>
|
|
980
|
+
list = (options) => getApi20261001ResourcesContractsFrenchContractTypes({ client: this._client, ...options });
|
|
981
981
|
/**
|
|
982
982
|
* Auto-paginate through all french_contract_types, yielding one item at a time.
|
|
983
983
|
* @example for await (const item of client.contracts.frenchContractTypes.paginate()) { ... }
|
|
984
984
|
*/
|
|
985
985
|
paginate(options) {
|
|
986
986
|
const { maxItems, ...rest } = options ?? {};
|
|
987
|
-
return paginate((params) =>
|
|
987
|
+
return paginate((params) => getApi20261001ResourcesContractsFrenchContractTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
988
988
|
}
|
|
989
989
|
/**
|
|
990
990
|
* Fetch all french_contract_types across all pages into a single array.
|
|
@@ -994,7 +994,7 @@ export class ContractsFrenchContractTypesResource {
|
|
|
994
994
|
return collectAll(this.paginate(options));
|
|
995
995
|
}
|
|
996
996
|
/** Reads a single french_contract_types record */
|
|
997
|
-
get = (options) =>
|
|
997
|
+
get = (options) => getApi20261001ResourcesContractsFrenchContractTypesById({ client: this._client, ...options });
|
|
998
998
|
}
|
|
999
999
|
/** Methods for the contracts > german_contract_types resource */
|
|
1000
1000
|
export class ContractsGermanContractTypesResource {
|
|
@@ -1003,14 +1003,14 @@ export class ContractsGermanContractTypesResource {
|
|
|
1003
1003
|
this._client = _client;
|
|
1004
1004
|
}
|
|
1005
1005
|
/** Lists all german_contract_types */
|
|
1006
|
-
list = (options) =>
|
|
1006
|
+
list = (options) => getApi20261001ResourcesContractsGermanContractTypes({ client: this._client, ...options });
|
|
1007
1007
|
/**
|
|
1008
1008
|
* Auto-paginate through all german_contract_types, yielding one item at a time.
|
|
1009
1009
|
* @example for await (const item of client.contracts.germanContractTypes.paginate()) { ... }
|
|
1010
1010
|
*/
|
|
1011
1011
|
paginate(options) {
|
|
1012
1012
|
const { maxItems, ...rest } = options ?? {};
|
|
1013
|
-
return paginate((params) =>
|
|
1013
|
+
return paginate((params) => getApi20261001ResourcesContractsGermanContractTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1014
1014
|
}
|
|
1015
1015
|
/**
|
|
1016
1016
|
* Fetch all german_contract_types across all pages into a single array.
|
|
@@ -1020,7 +1020,7 @@ export class ContractsGermanContractTypesResource {
|
|
|
1020
1020
|
return collectAll(this.paginate(options));
|
|
1021
1021
|
}
|
|
1022
1022
|
/** Reads a single german_contract_types record */
|
|
1023
|
-
get = (options) =>
|
|
1023
|
+
get = (options) => getApi20261001ResourcesContractsGermanContractTypesById({ client: this._client, ...options });
|
|
1024
1024
|
}
|
|
1025
1025
|
/** Methods for the contracts > materialized_templates resource */
|
|
1026
1026
|
export class ContractsMaterializedTemplatesResource {
|
|
@@ -1029,14 +1029,14 @@ export class ContractsMaterializedTemplatesResource {
|
|
|
1029
1029
|
this._client = _client;
|
|
1030
1030
|
}
|
|
1031
1031
|
/** Lists all materialized_templates */
|
|
1032
|
-
list = (options) =>
|
|
1032
|
+
list = (options) => getApi20261001ResourcesContractsMaterializedTemplates({ client: this._client, ...options });
|
|
1033
1033
|
/**
|
|
1034
1034
|
* Auto-paginate through all materialized_templates, yielding one item at a time.
|
|
1035
1035
|
* @example for await (const item of client.contracts.materializedTemplates.paginate()) { ... }
|
|
1036
1036
|
*/
|
|
1037
1037
|
paginate(options) {
|
|
1038
1038
|
const { maxItems, ...rest } = options ?? {};
|
|
1039
|
-
return paginate((params) =>
|
|
1039
|
+
return paginate((params) => getApi20261001ResourcesContractsMaterializedTemplates({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1040
1040
|
}
|
|
1041
1041
|
/**
|
|
1042
1042
|
* Fetch all materialized_templates across all pages into a single array.
|
|
@@ -1053,14 +1053,14 @@ export class ContractsPortugueseContractTypesResource {
|
|
|
1053
1053
|
this._client = _client;
|
|
1054
1054
|
}
|
|
1055
1055
|
/** Lists all portuguese_contract_types */
|
|
1056
|
-
list = (options) =>
|
|
1056
|
+
list = (options) => getApi20261001ResourcesContractsPortugueseContractTypes({ client: this._client, ...options });
|
|
1057
1057
|
/**
|
|
1058
1058
|
* Auto-paginate through all portuguese_contract_types, yielding one item at a time.
|
|
1059
1059
|
* @example for await (const item of client.contracts.portugueseContractTypes.paginate()) { ... }
|
|
1060
1060
|
*/
|
|
1061
1061
|
paginate(options) {
|
|
1062
1062
|
const { maxItems, ...rest } = options ?? {};
|
|
1063
|
-
return paginate((params) =>
|
|
1063
|
+
return paginate((params) => getApi20261001ResourcesContractsPortugueseContractTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1064
1064
|
}
|
|
1065
1065
|
/**
|
|
1066
1066
|
* Fetch all portuguese_contract_types across all pages into a single array.
|
|
@@ -1070,7 +1070,7 @@ export class ContractsPortugueseContractTypesResource {
|
|
|
1070
1070
|
return collectAll(this.paginate(options));
|
|
1071
1071
|
}
|
|
1072
1072
|
/** Reads a single portuguese_contract_types record */
|
|
1073
|
-
get = (options) =>
|
|
1073
|
+
get = (options) => getApi20261001ResourcesContractsPortugueseContractTypesById({ client: this._client, ...options });
|
|
1074
1074
|
}
|
|
1075
1075
|
/** Methods for the contracts > reference_contracts resource */
|
|
1076
1076
|
export class ContractsReferenceContractsResource {
|
|
@@ -1079,14 +1079,14 @@ export class ContractsReferenceContractsResource {
|
|
|
1079
1079
|
this._client = _client;
|
|
1080
1080
|
}
|
|
1081
1081
|
/** Lists all reference_contracts */
|
|
1082
|
-
list = (options) =>
|
|
1082
|
+
list = (options) => getApi20261001ResourcesContractsReferenceContracts({ client: this._client, ...options });
|
|
1083
1083
|
/**
|
|
1084
1084
|
* Auto-paginate through all reference_contracts, yielding one item at a time.
|
|
1085
1085
|
* @example for await (const item of client.contracts.referenceContracts.paginate()) { ... }
|
|
1086
1086
|
*/
|
|
1087
1087
|
paginate(options) {
|
|
1088
1088
|
const { maxItems, ...rest } = options ?? {};
|
|
1089
|
-
return paginate((params) =>
|
|
1089
|
+
return paginate((params) => getApi20261001ResourcesContractsReferenceContracts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1090
1090
|
}
|
|
1091
1091
|
/**
|
|
1092
1092
|
* Fetch all reference_contracts across all pages into a single array.
|
|
@@ -1103,14 +1103,14 @@ export class ContractsSpanishContractTypesResource {
|
|
|
1103
1103
|
this._client = _client;
|
|
1104
1104
|
}
|
|
1105
1105
|
/** Lists all spanish_contract_types */
|
|
1106
|
-
list = (options) =>
|
|
1106
|
+
list = (options) => getApi20261001ResourcesContractsSpanishContractTypes({ client: this._client, ...options });
|
|
1107
1107
|
/**
|
|
1108
1108
|
* Auto-paginate through all spanish_contract_types, yielding one item at a time.
|
|
1109
1109
|
* @example for await (const item of client.contracts.spanishContractTypes.paginate()) { ... }
|
|
1110
1110
|
*/
|
|
1111
1111
|
paginate(options) {
|
|
1112
1112
|
const { maxItems, ...rest } = options ?? {};
|
|
1113
|
-
return paginate((params) =>
|
|
1113
|
+
return paginate((params) => getApi20261001ResourcesContractsSpanishContractTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1114
1114
|
}
|
|
1115
1115
|
/**
|
|
1116
1116
|
* Fetch all spanish_contract_types across all pages into a single array.
|
|
@@ -1120,9 +1120,9 @@ export class ContractsSpanishContractTypesResource {
|
|
|
1120
1120
|
return collectAll(this.paginate(options));
|
|
1121
1121
|
}
|
|
1122
1122
|
/** Creates a spanish_contract_types record */
|
|
1123
|
-
create = (options) =>
|
|
1123
|
+
create = (options) => postApi20261001ResourcesContractsSpanishContractTypes({ client: this._client, ...options });
|
|
1124
1124
|
/** Reads a single spanish_contract_types record */
|
|
1125
|
-
get = (options) =>
|
|
1125
|
+
get = (options) => getApi20261001ResourcesContractsSpanishContractTypesById({ client: this._client, ...options });
|
|
1126
1126
|
}
|
|
1127
1127
|
/** Methods for the contracts > spanish_education_levels resource */
|
|
1128
1128
|
export class ContractsSpanishEducationLevelsResource {
|
|
@@ -1131,14 +1131,14 @@ export class ContractsSpanishEducationLevelsResource {
|
|
|
1131
1131
|
this._client = _client;
|
|
1132
1132
|
}
|
|
1133
1133
|
/** Lists all spanish_education_levels */
|
|
1134
|
-
list = (options) =>
|
|
1134
|
+
list = (options) => getApi20261001ResourcesContractsSpanishEducationLevels({ client: this._client, ...options });
|
|
1135
1135
|
/**
|
|
1136
1136
|
* Auto-paginate through all spanish_education_levels, yielding one item at a time.
|
|
1137
1137
|
* @example for await (const item of client.contracts.spanishEducationLevels.paginate()) { ... }
|
|
1138
1138
|
*/
|
|
1139
1139
|
paginate(options) {
|
|
1140
1140
|
const { maxItems, ...rest } = options ?? {};
|
|
1141
|
-
return paginate((params) =>
|
|
1141
|
+
return paginate((params) => getApi20261001ResourcesContractsSpanishEducationLevels({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1142
1142
|
}
|
|
1143
1143
|
/**
|
|
1144
1144
|
* Fetch all spanish_education_levels across all pages into a single array.
|
|
@@ -1148,9 +1148,9 @@ export class ContractsSpanishEducationLevelsResource {
|
|
|
1148
1148
|
return collectAll(this.paginate(options));
|
|
1149
1149
|
}
|
|
1150
1150
|
/** Creates a spanish_education_levels record */
|
|
1151
|
-
create = (options) =>
|
|
1151
|
+
create = (options) => postApi20261001ResourcesContractsSpanishEducationLevels({ client: this._client, ...options });
|
|
1152
1152
|
/** Reads a single spanish_education_levels record */
|
|
1153
|
-
get = (options) =>
|
|
1153
|
+
get = (options) => getApi20261001ResourcesContractsSpanishEducationLevelsById({ client: this._client, ...options });
|
|
1154
1154
|
}
|
|
1155
1155
|
/** Methods for the contracts > spanish_professional_categories resource */
|
|
1156
1156
|
export class ContractsSpanishProfessionalCategoriesResource {
|
|
@@ -1159,14 +1159,14 @@ export class ContractsSpanishProfessionalCategoriesResource {
|
|
|
1159
1159
|
this._client = _client;
|
|
1160
1160
|
}
|
|
1161
1161
|
/** Lists all spanish_professional_categories */
|
|
1162
|
-
list = (options) =>
|
|
1162
|
+
list = (options) => getApi20261001ResourcesContractsSpanishProfessionalCategories({ client: this._client, ...options });
|
|
1163
1163
|
/**
|
|
1164
1164
|
* Auto-paginate through all spanish_professional_categories, yielding one item at a time.
|
|
1165
1165
|
* @example for await (const item of client.contracts.spanishProfessionalCategories.paginate()) { ... }
|
|
1166
1166
|
*/
|
|
1167
1167
|
paginate(options) {
|
|
1168
1168
|
const { maxItems, ...rest } = options ?? {};
|
|
1169
|
-
return paginate((params) =>
|
|
1169
|
+
return paginate((params) => getApi20261001ResourcesContractsSpanishProfessionalCategories({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1170
1170
|
}
|
|
1171
1171
|
/**
|
|
1172
1172
|
* Fetch all spanish_professional_categories across all pages into a single array.
|
|
@@ -1176,9 +1176,9 @@ export class ContractsSpanishProfessionalCategoriesResource {
|
|
|
1176
1176
|
return collectAll(this.paginate(options));
|
|
1177
1177
|
}
|
|
1178
1178
|
/** Creates a spanish_professional_categories record */
|
|
1179
|
-
create = (options) =>
|
|
1179
|
+
create = (options) => postApi20261001ResourcesContractsSpanishProfessionalCategories({ client: this._client, ...options });
|
|
1180
1180
|
/** Reads a single spanish_professional_categories record */
|
|
1181
|
-
get = (options) =>
|
|
1181
|
+
get = (options) => getApi20261001ResourcesContractsSpanishProfessionalCategoriesById({ client: this._client, ...options });
|
|
1182
1182
|
}
|
|
1183
1183
|
/** Methods for the contracts > spanish_working_day_types resource */
|
|
1184
1184
|
export class ContractsSpanishWorkingDayTypesResource {
|
|
@@ -1187,14 +1187,14 @@ export class ContractsSpanishWorkingDayTypesResource {
|
|
|
1187
1187
|
this._client = _client;
|
|
1188
1188
|
}
|
|
1189
1189
|
/** Lists all spanish_working_day_types */
|
|
1190
|
-
list = (options) =>
|
|
1190
|
+
list = (options) => getApi20261001ResourcesContractsSpanishWorkingDayTypes({ client: this._client, ...options });
|
|
1191
1191
|
/**
|
|
1192
1192
|
* Auto-paginate through all spanish_working_day_types, yielding one item at a time.
|
|
1193
1193
|
* @example for await (const item of client.contracts.spanishWorkingDayTypes.paginate()) { ... }
|
|
1194
1194
|
*/
|
|
1195
1195
|
paginate(options) {
|
|
1196
1196
|
const { maxItems, ...rest } = options ?? {};
|
|
1197
|
-
return paginate((params) =>
|
|
1197
|
+
return paginate((params) => getApi20261001ResourcesContractsSpanishWorkingDayTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1198
1198
|
}
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Fetch all spanish_working_day_types across all pages into a single array.
|
|
@@ -1204,9 +1204,9 @@ export class ContractsSpanishWorkingDayTypesResource {
|
|
|
1204
1204
|
return collectAll(this.paginate(options));
|
|
1205
1205
|
}
|
|
1206
1206
|
/** Creates a spanish_working_day_types record */
|
|
1207
|
-
create = (options) =>
|
|
1207
|
+
create = (options) => postApi20261001ResourcesContractsSpanishWorkingDayTypes({ client: this._client, ...options });
|
|
1208
1208
|
/** Reads a single spanish_working_day_types record */
|
|
1209
|
-
get = (options) =>
|
|
1209
|
+
get = (options) => getApi20261001ResourcesContractsSpanishWorkingDayTypesById({ client: this._client, ...options });
|
|
1210
1210
|
}
|
|
1211
1211
|
/** Methods for the contracts > taxonomies resource */
|
|
1212
1212
|
export class ContractsTaxonomiesResource {
|
|
@@ -1215,14 +1215,14 @@ export class ContractsTaxonomiesResource {
|
|
|
1215
1215
|
this._client = _client;
|
|
1216
1216
|
}
|
|
1217
1217
|
/** Lists all taxonomies */
|
|
1218
|
-
list = (options) =>
|
|
1218
|
+
list = (options) => getApi20261001ResourcesContractsTaxonomies({ client: this._client, ...options });
|
|
1219
1219
|
/**
|
|
1220
1220
|
* Auto-paginate through all taxonomies, yielding one item at a time.
|
|
1221
1221
|
* @example for await (const item of client.contracts.taxonomies.paginate()) { ... }
|
|
1222
1222
|
*/
|
|
1223
1223
|
paginate(options) {
|
|
1224
1224
|
const { maxItems, ...rest } = options ?? {};
|
|
1225
|
-
return paginate((params) =>
|
|
1225
|
+
return paginate((params) => getApi20261001ResourcesContractsTaxonomies({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1226
1226
|
}
|
|
1227
1227
|
/**
|
|
1228
1228
|
* Fetch all taxonomies across all pages into a single array.
|
|
@@ -1232,7 +1232,7 @@ export class ContractsTaxonomiesResource {
|
|
|
1232
1232
|
return collectAll(this.paginate(options));
|
|
1233
1233
|
}
|
|
1234
1234
|
/** Reads a single taxonomies record */
|
|
1235
|
-
get = (options) =>
|
|
1235
|
+
get = (options) => getApi20261001ResourcesContractsTaxonomiesById({ client: this._client, ...options });
|
|
1236
1236
|
}
|
|
1237
1237
|
/** Methods for the custom_fields > fields resource */
|
|
1238
1238
|
export class CustomFieldsFieldsResource {
|
|
@@ -1241,14 +1241,14 @@ export class CustomFieldsFieldsResource {
|
|
|
1241
1241
|
this._client = _client;
|
|
1242
1242
|
}
|
|
1243
1243
|
/** Lists all fields */
|
|
1244
|
-
list = (options) =>
|
|
1244
|
+
list = (options) => getApi20261001ResourcesCustomFieldsFields({ client: this._client, ...options });
|
|
1245
1245
|
/**
|
|
1246
1246
|
* Auto-paginate through all fields, yielding one item at a time.
|
|
1247
1247
|
* @example for await (const item of client.customFields.fields.paginate()) { ... }
|
|
1248
1248
|
*/
|
|
1249
1249
|
paginate(options) {
|
|
1250
1250
|
const { maxItems, ...rest } = options ?? {};
|
|
1251
|
-
return paginate((params) =>
|
|
1251
|
+
return paginate((params) => getApi20261001ResourcesCustomFieldsFields({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1252
1252
|
}
|
|
1253
1253
|
/**
|
|
1254
1254
|
* Fetch all fields across all pages into a single array.
|
|
@@ -1258,11 +1258,11 @@ export class CustomFieldsFieldsResource {
|
|
|
1258
1258
|
return collectAll(this.paginate(options));
|
|
1259
1259
|
}
|
|
1260
1260
|
/** Creates a fields record */
|
|
1261
|
-
create = (options) =>
|
|
1261
|
+
create = (options) => postApi20261001ResourcesCustomFieldsFields({ client: this._client, ...options });
|
|
1262
1262
|
/** Reads a single fields record */
|
|
1263
|
-
get = (options) =>
|
|
1263
|
+
get = (options) => getApi20261001ResourcesCustomFieldsFieldsById({ client: this._client, ...options });
|
|
1264
1264
|
/** Deletes a fields record */
|
|
1265
|
-
delete = (options) =>
|
|
1265
|
+
delete = (options) => deleteApi20261001ResourcesCustomFieldsFieldsById({ client: this._client, ...options });
|
|
1266
1266
|
}
|
|
1267
1267
|
/** Methods for the custom_fields > options resource */
|
|
1268
1268
|
export class CustomFieldsOptionsResource {
|
|
@@ -1271,14 +1271,14 @@ export class CustomFieldsOptionsResource {
|
|
|
1271
1271
|
this._client = _client;
|
|
1272
1272
|
}
|
|
1273
1273
|
/** Lists all options */
|
|
1274
|
-
list = (options) =>
|
|
1274
|
+
list = (options) => getApi20261001ResourcesCustomFieldsOptions({ client: this._client, ...options });
|
|
1275
1275
|
/**
|
|
1276
1276
|
* Auto-paginate through all options, yielding one item at a time.
|
|
1277
1277
|
* @example for await (const item of client.customFields.options.paginate()) { ... }
|
|
1278
1278
|
*/
|
|
1279
1279
|
paginate(options) {
|
|
1280
1280
|
const { maxItems, ...rest } = options ?? {};
|
|
1281
|
-
return paginate((params) =>
|
|
1281
|
+
return paginate((params) => getApi20261001ResourcesCustomFieldsOptions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1282
1282
|
}
|
|
1283
1283
|
/**
|
|
1284
1284
|
* Fetch all options across all pages into a single array.
|
|
@@ -1288,9 +1288,9 @@ export class CustomFieldsOptionsResource {
|
|
|
1288
1288
|
return collectAll(this.paginate(options));
|
|
1289
1289
|
}
|
|
1290
1290
|
/** Creates a options record */
|
|
1291
|
-
create = (options) =>
|
|
1291
|
+
create = (options) => postApi20261001ResourcesCustomFieldsOptions({ client: this._client, ...options });
|
|
1292
1292
|
/** Reads a single options record */
|
|
1293
|
-
get = (options) =>
|
|
1293
|
+
get = (options) => getApi20261001ResourcesCustomFieldsOptionsById({ client: this._client, ...options });
|
|
1294
1294
|
}
|
|
1295
1295
|
/** Methods for the custom_fields > resource_fields resource */
|
|
1296
1296
|
export class CustomFieldsResourceFieldsResource {
|
|
@@ -1299,14 +1299,14 @@ export class CustomFieldsResourceFieldsResource {
|
|
|
1299
1299
|
this._client = _client;
|
|
1300
1300
|
}
|
|
1301
1301
|
/** Lists all resource_fields */
|
|
1302
|
-
list = (options) =>
|
|
1302
|
+
list = (options) => getApi20261001ResourcesCustomFieldsResourceFields({ client: this._client, ...options });
|
|
1303
1303
|
/**
|
|
1304
1304
|
* Auto-paginate through all resource_fields, yielding one item at a time.
|
|
1305
1305
|
* @example for await (const item of client.customFields.resourceFields.paginate()) { ... }
|
|
1306
1306
|
*/
|
|
1307
1307
|
paginate(options) {
|
|
1308
1308
|
const { maxItems, ...rest } = options ?? {};
|
|
1309
|
-
return paginate((params) =>
|
|
1309
|
+
return paginate((params) => getApi20261001ResourcesCustomFieldsResourceFields({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1310
1310
|
}
|
|
1311
1311
|
/**
|
|
1312
1312
|
* Fetch all resource_fields across all pages into a single array.
|
|
@@ -1316,9 +1316,9 @@ export class CustomFieldsResourceFieldsResource {
|
|
|
1316
1316
|
return collectAll(this.paginate(options));
|
|
1317
1317
|
}
|
|
1318
1318
|
/** Creates a resource_fields record */
|
|
1319
|
-
create = (options) =>
|
|
1319
|
+
create = (options) => postApi20261001ResourcesCustomFieldsResourceFields({ client: this._client, ...options });
|
|
1320
1320
|
/** Reads a single resource_fields record */
|
|
1321
|
-
get = (options) =>
|
|
1321
|
+
get = (options) => getApi20261001ResourcesCustomFieldsResourceFieldsById({ client: this._client, ...options });
|
|
1322
1322
|
}
|
|
1323
1323
|
/** Methods for the custom_fields > values resource */
|
|
1324
1324
|
export class CustomFieldsValuesResource {
|
|
@@ -1327,14 +1327,14 @@ export class CustomFieldsValuesResource {
|
|
|
1327
1327
|
this._client = _client;
|
|
1328
1328
|
}
|
|
1329
1329
|
/** Lists all values */
|
|
1330
|
-
list = (options) =>
|
|
1330
|
+
list = (options) => getApi20261001ResourcesCustomFieldsValues({ client: this._client, ...options });
|
|
1331
1331
|
/**
|
|
1332
1332
|
* Auto-paginate through all values, yielding one item at a time.
|
|
1333
1333
|
* @example for await (const item of client.customFields.values.paginate()) { ... }
|
|
1334
1334
|
*/
|
|
1335
1335
|
paginate(options) {
|
|
1336
1336
|
const { maxItems, ...rest } = options ?? {};
|
|
1337
|
-
return paginate((params) =>
|
|
1337
|
+
return paginate((params) => getApi20261001ResourcesCustomFieldsValues({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1338
1338
|
}
|
|
1339
1339
|
/**
|
|
1340
1340
|
* Fetch all values across all pages into a single array.
|
|
@@ -1344,11 +1344,11 @@ export class CustomFieldsValuesResource {
|
|
|
1344
1344
|
return collectAll(this.paginate(options));
|
|
1345
1345
|
}
|
|
1346
1346
|
/** Creates a values record */
|
|
1347
|
-
create = (options) =>
|
|
1347
|
+
create = (options) => postApi20261001ResourcesCustomFieldsValues({ client: this._client, ...options });
|
|
1348
1348
|
/** Reads a single values record */
|
|
1349
|
-
get = (options) =>
|
|
1349
|
+
get = (options) => getApi20261001ResourcesCustomFieldsValuesById({ client: this._client, ...options });
|
|
1350
1350
|
/** Updates a values record */
|
|
1351
|
-
update = (options) =>
|
|
1351
|
+
update = (options) => putApi20261001ResourcesCustomFieldsValuesById({ client: this._client, ...options });
|
|
1352
1352
|
}
|
|
1353
1353
|
/** Methods for the custom_resources > resources resource */
|
|
1354
1354
|
export class CustomResourcesResourcesResource {
|
|
@@ -1357,14 +1357,14 @@ export class CustomResourcesResourcesResource {
|
|
|
1357
1357
|
this._client = _client;
|
|
1358
1358
|
}
|
|
1359
1359
|
/** Lists all resources */
|
|
1360
|
-
list = (options) =>
|
|
1360
|
+
list = (options) => getApi20261001ResourcesCustomResourcesResources({ client: this._client, ...options });
|
|
1361
1361
|
/**
|
|
1362
1362
|
* Auto-paginate through all resources, yielding one item at a time.
|
|
1363
1363
|
* @example for await (const item of client.customResources.resources.paginate()) { ... }
|
|
1364
1364
|
*/
|
|
1365
1365
|
paginate(options) {
|
|
1366
1366
|
const { maxItems, ...rest } = options ?? {};
|
|
1367
|
-
return paginate((params) =>
|
|
1367
|
+
return paginate((params) => getApi20261001ResourcesCustomResourcesResources({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1368
1368
|
}
|
|
1369
1369
|
/**
|
|
1370
1370
|
* Fetch all resources across all pages into a single array.
|
|
@@ -1374,7 +1374,7 @@ export class CustomResourcesResourcesResource {
|
|
|
1374
1374
|
return collectAll(this.paginate(options));
|
|
1375
1375
|
}
|
|
1376
1376
|
/** Reads a single resources record */
|
|
1377
|
-
get = (options) =>
|
|
1377
|
+
get = (options) => getApi20261001ResourcesCustomResourcesResourcesById({ client: this._client, ...options });
|
|
1378
1378
|
}
|
|
1379
1379
|
/** Methods for the custom_resources > schemas resource */
|
|
1380
1380
|
export class CustomResourcesSchemasResource {
|
|
@@ -1383,14 +1383,14 @@ export class CustomResourcesSchemasResource {
|
|
|
1383
1383
|
this._client = _client;
|
|
1384
1384
|
}
|
|
1385
1385
|
/** Lists all schemas */
|
|
1386
|
-
list = (options) =>
|
|
1386
|
+
list = (options) => getApi20261001ResourcesCustomResourcesSchemas({ client: this._client, ...options });
|
|
1387
1387
|
/**
|
|
1388
1388
|
* Auto-paginate through all schemas, yielding one item at a time.
|
|
1389
1389
|
* @example for await (const item of client.customResources.schemas.paginate()) { ... }
|
|
1390
1390
|
*/
|
|
1391
1391
|
paginate(options) {
|
|
1392
1392
|
const { maxItems, ...rest } = options ?? {};
|
|
1393
|
-
return paginate((params) =>
|
|
1393
|
+
return paginate((params) => getApi20261001ResourcesCustomResourcesSchemas({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1394
1394
|
}
|
|
1395
1395
|
/**
|
|
1396
1396
|
* Fetch all schemas across all pages into a single array.
|
|
@@ -1400,9 +1400,9 @@ export class CustomResourcesSchemasResource {
|
|
|
1400
1400
|
return collectAll(this.paginate(options));
|
|
1401
1401
|
}
|
|
1402
1402
|
/** Creates a schemas record */
|
|
1403
|
-
create = (options) =>
|
|
1403
|
+
create = (options) => postApi20261001ResourcesCustomResourcesSchemas({ client: this._client, ...options });
|
|
1404
1404
|
/** Reads a single schemas record */
|
|
1405
|
-
get = (options) =>
|
|
1405
|
+
get = (options) => getApi20261001ResourcesCustomResourcesSchemasById({ client: this._client, ...options });
|
|
1406
1406
|
}
|
|
1407
1407
|
/** Methods for the custom_resources > values resource */
|
|
1408
1408
|
export class CustomResourcesValuesResource {
|
|
@@ -1411,14 +1411,14 @@ export class CustomResourcesValuesResource {
|
|
|
1411
1411
|
this._client = _client;
|
|
1412
1412
|
}
|
|
1413
1413
|
/** Lists all values */
|
|
1414
|
-
list = (options) =>
|
|
1414
|
+
list = (options) => getApi20261001ResourcesCustomResourcesValues({ client: this._client, ...options });
|
|
1415
1415
|
/**
|
|
1416
1416
|
* Auto-paginate through all values, yielding one item at a time.
|
|
1417
1417
|
* @example for await (const item of client.customResources.values.paginate()) { ... }
|
|
1418
1418
|
*/
|
|
1419
1419
|
paginate(options) {
|
|
1420
1420
|
const { maxItems, ...rest } = options ?? {};
|
|
1421
|
-
return paginate((params) =>
|
|
1421
|
+
return paginate((params) => getApi20261001ResourcesCustomResourcesValues({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1422
1422
|
}
|
|
1423
1423
|
/**
|
|
1424
1424
|
* Fetch all values across all pages into a single array.
|
|
@@ -1428,9 +1428,9 @@ export class CustomResourcesValuesResource {
|
|
|
1428
1428
|
return collectAll(this.paginate(options));
|
|
1429
1429
|
}
|
|
1430
1430
|
/** Creates a values record */
|
|
1431
|
-
create = (options) =>
|
|
1431
|
+
create = (options) => postApi20261001ResourcesCustomResourcesValues({ client: this._client, ...options });
|
|
1432
1432
|
/** Reads a single values record */
|
|
1433
|
-
get = (options) =>
|
|
1433
|
+
get = (options) => getApi20261001ResourcesCustomResourcesValuesById({ client: this._client, ...options });
|
|
1434
1434
|
}
|
|
1435
1435
|
/** Methods for the documents > documents resource */
|
|
1436
1436
|
export class DocumentsDocumentsResource {
|
|
@@ -1439,14 +1439,14 @@ export class DocumentsDocumentsResource {
|
|
|
1439
1439
|
this._client = _client;
|
|
1440
1440
|
}
|
|
1441
1441
|
/** Lists all documents */
|
|
1442
|
-
list = (options) =>
|
|
1442
|
+
list = (options) => getApi20261001ResourcesDocumentsDocuments({ client: this._client, ...options });
|
|
1443
1443
|
/**
|
|
1444
1444
|
* Auto-paginate through all documents, yielding one item at a time.
|
|
1445
1445
|
* @example for await (const item of client.documents.documents.paginate()) { ... }
|
|
1446
1446
|
*/
|
|
1447
1447
|
paginate(options) {
|
|
1448
1448
|
const { maxItems, ...rest } = options ?? {};
|
|
1449
|
-
return paginate((params) =>
|
|
1449
|
+
return paginate((params) => getApi20261001ResourcesDocumentsDocuments({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1450
1450
|
}
|
|
1451
1451
|
/**
|
|
1452
1452
|
* Fetch all documents across all pages into a single array.
|
|
@@ -1456,17 +1456,17 @@ export class DocumentsDocumentsResource {
|
|
|
1456
1456
|
return collectAll(this.paginate(options));
|
|
1457
1457
|
}
|
|
1458
1458
|
/** Creates a documents record */
|
|
1459
|
-
create = (options) =>
|
|
1459
|
+
create = (options) => postApi20261001ResourcesDocumentsDocuments({ client: this._client, ...options });
|
|
1460
1460
|
/** Reads a single documents record */
|
|
1461
|
-
get = (options) =>
|
|
1461
|
+
get = (options) => getApi20261001ResourcesDocumentsDocumentsById({ client: this._client, ...options });
|
|
1462
1462
|
/** Updates a documents record */
|
|
1463
|
-
update = (options) =>
|
|
1463
|
+
update = (options) => putApi20261001ResourcesDocumentsDocumentsById({ client: this._client, ...options });
|
|
1464
1464
|
/** Deletes a documents record */
|
|
1465
|
-
delete = (options) =>
|
|
1465
|
+
delete = (options) => deleteApi20261001ResourcesDocumentsDocumentsById({ client: this._client, ...options });
|
|
1466
1466
|
/** moveToTrashBin */
|
|
1467
|
-
moveToTrashBin = (options) =>
|
|
1467
|
+
moveToTrashBin = (options) => postApi20261001ResourcesDocumentsDocumentsMoveToTrashBin({ client: this._client, ...options });
|
|
1468
1468
|
/** restoreFromTrashBin */
|
|
1469
|
-
restoreFromTrashBin = (options) =>
|
|
1469
|
+
restoreFromTrashBin = (options) => postApi20261001ResourcesDocumentsDocumentsRestoreFromTrashBin({ client: this._client, ...options });
|
|
1470
1470
|
}
|
|
1471
1471
|
/** Methods for the documents > download_urls resource */
|
|
1472
1472
|
export class DocumentsDownloadUrlsResource {
|
|
@@ -1475,7 +1475,7 @@ export class DocumentsDownloadUrlsResource {
|
|
|
1475
1475
|
this._client = _client;
|
|
1476
1476
|
}
|
|
1477
1477
|
/** bulkCreate */
|
|
1478
|
-
bulkCreate = (options) =>
|
|
1478
|
+
bulkCreate = (options) => postApi20261001ResourcesDocumentsDownloadUrlsBulkCreate({ client: this._client, ...options });
|
|
1479
1479
|
}
|
|
1480
1480
|
/** Methods for the documents > folders resource */
|
|
1481
1481
|
export class DocumentsFoldersResource {
|
|
@@ -1484,14 +1484,14 @@ export class DocumentsFoldersResource {
|
|
|
1484
1484
|
this._client = _client;
|
|
1485
1485
|
}
|
|
1486
1486
|
/** Lists all folders */
|
|
1487
|
-
list = (options) =>
|
|
1487
|
+
list = (options) => getApi20261001ResourcesDocumentsFolders({ client: this._client, ...options });
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Auto-paginate through all folders, yielding one item at a time.
|
|
1490
1490
|
* @example for await (const item of client.documents.folders.paginate()) { ... }
|
|
1491
1491
|
*/
|
|
1492
1492
|
paginate(options) {
|
|
1493
1493
|
const { maxItems, ...rest } = options ?? {};
|
|
1494
|
-
return paginate((params) =>
|
|
1494
|
+
return paginate((params) => getApi20261001ResourcesDocumentsFolders({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1495
1495
|
}
|
|
1496
1496
|
/**
|
|
1497
1497
|
* Fetch all folders across all pages into a single array.
|
|
@@ -1501,11 +1501,11 @@ export class DocumentsFoldersResource {
|
|
|
1501
1501
|
return collectAll(this.paginate(options));
|
|
1502
1502
|
}
|
|
1503
1503
|
/** Creates a folders record */
|
|
1504
|
-
create = (options) =>
|
|
1504
|
+
create = (options) => postApi20261001ResourcesDocumentsFolders({ client: this._client, ...options });
|
|
1505
1505
|
/** Reads a single folders record */
|
|
1506
|
-
get = (options) =>
|
|
1506
|
+
get = (options) => getApi20261001ResourcesDocumentsFoldersById({ client: this._client, ...options });
|
|
1507
1507
|
/** Updates a folders record */
|
|
1508
|
-
update = (options) =>
|
|
1508
|
+
update = (options) => putApi20261001ResourcesDocumentsFoldersById({ client: this._client, ...options });
|
|
1509
1509
|
}
|
|
1510
1510
|
/** Methods for the employee_updates > absences resource */
|
|
1511
1511
|
export class EmployeeUpdatesAbsencesResource {
|
|
@@ -1514,14 +1514,14 @@ export class EmployeeUpdatesAbsencesResource {
|
|
|
1514
1514
|
this._client = _client;
|
|
1515
1515
|
}
|
|
1516
1516
|
/** Lists all absences */
|
|
1517
|
-
list = (options) =>
|
|
1517
|
+
list = (options) => getApi20261001ResourcesEmployeeUpdatesAbsences({ client: this._client, ...options });
|
|
1518
1518
|
/**
|
|
1519
1519
|
* Auto-paginate through all absences, yielding one item at a time.
|
|
1520
1520
|
* @example for await (const item of client.employeeUpdates.absences.paginate()) { ... }
|
|
1521
1521
|
*/
|
|
1522
1522
|
paginate(options) {
|
|
1523
1523
|
const { maxItems, ...rest } = options ?? {};
|
|
1524
|
-
return paginate((params) =>
|
|
1524
|
+
return paginate((params) => getApi20261001ResourcesEmployeeUpdatesAbsences({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1525
1525
|
}
|
|
1526
1526
|
/**
|
|
1527
1527
|
* Fetch all absences across all pages into a single array.
|
|
@@ -1531,7 +1531,7 @@ export class EmployeeUpdatesAbsencesResource {
|
|
|
1531
1531
|
return collectAll(this.paginate(options));
|
|
1532
1532
|
}
|
|
1533
1533
|
/** Reads a single absences record */
|
|
1534
|
-
get = (options) =>
|
|
1534
|
+
get = (options) => getApi20261001ResourcesEmployeeUpdatesAbsencesById({ client: this._client, ...options });
|
|
1535
1535
|
}
|
|
1536
1536
|
/** Methods for the employee_updates > contract_changes resource */
|
|
1537
1537
|
export class EmployeeUpdatesContractChangesResource {
|
|
@@ -1540,14 +1540,14 @@ export class EmployeeUpdatesContractChangesResource {
|
|
|
1540
1540
|
this._client = _client;
|
|
1541
1541
|
}
|
|
1542
1542
|
/** Lists all contract_changes */
|
|
1543
|
-
list = (options) =>
|
|
1543
|
+
list = (options) => getApi20261001ResourcesEmployeeUpdatesContractChanges({ client: this._client, ...options });
|
|
1544
1544
|
/**
|
|
1545
1545
|
* Auto-paginate through all contract_changes, yielding one item at a time.
|
|
1546
1546
|
* @example for await (const item of client.employeeUpdates.contractChanges.paginate()) { ... }
|
|
1547
1547
|
*/
|
|
1548
1548
|
paginate(options) {
|
|
1549
1549
|
const { maxItems, ...rest } = options ?? {};
|
|
1550
|
-
return paginate((params) =>
|
|
1550
|
+
return paginate((params) => getApi20261001ResourcesEmployeeUpdatesContractChanges({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1551
1551
|
}
|
|
1552
1552
|
/**
|
|
1553
1553
|
* Fetch all contract_changes across all pages into a single array.
|
|
@@ -1557,7 +1557,7 @@ export class EmployeeUpdatesContractChangesResource {
|
|
|
1557
1557
|
return collectAll(this.paginate(options));
|
|
1558
1558
|
}
|
|
1559
1559
|
/** Reads a single contract_changes record */
|
|
1560
|
-
get = (options) =>
|
|
1560
|
+
get = (options) => getApi20261001ResourcesEmployeeUpdatesContractChangesById({ client: this._client, ...options });
|
|
1561
1561
|
}
|
|
1562
1562
|
/** Methods for the employee_updates > new_hires resource */
|
|
1563
1563
|
export class EmployeeUpdatesNewHiresResource {
|
|
@@ -1566,14 +1566,14 @@ export class EmployeeUpdatesNewHiresResource {
|
|
|
1566
1566
|
this._client = _client;
|
|
1567
1567
|
}
|
|
1568
1568
|
/** Lists all new_hires */
|
|
1569
|
-
list = (options) =>
|
|
1569
|
+
list = (options) => getApi20261001ResourcesEmployeeUpdatesNewHires({ client: this._client, ...options });
|
|
1570
1570
|
/**
|
|
1571
1571
|
* Auto-paginate through all new_hires, yielding one item at a time.
|
|
1572
1572
|
* @example for await (const item of client.employeeUpdates.newHires.paginate()) { ... }
|
|
1573
1573
|
*/
|
|
1574
1574
|
paginate(options) {
|
|
1575
1575
|
const { maxItems, ...rest } = options ?? {};
|
|
1576
|
-
return paginate((params) =>
|
|
1576
|
+
return paginate((params) => getApi20261001ResourcesEmployeeUpdatesNewHires({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1577
1577
|
}
|
|
1578
1578
|
/**
|
|
1579
1579
|
* Fetch all new_hires across all pages into a single array.
|
|
@@ -1583,7 +1583,7 @@ export class EmployeeUpdatesNewHiresResource {
|
|
|
1583
1583
|
return collectAll(this.paginate(options));
|
|
1584
1584
|
}
|
|
1585
1585
|
/** Reads a single new_hires record */
|
|
1586
|
-
get = (options) =>
|
|
1586
|
+
get = (options) => getApi20261001ResourcesEmployeeUpdatesNewHiresById({ client: this._client, ...options });
|
|
1587
1587
|
}
|
|
1588
1588
|
/** Methods for the employee_updates > personal_changes resource */
|
|
1589
1589
|
export class EmployeeUpdatesPersonalChangesResource {
|
|
@@ -1592,14 +1592,14 @@ export class EmployeeUpdatesPersonalChangesResource {
|
|
|
1592
1592
|
this._client = _client;
|
|
1593
1593
|
}
|
|
1594
1594
|
/** Lists all personal_changes */
|
|
1595
|
-
list = (options) =>
|
|
1595
|
+
list = (options) => getApi20261001ResourcesEmployeeUpdatesPersonalChanges({ client: this._client, ...options });
|
|
1596
1596
|
/**
|
|
1597
1597
|
* Auto-paginate through all personal_changes, yielding one item at a time.
|
|
1598
1598
|
* @example for await (const item of client.employeeUpdates.personalChanges.paginate()) { ... }
|
|
1599
1599
|
*/
|
|
1600
1600
|
paginate(options) {
|
|
1601
1601
|
const { maxItems, ...rest } = options ?? {};
|
|
1602
|
-
return paginate((params) =>
|
|
1602
|
+
return paginate((params) => getApi20261001ResourcesEmployeeUpdatesPersonalChanges({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1603
1603
|
}
|
|
1604
1604
|
/**
|
|
1605
1605
|
* Fetch all personal_changes across all pages into a single array.
|
|
@@ -1609,7 +1609,7 @@ export class EmployeeUpdatesPersonalChangesResource {
|
|
|
1609
1609
|
return collectAll(this.paginate(options));
|
|
1610
1610
|
}
|
|
1611
1611
|
/** Reads a single personal_changes record */
|
|
1612
|
-
get = (options) =>
|
|
1612
|
+
get = (options) => getApi20261001ResourcesEmployeeUpdatesPersonalChangesById({ client: this._client, ...options });
|
|
1613
1613
|
}
|
|
1614
1614
|
/** Methods for the employee_updates > summaries resource */
|
|
1615
1615
|
export class EmployeeUpdatesSummariesResource {
|
|
@@ -1618,14 +1618,14 @@ export class EmployeeUpdatesSummariesResource {
|
|
|
1618
1618
|
this._client = _client;
|
|
1619
1619
|
}
|
|
1620
1620
|
/** Lists all summaries */
|
|
1621
|
-
list = (options) =>
|
|
1621
|
+
list = (options) => getApi20261001ResourcesEmployeeUpdatesSummaries({ client: this._client, ...options });
|
|
1622
1622
|
/**
|
|
1623
1623
|
* Auto-paginate through all summaries, yielding one item at a time.
|
|
1624
1624
|
* @example for await (const item of client.employeeUpdates.summaries.paginate()) { ... }
|
|
1625
1625
|
*/
|
|
1626
1626
|
paginate(options) {
|
|
1627
1627
|
const { maxItems, ...rest } = options ?? {};
|
|
1628
|
-
return paginate((params) =>
|
|
1628
|
+
return paginate((params) => getApi20261001ResourcesEmployeeUpdatesSummaries({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1629
1629
|
}
|
|
1630
1630
|
/**
|
|
1631
1631
|
* Fetch all summaries across all pages into a single array.
|
|
@@ -1635,7 +1635,7 @@ export class EmployeeUpdatesSummariesResource {
|
|
|
1635
1635
|
return collectAll(this.paginate(options));
|
|
1636
1636
|
}
|
|
1637
1637
|
/** Reads a single summaries record */
|
|
1638
|
-
get = (options) =>
|
|
1638
|
+
get = (options) => getApi20261001ResourcesEmployeeUpdatesSummariesById({ client: this._client, ...options });
|
|
1639
1639
|
}
|
|
1640
1640
|
/** Methods for the employee_updates > terminations resource */
|
|
1641
1641
|
export class EmployeeUpdatesTerminationsResource {
|
|
@@ -1644,14 +1644,14 @@ export class EmployeeUpdatesTerminationsResource {
|
|
|
1644
1644
|
this._client = _client;
|
|
1645
1645
|
}
|
|
1646
1646
|
/** Lists all terminations */
|
|
1647
|
-
list = (options) =>
|
|
1647
|
+
list = (options) => getApi20261001ResourcesEmployeeUpdatesTerminations({ client: this._client, ...options });
|
|
1648
1648
|
/**
|
|
1649
1649
|
* Auto-paginate through all terminations, yielding one item at a time.
|
|
1650
1650
|
* @example for await (const item of client.employeeUpdates.terminations.paginate()) { ... }
|
|
1651
1651
|
*/
|
|
1652
1652
|
paginate(options) {
|
|
1653
1653
|
const { maxItems, ...rest } = options ?? {};
|
|
1654
|
-
return paginate((params) =>
|
|
1654
|
+
return paginate((params) => getApi20261001ResourcesEmployeeUpdatesTerminations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1655
1655
|
}
|
|
1656
1656
|
/**
|
|
1657
1657
|
* Fetch all terminations across all pages into a single array.
|
|
@@ -1661,7 +1661,7 @@ export class EmployeeUpdatesTerminationsResource {
|
|
|
1661
1661
|
return collectAll(this.paginate(options));
|
|
1662
1662
|
}
|
|
1663
1663
|
/** Reads a single terminations record */
|
|
1664
|
-
get = (options) =>
|
|
1664
|
+
get = (options) => getApi20261001ResourcesEmployeeUpdatesTerminationsById({ client: this._client, ...options });
|
|
1665
1665
|
}
|
|
1666
1666
|
/** Methods for the employees > employees resource */
|
|
1667
1667
|
export class EmployeesEmployeesResource {
|
|
@@ -1670,14 +1670,14 @@ export class EmployeesEmployeesResource {
|
|
|
1670
1670
|
this._client = _client;
|
|
1671
1671
|
}
|
|
1672
1672
|
/** Lists all employees */
|
|
1673
|
-
list = (options) =>
|
|
1673
|
+
list = (options) => getApi20261001ResourcesEmployeesEmployees({ client: this._client, ...options });
|
|
1674
1674
|
/**
|
|
1675
1675
|
* Auto-paginate through all employees, yielding one item at a time.
|
|
1676
1676
|
* @example for await (const item of client.employees.employees.paginate()) { ... }
|
|
1677
1677
|
*/
|
|
1678
1678
|
paginate(options) {
|
|
1679
1679
|
const { maxItems, ...rest } = options ?? {};
|
|
1680
|
-
return paginate((params) =>
|
|
1680
|
+
return paginate((params) => getApi20261001ResourcesEmployeesEmployees({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1681
1681
|
}
|
|
1682
1682
|
/**
|
|
1683
1683
|
* Fetch all employees across all pages into a single array.
|
|
@@ -1687,19 +1687,19 @@ export class EmployeesEmployeesResource {
|
|
|
1687
1687
|
return collectAll(this.paginate(options));
|
|
1688
1688
|
}
|
|
1689
1689
|
/** Reads a single employees record */
|
|
1690
|
-
get = (options) =>
|
|
1690
|
+
get = (options) => getApi20261001ResourcesEmployeesEmployeesById({ client: this._client, ...options });
|
|
1691
1691
|
/** Updates a employees record */
|
|
1692
|
-
update = (options) =>
|
|
1692
|
+
update = (options) => putApi20261001ResourcesEmployeesEmployeesById({ client: this._client, ...options });
|
|
1693
1693
|
/** createWithContract */
|
|
1694
|
-
createWithContract = (options) =>
|
|
1694
|
+
createWithContract = (options) => postApi20261001ResourcesEmployeesEmployeesCreateWithContract({ client: this._client, ...options });
|
|
1695
1695
|
/** invite */
|
|
1696
|
-
invite = (options) =>
|
|
1696
|
+
invite = (options) => postApi20261001ResourcesEmployeesEmployeesInvite({ client: this._client, ...options });
|
|
1697
1697
|
/** setRegularAccessStartDate */
|
|
1698
|
-
setRegularAccessStartDate = (options) =>
|
|
1698
|
+
setRegularAccessStartDate = (options) => postApi20261001ResourcesEmployeesEmployeesSetRegularAccessStartDate({ client: this._client, ...options });
|
|
1699
1699
|
/** terminate */
|
|
1700
|
-
terminate = (options) =>
|
|
1700
|
+
terminate = (options) => postApi20261001ResourcesEmployeesEmployeesTerminate({ client: this._client, ...options });
|
|
1701
1701
|
/** unterminate */
|
|
1702
|
-
unterminate = (options) =>
|
|
1702
|
+
unterminate = (options) => postApi20261001ResourcesEmployeesEmployeesUnterminate({ client: this._client, ...options });
|
|
1703
1703
|
}
|
|
1704
1704
|
/** Methods for the expenses > expensables resource */
|
|
1705
1705
|
export class ExpensesExpensablesResource {
|
|
@@ -1708,14 +1708,14 @@ export class ExpensesExpensablesResource {
|
|
|
1708
1708
|
this._client = _client;
|
|
1709
1709
|
}
|
|
1710
1710
|
/** Lists all expensables */
|
|
1711
|
-
list = (options) =>
|
|
1711
|
+
list = (options) => getApi20261001ResourcesExpensesExpensables({ client: this._client, ...options });
|
|
1712
1712
|
/**
|
|
1713
1713
|
* Auto-paginate through all expensables, yielding one item at a time.
|
|
1714
1714
|
* @example for await (const item of client.expenses.expensables.paginate()) { ... }
|
|
1715
1715
|
*/
|
|
1716
1716
|
paginate(options) {
|
|
1717
1717
|
const { maxItems, ...rest } = options ?? {};
|
|
1718
|
-
return paginate((params) =>
|
|
1718
|
+
return paginate((params) => getApi20261001ResourcesExpensesExpensables({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1719
1719
|
}
|
|
1720
1720
|
/**
|
|
1721
1721
|
* Fetch all expensables across all pages into a single array.
|
|
@@ -1725,11 +1725,11 @@ export class ExpensesExpensablesResource {
|
|
|
1725
1725
|
return collectAll(this.paginate(options));
|
|
1726
1726
|
}
|
|
1727
1727
|
/** Reads a single expensables record */
|
|
1728
|
-
get = (options) =>
|
|
1728
|
+
get = (options) => getApi20261001ResourcesExpensesExpensablesById({ client: this._client, ...options });
|
|
1729
1729
|
/** bulkSetToPaid */
|
|
1730
|
-
bulkSetToPaid = (options) =>
|
|
1730
|
+
bulkSetToPaid = (options) => postApi20261001ResourcesExpensesExpensablesBulkSetToPaid({ client: this._client, ...options });
|
|
1731
1731
|
/** updateReimbursableAmount */
|
|
1732
|
-
updateReimbursableAmount = (options) =>
|
|
1732
|
+
updateReimbursableAmount = (options) => postApi20261001ResourcesExpensesExpensablesUpdateReimbursableAmount({ client: this._client, ...options });
|
|
1733
1733
|
}
|
|
1734
1734
|
/** Methods for the expenses > expenses resource */
|
|
1735
1735
|
export class ExpensesExpensesResource {
|
|
@@ -1738,14 +1738,14 @@ export class ExpensesExpensesResource {
|
|
|
1738
1738
|
this._client = _client;
|
|
1739
1739
|
}
|
|
1740
1740
|
/** Lists all expenses */
|
|
1741
|
-
list = (options) =>
|
|
1741
|
+
list = (options) => getApi20261001ResourcesExpensesExpenses({ client: this._client, ...options });
|
|
1742
1742
|
/**
|
|
1743
1743
|
* Auto-paginate through all expenses, yielding one item at a time.
|
|
1744
1744
|
* @example for await (const item of client.expenses.expenses.paginate()) { ... }
|
|
1745
1745
|
*/
|
|
1746
1746
|
paginate(options) {
|
|
1747
1747
|
const { maxItems, ...rest } = options ?? {};
|
|
1748
|
-
return paginate((params) =>
|
|
1748
|
+
return paginate((params) => getApi20261001ResourcesExpensesExpenses({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1749
1749
|
}
|
|
1750
1750
|
/**
|
|
1751
1751
|
* Fetch all expenses across all pages into a single array.
|
|
@@ -1755,7 +1755,7 @@ export class ExpensesExpensesResource {
|
|
|
1755
1755
|
return collectAll(this.paginate(options));
|
|
1756
1756
|
}
|
|
1757
1757
|
/** Reads a single expenses record */
|
|
1758
|
-
get = (options) =>
|
|
1758
|
+
get = (options) => getApi20261001ResourcesExpensesExpensesById({ client: this._client, ...options });
|
|
1759
1759
|
}
|
|
1760
1760
|
/** Methods for the expenses > mileages resource */
|
|
1761
1761
|
export class ExpensesMileagesResource {
|
|
@@ -1764,14 +1764,14 @@ export class ExpensesMileagesResource {
|
|
|
1764
1764
|
this._client = _client;
|
|
1765
1765
|
}
|
|
1766
1766
|
/** Lists all mileages */
|
|
1767
|
-
list = (options) =>
|
|
1767
|
+
list = (options) => getApi20261001ResourcesExpensesMileages({ client: this._client, ...options });
|
|
1768
1768
|
/**
|
|
1769
1769
|
* Auto-paginate through all mileages, yielding one item at a time.
|
|
1770
1770
|
* @example for await (const item of client.expenses.mileages.paginate()) { ... }
|
|
1771
1771
|
*/
|
|
1772
1772
|
paginate(options) {
|
|
1773
1773
|
const { maxItems, ...rest } = options ?? {};
|
|
1774
|
-
return paginate((params) =>
|
|
1774
|
+
return paginate((params) => getApi20261001ResourcesExpensesMileages({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1775
1775
|
}
|
|
1776
1776
|
/**
|
|
1777
1777
|
* Fetch all mileages across all pages into a single array.
|
|
@@ -1781,7 +1781,7 @@ export class ExpensesMileagesResource {
|
|
|
1781
1781
|
return collectAll(this.paginate(options));
|
|
1782
1782
|
}
|
|
1783
1783
|
/** Reads a single mileages record */
|
|
1784
|
-
get = (options) =>
|
|
1784
|
+
get = (options) => getApi20261001ResourcesExpensesMileagesById({ client: this._client, ...options });
|
|
1785
1785
|
}
|
|
1786
1786
|
/** Methods for the expenses > per_diems resource */
|
|
1787
1787
|
export class ExpensesPerDiemsResource {
|
|
@@ -1790,14 +1790,14 @@ export class ExpensesPerDiemsResource {
|
|
|
1790
1790
|
this._client = _client;
|
|
1791
1791
|
}
|
|
1792
1792
|
/** Lists all per_diems */
|
|
1793
|
-
list = (options) =>
|
|
1793
|
+
list = (options) => getApi20261001ResourcesExpensesPerDiems({ client: this._client, ...options });
|
|
1794
1794
|
/**
|
|
1795
1795
|
* Auto-paginate through all per_diems, yielding one item at a time.
|
|
1796
1796
|
* @example for await (const item of client.expenses.perDiems.paginate()) { ... }
|
|
1797
1797
|
*/
|
|
1798
1798
|
paginate(options) {
|
|
1799
1799
|
const { maxItems, ...rest } = options ?? {};
|
|
1800
|
-
return paginate((params) =>
|
|
1800
|
+
return paginate((params) => getApi20261001ResourcesExpensesPerDiems({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1801
1801
|
}
|
|
1802
1802
|
/**
|
|
1803
1803
|
* Fetch all per_diems across all pages into a single array.
|
|
@@ -1807,7 +1807,7 @@ export class ExpensesPerDiemsResource {
|
|
|
1807
1807
|
return collectAll(this.paginate(options));
|
|
1808
1808
|
}
|
|
1809
1809
|
/** Reads a single per_diems record */
|
|
1810
|
-
get = (options) =>
|
|
1810
|
+
get = (options) => getApi20261001ResourcesExpensesPerDiemsById({ client: this._client, ...options });
|
|
1811
1811
|
}
|
|
1812
1812
|
/** Methods for the finance > accounting_settings resource */
|
|
1813
1813
|
export class FinanceAccountingSettingsResource {
|
|
@@ -1816,14 +1816,14 @@ export class FinanceAccountingSettingsResource {
|
|
|
1816
1816
|
this._client = _client;
|
|
1817
1817
|
}
|
|
1818
1818
|
/** Lists all accounting_settings */
|
|
1819
|
-
list = (options) =>
|
|
1819
|
+
list = (options) => getApi20261001ResourcesFinanceAccountingSettings({ client: this._client, ...options });
|
|
1820
1820
|
/**
|
|
1821
1821
|
* Auto-paginate through all accounting_settings, yielding one item at a time.
|
|
1822
1822
|
* @example for await (const item of client.finance.accountingSettings.paginate()) { ... }
|
|
1823
1823
|
*/
|
|
1824
1824
|
paginate(options) {
|
|
1825
1825
|
const { maxItems, ...rest } = options ?? {};
|
|
1826
|
-
return paginate((params) =>
|
|
1826
|
+
return paginate((params) => getApi20261001ResourcesFinanceAccountingSettings({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1827
1827
|
}
|
|
1828
1828
|
/**
|
|
1829
1829
|
* Fetch all accounting_settings across all pages into a single array.
|
|
@@ -1833,9 +1833,9 @@ export class FinanceAccountingSettingsResource {
|
|
|
1833
1833
|
return collectAll(this.paginate(options));
|
|
1834
1834
|
}
|
|
1835
1835
|
/** Reads a single accounting_settings record */
|
|
1836
|
-
get = (options) =>
|
|
1836
|
+
get = (options) => getApi20261001ResourcesFinanceAccountingSettingsById({ client: this._client, ...options });
|
|
1837
1837
|
/** upsert */
|
|
1838
|
-
upsert = (options) =>
|
|
1838
|
+
upsert = (options) => postApi20261001ResourcesFinanceAccountingSettingsUpsert({ client: this._client, ...options });
|
|
1839
1839
|
}
|
|
1840
1840
|
/** Methods for the finance > accounts resource */
|
|
1841
1841
|
export class FinanceAccountsResource {
|
|
@@ -1844,14 +1844,14 @@ export class FinanceAccountsResource {
|
|
|
1844
1844
|
this._client = _client;
|
|
1845
1845
|
}
|
|
1846
1846
|
/** Lists all accounts */
|
|
1847
|
-
list = (options) =>
|
|
1847
|
+
list = (options) => getApi20261001ResourcesFinanceAccounts({ client: this._client, ...options });
|
|
1848
1848
|
/**
|
|
1849
1849
|
* Auto-paginate through all accounts, yielding one item at a time.
|
|
1850
1850
|
* @example for await (const item of client.finance.accounts.paginate()) { ... }
|
|
1851
1851
|
*/
|
|
1852
1852
|
paginate(options) {
|
|
1853
1853
|
const { maxItems, ...rest } = options ?? {};
|
|
1854
|
-
return paginate((params) =>
|
|
1854
|
+
return paginate((params) => getApi20261001ResourcesFinanceAccounts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1855
1855
|
}
|
|
1856
1856
|
/**
|
|
1857
1857
|
* Fetch all accounts across all pages into a single array.
|
|
@@ -1861,11 +1861,11 @@ export class FinanceAccountsResource {
|
|
|
1861
1861
|
return collectAll(this.paginate(options));
|
|
1862
1862
|
}
|
|
1863
1863
|
/** Creates a accounts record */
|
|
1864
|
-
create = (options) =>
|
|
1864
|
+
create = (options) => postApi20261001ResourcesFinanceAccounts({ client: this._client, ...options });
|
|
1865
1865
|
/** Reads a single accounts record */
|
|
1866
|
-
get = (options) =>
|
|
1866
|
+
get = (options) => getApi20261001ResourcesFinanceAccountsById({ client: this._client, ...options });
|
|
1867
1867
|
/** Updates a accounts record */
|
|
1868
|
-
update = (options) =>
|
|
1868
|
+
update = (options) => putApi20261001ResourcesFinanceAccountsById({ client: this._client, ...options });
|
|
1869
1869
|
}
|
|
1870
1870
|
/** Methods for the finance > budget_options resource */
|
|
1871
1871
|
export class FinanceBudgetOptionsResource {
|
|
@@ -1874,14 +1874,14 @@ export class FinanceBudgetOptionsResource {
|
|
|
1874
1874
|
this._client = _client;
|
|
1875
1875
|
}
|
|
1876
1876
|
/** Lists all budget_options */
|
|
1877
|
-
list = (options) =>
|
|
1877
|
+
list = (options) => getApi20261001ResourcesFinanceBudgetOptions({ client: this._client, ...options });
|
|
1878
1878
|
/**
|
|
1879
1879
|
* Auto-paginate through all budget_options, yielding one item at a time.
|
|
1880
1880
|
* @example for await (const item of client.finance.budgetOptions.paginate()) { ... }
|
|
1881
1881
|
*/
|
|
1882
1882
|
paginate(options) {
|
|
1883
1883
|
const { maxItems, ...rest } = options ?? {};
|
|
1884
|
-
return paginate((params) =>
|
|
1884
|
+
return paginate((params) => getApi20261001ResourcesFinanceBudgetOptions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1885
1885
|
}
|
|
1886
1886
|
/**
|
|
1887
1887
|
* Fetch all budget_options across all pages into a single array.
|
|
@@ -1891,7 +1891,7 @@ export class FinanceBudgetOptionsResource {
|
|
|
1891
1891
|
return collectAll(this.paginate(options));
|
|
1892
1892
|
}
|
|
1893
1893
|
/** Reads a single budget_options record */
|
|
1894
|
-
get = (options) =>
|
|
1894
|
+
get = (options) => getApi20261001ResourcesFinanceBudgetOptionsById({ client: this._client, ...options });
|
|
1895
1895
|
}
|
|
1896
1896
|
/** Methods for the finance > categories resource */
|
|
1897
1897
|
export class FinanceCategoriesResource {
|
|
@@ -1900,14 +1900,14 @@ export class FinanceCategoriesResource {
|
|
|
1900
1900
|
this._client = _client;
|
|
1901
1901
|
}
|
|
1902
1902
|
/** Lists all categories */
|
|
1903
|
-
list = (options) =>
|
|
1903
|
+
list = (options) => getApi20261001ResourcesFinanceCategories({ client: this._client, ...options });
|
|
1904
1904
|
/**
|
|
1905
1905
|
* Auto-paginate through all categories, yielding one item at a time.
|
|
1906
1906
|
* @example for await (const item of client.finance.categories.paginate()) { ... }
|
|
1907
1907
|
*/
|
|
1908
1908
|
paginate(options) {
|
|
1909
1909
|
const { maxItems, ...rest } = options ?? {};
|
|
1910
|
-
return paginate((params) =>
|
|
1910
|
+
return paginate((params) => getApi20261001ResourcesFinanceCategories({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1911
1911
|
}
|
|
1912
1912
|
/**
|
|
1913
1913
|
* Fetch all categories across all pages into a single array.
|
|
@@ -1917,7 +1917,7 @@ export class FinanceCategoriesResource {
|
|
|
1917
1917
|
return collectAll(this.paginate(options));
|
|
1918
1918
|
}
|
|
1919
1919
|
/** Reads a single categories record */
|
|
1920
|
-
get = (options) =>
|
|
1920
|
+
get = (options) => getApi20261001ResourcesFinanceCategoriesById({ client: this._client, ...options });
|
|
1921
1921
|
}
|
|
1922
1922
|
/** Methods for the finance > contacts resource */
|
|
1923
1923
|
export class FinanceContactsResource {
|
|
@@ -1926,14 +1926,14 @@ export class FinanceContactsResource {
|
|
|
1926
1926
|
this._client = _client;
|
|
1927
1927
|
}
|
|
1928
1928
|
/** Lists all contacts */
|
|
1929
|
-
list = (options) =>
|
|
1929
|
+
list = (options) => getApi20261001ResourcesFinanceContacts({ client: this._client, ...options });
|
|
1930
1930
|
/**
|
|
1931
1931
|
* Auto-paginate through all contacts, yielding one item at a time.
|
|
1932
1932
|
* @example for await (const item of client.finance.contacts.paginate()) { ... }
|
|
1933
1933
|
*/
|
|
1934
1934
|
paginate(options) {
|
|
1935
1935
|
const { maxItems, ...rest } = options ?? {};
|
|
1936
|
-
return paginate((params) =>
|
|
1936
|
+
return paginate((params) => getApi20261001ResourcesFinanceContacts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1937
1937
|
}
|
|
1938
1938
|
/**
|
|
1939
1939
|
* Fetch all contacts across all pages into a single array.
|
|
@@ -1943,11 +1943,11 @@ export class FinanceContactsResource {
|
|
|
1943
1943
|
return collectAll(this.paginate(options));
|
|
1944
1944
|
}
|
|
1945
1945
|
/** Creates a contacts record */
|
|
1946
|
-
create = (options) =>
|
|
1946
|
+
create = (options) => postApi20261001ResourcesFinanceContacts({ client: this._client, ...options });
|
|
1947
1947
|
/** Reads a single contacts record */
|
|
1948
|
-
get = (options) =>
|
|
1948
|
+
get = (options) => getApi20261001ResourcesFinanceContactsById({ client: this._client, ...options });
|
|
1949
1949
|
/** Updates a contacts record */
|
|
1950
|
-
update = (options) =>
|
|
1950
|
+
update = (options) => putApi20261001ResourcesFinanceContactsById({ client: this._client, ...options });
|
|
1951
1951
|
}
|
|
1952
1952
|
/** Methods for the finance > cost_center_memberships resource */
|
|
1953
1953
|
export class FinanceCostCenterMembershipsResource {
|
|
@@ -1956,14 +1956,14 @@ export class FinanceCostCenterMembershipsResource {
|
|
|
1956
1956
|
this._client = _client;
|
|
1957
1957
|
}
|
|
1958
1958
|
/** Lists all cost_center_memberships */
|
|
1959
|
-
list = (options) =>
|
|
1959
|
+
list = (options) => getApi20261001ResourcesFinanceCostCenterMemberships({ client: this._client, ...options });
|
|
1960
1960
|
/**
|
|
1961
1961
|
* Auto-paginate through all cost_center_memberships, yielding one item at a time.
|
|
1962
1962
|
* @example for await (const item of client.finance.costCenterMemberships.paginate()) { ... }
|
|
1963
1963
|
*/
|
|
1964
1964
|
paginate(options) {
|
|
1965
1965
|
const { maxItems, ...rest } = options ?? {};
|
|
1966
|
-
return paginate((params) =>
|
|
1966
|
+
return paginate((params) => getApi20261001ResourcesFinanceCostCenterMemberships({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1967
1967
|
}
|
|
1968
1968
|
/**
|
|
1969
1969
|
* Fetch all cost_center_memberships across all pages into a single array.
|
|
@@ -1973,7 +1973,7 @@ export class FinanceCostCenterMembershipsResource {
|
|
|
1973
1973
|
return collectAll(this.paginate(options));
|
|
1974
1974
|
}
|
|
1975
1975
|
/** bulkCreateUpdate */
|
|
1976
|
-
bulkCreateUpdate = (options) =>
|
|
1976
|
+
bulkCreateUpdate = (options) => postApi20261001ResourcesFinanceCostCenterMembershipsBulkCreateUpdate({ client: this._client, ...options });
|
|
1977
1977
|
}
|
|
1978
1978
|
/** Methods for the finance > cost_centers resource */
|
|
1979
1979
|
export class FinanceCostCentersResource {
|
|
@@ -1982,14 +1982,14 @@ export class FinanceCostCentersResource {
|
|
|
1982
1982
|
this._client = _client;
|
|
1983
1983
|
}
|
|
1984
1984
|
/** Lists all cost_centers */
|
|
1985
|
-
list = (options) =>
|
|
1985
|
+
list = (options) => getApi20261001ResourcesFinanceCostCenters({ client: this._client, ...options });
|
|
1986
1986
|
/**
|
|
1987
1987
|
* Auto-paginate through all cost_centers, yielding one item at a time.
|
|
1988
1988
|
* @example for await (const item of client.finance.costCenters.paginate()) { ... }
|
|
1989
1989
|
*/
|
|
1990
1990
|
paginate(options) {
|
|
1991
1991
|
const { maxItems, ...rest } = options ?? {};
|
|
1992
|
-
return paginate((params) =>
|
|
1992
|
+
return paginate((params) => getApi20261001ResourcesFinanceCostCenters({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1993
1993
|
}
|
|
1994
1994
|
/**
|
|
1995
1995
|
* Fetch all cost_centers across all pages into a single array.
|
|
@@ -1999,13 +1999,13 @@ export class FinanceCostCentersResource {
|
|
|
1999
1999
|
return collectAll(this.paginate(options));
|
|
2000
2000
|
}
|
|
2001
2001
|
/** Creates a cost_centers record */
|
|
2002
|
-
create = (options) =>
|
|
2002
|
+
create = (options) => postApi20261001ResourcesFinanceCostCenters({ client: this._client, ...options });
|
|
2003
2003
|
/** Reads a single cost_centers record */
|
|
2004
|
-
get = (options) =>
|
|
2004
|
+
get = (options) => getApi20261001ResourcesFinanceCostCentersById({ client: this._client, ...options });
|
|
2005
2005
|
/** Deletes a cost_centers record */
|
|
2006
|
-
delete = (options) =>
|
|
2006
|
+
delete = (options) => deleteApi20261001ResourcesFinanceCostCentersById({ client: this._client, ...options });
|
|
2007
2007
|
/** edit */
|
|
2008
|
-
edit = (options) =>
|
|
2008
|
+
edit = (options) => postApi20261001ResourcesFinanceCostCentersEdit({ client: this._client, ...options });
|
|
2009
2009
|
}
|
|
2010
2010
|
/** Methods for the finance > financial_documents resource */
|
|
2011
2011
|
export class FinanceFinancialDocumentsResource {
|
|
@@ -2014,14 +2014,14 @@ export class FinanceFinancialDocumentsResource {
|
|
|
2014
2014
|
this._client = _client;
|
|
2015
2015
|
}
|
|
2016
2016
|
/** Lists all financial_documents */
|
|
2017
|
-
list = (options) =>
|
|
2017
|
+
list = (options) => getApi20261001ResourcesFinanceFinancialDocuments({ client: this._client, ...options });
|
|
2018
2018
|
/**
|
|
2019
2019
|
* Auto-paginate through all financial_documents, yielding one item at a time.
|
|
2020
2020
|
* @example for await (const item of client.finance.financialDocuments.paginate()) { ... }
|
|
2021
2021
|
*/
|
|
2022
2022
|
paginate(options) {
|
|
2023
2023
|
const { maxItems, ...rest } = options ?? {};
|
|
2024
|
-
return paginate((params) =>
|
|
2024
|
+
return paginate((params) => getApi20261001ResourcesFinanceFinancialDocuments({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2025
2025
|
}
|
|
2026
2026
|
/**
|
|
2027
2027
|
* Fetch all financial_documents across all pages into a single array.
|
|
@@ -2031,7 +2031,7 @@ export class FinanceFinancialDocumentsResource {
|
|
|
2031
2031
|
return collectAll(this.paginate(options));
|
|
2032
2032
|
}
|
|
2033
2033
|
/** Reads a single financial_documents record */
|
|
2034
|
-
get = (options) =>
|
|
2034
|
+
get = (options) => getApi20261001ResourcesFinanceFinancialDocumentsById({ client: this._client, ...options });
|
|
2035
2035
|
}
|
|
2036
2036
|
/** Methods for the finance > journal_entries resource */
|
|
2037
2037
|
export class FinanceJournalEntriesResource {
|
|
@@ -2040,14 +2040,14 @@ export class FinanceJournalEntriesResource {
|
|
|
2040
2040
|
this._client = _client;
|
|
2041
2041
|
}
|
|
2042
2042
|
/** Lists all journal_entries */
|
|
2043
|
-
list = (options) =>
|
|
2043
|
+
list = (options) => getApi20261001ResourcesFinanceJournalEntries({ client: this._client, ...options });
|
|
2044
2044
|
/**
|
|
2045
2045
|
* Auto-paginate through all journal_entries, yielding one item at a time.
|
|
2046
2046
|
* @example for await (const item of client.finance.journalEntries.paginate()) { ... }
|
|
2047
2047
|
*/
|
|
2048
2048
|
paginate(options) {
|
|
2049
2049
|
const { maxItems, ...rest } = options ?? {};
|
|
2050
|
-
return paginate((params) =>
|
|
2050
|
+
return paginate((params) => getApi20261001ResourcesFinanceJournalEntries({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2051
2051
|
}
|
|
2052
2052
|
/**
|
|
2053
2053
|
* Fetch all journal_entries across all pages into a single array.
|
|
@@ -2057,9 +2057,9 @@ export class FinanceJournalEntriesResource {
|
|
|
2057
2057
|
return collectAll(this.paginate(options));
|
|
2058
2058
|
}
|
|
2059
2059
|
/** Creates a journal_entries record */
|
|
2060
|
-
create = (options) =>
|
|
2060
|
+
create = (options) => postApi20261001ResourcesFinanceJournalEntries({ client: this._client, ...options });
|
|
2061
2061
|
/** Reads a single journal_entries record */
|
|
2062
|
-
get = (options) =>
|
|
2062
|
+
get = (options) => getApi20261001ResourcesFinanceJournalEntriesById({ client: this._client, ...options });
|
|
2063
2063
|
}
|
|
2064
2064
|
/** Methods for the finance > journal_lines resource */
|
|
2065
2065
|
export class FinanceJournalLinesResource {
|
|
@@ -2068,14 +2068,14 @@ export class FinanceJournalLinesResource {
|
|
|
2068
2068
|
this._client = _client;
|
|
2069
2069
|
}
|
|
2070
2070
|
/** Lists all journal_lines */
|
|
2071
|
-
list = (options) =>
|
|
2071
|
+
list = (options) => getApi20261001ResourcesFinanceJournalLines({ client: this._client, ...options });
|
|
2072
2072
|
/**
|
|
2073
2073
|
* Auto-paginate through all journal_lines, yielding one item at a time.
|
|
2074
2074
|
* @example for await (const item of client.finance.journalLines.paginate()) { ... }
|
|
2075
2075
|
*/
|
|
2076
2076
|
paginate(options) {
|
|
2077
2077
|
const { maxItems, ...rest } = options ?? {};
|
|
2078
|
-
return paginate((params) =>
|
|
2078
|
+
return paginate((params) => getApi20261001ResourcesFinanceJournalLines({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2079
2079
|
}
|
|
2080
2080
|
/**
|
|
2081
2081
|
* Fetch all journal_lines across all pages into a single array.
|
|
@@ -2085,7 +2085,7 @@ export class FinanceJournalLinesResource {
|
|
|
2085
2085
|
return collectAll(this.paginate(options));
|
|
2086
2086
|
}
|
|
2087
2087
|
/** Reads a single journal_lines record */
|
|
2088
|
-
get = (options) =>
|
|
2088
|
+
get = (options) => getApi20261001ResourcesFinanceJournalLinesById({ client: this._client, ...options });
|
|
2089
2089
|
}
|
|
2090
2090
|
/** Methods for the finance > ledger_account_resources resource */
|
|
2091
2091
|
export class FinanceLedgerAccountResourcesResource {
|
|
@@ -2094,14 +2094,14 @@ export class FinanceLedgerAccountResourcesResource {
|
|
|
2094
2094
|
this._client = _client;
|
|
2095
2095
|
}
|
|
2096
2096
|
/** Lists all ledger_account_resources */
|
|
2097
|
-
list = (options) =>
|
|
2097
|
+
list = (options) => getApi20261001ResourcesFinanceLedgerAccountResources({ client: this._client, ...options });
|
|
2098
2098
|
/**
|
|
2099
2099
|
* Auto-paginate through all ledger_account_resources, yielding one item at a time.
|
|
2100
2100
|
* @example for await (const item of client.finance.ledgerAccountResources.paginate()) { ... }
|
|
2101
2101
|
*/
|
|
2102
2102
|
paginate(options) {
|
|
2103
2103
|
const { maxItems, ...rest } = options ?? {};
|
|
2104
|
-
return paginate((params) =>
|
|
2104
|
+
return paginate((params) => getApi20261001ResourcesFinanceLedgerAccountResources({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2105
2105
|
}
|
|
2106
2106
|
/**
|
|
2107
2107
|
* Fetch all ledger_account_resources across all pages into a single array.
|
|
@@ -2111,9 +2111,9 @@ export class FinanceLedgerAccountResourcesResource {
|
|
|
2111
2111
|
return collectAll(this.paginate(options));
|
|
2112
2112
|
}
|
|
2113
2113
|
/** Reads a single ledger_account_resources record */
|
|
2114
|
-
get = (options) =>
|
|
2114
|
+
get = (options) => getApi20261001ResourcesFinanceLedgerAccountResourcesById({ client: this._client, ...options });
|
|
2115
2115
|
/** upsert */
|
|
2116
|
-
upsert = (options) =>
|
|
2116
|
+
upsert = (options) => postApi20261001ResourcesFinanceLedgerAccountResourcesUpsert({ client: this._client, ...options });
|
|
2117
2117
|
}
|
|
2118
2118
|
/** Methods for the finance > tax_rates resource */
|
|
2119
2119
|
export class FinanceTaxRatesResource {
|
|
@@ -2122,14 +2122,14 @@ export class FinanceTaxRatesResource {
|
|
|
2122
2122
|
this._client = _client;
|
|
2123
2123
|
}
|
|
2124
2124
|
/** Lists all tax_rates */
|
|
2125
|
-
list = (options) =>
|
|
2125
|
+
list = (options) => getApi20261001ResourcesFinanceTaxRates({ client: this._client, ...options });
|
|
2126
2126
|
/**
|
|
2127
2127
|
* Auto-paginate through all tax_rates, yielding one item at a time.
|
|
2128
2128
|
* @example for await (const item of client.finance.taxRates.paginate()) { ... }
|
|
2129
2129
|
*/
|
|
2130
2130
|
paginate(options) {
|
|
2131
2131
|
const { maxItems, ...rest } = options ?? {};
|
|
2132
|
-
return paginate((params) =>
|
|
2132
|
+
return paginate((params) => getApi20261001ResourcesFinanceTaxRates({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2133
2133
|
}
|
|
2134
2134
|
/**
|
|
2135
2135
|
* Fetch all tax_rates across all pages into a single array.
|
|
@@ -2139,11 +2139,11 @@ export class FinanceTaxRatesResource {
|
|
|
2139
2139
|
return collectAll(this.paginate(options));
|
|
2140
2140
|
}
|
|
2141
2141
|
/** Creates a tax_rates record */
|
|
2142
|
-
create = (options) =>
|
|
2142
|
+
create = (options) => postApi20261001ResourcesFinanceTaxRates({ client: this._client, ...options });
|
|
2143
2143
|
/** Reads a single tax_rates record */
|
|
2144
|
-
get = (options) =>
|
|
2144
|
+
get = (options) => getApi20261001ResourcesFinanceTaxRatesById({ client: this._client, ...options });
|
|
2145
2145
|
/** Updates a tax_rates record */
|
|
2146
|
-
update = (options) =>
|
|
2146
|
+
update = (options) => putApi20261001ResourcesFinanceTaxRatesById({ client: this._client, ...options });
|
|
2147
2147
|
}
|
|
2148
2148
|
/** Methods for the finance > tax_types resource */
|
|
2149
2149
|
export class FinanceTaxTypesResource {
|
|
@@ -2152,14 +2152,14 @@ export class FinanceTaxTypesResource {
|
|
|
2152
2152
|
this._client = _client;
|
|
2153
2153
|
}
|
|
2154
2154
|
/** Lists all tax_types */
|
|
2155
|
-
list = (options) =>
|
|
2155
|
+
list = (options) => getApi20261001ResourcesFinanceTaxTypes({ client: this._client, ...options });
|
|
2156
2156
|
/**
|
|
2157
2157
|
* Auto-paginate through all tax_types, yielding one item at a time.
|
|
2158
2158
|
* @example for await (const item of client.finance.taxTypes.paginate()) { ... }
|
|
2159
2159
|
*/
|
|
2160
2160
|
paginate(options) {
|
|
2161
2161
|
const { maxItems, ...rest } = options ?? {};
|
|
2162
|
-
return paginate((params) =>
|
|
2162
|
+
return paginate((params) => getApi20261001ResourcesFinanceTaxTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2163
2163
|
}
|
|
2164
2164
|
/**
|
|
2165
2165
|
* Fetch all tax_types across all pages into a single array.
|
|
@@ -2169,11 +2169,11 @@ export class FinanceTaxTypesResource {
|
|
|
2169
2169
|
return collectAll(this.paginate(options));
|
|
2170
2170
|
}
|
|
2171
2171
|
/** Creates a tax_types record */
|
|
2172
|
-
create = (options) =>
|
|
2172
|
+
create = (options) => postApi20261001ResourcesFinanceTaxTypes({ client: this._client, ...options });
|
|
2173
2173
|
/** Reads a single tax_types record */
|
|
2174
|
-
get = (options) =>
|
|
2174
|
+
get = (options) => getApi20261001ResourcesFinanceTaxTypesById({ client: this._client, ...options });
|
|
2175
2175
|
/** Updates a tax_types record */
|
|
2176
|
-
update = (options) =>
|
|
2176
|
+
update = (options) => putApi20261001ResourcesFinanceTaxTypesById({ client: this._client, ...options });
|
|
2177
2177
|
}
|
|
2178
2178
|
/** Methods for the holidays > company_holidays resource */
|
|
2179
2179
|
export class HolidaysCompanyHolidaysResource {
|
|
@@ -2182,14 +2182,14 @@ export class HolidaysCompanyHolidaysResource {
|
|
|
2182
2182
|
this._client = _client;
|
|
2183
2183
|
}
|
|
2184
2184
|
/** Lists all company_holidays */
|
|
2185
|
-
list = (options) =>
|
|
2185
|
+
list = (options) => getApi20261001ResourcesHolidaysCompanyHolidays({ client: this._client, ...options });
|
|
2186
2186
|
/**
|
|
2187
2187
|
* Auto-paginate through all company_holidays, yielding one item at a time.
|
|
2188
2188
|
* @example for await (const item of client.holidays.companyHolidays.paginate()) { ... }
|
|
2189
2189
|
*/
|
|
2190
2190
|
paginate(options) {
|
|
2191
2191
|
const { maxItems, ...rest } = options ?? {};
|
|
2192
|
-
return paginate((params) =>
|
|
2192
|
+
return paginate((params) => getApi20261001ResourcesHolidaysCompanyHolidays({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2193
2193
|
}
|
|
2194
2194
|
/**
|
|
2195
2195
|
* Fetch all company_holidays across all pages into a single array.
|
|
@@ -2199,7 +2199,7 @@ export class HolidaysCompanyHolidaysResource {
|
|
|
2199
2199
|
return collectAll(this.paginate(options));
|
|
2200
2200
|
}
|
|
2201
2201
|
/** Reads a single company_holidays record */
|
|
2202
|
-
get = (options) =>
|
|
2202
|
+
get = (options) => getApi20261001ResourcesHolidaysCompanyHolidaysById({ client: this._client, ...options });
|
|
2203
2203
|
}
|
|
2204
2204
|
/** Methods for the integrations > sync_run_outputs resource */
|
|
2205
2205
|
export class IntegrationsSyncRunOutputsResource {
|
|
@@ -2208,7 +2208,7 @@ export class IntegrationsSyncRunOutputsResource {
|
|
|
2208
2208
|
this._client = _client;
|
|
2209
2209
|
}
|
|
2210
2210
|
/** Creates a sync_run_outputs record */
|
|
2211
|
-
create = (options) =>
|
|
2211
|
+
create = (options) => postApi20261001ResourcesIntegrationsSyncRunOutputs({ client: this._client, ...options });
|
|
2212
2212
|
}
|
|
2213
2213
|
/** Methods for the integrations > syncable_items resource */
|
|
2214
2214
|
export class IntegrationsSyncableItemsResource {
|
|
@@ -2217,14 +2217,14 @@ export class IntegrationsSyncableItemsResource {
|
|
|
2217
2217
|
this._client = _client;
|
|
2218
2218
|
}
|
|
2219
2219
|
/** Lists all syncable_items */
|
|
2220
|
-
list = (options) =>
|
|
2220
|
+
list = (options) => getApi20261001ResourcesIntegrationsSyncableItems({ client: this._client, ...options });
|
|
2221
2221
|
/**
|
|
2222
2222
|
* Auto-paginate through all syncable_items, yielding one item at a time.
|
|
2223
2223
|
* @example for await (const item of client.integrations.syncableItems.paginate()) { ... }
|
|
2224
2224
|
*/
|
|
2225
2225
|
paginate(options) {
|
|
2226
2226
|
const { maxItems, ...rest } = options ?? {};
|
|
2227
|
-
return paginate((params) =>
|
|
2227
|
+
return paginate((params) => getApi20261001ResourcesIntegrationsSyncableItems({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2228
2228
|
}
|
|
2229
2229
|
/**
|
|
2230
2230
|
* Fetch all syncable_items across all pages into a single array.
|
|
@@ -2241,7 +2241,7 @@ export class IntegrationsSyncableSyncRunsResource {
|
|
|
2241
2241
|
this._client = _client;
|
|
2242
2242
|
}
|
|
2243
2243
|
/** Updates a syncable_sync_runs record */
|
|
2244
|
-
update = (options) =>
|
|
2244
|
+
update = (options) => putApi20261001ResourcesIntegrationsSyncableSyncRunsById({ client: this._client, ...options });
|
|
2245
2245
|
}
|
|
2246
2246
|
/** Methods for the it_management > it_asset_models resource */
|
|
2247
2247
|
export class ItManagementItAssetModelsResource {
|
|
@@ -2250,14 +2250,14 @@ export class ItManagementItAssetModelsResource {
|
|
|
2250
2250
|
this._client = _client;
|
|
2251
2251
|
}
|
|
2252
2252
|
/** Lists all it_asset_models */
|
|
2253
|
-
list = (options) =>
|
|
2253
|
+
list = (options) => getApi20261001ResourcesItManagementItAssetModels({ client: this._client, ...options });
|
|
2254
2254
|
/**
|
|
2255
2255
|
* Auto-paginate through all it_asset_models, yielding one item at a time.
|
|
2256
2256
|
* @example for await (const item of client.itManagement.itAssetModels.paginate()) { ... }
|
|
2257
2257
|
*/
|
|
2258
2258
|
paginate(options) {
|
|
2259
2259
|
const { maxItems, ...rest } = options ?? {};
|
|
2260
|
-
return paginate((params) =>
|
|
2260
|
+
return paginate((params) => getApi20261001ResourcesItManagementItAssetModels({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2261
2261
|
}
|
|
2262
2262
|
/**
|
|
2263
2263
|
* Fetch all it_asset_models across all pages into a single array.
|
|
@@ -2267,11 +2267,11 @@ export class ItManagementItAssetModelsResource {
|
|
|
2267
2267
|
return collectAll(this.paginate(options));
|
|
2268
2268
|
}
|
|
2269
2269
|
/** Creates a it_asset_models record */
|
|
2270
|
-
create = (options) =>
|
|
2270
|
+
create = (options) => postApi20261001ResourcesItManagementItAssetModels({ client: this._client, ...options });
|
|
2271
2271
|
/** Reads a single it_asset_models record */
|
|
2272
|
-
get = (options) =>
|
|
2272
|
+
get = (options) => getApi20261001ResourcesItManagementItAssetModelsById({ client: this._client, ...options });
|
|
2273
2273
|
/** Updates a it_asset_models record */
|
|
2274
|
-
update = (options) =>
|
|
2274
|
+
update = (options) => putApi20261001ResourcesItManagementItAssetModelsById({ client: this._client, ...options });
|
|
2275
2275
|
}
|
|
2276
2276
|
/** Methods for the it_management > it_assets resource */
|
|
2277
2277
|
export class ItManagementItAssetsResource {
|
|
@@ -2280,14 +2280,14 @@ export class ItManagementItAssetsResource {
|
|
|
2280
2280
|
this._client = _client;
|
|
2281
2281
|
}
|
|
2282
2282
|
/** Lists all it_assets */
|
|
2283
|
-
list = (options) =>
|
|
2283
|
+
list = (options) => getApi20261001ResourcesItManagementItAssets({ client: this._client, ...options });
|
|
2284
2284
|
/**
|
|
2285
2285
|
* Auto-paginate through all it_assets, yielding one item at a time.
|
|
2286
2286
|
* @example for await (const item of client.itManagement.itAssets.paginate()) { ... }
|
|
2287
2287
|
*/
|
|
2288
2288
|
paginate(options) {
|
|
2289
2289
|
const { maxItems, ...rest } = options ?? {};
|
|
2290
|
-
return paginate((params) =>
|
|
2290
|
+
return paginate((params) => getApi20261001ResourcesItManagementItAssets({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2291
2291
|
}
|
|
2292
2292
|
/**
|
|
2293
2293
|
* Fetch all it_assets across all pages into a single array.
|
|
@@ -2297,13 +2297,13 @@ export class ItManagementItAssetsResource {
|
|
|
2297
2297
|
return collectAll(this.paginate(options));
|
|
2298
2298
|
}
|
|
2299
2299
|
/** Creates a it_assets record */
|
|
2300
|
-
create = (options) =>
|
|
2300
|
+
create = (options) => postApi20261001ResourcesItManagementItAssets({ client: this._client, ...options });
|
|
2301
2301
|
/** Reads a single it_assets record */
|
|
2302
|
-
get = (options) =>
|
|
2302
|
+
get = (options) => getApi20261001ResourcesItManagementItAssetsById({ client: this._client, ...options });
|
|
2303
2303
|
/** Updates a it_assets record */
|
|
2304
|
-
update = (options) =>
|
|
2304
|
+
update = (options) => putApi20261001ResourcesItManagementItAssetsById({ client: this._client, ...options });
|
|
2305
2305
|
/** Deletes a it_assets record */
|
|
2306
|
-
delete = (options) =>
|
|
2306
|
+
delete = (options) => deleteApi20261001ResourcesItManagementItAssetsById({ client: this._client, ...options });
|
|
2307
2307
|
}
|
|
2308
2308
|
/** Methods for the job_catalog > levels resource */
|
|
2309
2309
|
export class JobCatalogLevelsResource {
|
|
@@ -2312,14 +2312,14 @@ export class JobCatalogLevelsResource {
|
|
|
2312
2312
|
this._client = _client;
|
|
2313
2313
|
}
|
|
2314
2314
|
/** Lists all levels */
|
|
2315
|
-
list = (options) =>
|
|
2315
|
+
list = (options) => getApi20261001ResourcesJobCatalogLevels({ client: this._client, ...options });
|
|
2316
2316
|
/**
|
|
2317
2317
|
* Auto-paginate through all levels, yielding one item at a time.
|
|
2318
2318
|
* @example for await (const item of client.jobCatalog.levels.paginate()) { ... }
|
|
2319
2319
|
*/
|
|
2320
2320
|
paginate(options) {
|
|
2321
2321
|
const { maxItems, ...rest } = options ?? {};
|
|
2322
|
-
return paginate((params) =>
|
|
2322
|
+
return paginate((params) => getApi20261001ResourcesJobCatalogLevels({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2323
2323
|
}
|
|
2324
2324
|
/**
|
|
2325
2325
|
* Fetch all levels across all pages into a single array.
|
|
@@ -2329,7 +2329,7 @@ export class JobCatalogLevelsResource {
|
|
|
2329
2329
|
return collectAll(this.paginate(options));
|
|
2330
2330
|
}
|
|
2331
2331
|
/** Reads a single levels record */
|
|
2332
|
-
get = (options) =>
|
|
2332
|
+
get = (options) => getApi20261001ResourcesJobCatalogLevelsById({ client: this._client, ...options });
|
|
2333
2333
|
}
|
|
2334
2334
|
/** Methods for the job_catalog > node_attributes resource */
|
|
2335
2335
|
export class JobCatalogNodeAttributesResource {
|
|
@@ -2338,14 +2338,14 @@ export class JobCatalogNodeAttributesResource {
|
|
|
2338
2338
|
this._client = _client;
|
|
2339
2339
|
}
|
|
2340
2340
|
/** Lists all node_attributes */
|
|
2341
|
-
list = (options) =>
|
|
2341
|
+
list = (options) => getApi20261001ResourcesJobCatalogNodeAttributes({ client: this._client, ...options });
|
|
2342
2342
|
/**
|
|
2343
2343
|
* Auto-paginate through all node_attributes, yielding one item at a time.
|
|
2344
2344
|
* @example for await (const item of client.jobCatalog.nodeAttributes.paginate()) { ... }
|
|
2345
2345
|
*/
|
|
2346
2346
|
paginate(options) {
|
|
2347
2347
|
const { maxItems, ...rest } = options ?? {};
|
|
2348
|
-
return paginate((params) =>
|
|
2348
|
+
return paginate((params) => getApi20261001ResourcesJobCatalogNodeAttributes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2349
2349
|
}
|
|
2350
2350
|
/**
|
|
2351
2351
|
* Fetch all node_attributes across all pages into a single array.
|
|
@@ -2362,14 +2362,14 @@ export class JobCatalogRolesResource {
|
|
|
2362
2362
|
this._client = _client;
|
|
2363
2363
|
}
|
|
2364
2364
|
/** Lists all roles */
|
|
2365
|
-
list = (options) =>
|
|
2365
|
+
list = (options) => getApi20261001ResourcesJobCatalogRoles({ client: this._client, ...options });
|
|
2366
2366
|
/**
|
|
2367
2367
|
* Auto-paginate through all roles, yielding one item at a time.
|
|
2368
2368
|
* @example for await (const item of client.jobCatalog.roles.paginate()) { ... }
|
|
2369
2369
|
*/
|
|
2370
2370
|
paginate(options) {
|
|
2371
2371
|
const { maxItems, ...rest } = options ?? {};
|
|
2372
|
-
return paginate((params) =>
|
|
2372
|
+
return paginate((params) => getApi20261001ResourcesJobCatalogRoles({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2373
2373
|
}
|
|
2374
2374
|
/**
|
|
2375
2375
|
* Fetch all roles across all pages into a single array.
|
|
@@ -2379,7 +2379,7 @@ export class JobCatalogRolesResource {
|
|
|
2379
2379
|
return collectAll(this.paginate(options));
|
|
2380
2380
|
}
|
|
2381
2381
|
/** Reads a single roles record */
|
|
2382
|
-
get = (options) =>
|
|
2382
|
+
get = (options) => getApi20261001ResourcesJobCatalogRolesById({ client: this._client, ...options });
|
|
2383
2383
|
}
|
|
2384
2384
|
/** Methods for the job_catalog > tree_nodes resource */
|
|
2385
2385
|
export class JobCatalogTreeNodesResource {
|
|
@@ -2388,14 +2388,14 @@ export class JobCatalogTreeNodesResource {
|
|
|
2388
2388
|
this._client = _client;
|
|
2389
2389
|
}
|
|
2390
2390
|
/** Lists all tree_nodes */
|
|
2391
|
-
list = (options) =>
|
|
2391
|
+
list = (options) => getApi20261001ResourcesJobCatalogTreeNodes({ client: this._client, ...options });
|
|
2392
2392
|
/**
|
|
2393
2393
|
* Auto-paginate through all tree_nodes, yielding one item at a time.
|
|
2394
2394
|
* @example for await (const item of client.jobCatalog.treeNodes.paginate()) { ... }
|
|
2395
2395
|
*/
|
|
2396
2396
|
paginate(options) {
|
|
2397
2397
|
const { maxItems, ...rest } = options ?? {};
|
|
2398
|
-
return paginate((params) =>
|
|
2398
|
+
return paginate((params) => getApi20261001ResourcesJobCatalogTreeNodes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2399
2399
|
}
|
|
2400
2400
|
/**
|
|
2401
2401
|
* Fetch all tree_nodes across all pages into a single array.
|
|
@@ -2412,14 +2412,14 @@ export class LocationsLocationsResource {
|
|
|
2412
2412
|
this._client = _client;
|
|
2413
2413
|
}
|
|
2414
2414
|
/** Lists all locations */
|
|
2415
|
-
list = (options) =>
|
|
2415
|
+
list = (options) => getApi20261001ResourcesLocationsLocations({ client: this._client, ...options });
|
|
2416
2416
|
/**
|
|
2417
2417
|
* Auto-paginate through all locations, yielding one item at a time.
|
|
2418
2418
|
* @example for await (const item of client.locations.locations.paginate()) { ... }
|
|
2419
2419
|
*/
|
|
2420
2420
|
paginate(options) {
|
|
2421
2421
|
const { maxItems, ...rest } = options ?? {};
|
|
2422
|
-
return paginate((params) =>
|
|
2422
|
+
return paginate((params) => getApi20261001ResourcesLocationsLocations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2423
2423
|
}
|
|
2424
2424
|
/**
|
|
2425
2425
|
* Fetch all locations across all pages into a single array.
|
|
@@ -2429,13 +2429,13 @@ export class LocationsLocationsResource {
|
|
|
2429
2429
|
return collectAll(this.paginate(options));
|
|
2430
2430
|
}
|
|
2431
2431
|
/** Creates a locations record */
|
|
2432
|
-
create = (options) =>
|
|
2432
|
+
create = (options) => postApi20261001ResourcesLocationsLocations({ client: this._client, ...options });
|
|
2433
2433
|
/** Reads a single locations record */
|
|
2434
|
-
get = (options) =>
|
|
2434
|
+
get = (options) => getApi20261001ResourcesLocationsLocationsById({ client: this._client, ...options });
|
|
2435
2435
|
/** Updates a locations record */
|
|
2436
|
-
update = (options) =>
|
|
2436
|
+
update = (options) => putApi20261001ResourcesLocationsLocationsById({ client: this._client, ...options });
|
|
2437
2437
|
/** Deletes a locations record */
|
|
2438
|
-
delete = (options) =>
|
|
2438
|
+
delete = (options) => deleteApi20261001ResourcesLocationsLocationsById({ client: this._client, ...options });
|
|
2439
2439
|
}
|
|
2440
2440
|
/** Methods for the locations > work_areas resource */
|
|
2441
2441
|
export class LocationsWorkAreasResource {
|
|
@@ -2444,14 +2444,14 @@ export class LocationsWorkAreasResource {
|
|
|
2444
2444
|
this._client = _client;
|
|
2445
2445
|
}
|
|
2446
2446
|
/** Lists all work_areas */
|
|
2447
|
-
list = (options) =>
|
|
2447
|
+
list = (options) => getApi20261001ResourcesLocationsWorkAreas({ client: this._client, ...options });
|
|
2448
2448
|
/**
|
|
2449
2449
|
* Auto-paginate through all work_areas, yielding one item at a time.
|
|
2450
2450
|
* @example for await (const item of client.locations.workAreas.paginate()) { ... }
|
|
2451
2451
|
*/
|
|
2452
2452
|
paginate(options) {
|
|
2453
2453
|
const { maxItems, ...rest } = options ?? {};
|
|
2454
|
-
return paginate((params) =>
|
|
2454
|
+
return paginate((params) => getApi20261001ResourcesLocationsWorkAreas({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2455
2455
|
}
|
|
2456
2456
|
/**
|
|
2457
2457
|
* Fetch all work_areas across all pages into a single array.
|
|
@@ -2461,15 +2461,15 @@ export class LocationsWorkAreasResource {
|
|
|
2461
2461
|
return collectAll(this.paginate(options));
|
|
2462
2462
|
}
|
|
2463
2463
|
/** Creates a work_areas record */
|
|
2464
|
-
create = (options) =>
|
|
2464
|
+
create = (options) => postApi20261001ResourcesLocationsWorkAreas({ client: this._client, ...options });
|
|
2465
2465
|
/** Reads a single work_areas record */
|
|
2466
|
-
get = (options) =>
|
|
2466
|
+
get = (options) => getApi20261001ResourcesLocationsWorkAreasById({ client: this._client, ...options });
|
|
2467
2467
|
/** Updates a work_areas record */
|
|
2468
|
-
update = (options) =>
|
|
2468
|
+
update = (options) => putApi20261001ResourcesLocationsWorkAreasById({ client: this._client, ...options });
|
|
2469
2469
|
/** archive */
|
|
2470
|
-
archive = (options) =>
|
|
2470
|
+
archive = (options) => postApi20261001ResourcesLocationsWorkAreasArchive({ client: this._client, ...options });
|
|
2471
2471
|
/** unarchive */
|
|
2472
|
-
unarchive = (options) =>
|
|
2472
|
+
unarchive = (options) => postApi20261001ResourcesLocationsWorkAreasUnarchive({ client: this._client, ...options });
|
|
2473
2473
|
}
|
|
2474
2474
|
/** Methods for the marketplace > installation_settings resource */
|
|
2475
2475
|
export class MarketplaceInstallationSettingsResource {
|
|
@@ -2478,14 +2478,14 @@ export class MarketplaceInstallationSettingsResource {
|
|
|
2478
2478
|
this._client = _client;
|
|
2479
2479
|
}
|
|
2480
2480
|
/** Lists all installation_settings */
|
|
2481
|
-
list = (options) =>
|
|
2481
|
+
list = (options) => getApi20261001ResourcesMarketplaceInstallationSettings({ client: this._client, ...options });
|
|
2482
2482
|
/**
|
|
2483
2483
|
* Auto-paginate through all installation_settings, yielding one item at a time.
|
|
2484
2484
|
* @example for await (const item of client.marketplace.installationSettings.paginate()) { ... }
|
|
2485
2485
|
*/
|
|
2486
2486
|
paginate(options) {
|
|
2487
2487
|
const { maxItems, ...rest } = options ?? {};
|
|
2488
|
-
return paginate((params) =>
|
|
2488
|
+
return paginate((params) => getApi20261001ResourcesMarketplaceInstallationSettings({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2489
2489
|
}
|
|
2490
2490
|
/**
|
|
2491
2491
|
* Fetch all installation_settings across all pages into a single array.
|
|
@@ -2502,7 +2502,7 @@ export class MarketplaceInstallationsResource {
|
|
|
2502
2502
|
this._client = _client;
|
|
2503
2503
|
}
|
|
2504
2504
|
/** Creates a installations record */
|
|
2505
|
-
create = (options) =>
|
|
2505
|
+
create = (options) => postApi20261001ResourcesMarketplaceInstallations({ client: this._client, ...options });
|
|
2506
2506
|
}
|
|
2507
2507
|
/** Methods for the payroll > family_situations resource */
|
|
2508
2508
|
export class PayrollFamilySituationsResource {
|
|
@@ -2511,14 +2511,14 @@ export class PayrollFamilySituationsResource {
|
|
|
2511
2511
|
this._client = _client;
|
|
2512
2512
|
}
|
|
2513
2513
|
/** Lists all family_situations */
|
|
2514
|
-
list = (options) =>
|
|
2514
|
+
list = (options) => getApi20261001ResourcesPayrollFamilySituations({ client: this._client, ...options });
|
|
2515
2515
|
/**
|
|
2516
2516
|
* Auto-paginate through all family_situations, yielding one item at a time.
|
|
2517
2517
|
* @example for await (const item of client.payroll.familySituations.paginate()) { ... }
|
|
2518
2518
|
*/
|
|
2519
2519
|
paginate(options) {
|
|
2520
2520
|
const { maxItems, ...rest } = options ?? {};
|
|
2521
|
-
return paginate((params) =>
|
|
2521
|
+
return paginate((params) => getApi20261001ResourcesPayrollFamilySituations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2522
2522
|
}
|
|
2523
2523
|
/**
|
|
2524
2524
|
* Fetch all family_situations across all pages into a single array.
|
|
@@ -2528,9 +2528,9 @@ export class PayrollFamilySituationsResource {
|
|
|
2528
2528
|
return collectAll(this.paginate(options));
|
|
2529
2529
|
}
|
|
2530
2530
|
/** Creates a family_situations record */
|
|
2531
|
-
create = (options) =>
|
|
2531
|
+
create = (options) => postApi20261001ResourcesPayrollFamilySituations({ client: this._client, ...options });
|
|
2532
2532
|
/** Updates a family_situations record */
|
|
2533
|
-
update = (options) =>
|
|
2533
|
+
update = (options) => putApi20261001ResourcesPayrollFamilySituationsById({ client: this._client, ...options });
|
|
2534
2534
|
}
|
|
2535
2535
|
/** Methods for the payroll > policy_periods resource */
|
|
2536
2536
|
export class PayrollPolicyPeriodsResource {
|
|
@@ -2539,7 +2539,7 @@ export class PayrollPolicyPeriodsResource {
|
|
|
2539
2539
|
this._client = _client;
|
|
2540
2540
|
}
|
|
2541
2541
|
/** changeStatus */
|
|
2542
|
-
changeStatus = (options) =>
|
|
2542
|
+
changeStatus = (options) => postApi20261001ResourcesPayrollPolicyPeriodsChangeStatus({ client: this._client, ...options });
|
|
2543
2543
|
}
|
|
2544
2544
|
/** Methods for the payroll > supplements resource */
|
|
2545
2545
|
export class PayrollSupplementsResource {
|
|
@@ -2548,14 +2548,14 @@ export class PayrollSupplementsResource {
|
|
|
2548
2548
|
this._client = _client;
|
|
2549
2549
|
}
|
|
2550
2550
|
/** Lists all supplements */
|
|
2551
|
-
list = (options) =>
|
|
2551
|
+
list = (options) => getApi20261001ResourcesPayrollSupplements({ client: this._client, ...options });
|
|
2552
2552
|
/**
|
|
2553
2553
|
* Auto-paginate through all supplements, yielding one item at a time.
|
|
2554
2554
|
* @example for await (const item of client.payroll.supplements.paginate()) { ... }
|
|
2555
2555
|
*/
|
|
2556
2556
|
paginate(options) {
|
|
2557
2557
|
const { maxItems, ...rest } = options ?? {};
|
|
2558
|
-
return paginate((params) =>
|
|
2558
|
+
return paginate((params) => getApi20261001ResourcesPayrollSupplements({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2559
2559
|
}
|
|
2560
2560
|
/**
|
|
2561
2561
|
* Fetch all supplements across all pages into a single array.
|
|
@@ -2565,13 +2565,13 @@ export class PayrollSupplementsResource {
|
|
|
2565
2565
|
return collectAll(this.paginate(options));
|
|
2566
2566
|
}
|
|
2567
2567
|
/** Creates a supplements record */
|
|
2568
|
-
create = (options) =>
|
|
2568
|
+
create = (options) => postApi20261001ResourcesPayrollSupplements({ client: this._client, ...options });
|
|
2569
2569
|
/** Reads a single supplements record */
|
|
2570
|
-
get = (options) =>
|
|
2570
|
+
get = (options) => getApi20261001ResourcesPayrollSupplementsById({ client: this._client, ...options });
|
|
2571
2571
|
/** Updates a supplements record */
|
|
2572
|
-
update = (options) =>
|
|
2572
|
+
update = (options) => putApi20261001ResourcesPayrollSupplementsById({ client: this._client, ...options });
|
|
2573
2573
|
/** Deletes a supplements record */
|
|
2574
|
-
delete = (options) =>
|
|
2574
|
+
delete = (options) => deleteApi20261001ResourcesPayrollSupplementsById({ client: this._client, ...options });
|
|
2575
2575
|
}
|
|
2576
2576
|
/** Methods for the payroll_employees > identifiers resource */
|
|
2577
2577
|
export class PayrollEmployeesIdentifiersResource {
|
|
@@ -2580,14 +2580,14 @@ export class PayrollEmployeesIdentifiersResource {
|
|
|
2580
2580
|
this._client = _client;
|
|
2581
2581
|
}
|
|
2582
2582
|
/** Lists all identifiers */
|
|
2583
|
-
list = (options) =>
|
|
2583
|
+
list = (options) => getApi20261001ResourcesPayrollEmployeesIdentifiers({ client: this._client, ...options });
|
|
2584
2584
|
/**
|
|
2585
2585
|
* Auto-paginate through all identifiers, yielding one item at a time.
|
|
2586
2586
|
* @example for await (const item of client.payrollEmployees.identifiers.paginate()) { ... }
|
|
2587
2587
|
*/
|
|
2588
2588
|
paginate(options) {
|
|
2589
2589
|
const { maxItems, ...rest } = options ?? {};
|
|
2590
|
-
return paginate((params) =>
|
|
2590
|
+
return paginate((params) => getApi20261001ResourcesPayrollEmployeesIdentifiers({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2591
2591
|
}
|
|
2592
2592
|
/**
|
|
2593
2593
|
* Fetch all identifiers across all pages into a single array.
|
|
@@ -2597,13 +2597,13 @@ export class PayrollEmployeesIdentifiersResource {
|
|
|
2597
2597
|
return collectAll(this.paginate(options));
|
|
2598
2598
|
}
|
|
2599
2599
|
/** Creates a identifiers record */
|
|
2600
|
-
create = (options) =>
|
|
2600
|
+
create = (options) => postApi20261001ResourcesPayrollEmployeesIdentifiers({ client: this._client, ...options });
|
|
2601
2601
|
/** Reads a single identifiers record */
|
|
2602
|
-
get = (options) =>
|
|
2602
|
+
get = (options) => getApi20261001ResourcesPayrollEmployeesIdentifiersById({ client: this._client, ...options });
|
|
2603
2603
|
/** Updates a identifiers record */
|
|
2604
|
-
update = (options) =>
|
|
2604
|
+
update = (options) => putApi20261001ResourcesPayrollEmployeesIdentifiersById({ client: this._client, ...options });
|
|
2605
2605
|
/** Deletes a identifiers record */
|
|
2606
|
-
delete = (options) =>
|
|
2606
|
+
delete = (options) => deleteApi20261001ResourcesPayrollEmployeesIdentifiersById({ client: this._client, ...options });
|
|
2607
2607
|
}
|
|
2608
2608
|
/** Methods for the payroll_integrations_base > codes resource */
|
|
2609
2609
|
export class PayrollIntegrationsBaseCodesResource {
|
|
@@ -2612,14 +2612,14 @@ export class PayrollIntegrationsBaseCodesResource {
|
|
|
2612
2612
|
this._client = _client;
|
|
2613
2613
|
}
|
|
2614
2614
|
/** Lists all codes */
|
|
2615
|
-
list = (options) =>
|
|
2615
|
+
list = (options) => getApi20261001ResourcesPayrollIntegrationsBaseCodes({ client: this._client, ...options });
|
|
2616
2616
|
/**
|
|
2617
2617
|
* Auto-paginate through all codes, yielding one item at a time.
|
|
2618
2618
|
* @example for await (const item of client.payrollIntegrationsBase.codes.paginate()) { ... }
|
|
2619
2619
|
*/
|
|
2620
2620
|
paginate(options) {
|
|
2621
2621
|
const { maxItems, ...rest } = options ?? {};
|
|
2622
|
-
return paginate((params) =>
|
|
2622
|
+
return paginate((params) => getApi20261001ResourcesPayrollIntegrationsBaseCodes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2623
2623
|
}
|
|
2624
2624
|
/**
|
|
2625
2625
|
* Fetch all codes across all pages into a single array.
|
|
@@ -2629,11 +2629,11 @@ export class PayrollIntegrationsBaseCodesResource {
|
|
|
2629
2629
|
return collectAll(this.paginate(options));
|
|
2630
2630
|
}
|
|
2631
2631
|
/** Creates a codes record */
|
|
2632
|
-
create = (options) =>
|
|
2632
|
+
create = (options) => postApi20261001ResourcesPayrollIntegrationsBaseCodes({ client: this._client, ...options });
|
|
2633
2633
|
/** Updates a codes record */
|
|
2634
|
-
update = (options) =>
|
|
2634
|
+
update = (options) => putApi20261001ResourcesPayrollIntegrationsBaseCodesById({ client: this._client, ...options });
|
|
2635
2635
|
/** Deletes a codes record */
|
|
2636
|
-
delete = (options) =>
|
|
2636
|
+
delete = (options) => deleteApi20261001ResourcesPayrollIntegrationsBaseCodesById({ client: this._client, ...options });
|
|
2637
2637
|
}
|
|
2638
2638
|
/** Methods for the performance > agreements resource */
|
|
2639
2639
|
export class PerformanceAgreementsResource {
|
|
@@ -2642,14 +2642,14 @@ export class PerformanceAgreementsResource {
|
|
|
2642
2642
|
this._client = _client;
|
|
2643
2643
|
}
|
|
2644
2644
|
/** Lists all agreements */
|
|
2645
|
-
list = (options) =>
|
|
2645
|
+
list = (options) => getApi20261001ResourcesPerformanceAgreements({ client: this._client, ...options });
|
|
2646
2646
|
/**
|
|
2647
2647
|
* Auto-paginate through all agreements, yielding one item at a time.
|
|
2648
2648
|
* @example for await (const item of client.performance.agreements.paginate()) { ... }
|
|
2649
2649
|
*/
|
|
2650
2650
|
paginate(options) {
|
|
2651
2651
|
const { maxItems, ...rest } = options ?? {};
|
|
2652
|
-
return paginate((params) =>
|
|
2652
|
+
return paginate((params) => getApi20261001ResourcesPerformanceAgreements({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2653
2653
|
}
|
|
2654
2654
|
/**
|
|
2655
2655
|
* Fetch all agreements across all pages into a single array.
|
|
@@ -2659,11 +2659,11 @@ export class PerformanceAgreementsResource {
|
|
|
2659
2659
|
return collectAll(this.paginate(options));
|
|
2660
2660
|
}
|
|
2661
2661
|
/** Reads a single agreements record */
|
|
2662
|
-
get = (options) =>
|
|
2662
|
+
get = (options) => getApi20261001ResourcesPerformanceAgreementsById({ client: this._client, ...options });
|
|
2663
2663
|
/** bulkInitiate */
|
|
2664
|
-
bulkInitiate = (options) =>
|
|
2664
|
+
bulkInitiate = (options) => postApi20261001ResourcesPerformanceAgreementsBulkInitiate({ client: this._client, ...options });
|
|
2665
2665
|
/** initiate */
|
|
2666
|
-
initiate = (options) =>
|
|
2666
|
+
initiate = (options) => postApi20261001ResourcesPerformanceAgreementsInitiate({ client: this._client, ...options });
|
|
2667
2667
|
}
|
|
2668
2668
|
/** Methods for the performance > company_employee_score_scales resource */
|
|
2669
2669
|
export class PerformanceCompanyEmployeeScoreScalesResource {
|
|
@@ -2672,14 +2672,14 @@ export class PerformanceCompanyEmployeeScoreScalesResource {
|
|
|
2672
2672
|
this._client = _client;
|
|
2673
2673
|
}
|
|
2674
2674
|
/** Lists all company_employee_score_scales */
|
|
2675
|
-
list = (options) =>
|
|
2675
|
+
list = (options) => getApi20261001ResourcesPerformanceCompanyEmployeeScoreScales({ client: this._client, ...options });
|
|
2676
2676
|
/**
|
|
2677
2677
|
* Auto-paginate through all company_employee_score_scales, yielding one item at a time.
|
|
2678
2678
|
* @example for await (const item of client.performance.companyEmployeeScoreScales.paginate()) { ... }
|
|
2679
2679
|
*/
|
|
2680
2680
|
paginate(options) {
|
|
2681
2681
|
const { maxItems, ...rest } = options ?? {};
|
|
2682
|
-
return paginate((params) =>
|
|
2682
|
+
return paginate((params) => getApi20261001ResourcesPerformanceCompanyEmployeeScoreScales({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2683
2683
|
}
|
|
2684
2684
|
/**
|
|
2685
2685
|
* Fetch all company_employee_score_scales across all pages into a single array.
|
|
@@ -2689,9 +2689,9 @@ export class PerformanceCompanyEmployeeScoreScalesResource {
|
|
|
2689
2689
|
return collectAll(this.paginate(options));
|
|
2690
2690
|
}
|
|
2691
2691
|
/** Reads a single company_employee_score_scales record */
|
|
2692
|
-
get = (options) =>
|
|
2692
|
+
get = (options) => getApi20261001ResourcesPerformanceCompanyEmployeeScoreScalesById({ client: this._client, ...options });
|
|
2693
2693
|
/** set */
|
|
2694
|
-
set = (options) =>
|
|
2694
|
+
set = (options) => postApi20261001ResourcesPerformanceCompanyEmployeeScoreScalesSet({ client: this._client, ...options });
|
|
2695
2695
|
}
|
|
2696
2696
|
/** Methods for the performance > employee_score_scales resource */
|
|
2697
2697
|
export class PerformanceEmployeeScoreScalesResource {
|
|
@@ -2700,14 +2700,14 @@ export class PerformanceEmployeeScoreScalesResource {
|
|
|
2700
2700
|
this._client = _client;
|
|
2701
2701
|
}
|
|
2702
2702
|
/** Lists all employee_score_scales */
|
|
2703
|
-
list = (options) =>
|
|
2703
|
+
list = (options) => getApi20261001ResourcesPerformanceEmployeeScoreScales({ client: this._client, ...options });
|
|
2704
2704
|
/**
|
|
2705
2705
|
* Auto-paginate through all employee_score_scales, yielding one item at a time.
|
|
2706
2706
|
* @example for await (const item of client.performance.employeeScoreScales.paginate()) { ... }
|
|
2707
2707
|
*/
|
|
2708
2708
|
paginate(options) {
|
|
2709
2709
|
const { maxItems, ...rest } = options ?? {};
|
|
2710
|
-
return paginate((params) =>
|
|
2710
|
+
return paginate((params) => getApi20261001ResourcesPerformanceEmployeeScoreScales({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2711
2711
|
}
|
|
2712
2712
|
/**
|
|
2713
2713
|
* Fetch all employee_score_scales across all pages into a single array.
|
|
@@ -2717,7 +2717,7 @@ export class PerformanceEmployeeScoreScalesResource {
|
|
|
2717
2717
|
return collectAll(this.paginate(options));
|
|
2718
2718
|
}
|
|
2719
2719
|
/** Reads a single employee_score_scales record */
|
|
2720
|
-
get = (options) =>
|
|
2720
|
+
get = (options) => getApi20261001ResourcesPerformanceEmployeeScoreScalesById({ client: this._client, ...options });
|
|
2721
2721
|
}
|
|
2722
2722
|
/** Methods for the performance > review_evaluation_answers resource */
|
|
2723
2723
|
export class PerformanceReviewEvaluationAnswersResource {
|
|
@@ -2726,14 +2726,14 @@ export class PerformanceReviewEvaluationAnswersResource {
|
|
|
2726
2726
|
this._client = _client;
|
|
2727
2727
|
}
|
|
2728
2728
|
/** Lists all review_evaluation_answers */
|
|
2729
|
-
list = (options) =>
|
|
2729
|
+
list = (options) => getApi20261001ResourcesPerformanceReviewEvaluationAnswers({ client: this._client, ...options });
|
|
2730
2730
|
/**
|
|
2731
2731
|
* Auto-paginate through all review_evaluation_answers, yielding one item at a time.
|
|
2732
2732
|
* @example for await (const item of client.performance.reviewEvaluationAnswers.paginate()) { ... }
|
|
2733
2733
|
*/
|
|
2734
2734
|
paginate(options) {
|
|
2735
2735
|
const { maxItems, ...rest } = options ?? {};
|
|
2736
|
-
return paginate((params) =>
|
|
2736
|
+
return paginate((params) => getApi20261001ResourcesPerformanceReviewEvaluationAnswers({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2737
2737
|
}
|
|
2738
2738
|
/**
|
|
2739
2739
|
* Fetch all review_evaluation_answers across all pages into a single array.
|
|
@@ -2750,14 +2750,14 @@ export class PerformanceReviewEvaluationScoresResource {
|
|
|
2750
2750
|
this._client = _client;
|
|
2751
2751
|
}
|
|
2752
2752
|
/** Lists all review_evaluation_scores */
|
|
2753
|
-
list = (options) =>
|
|
2753
|
+
list = (options) => getApi20261001ResourcesPerformanceReviewEvaluationScores({ client: this._client, ...options });
|
|
2754
2754
|
/**
|
|
2755
2755
|
* Auto-paginate through all review_evaluation_scores, yielding one item at a time.
|
|
2756
2756
|
* @example for await (const item of client.performance.reviewEvaluationScores.paginate()) { ... }
|
|
2757
2757
|
*/
|
|
2758
2758
|
paginate(options) {
|
|
2759
2759
|
const { maxItems, ...rest } = options ?? {};
|
|
2760
|
-
return paginate((params) =>
|
|
2760
|
+
return paginate((params) => getApi20261001ResourcesPerformanceReviewEvaluationScores({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2761
2761
|
}
|
|
2762
2762
|
/**
|
|
2763
2763
|
* Fetch all review_evaluation_scores across all pages into a single array.
|
|
@@ -2767,7 +2767,7 @@ export class PerformanceReviewEvaluationScoresResource {
|
|
|
2767
2767
|
return collectAll(this.paginate(options));
|
|
2768
2768
|
}
|
|
2769
2769
|
/** Reads a single review_evaluation_scores record */
|
|
2770
|
-
get = (options) =>
|
|
2770
|
+
get = (options) => getApi20261001ResourcesPerformanceReviewEvaluationScoresById({ client: this._client, ...options });
|
|
2771
2771
|
}
|
|
2772
2772
|
/** Methods for the performance > review_evaluations resource */
|
|
2773
2773
|
export class PerformanceReviewEvaluationsResource {
|
|
@@ -2776,14 +2776,14 @@ export class PerformanceReviewEvaluationsResource {
|
|
|
2776
2776
|
this._client = _client;
|
|
2777
2777
|
}
|
|
2778
2778
|
/** Lists all review_evaluations */
|
|
2779
|
-
list = (options) =>
|
|
2779
|
+
list = (options) => getApi20261001ResourcesPerformanceReviewEvaluations({ client: this._client, ...options });
|
|
2780
2780
|
/**
|
|
2781
2781
|
* Auto-paginate through all review_evaluations, yielding one item at a time.
|
|
2782
2782
|
* @example for await (const item of client.performance.reviewEvaluations.paginate()) { ... }
|
|
2783
2783
|
*/
|
|
2784
2784
|
paginate(options) {
|
|
2785
2785
|
const { maxItems, ...rest } = options ?? {};
|
|
2786
|
-
return paginate((params) =>
|
|
2786
|
+
return paginate((params) => getApi20261001ResourcesPerformanceReviewEvaluations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2787
2787
|
}
|
|
2788
2788
|
/**
|
|
2789
2789
|
* Fetch all review_evaluations across all pages into a single array.
|
|
@@ -2793,9 +2793,9 @@ export class PerformanceReviewEvaluationsResource {
|
|
|
2793
2793
|
return collectAll(this.paginate(options));
|
|
2794
2794
|
}
|
|
2795
2795
|
/** Reads a single review_evaluations record */
|
|
2796
|
-
get = (options) =>
|
|
2796
|
+
get = (options) => getApi20261001ResourcesPerformanceReviewEvaluationsById({ client: this._client, ...options });
|
|
2797
2797
|
/** replaceReviewer */
|
|
2798
|
-
replaceReviewer = (options) =>
|
|
2798
|
+
replaceReviewer = (options) => postApi20261001ResourcesPerformanceReviewEvaluationsReplaceReviewer({ client: this._client, ...options });
|
|
2799
2799
|
}
|
|
2800
2800
|
/** Methods for the performance > review_owners resource */
|
|
2801
2801
|
export class PerformanceReviewOwnersResource {
|
|
@@ -2804,14 +2804,14 @@ export class PerformanceReviewOwnersResource {
|
|
|
2804
2804
|
this._client = _client;
|
|
2805
2805
|
}
|
|
2806
2806
|
/** Lists all review_owners */
|
|
2807
|
-
list = (options) =>
|
|
2807
|
+
list = (options) => getApi20261001ResourcesPerformanceReviewOwners({ client: this._client, ...options });
|
|
2808
2808
|
/**
|
|
2809
2809
|
* Auto-paginate through all review_owners, yielding one item at a time.
|
|
2810
2810
|
* @example for await (const item of client.performance.reviewOwners.paginate()) { ... }
|
|
2811
2811
|
*/
|
|
2812
2812
|
paginate(options) {
|
|
2813
2813
|
const { maxItems, ...rest } = options ?? {};
|
|
2814
|
-
return paginate((params) =>
|
|
2814
|
+
return paginate((params) => getApi20261001ResourcesPerformanceReviewOwners({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2815
2815
|
}
|
|
2816
2816
|
/**
|
|
2817
2817
|
* Fetch all review_owners across all pages into a single array.
|
|
@@ -2821,9 +2821,9 @@ export class PerformanceReviewOwnersResource {
|
|
|
2821
2821
|
return collectAll(this.paginate(options));
|
|
2822
2822
|
}
|
|
2823
2823
|
/** Deletes a review_owners record */
|
|
2824
|
-
delete = (options) =>
|
|
2824
|
+
delete = (options) => deleteApi20261001ResourcesPerformanceReviewOwnersById({ client: this._client, ...options });
|
|
2825
2825
|
/** bulkCreate */
|
|
2826
|
-
bulkCreate = (options) =>
|
|
2826
|
+
bulkCreate = (options) => postApi20261001ResourcesPerformanceReviewOwnersBulkCreate({ client: this._client, ...options });
|
|
2827
2827
|
}
|
|
2828
2828
|
/** Methods for the performance > review_process_custom_templates resource */
|
|
2829
2829
|
export class PerformanceReviewProcessCustomTemplatesResource {
|
|
@@ -2832,14 +2832,14 @@ export class PerformanceReviewProcessCustomTemplatesResource {
|
|
|
2832
2832
|
this._client = _client;
|
|
2833
2833
|
}
|
|
2834
2834
|
/** Lists all review_process_custom_templates */
|
|
2835
|
-
list = (options) =>
|
|
2835
|
+
list = (options) => getApi20261001ResourcesPerformanceReviewProcessCustomTemplates({ client: this._client, ...options });
|
|
2836
2836
|
/**
|
|
2837
2837
|
* Auto-paginate through all review_process_custom_templates, yielding one item at a time.
|
|
2838
2838
|
* @example for await (const item of client.performance.reviewProcessCustomTemplates.paginate()) { ... }
|
|
2839
2839
|
*/
|
|
2840
2840
|
paginate(options) {
|
|
2841
2841
|
const { maxItems, ...rest } = options ?? {};
|
|
2842
|
-
return paginate((params) =>
|
|
2842
|
+
return paginate((params) => getApi20261001ResourcesPerformanceReviewProcessCustomTemplates({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2843
2843
|
}
|
|
2844
2844
|
/**
|
|
2845
2845
|
* Fetch all review_process_custom_templates across all pages into a single array.
|
|
@@ -2849,7 +2849,7 @@ export class PerformanceReviewProcessCustomTemplatesResource {
|
|
|
2849
2849
|
return collectAll(this.paginate(options));
|
|
2850
2850
|
}
|
|
2851
2851
|
/** Reads a single review_process_custom_templates record */
|
|
2852
|
-
get = (options) =>
|
|
2852
|
+
get = (options) => getApi20261001ResourcesPerformanceReviewProcessCustomTemplatesById({ client: this._client, ...options });
|
|
2853
2853
|
}
|
|
2854
2854
|
/** Methods for the performance > review_process_estimated_targets resource */
|
|
2855
2855
|
export class PerformanceReviewProcessEstimatedTargetsResource {
|
|
@@ -2858,14 +2858,14 @@ export class PerformanceReviewProcessEstimatedTargetsResource {
|
|
|
2858
2858
|
this._client = _client;
|
|
2859
2859
|
}
|
|
2860
2860
|
/** Lists all review_process_estimated_targets */
|
|
2861
|
-
list = (options) =>
|
|
2861
|
+
list = (options) => getApi20261001ResourcesPerformanceReviewProcessEstimatedTargets({ client: this._client, ...options });
|
|
2862
2862
|
/**
|
|
2863
2863
|
* Auto-paginate through all review_process_estimated_targets, yielding one item at a time.
|
|
2864
2864
|
* @example for await (const item of client.performance.reviewProcessEstimatedTargets.paginate()) { ... }
|
|
2865
2865
|
*/
|
|
2866
2866
|
paginate(options) {
|
|
2867
2867
|
const { maxItems, ...rest } = options ?? {};
|
|
2868
|
-
return paginate((params) =>
|
|
2868
|
+
return paginate((params) => getApi20261001ResourcesPerformanceReviewProcessEstimatedTargets({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2869
2869
|
}
|
|
2870
2870
|
/**
|
|
2871
2871
|
* Fetch all review_process_estimated_targets across all pages into a single array.
|
|
@@ -2882,14 +2882,14 @@ export class PerformanceReviewProcessTargetsResource {
|
|
|
2882
2882
|
this._client = _client;
|
|
2883
2883
|
}
|
|
2884
2884
|
/** Lists all review_process_targets */
|
|
2885
|
-
list = (options) =>
|
|
2885
|
+
list = (options) => getApi20261001ResourcesPerformanceReviewProcessTargets({ client: this._client, ...options });
|
|
2886
2886
|
/**
|
|
2887
2887
|
* Auto-paginate through all review_process_targets, yielding one item at a time.
|
|
2888
2888
|
* @example for await (const item of client.performance.reviewProcessTargets.paginate()) { ... }
|
|
2889
2889
|
*/
|
|
2890
2890
|
paginate(options) {
|
|
2891
2891
|
const { maxItems, ...rest } = options ?? {};
|
|
2892
|
-
return paginate((params) =>
|
|
2892
|
+
return paginate((params) => getApi20261001ResourcesPerformanceReviewProcessTargets({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2893
2893
|
}
|
|
2894
2894
|
/**
|
|
2895
2895
|
* Fetch all review_process_targets across all pages into a single array.
|
|
@@ -2899,15 +2899,15 @@ export class PerformanceReviewProcessTargetsResource {
|
|
|
2899
2899
|
return collectAll(this.paginate(options));
|
|
2900
2900
|
}
|
|
2901
2901
|
/** Reads a single review_process_targets record */
|
|
2902
|
-
get = (options) =>
|
|
2902
|
+
get = (options) => getApi20261001ResourcesPerformanceReviewProcessTargetsById({ client: this._client, ...options });
|
|
2903
2903
|
/** Deletes a review_process_targets record */
|
|
2904
|
-
delete = (options) =>
|
|
2904
|
+
delete = (options) => deleteApi20261001ResourcesPerformanceReviewProcessTargetsById({ client: this._client, ...options });
|
|
2905
2905
|
/** addPeers */
|
|
2906
|
-
addPeers = (options) =>
|
|
2906
|
+
addPeers = (options) => postApi20261001ResourcesPerformanceReviewProcessTargetsAddPeers({ client: this._client, ...options });
|
|
2907
2907
|
/** bulkCreate */
|
|
2908
|
-
bulkCreate = (options) =>
|
|
2908
|
+
bulkCreate = (options) => postApi20261001ResourcesPerformanceReviewProcessTargetsBulkCreate({ client: this._client, ...options });
|
|
2909
2909
|
/** removePeerEvaluations */
|
|
2910
|
-
removePeerEvaluations = (options) =>
|
|
2910
|
+
removePeerEvaluations = (options) => postApi20261001ResourcesPerformanceReviewProcessTargetsRemovePeerEvaluations({ client: this._client, ...options });
|
|
2911
2911
|
}
|
|
2912
2912
|
/** Methods for the performance > review_processes resource */
|
|
2913
2913
|
export class PerformanceReviewProcessesResource {
|
|
@@ -2916,14 +2916,14 @@ export class PerformanceReviewProcessesResource {
|
|
|
2916
2916
|
this._client = _client;
|
|
2917
2917
|
}
|
|
2918
2918
|
/** Lists all review_processes */
|
|
2919
|
-
list = (options) =>
|
|
2919
|
+
list = (options) => getApi20261001ResourcesPerformanceReviewProcesses({ client: this._client, ...options });
|
|
2920
2920
|
/**
|
|
2921
2921
|
* Auto-paginate through all review_processes, yielding one item at a time.
|
|
2922
2922
|
* @example for await (const item of client.performance.reviewProcesses.paginate()) { ... }
|
|
2923
2923
|
*/
|
|
2924
2924
|
paginate(options) {
|
|
2925
2925
|
const { maxItems, ...rest } = options ?? {};
|
|
2926
|
-
return paginate((params) =>
|
|
2926
|
+
return paginate((params) => getApi20261001ResourcesPerformanceReviewProcesses({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2927
2927
|
}
|
|
2928
2928
|
/**
|
|
2929
2929
|
* Fetch all review_processes across all pages into a single array.
|
|
@@ -2933,45 +2933,45 @@ export class PerformanceReviewProcessesResource {
|
|
|
2933
2933
|
return collectAll(this.paginate(options));
|
|
2934
2934
|
}
|
|
2935
2935
|
/** Creates a review_processes record */
|
|
2936
|
-
create = (options) =>
|
|
2936
|
+
create = (options) => postApi20261001ResourcesPerformanceReviewProcesses({ client: this._client, ...options });
|
|
2937
2937
|
/** Reads a single review_processes record */
|
|
2938
|
-
get = (options) =>
|
|
2938
|
+
get = (options) => getApi20261001ResourcesPerformanceReviewProcessesById({ client: this._client, ...options });
|
|
2939
2939
|
/** Deletes a review_processes record */
|
|
2940
|
-
delete = (options) =>
|
|
2940
|
+
delete = (options) => deleteApi20261001ResourcesPerformanceReviewProcessesById({ client: this._client, ...options });
|
|
2941
2941
|
/** createFromTemplate */
|
|
2942
|
-
createFromTemplate = (options) =>
|
|
2942
|
+
createFromTemplate = (options) => postApi20261001ResourcesPerformanceReviewProcessesCreateFromTemplate({ client: this._client, ...options });
|
|
2943
2943
|
/** duplicate */
|
|
2944
|
-
duplicate = (options) =>
|
|
2944
|
+
duplicate = (options) => postApi20261001ResourcesPerformanceReviewProcessesDuplicate({ client: this._client, ...options });
|
|
2945
2945
|
/** remindInBulk */
|
|
2946
|
-
remindInBulk = (options) =>
|
|
2946
|
+
remindInBulk = (options) => postApi20261001ResourcesPerformanceReviewProcessesRemindInBulk({ client: this._client, ...options });
|
|
2947
2947
|
/** removeSchedule */
|
|
2948
|
-
removeSchedule = (options) =>
|
|
2948
|
+
removeSchedule = (options) => postApi20261001ResourcesPerformanceReviewProcessesRemoveSchedule({ client: this._client, ...options });
|
|
2949
2949
|
/** reopen */
|
|
2950
|
-
reopen = (options) =>
|
|
2950
|
+
reopen = (options) => postApi20261001ResourcesPerformanceReviewProcessesReopen({ client: this._client, ...options });
|
|
2951
2951
|
/** schedule */
|
|
2952
|
-
schedule = (options) =>
|
|
2952
|
+
schedule = (options) => postApi20261001ResourcesPerformanceReviewProcessesSchedule({ client: this._client, ...options });
|
|
2953
2953
|
/** start */
|
|
2954
|
-
start = (options) =>
|
|
2954
|
+
start = (options) => postApi20261001ResourcesPerformanceReviewProcessesStart({ client: this._client, ...options });
|
|
2955
2955
|
/** stop */
|
|
2956
|
-
stop = (options) =>
|
|
2956
|
+
stop = (options) => postApi20261001ResourcesPerformanceReviewProcessesStop({ client: this._client, ...options });
|
|
2957
2957
|
/** toggleArchive */
|
|
2958
|
-
toggleArchive = (options) =>
|
|
2958
|
+
toggleArchive = (options) => postApi20261001ResourcesPerformanceReviewProcessesToggleArchive({ client: this._client, ...options });
|
|
2959
2959
|
/** updateAgreementsConfiguration */
|
|
2960
|
-
updateAgreementsConfiguration = (options) =>
|
|
2960
|
+
updateAgreementsConfiguration = (options) => postApi20261001ResourcesPerformanceReviewProcessesUpdateAgreementsConfiguration({ client: this._client, ...options });
|
|
2961
2961
|
/** updateBasicInfo */
|
|
2962
|
-
updateBasicInfo = (options) =>
|
|
2962
|
+
updateBasicInfo = (options) => postApi20261001ResourcesPerformanceReviewProcessesUpdateBasicInfo({ client: this._client, ...options });
|
|
2963
2963
|
/** updateCompetenciesAssessmentsConfiguration */
|
|
2964
|
-
updateCompetenciesAssessmentsConfiguration = (options) =>
|
|
2964
|
+
updateCompetenciesAssessmentsConfiguration = (options) => postApi20261001ResourcesPerformanceReviewProcessesUpdateCompetenciesAssessmentsConfiguration({ client: this._client, ...options });
|
|
2965
2965
|
/** updateDeadline */
|
|
2966
|
-
updateDeadline = (options) =>
|
|
2966
|
+
updateDeadline = (options) => postApi20261001ResourcesPerformanceReviewProcessesUpdateDeadline({ client: this._client, ...options });
|
|
2967
2967
|
/** updateEmployeeScoreConfiguration */
|
|
2968
|
-
updateEmployeeScoreConfiguration = (options) =>
|
|
2968
|
+
updateEmployeeScoreConfiguration = (options) => postApi20261001ResourcesPerformanceReviewProcessesUpdateEmployeeScoreConfiguration({ client: this._client, ...options });
|
|
2969
2969
|
/** updateReviewerStrategies */
|
|
2970
|
-
updateReviewerStrategies = (options) =>
|
|
2970
|
+
updateReviewerStrategies = (options) => postApi20261001ResourcesPerformanceReviewProcessesUpdateReviewerStrategies({ client: this._client, ...options });
|
|
2971
2971
|
/** updateSchedule */
|
|
2972
|
-
updateSchedule = (options) =>
|
|
2972
|
+
updateSchedule = (options) => postApi20261001ResourcesPerformanceReviewProcessesUpdateSchedule({ client: this._client, ...options });
|
|
2973
2973
|
/** updateTargetStrategy */
|
|
2974
|
-
updateTargetStrategy = (options) =>
|
|
2974
|
+
updateTargetStrategy = (options) => postApi20261001ResourcesPerformanceReviewProcessesUpdateTargetStrategy({ client: this._client, ...options });
|
|
2975
2975
|
}
|
|
2976
2976
|
/** Methods for the performance > review_questionnaire_by_strategies resource */
|
|
2977
2977
|
export class PerformanceReviewQuestionnaireByStrategiesResource {
|
|
@@ -2980,14 +2980,14 @@ export class PerformanceReviewQuestionnaireByStrategiesResource {
|
|
|
2980
2980
|
this._client = _client;
|
|
2981
2981
|
}
|
|
2982
2982
|
/** Lists all review_questionnaire_by_strategies */
|
|
2983
|
-
list = (options) =>
|
|
2983
|
+
list = (options) => getApi20261001ResourcesPerformanceReviewQuestionnaireByStrategies({ client: this._client, ...options });
|
|
2984
2984
|
/**
|
|
2985
2985
|
* Auto-paginate through all review_questionnaire_by_strategies, yielding one item at a time.
|
|
2986
2986
|
* @example for await (const item of client.performance.reviewQuestionnaireByStrategies.paginate()) { ... }
|
|
2987
2987
|
*/
|
|
2988
2988
|
paginate(options) {
|
|
2989
2989
|
const { maxItems, ...rest } = options ?? {};
|
|
2990
|
-
return paginate((params) =>
|
|
2990
|
+
return paginate((params) => getApi20261001ResourcesPerformanceReviewQuestionnaireByStrategies({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2991
2991
|
}
|
|
2992
2992
|
/**
|
|
2993
2993
|
* Fetch all review_questionnaire_by_strategies across all pages into a single array.
|
|
@@ -2997,11 +2997,11 @@ export class PerformanceReviewQuestionnaireByStrategiesResource {
|
|
|
2997
2997
|
return collectAll(this.paginate(options));
|
|
2998
2998
|
}
|
|
2999
2999
|
/** Reads a single review_questionnaire_by_strategies record */
|
|
3000
|
-
get = (options) =>
|
|
3000
|
+
get = (options) => getApi20261001ResourcesPerformanceReviewQuestionnaireByStrategiesById({ client: this._client, ...options });
|
|
3001
3001
|
/** updateDefaultRatingScale */
|
|
3002
|
-
updateDefaultRatingScale = (options) =>
|
|
3002
|
+
updateDefaultRatingScale = (options) => postApi20261001ResourcesPerformanceReviewQuestionnaireByStrategiesUpdateDefaultRatingScale({ client: this._client, ...options });
|
|
3003
3003
|
/** updateQuestionnaireForStrategy */
|
|
3004
|
-
updateQuestionnaireForStrategy = (options) =>
|
|
3004
|
+
updateQuestionnaireForStrategy = (options) => postApi20261001ResourcesPerformanceReviewQuestionnaireByStrategiesUpdateQuestionnaireForStrategy({ client: this._client, ...options });
|
|
3005
3005
|
}
|
|
3006
3006
|
/** Methods for the performance > review_visibility_settings resource */
|
|
3007
3007
|
export class PerformanceReviewVisibilitySettingsResource {
|
|
@@ -3010,14 +3010,14 @@ export class PerformanceReviewVisibilitySettingsResource {
|
|
|
3010
3010
|
this._client = _client;
|
|
3011
3011
|
}
|
|
3012
3012
|
/** Lists all review_visibility_settings */
|
|
3013
|
-
list = (options) =>
|
|
3013
|
+
list = (options) => getApi20261001ResourcesPerformanceReviewVisibilitySettings({ client: this._client, ...options });
|
|
3014
3014
|
/**
|
|
3015
3015
|
* Auto-paginate through all review_visibility_settings, yielding one item at a time.
|
|
3016
3016
|
* @example for await (const item of client.performance.reviewVisibilitySettings.paginate()) { ... }
|
|
3017
3017
|
*/
|
|
3018
3018
|
paginate(options) {
|
|
3019
3019
|
const { maxItems, ...rest } = options ?? {};
|
|
3020
|
-
return paginate((params) =>
|
|
3020
|
+
return paginate((params) => getApi20261001ResourcesPerformanceReviewVisibilitySettings({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3021
3021
|
}
|
|
3022
3022
|
/**
|
|
3023
3023
|
* Fetch all review_visibility_settings across all pages into a single array.
|
|
@@ -3027,7 +3027,7 @@ export class PerformanceReviewVisibilitySettingsResource {
|
|
|
3027
3027
|
return collectAll(this.paginate(options));
|
|
3028
3028
|
}
|
|
3029
3029
|
/** Updates a review_visibility_settings record */
|
|
3030
|
-
update = (options) =>
|
|
3030
|
+
update = (options) => putApi20261001ResourcesPerformanceReviewVisibilitySettingsById({ client: this._client, ...options });
|
|
3031
3031
|
}
|
|
3032
3032
|
/** Methods for the performance > target_managers resource */
|
|
3033
3033
|
export class PerformanceTargetManagersResource {
|
|
@@ -3036,14 +3036,14 @@ export class PerformanceTargetManagersResource {
|
|
|
3036
3036
|
this._client = _client;
|
|
3037
3037
|
}
|
|
3038
3038
|
/** Lists all target_managers */
|
|
3039
|
-
list = (options) =>
|
|
3039
|
+
list = (options) => getApi20261001ResourcesPerformanceTargetManagers({ client: this._client, ...options });
|
|
3040
3040
|
/**
|
|
3041
3041
|
* Auto-paginate through all target_managers, yielding one item at a time.
|
|
3042
3042
|
* @example for await (const item of client.performance.targetManagers.paginate()) { ... }
|
|
3043
3043
|
*/
|
|
3044
3044
|
paginate(options) {
|
|
3045
3045
|
const { maxItems, ...rest } = options ?? {};
|
|
3046
|
-
return paginate((params) =>
|
|
3046
|
+
return paginate((params) => getApi20261001ResourcesPerformanceTargetManagers({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3047
3047
|
}
|
|
3048
3048
|
/**
|
|
3049
3049
|
* Fetch all target_managers across all pages into a single array.
|
|
@@ -3053,7 +3053,7 @@ export class PerformanceTargetManagersResource {
|
|
|
3053
3053
|
return collectAll(this.paginate(options));
|
|
3054
3054
|
}
|
|
3055
3055
|
/** Reads a single target_managers record */
|
|
3056
|
-
get = (options) =>
|
|
3056
|
+
get = (options) => getApi20261001ResourcesPerformanceTargetManagersById({ client: this._client, ...options });
|
|
3057
3057
|
}
|
|
3058
3058
|
/** Methods for the posts > comments resource */
|
|
3059
3059
|
export class PostsCommentsResource {
|
|
@@ -3062,14 +3062,14 @@ export class PostsCommentsResource {
|
|
|
3062
3062
|
this._client = _client;
|
|
3063
3063
|
}
|
|
3064
3064
|
/** Lists all comments */
|
|
3065
|
-
list = (options) =>
|
|
3065
|
+
list = (options) => getApi20261001ResourcesPostsComments({ client: this._client, ...options });
|
|
3066
3066
|
/**
|
|
3067
3067
|
* Auto-paginate through all comments, yielding one item at a time.
|
|
3068
3068
|
* @example for await (const item of client.posts.comments.paginate()) { ... }
|
|
3069
3069
|
*/
|
|
3070
3070
|
paginate(options) {
|
|
3071
3071
|
const { maxItems, ...rest } = options ?? {};
|
|
3072
|
-
return paginate((params) =>
|
|
3072
|
+
return paginate((params) => getApi20261001ResourcesPostsComments({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3073
3073
|
}
|
|
3074
3074
|
/**
|
|
3075
3075
|
* Fetch all comments across all pages into a single array.
|
|
@@ -3079,13 +3079,13 @@ export class PostsCommentsResource {
|
|
|
3079
3079
|
return collectAll(this.paginate(options));
|
|
3080
3080
|
}
|
|
3081
3081
|
/** Creates a comments record */
|
|
3082
|
-
create = (options) =>
|
|
3082
|
+
create = (options) => postApi20261001ResourcesPostsComments({ client: this._client, ...options });
|
|
3083
3083
|
/** Reads a single comments record */
|
|
3084
|
-
get = (options) =>
|
|
3084
|
+
get = (options) => getApi20261001ResourcesPostsCommentsById({ client: this._client, ...options });
|
|
3085
3085
|
/** Updates a comments record */
|
|
3086
|
-
update = (options) =>
|
|
3086
|
+
update = (options) => putApi20261001ResourcesPostsCommentsById({ client: this._client, ...options });
|
|
3087
3087
|
/** Deletes a comments record */
|
|
3088
|
-
delete = (options) =>
|
|
3088
|
+
delete = (options) => deleteApi20261001ResourcesPostsCommentsById({ client: this._client, ...options });
|
|
3089
3089
|
}
|
|
3090
3090
|
/** Methods for the posts > groups resource */
|
|
3091
3091
|
export class PostsGroupsResource {
|
|
@@ -3094,14 +3094,14 @@ export class PostsGroupsResource {
|
|
|
3094
3094
|
this._client = _client;
|
|
3095
3095
|
}
|
|
3096
3096
|
/** Lists all groups */
|
|
3097
|
-
list = (options) =>
|
|
3097
|
+
list = (options) => getApi20261001ResourcesPostsGroups({ client: this._client, ...options });
|
|
3098
3098
|
/**
|
|
3099
3099
|
* Auto-paginate through all groups, yielding one item at a time.
|
|
3100
3100
|
* @example for await (const item of client.posts.groups.paginate()) { ... }
|
|
3101
3101
|
*/
|
|
3102
3102
|
paginate(options) {
|
|
3103
3103
|
const { maxItems, ...rest } = options ?? {};
|
|
3104
|
-
return paginate((params) =>
|
|
3104
|
+
return paginate((params) => getApi20261001ResourcesPostsGroups({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3105
3105
|
}
|
|
3106
3106
|
/**
|
|
3107
3107
|
* Fetch all groups across all pages into a single array.
|
|
@@ -3111,15 +3111,15 @@ export class PostsGroupsResource {
|
|
|
3111
3111
|
return collectAll(this.paginate(options));
|
|
3112
3112
|
}
|
|
3113
3113
|
/** Creates a groups record */
|
|
3114
|
-
create = (options) =>
|
|
3114
|
+
create = (options) => postApi20261001ResourcesPostsGroups({ client: this._client, ...options });
|
|
3115
3115
|
/** Reads a single groups record */
|
|
3116
|
-
get = (options) =>
|
|
3116
|
+
get = (options) => getApi20261001ResourcesPostsGroupsById({ client: this._client, ...options });
|
|
3117
3117
|
/** Updates a groups record */
|
|
3118
|
-
update = (options) =>
|
|
3118
|
+
update = (options) => putApi20261001ResourcesPostsGroupsById({ client: this._client, ...options });
|
|
3119
3119
|
/** Deletes a groups record */
|
|
3120
|
-
delete = (options) =>
|
|
3120
|
+
delete = (options) => deleteApi20261001ResourcesPostsGroupsById({ client: this._client, ...options });
|
|
3121
3121
|
/** archive */
|
|
3122
|
-
archive = (options) =>
|
|
3122
|
+
archive = (options) => postApi20261001ResourcesPostsGroupsArchive({ client: this._client, ...options });
|
|
3123
3123
|
}
|
|
3124
3124
|
/** Methods for the posts > posts resource */
|
|
3125
3125
|
export class PostsPostsResource {
|
|
@@ -3128,14 +3128,14 @@ export class PostsPostsResource {
|
|
|
3128
3128
|
this._client = _client;
|
|
3129
3129
|
}
|
|
3130
3130
|
/** Lists all posts */
|
|
3131
|
-
list = (options) =>
|
|
3131
|
+
list = (options) => getApi20261001ResourcesPostsPosts({ client: this._client, ...options });
|
|
3132
3132
|
/**
|
|
3133
3133
|
* Auto-paginate through all posts, yielding one item at a time.
|
|
3134
3134
|
* @example for await (const item of client.posts.posts.paginate()) { ... }
|
|
3135
3135
|
*/
|
|
3136
3136
|
paginate(options) {
|
|
3137
3137
|
const { maxItems, ...rest } = options ?? {};
|
|
3138
|
-
return paginate((params) =>
|
|
3138
|
+
return paginate((params) => getApi20261001ResourcesPostsPosts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3139
3139
|
}
|
|
3140
3140
|
/**
|
|
3141
3141
|
* Fetch all posts across all pages into a single array.
|
|
@@ -3145,13 +3145,13 @@ export class PostsPostsResource {
|
|
|
3145
3145
|
return collectAll(this.paginate(options));
|
|
3146
3146
|
}
|
|
3147
3147
|
/** Creates a posts record */
|
|
3148
|
-
create = (options) =>
|
|
3148
|
+
create = (options) => postApi20261001ResourcesPostsPosts({ client: this._client, ...options });
|
|
3149
3149
|
/** Reads a single posts record */
|
|
3150
|
-
get = (options) =>
|
|
3150
|
+
get = (options) => getApi20261001ResourcesPostsPostsById({ client: this._client, ...options });
|
|
3151
3151
|
/** Updates a posts record */
|
|
3152
|
-
update = (options) =>
|
|
3152
|
+
update = (options) => putApi20261001ResourcesPostsPostsById({ client: this._client, ...options });
|
|
3153
3153
|
/** Deletes a posts record */
|
|
3154
|
-
delete = (options) =>
|
|
3154
|
+
delete = (options) => deleteApi20261001ResourcesPostsPostsById({ client: this._client, ...options });
|
|
3155
3155
|
}
|
|
3156
3156
|
/** Methods for the procurement > purchase_orders resource */
|
|
3157
3157
|
export class ProcurementPurchaseOrdersResource {
|
|
@@ -3160,14 +3160,14 @@ export class ProcurementPurchaseOrdersResource {
|
|
|
3160
3160
|
this._client = _client;
|
|
3161
3161
|
}
|
|
3162
3162
|
/** Lists all purchase_orders */
|
|
3163
|
-
list = (options) =>
|
|
3163
|
+
list = (options) => getApi20261001ResourcesProcurementPurchaseOrders({ client: this._client, ...options });
|
|
3164
3164
|
/**
|
|
3165
3165
|
* Auto-paginate through all purchase_orders, yielding one item at a time.
|
|
3166
3166
|
* @example for await (const item of client.procurement.purchaseOrders.paginate()) { ... }
|
|
3167
3167
|
*/
|
|
3168
3168
|
paginate(options) {
|
|
3169
3169
|
const { maxItems, ...rest } = options ?? {};
|
|
3170
|
-
return paginate((params) =>
|
|
3170
|
+
return paginate((params) => getApi20261001ResourcesProcurementPurchaseOrders({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3171
3171
|
}
|
|
3172
3172
|
/**
|
|
3173
3173
|
* Fetch all purchase_orders across all pages into a single array.
|
|
@@ -3177,7 +3177,7 @@ export class ProcurementPurchaseOrdersResource {
|
|
|
3177
3177
|
return collectAll(this.paginate(options));
|
|
3178
3178
|
}
|
|
3179
3179
|
/** Reads a single purchase_orders record */
|
|
3180
|
-
get = (options) =>
|
|
3180
|
+
get = (options) => getApi20261001ResourcesProcurementPurchaseOrdersById({ client: this._client, ...options });
|
|
3181
3181
|
}
|
|
3182
3182
|
/** Methods for the procurement > purchase_requests resource */
|
|
3183
3183
|
export class ProcurementPurchaseRequestsResource {
|
|
@@ -3186,14 +3186,14 @@ export class ProcurementPurchaseRequestsResource {
|
|
|
3186
3186
|
this._client = _client;
|
|
3187
3187
|
}
|
|
3188
3188
|
/** Lists all purchase_requests */
|
|
3189
|
-
list = (options) =>
|
|
3189
|
+
list = (options) => getApi20261001ResourcesProcurementPurchaseRequests({ client: this._client, ...options });
|
|
3190
3190
|
/**
|
|
3191
3191
|
* Auto-paginate through all purchase_requests, yielding one item at a time.
|
|
3192
3192
|
* @example for await (const item of client.procurement.purchaseRequests.paginate()) { ... }
|
|
3193
3193
|
*/
|
|
3194
3194
|
paginate(options) {
|
|
3195
3195
|
const { maxItems, ...rest } = options ?? {};
|
|
3196
|
-
return paginate((params) =>
|
|
3196
|
+
return paginate((params) => getApi20261001ResourcesProcurementPurchaseRequests({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3197
3197
|
}
|
|
3198
3198
|
/**
|
|
3199
3199
|
* Fetch all purchase_requests across all pages into a single array.
|
|
@@ -3203,7 +3203,7 @@ export class ProcurementPurchaseRequestsResource {
|
|
|
3203
3203
|
return collectAll(this.paginate(options));
|
|
3204
3204
|
}
|
|
3205
3205
|
/** Reads a single purchase_requests record */
|
|
3206
|
-
get = (options) =>
|
|
3206
|
+
get = (options) => getApi20261001ResourcesProcurementPurchaseRequestsById({ client: this._client, ...options });
|
|
3207
3207
|
}
|
|
3208
3208
|
/** Methods for the procurement > types resource */
|
|
3209
3209
|
export class ProcurementTypesResource {
|
|
@@ -3212,14 +3212,14 @@ export class ProcurementTypesResource {
|
|
|
3212
3212
|
this._client = _client;
|
|
3213
3213
|
}
|
|
3214
3214
|
/** Lists all types */
|
|
3215
|
-
list = (options) =>
|
|
3215
|
+
list = (options) => getApi20261001ResourcesProcurementTypes({ client: this._client, ...options });
|
|
3216
3216
|
/**
|
|
3217
3217
|
* Auto-paginate through all types, yielding one item at a time.
|
|
3218
3218
|
* @example for await (const item of client.procurement.types.paginate()) { ... }
|
|
3219
3219
|
*/
|
|
3220
3220
|
paginate(options) {
|
|
3221
3221
|
const { maxItems, ...rest } = options ?? {};
|
|
3222
|
-
return paginate((params) =>
|
|
3222
|
+
return paginate((params) => getApi20261001ResourcesProcurementTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3223
3223
|
}
|
|
3224
3224
|
/**
|
|
3225
3225
|
* Fetch all types across all pages into a single array.
|
|
@@ -3229,7 +3229,7 @@ export class ProcurementTypesResource {
|
|
|
3229
3229
|
return collectAll(this.paginate(options));
|
|
3230
3230
|
}
|
|
3231
3231
|
/** Reads a single types record */
|
|
3232
|
-
get = (options) =>
|
|
3232
|
+
get = (options) => getApi20261001ResourcesProcurementTypesById({ client: this._client, ...options });
|
|
3233
3233
|
}
|
|
3234
3234
|
/** Methods for the project_management > budget_strategies resource */
|
|
3235
3235
|
export class ProjectManagementBudgetStrategiesResource {
|
|
@@ -3238,14 +3238,14 @@ export class ProjectManagementBudgetStrategiesResource {
|
|
|
3238
3238
|
this._client = _client;
|
|
3239
3239
|
}
|
|
3240
3240
|
/** Lists all budget_strategies */
|
|
3241
|
-
list = (options) =>
|
|
3241
|
+
list = (options) => getApi20261001ResourcesProjectManagementBudgetStrategies({ client: this._client, ...options });
|
|
3242
3242
|
/**
|
|
3243
3243
|
* Auto-paginate through all budget_strategies, yielding one item at a time.
|
|
3244
3244
|
* @example for await (const item of client.projectManagement.budgetStrategies.paginate()) { ... }
|
|
3245
3245
|
*/
|
|
3246
3246
|
paginate(options) {
|
|
3247
3247
|
const { maxItems, ...rest } = options ?? {};
|
|
3248
|
-
return paginate((params) =>
|
|
3248
|
+
return paginate((params) => getApi20261001ResourcesProjectManagementBudgetStrategies({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3249
3249
|
}
|
|
3250
3250
|
/**
|
|
3251
3251
|
* Fetch all budget_strategies across all pages into a single array.
|
|
@@ -3255,13 +3255,13 @@ export class ProjectManagementBudgetStrategiesResource {
|
|
|
3255
3255
|
return collectAll(this.paginate(options));
|
|
3256
3256
|
}
|
|
3257
3257
|
/** Creates a budget_strategies record */
|
|
3258
|
-
create = (options) =>
|
|
3258
|
+
create = (options) => postApi20261001ResourcesProjectManagementBudgetStrategies({ client: this._client, ...options });
|
|
3259
3259
|
/** Reads a single budget_strategies record */
|
|
3260
|
-
get = (options) =>
|
|
3260
|
+
get = (options) => getApi20261001ResourcesProjectManagementBudgetStrategiesById({ client: this._client, ...options });
|
|
3261
3261
|
/** Updates a budget_strategies record */
|
|
3262
|
-
update = (options) =>
|
|
3262
|
+
update = (options) => putApi20261001ResourcesProjectManagementBudgetStrategiesById({ client: this._client, ...options });
|
|
3263
3263
|
/** Deletes a budget_strategies record */
|
|
3264
|
-
delete = (options) =>
|
|
3264
|
+
delete = (options) => deleteApi20261001ResourcesProjectManagementBudgetStrategiesById({ client: this._client, ...options });
|
|
3265
3265
|
}
|
|
3266
3266
|
/** Methods for the project_management > expense_records resource */
|
|
3267
3267
|
export class ProjectManagementExpenseRecordsResource {
|
|
@@ -3270,14 +3270,14 @@ export class ProjectManagementExpenseRecordsResource {
|
|
|
3270
3270
|
this._client = _client;
|
|
3271
3271
|
}
|
|
3272
3272
|
/** Lists all expense_records */
|
|
3273
|
-
list = (options) =>
|
|
3273
|
+
list = (options) => getApi20261001ResourcesProjectManagementExpenseRecords({ client: this._client, ...options });
|
|
3274
3274
|
/**
|
|
3275
3275
|
* Auto-paginate through all expense_records, yielding one item at a time.
|
|
3276
3276
|
* @example for await (const item of client.projectManagement.expenseRecords.paginate()) { ... }
|
|
3277
3277
|
*/
|
|
3278
3278
|
paginate(options) {
|
|
3279
3279
|
const { maxItems, ...rest } = options ?? {};
|
|
3280
|
-
return paginate((params) =>
|
|
3280
|
+
return paginate((params) => getApi20261001ResourcesProjectManagementExpenseRecords({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3281
3281
|
}
|
|
3282
3282
|
/**
|
|
3283
3283
|
* Fetch all expense_records across all pages into a single array.
|
|
@@ -3287,7 +3287,7 @@ export class ProjectManagementExpenseRecordsResource {
|
|
|
3287
3287
|
return collectAll(this.paginate(options));
|
|
3288
3288
|
}
|
|
3289
3289
|
/** Reads a single expense_records record */
|
|
3290
|
-
get = (options) =>
|
|
3290
|
+
get = (options) => getApi20261001ResourcesProjectManagementExpenseRecordsById({ client: this._client, ...options });
|
|
3291
3291
|
}
|
|
3292
3292
|
/** Methods for the project_management > exportable_expenses resource */
|
|
3293
3293
|
export class ProjectManagementExportableExpensesResource {
|
|
@@ -3296,14 +3296,14 @@ export class ProjectManagementExportableExpensesResource {
|
|
|
3296
3296
|
this._client = _client;
|
|
3297
3297
|
}
|
|
3298
3298
|
/** Lists all exportable_expenses */
|
|
3299
|
-
list = (options) =>
|
|
3299
|
+
list = (options) => getApi20261001ResourcesProjectManagementExportableExpenses({ client: this._client, ...options });
|
|
3300
3300
|
/**
|
|
3301
3301
|
* Auto-paginate through all exportable_expenses, yielding one item at a time.
|
|
3302
3302
|
* @example for await (const item of client.projectManagement.exportableExpenses.paginate()) { ... }
|
|
3303
3303
|
*/
|
|
3304
3304
|
paginate(options) {
|
|
3305
3305
|
const { maxItems, ...rest } = options ?? {};
|
|
3306
|
-
return paginate((params) =>
|
|
3306
|
+
return paginate((params) => getApi20261001ResourcesProjectManagementExportableExpenses({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3307
3307
|
}
|
|
3308
3308
|
/**
|
|
3309
3309
|
* Fetch all exportable_expenses across all pages into a single array.
|
|
@@ -3320,14 +3320,14 @@ export class ProjectManagementImputableProjectsResource {
|
|
|
3320
3320
|
this._client = _client;
|
|
3321
3321
|
}
|
|
3322
3322
|
/** Lists all imputable_projects */
|
|
3323
|
-
list = (options) =>
|
|
3323
|
+
list = (options) => getApi20261001ResourcesProjectManagementImputableProjects({ client: this._client, ...options });
|
|
3324
3324
|
/**
|
|
3325
3325
|
* Auto-paginate through all imputable_projects, yielding one item at a time.
|
|
3326
3326
|
* @example for await (const item of client.projectManagement.imputableProjects.paginate()) { ... }
|
|
3327
3327
|
*/
|
|
3328
3328
|
paginate(options) {
|
|
3329
3329
|
const { maxItems, ...rest } = options ?? {};
|
|
3330
|
-
return paginate((params) =>
|
|
3330
|
+
return paginate((params) => getApi20261001ResourcesProjectManagementImputableProjects({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3331
3331
|
}
|
|
3332
3332
|
/**
|
|
3333
3333
|
* Fetch all imputable_projects across all pages into a single array.
|
|
@@ -3337,7 +3337,7 @@ export class ProjectManagementImputableProjectsResource {
|
|
|
3337
3337
|
return collectAll(this.paginate(options));
|
|
3338
3338
|
}
|
|
3339
3339
|
/** Reads a single imputable_projects record */
|
|
3340
|
-
get = (options) =>
|
|
3340
|
+
get = (options) => getApi20261001ResourcesProjectManagementImputableProjectsById({ client: this._client, ...options });
|
|
3341
3341
|
}
|
|
3342
3342
|
/** Methods for the project_management > planned_records resource */
|
|
3343
3343
|
export class ProjectManagementPlannedRecordsResource {
|
|
@@ -3346,14 +3346,14 @@ export class ProjectManagementPlannedRecordsResource {
|
|
|
3346
3346
|
this._client = _client;
|
|
3347
3347
|
}
|
|
3348
3348
|
/** Lists all planned_records */
|
|
3349
|
-
list = (options) =>
|
|
3349
|
+
list = (options) => getApi20261001ResourcesProjectManagementPlannedRecords({ client: this._client, ...options });
|
|
3350
3350
|
/**
|
|
3351
3351
|
* Auto-paginate through all planned_records, yielding one item at a time.
|
|
3352
3352
|
* @example for await (const item of client.projectManagement.plannedRecords.paginate()) { ... }
|
|
3353
3353
|
*/
|
|
3354
3354
|
paginate(options) {
|
|
3355
3355
|
const { maxItems, ...rest } = options ?? {};
|
|
3356
|
-
return paginate((params) =>
|
|
3356
|
+
return paginate((params) => getApi20261001ResourcesProjectManagementPlannedRecords({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3357
3357
|
}
|
|
3358
3358
|
/**
|
|
3359
3359
|
* Fetch all planned_records across all pages into a single array.
|
|
@@ -3363,13 +3363,13 @@ export class ProjectManagementPlannedRecordsResource {
|
|
|
3363
3363
|
return collectAll(this.paginate(options));
|
|
3364
3364
|
}
|
|
3365
3365
|
/** Reads a single planned_records record */
|
|
3366
|
-
get = (options) =>
|
|
3366
|
+
get = (options) => getApi20261001ResourcesProjectManagementPlannedRecordsById({ client: this._client, ...options });
|
|
3367
3367
|
/** Updates a planned_records record */
|
|
3368
|
-
update = (options) =>
|
|
3368
|
+
update = (options) => putApi20261001ResourcesProjectManagementPlannedRecordsById({ client: this._client, ...options });
|
|
3369
3369
|
/** Deletes a planned_records record */
|
|
3370
|
-
delete = (options) =>
|
|
3370
|
+
delete = (options) => deleteApi20261001ResourcesProjectManagementPlannedRecordsById({ client: this._client, ...options });
|
|
3371
3371
|
/** bulkCreate */
|
|
3372
|
-
bulkCreate = (options) =>
|
|
3372
|
+
bulkCreate = (options) => postApi20261001ResourcesProjectManagementPlannedRecordsBulkCreate({ client: this._client, ...options });
|
|
3373
3373
|
}
|
|
3374
3374
|
/** Methods for the project_management > project_tasks resource */
|
|
3375
3375
|
export class ProjectManagementProjectTasksResource {
|
|
@@ -3378,14 +3378,14 @@ export class ProjectManagementProjectTasksResource {
|
|
|
3378
3378
|
this._client = _client;
|
|
3379
3379
|
}
|
|
3380
3380
|
/** Lists all project_tasks */
|
|
3381
|
-
list = (options) =>
|
|
3381
|
+
list = (options) => getApi20261001ResourcesProjectManagementProjectTasks({ client: this._client, ...options });
|
|
3382
3382
|
/**
|
|
3383
3383
|
* Auto-paginate through all project_tasks, yielding one item at a time.
|
|
3384
3384
|
* @example for await (const item of client.projectManagement.projectTasks.paginate()) { ... }
|
|
3385
3385
|
*/
|
|
3386
3386
|
paginate(options) {
|
|
3387
3387
|
const { maxItems, ...rest } = options ?? {};
|
|
3388
|
-
return paginate((params) =>
|
|
3388
|
+
return paginate((params) => getApi20261001ResourcesProjectManagementProjectTasks({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3389
3389
|
}
|
|
3390
3390
|
/**
|
|
3391
3391
|
* Fetch all project_tasks across all pages into a single array.
|
|
@@ -3395,15 +3395,15 @@ export class ProjectManagementProjectTasksResource {
|
|
|
3395
3395
|
return collectAll(this.paginate(options));
|
|
3396
3396
|
}
|
|
3397
3397
|
/** Creates a project_tasks record */
|
|
3398
|
-
create = (options) =>
|
|
3398
|
+
create = (options) => postApi20261001ResourcesProjectManagementProjectTasks({ client: this._client, ...options });
|
|
3399
3399
|
/** Reads a single project_tasks record */
|
|
3400
|
-
get = (options) =>
|
|
3400
|
+
get = (options) => getApi20261001ResourcesProjectManagementProjectTasksById({ client: this._client, ...options });
|
|
3401
3401
|
/** Updates a project_tasks record */
|
|
3402
|
-
update = (options) =>
|
|
3402
|
+
update = (options) => putApi20261001ResourcesProjectManagementProjectTasksById({ client: this._client, ...options });
|
|
3403
3403
|
/** bulkDestroy */
|
|
3404
|
-
bulkDestroy = (options) =>
|
|
3404
|
+
bulkDestroy = (options) => postApi20261001ResourcesProjectManagementProjectTasksBulkDestroy({ client: this._client, ...options });
|
|
3405
3405
|
/** bulkDuplicate */
|
|
3406
|
-
bulkDuplicate = (options) =>
|
|
3406
|
+
bulkDuplicate = (options) => postApi20261001ResourcesProjectManagementProjectTasksBulkDuplicate({ client: this._client, ...options });
|
|
3407
3407
|
}
|
|
3408
3408
|
/** Methods for the project_management > project_workers resource */
|
|
3409
3409
|
export class ProjectManagementProjectWorkersResource {
|
|
@@ -3412,14 +3412,14 @@ export class ProjectManagementProjectWorkersResource {
|
|
|
3412
3412
|
this._client = _client;
|
|
3413
3413
|
}
|
|
3414
3414
|
/** Lists all project_workers */
|
|
3415
|
-
list = (options) =>
|
|
3415
|
+
list = (options) => getApi20261001ResourcesProjectManagementProjectWorkers({ client: this._client, ...options });
|
|
3416
3416
|
/**
|
|
3417
3417
|
* Auto-paginate through all project_workers, yielding one item at a time.
|
|
3418
3418
|
* @example for await (const item of client.projectManagement.projectWorkers.paginate()) { ... }
|
|
3419
3419
|
*/
|
|
3420
3420
|
paginate(options) {
|
|
3421
3421
|
const { maxItems, ...rest } = options ?? {};
|
|
3422
|
-
return paginate((params) =>
|
|
3422
|
+
return paginate((params) => getApi20261001ResourcesProjectManagementProjectWorkers({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3423
3423
|
}
|
|
3424
3424
|
/**
|
|
3425
3425
|
* Fetch all project_workers across all pages into a single array.
|
|
@@ -3429,15 +3429,15 @@ export class ProjectManagementProjectWorkersResource {
|
|
|
3429
3429
|
return collectAll(this.paginate(options));
|
|
3430
3430
|
}
|
|
3431
3431
|
/** Creates a project_workers record */
|
|
3432
|
-
create = (options) =>
|
|
3432
|
+
create = (options) => postApi20261001ResourcesProjectManagementProjectWorkers({ client: this._client, ...options });
|
|
3433
3433
|
/** Reads a single project_workers record */
|
|
3434
|
-
get = (options) =>
|
|
3434
|
+
get = (options) => getApi20261001ResourcesProjectManagementProjectWorkersById({ client: this._client, ...options });
|
|
3435
3435
|
/** bulkAssign */
|
|
3436
|
-
bulkAssign = (options) =>
|
|
3436
|
+
bulkAssign = (options) => postApi20261001ResourcesProjectManagementProjectWorkersBulkAssign({ client: this._client, ...options });
|
|
3437
3437
|
/** bulkCreate */
|
|
3438
|
-
bulkCreate = (options) =>
|
|
3438
|
+
bulkCreate = (options) => postApi20261001ResourcesProjectManagementProjectWorkersBulkCreate({ client: this._client, ...options });
|
|
3439
3439
|
/** unassign */
|
|
3440
|
-
unassign = (options) =>
|
|
3440
|
+
unassign = (options) => postApi20261001ResourcesProjectManagementProjectWorkersUnassign({ client: this._client, ...options });
|
|
3441
3441
|
}
|
|
3442
3442
|
/** Methods for the project_management > projects resource */
|
|
3443
3443
|
export class ProjectManagementProjectsResource {
|
|
@@ -3446,14 +3446,14 @@ export class ProjectManagementProjectsResource {
|
|
|
3446
3446
|
this._client = _client;
|
|
3447
3447
|
}
|
|
3448
3448
|
/** Lists all projects */
|
|
3449
|
-
list = (options) =>
|
|
3449
|
+
list = (options) => getApi20261001ResourcesProjectManagementProjects({ client: this._client, ...options });
|
|
3450
3450
|
/**
|
|
3451
3451
|
* Auto-paginate through all projects, yielding one item at a time.
|
|
3452
3452
|
* @example for await (const item of client.projectManagement.projects.paginate()) { ... }
|
|
3453
3453
|
*/
|
|
3454
3454
|
paginate(options) {
|
|
3455
3455
|
const { maxItems, ...rest } = options ?? {};
|
|
3456
|
-
return paginate((params) =>
|
|
3456
|
+
return paginate((params) => getApi20261001ResourcesProjectManagementProjects({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3457
3457
|
}
|
|
3458
3458
|
/**
|
|
3459
3459
|
* Fetch all projects across all pages into a single array.
|
|
@@ -3463,21 +3463,21 @@ export class ProjectManagementProjectsResource {
|
|
|
3463
3463
|
return collectAll(this.paginate(options));
|
|
3464
3464
|
}
|
|
3465
3465
|
/** Creates a projects record */
|
|
3466
|
-
create = (options) =>
|
|
3466
|
+
create = (options) => postApi20261001ResourcesProjectManagementProjects({ client: this._client, ...options });
|
|
3467
3467
|
/** Reads a single projects record */
|
|
3468
|
-
get = (options) =>
|
|
3468
|
+
get = (options) => getApi20261001ResourcesProjectManagementProjectsById({ client: this._client, ...options });
|
|
3469
3469
|
/** Updates a projects record */
|
|
3470
|
-
update = (options) =>
|
|
3470
|
+
update = (options) => putApi20261001ResourcesProjectManagementProjectsById({ client: this._client, ...options });
|
|
3471
3471
|
/** activate */
|
|
3472
|
-
activate = (options) =>
|
|
3472
|
+
activate = (options) => postApi20261001ResourcesProjectManagementProjectsActivate({ client: this._client, ...options });
|
|
3473
3473
|
/** changeAssignment */
|
|
3474
|
-
changeAssignment = (options) =>
|
|
3474
|
+
changeAssignment = (options) => postApi20261001ResourcesProjectManagementProjectsChangeAssignment({ client: this._client, ...options });
|
|
3475
3475
|
/** changeStatus */
|
|
3476
|
-
changeStatus = (options) =>
|
|
3476
|
+
changeStatus = (options) => postApi20261001ResourcesProjectManagementProjectsChangeStatus({ client: this._client, ...options });
|
|
3477
3477
|
/** close */
|
|
3478
|
-
close = (options) =>
|
|
3478
|
+
close = (options) => postApi20261001ResourcesProjectManagementProjectsClose({ client: this._client, ...options });
|
|
3479
3479
|
/** softDelete */
|
|
3480
|
-
softDelete = (options) =>
|
|
3480
|
+
softDelete = (options) => postApi20261001ResourcesProjectManagementProjectsSoftDelete({ client: this._client, ...options });
|
|
3481
3481
|
}
|
|
3482
3482
|
/** Methods for the project_management > subprojects resource */
|
|
3483
3483
|
export class ProjectManagementSubprojectsResource {
|
|
@@ -3486,14 +3486,14 @@ export class ProjectManagementSubprojectsResource {
|
|
|
3486
3486
|
this._client = _client;
|
|
3487
3487
|
}
|
|
3488
3488
|
/** Lists all subprojects */
|
|
3489
|
-
list = (options) =>
|
|
3489
|
+
list = (options) => getApi20261001ResourcesProjectManagementSubprojects({ client: this._client, ...options });
|
|
3490
3490
|
/**
|
|
3491
3491
|
* Auto-paginate through all subprojects, yielding one item at a time.
|
|
3492
3492
|
* @example for await (const item of client.projectManagement.subprojects.paginate()) { ... }
|
|
3493
3493
|
*/
|
|
3494
3494
|
paginate(options) {
|
|
3495
3495
|
const { maxItems, ...rest } = options ?? {};
|
|
3496
|
-
return paginate((params) =>
|
|
3496
|
+
return paginate((params) => getApi20261001ResourcesProjectManagementSubprojects({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3497
3497
|
}
|
|
3498
3498
|
/**
|
|
3499
3499
|
* Fetch all subprojects across all pages into a single array.
|
|
@@ -3503,15 +3503,15 @@ export class ProjectManagementSubprojectsResource {
|
|
|
3503
3503
|
return collectAll(this.paginate(options));
|
|
3504
3504
|
}
|
|
3505
3505
|
/** Creates a subprojects record */
|
|
3506
|
-
create = (options) =>
|
|
3506
|
+
create = (options) => postApi20261001ResourcesProjectManagementSubprojects({ client: this._client, ...options });
|
|
3507
3507
|
/** Reads a single subprojects record */
|
|
3508
|
-
get = (options) =>
|
|
3508
|
+
get = (options) => getApi20261001ResourcesProjectManagementSubprojectsById({ client: this._client, ...options });
|
|
3509
3509
|
/** Updates a subprojects record */
|
|
3510
|
-
update = (options) =>
|
|
3510
|
+
update = (options) => putApi20261001ResourcesProjectManagementSubprojectsById({ client: this._client, ...options });
|
|
3511
3511
|
/** Deletes a subprojects record */
|
|
3512
|
-
delete = (options) =>
|
|
3512
|
+
delete = (options) => deleteApi20261001ResourcesProjectManagementSubprojectsById({ client: this._client, ...options });
|
|
3513
3513
|
/** rename */
|
|
3514
|
-
rename = (options) =>
|
|
3514
|
+
rename = (options) => postApi20261001ResourcesProjectManagementSubprojectsRename({ client: this._client, ...options });
|
|
3515
3515
|
}
|
|
3516
3516
|
/** Methods for the project_management > time_records resource */
|
|
3517
3517
|
export class ProjectManagementTimeRecordsResource {
|
|
@@ -3520,14 +3520,14 @@ export class ProjectManagementTimeRecordsResource {
|
|
|
3520
3520
|
this._client = _client;
|
|
3521
3521
|
}
|
|
3522
3522
|
/** Lists all time_records */
|
|
3523
|
-
list = (options) =>
|
|
3523
|
+
list = (options) => getApi20261001ResourcesProjectManagementTimeRecords({ client: this._client, ...options });
|
|
3524
3524
|
/**
|
|
3525
3525
|
* Auto-paginate through all time_records, yielding one item at a time.
|
|
3526
3526
|
* @example for await (const item of client.projectManagement.timeRecords.paginate()) { ... }
|
|
3527
3527
|
*/
|
|
3528
3528
|
paginate(options) {
|
|
3529
3529
|
const { maxItems, ...rest } = options ?? {};
|
|
3530
|
-
return paginate((params) =>
|
|
3530
|
+
return paginate((params) => getApi20261001ResourcesProjectManagementTimeRecords({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3531
3531
|
}
|
|
3532
3532
|
/**
|
|
3533
3533
|
* Fetch all time_records across all pages into a single array.
|
|
@@ -3537,17 +3537,17 @@ export class ProjectManagementTimeRecordsResource {
|
|
|
3537
3537
|
return collectAll(this.paginate(options));
|
|
3538
3538
|
}
|
|
3539
3539
|
/** Creates a time_records record */
|
|
3540
|
-
create = (options) =>
|
|
3540
|
+
create = (options) => postApi20261001ResourcesProjectManagementTimeRecords({ client: this._client, ...options });
|
|
3541
3541
|
/** Reads a single time_records record */
|
|
3542
|
-
get = (options) =>
|
|
3542
|
+
get = (options) => getApi20261001ResourcesProjectManagementTimeRecordsById({ client: this._client, ...options });
|
|
3543
3543
|
/** Deletes a time_records record */
|
|
3544
|
-
delete = (options) =>
|
|
3544
|
+
delete = (options) => deleteApi20261001ResourcesProjectManagementTimeRecordsById({ client: this._client, ...options });
|
|
3545
3545
|
/** bulkDelete */
|
|
3546
|
-
bulkDelete = (options) =>
|
|
3546
|
+
bulkDelete = (options) => postApi20261001ResourcesProjectManagementTimeRecordsBulkDelete({ client: this._client, ...options });
|
|
3547
3547
|
/** bulkProcess */
|
|
3548
|
-
bulkProcess = (options) =>
|
|
3548
|
+
bulkProcess = (options) => postApi20261001ResourcesProjectManagementTimeRecordsBulkProcess({ client: this._client, ...options });
|
|
3549
3549
|
/** updateProjectWorker */
|
|
3550
|
-
updateProjectWorker = (options) =>
|
|
3550
|
+
updateProjectWorker = (options) => postApi20261001ResourcesProjectManagementTimeRecordsUpdateProjectWorker({ client: this._client, ...options });
|
|
3551
3551
|
}
|
|
3552
3552
|
/** Methods for the shift_management > shifts resource */
|
|
3553
3553
|
export class ShiftManagementShiftsResource {
|
|
@@ -3556,14 +3556,14 @@ export class ShiftManagementShiftsResource {
|
|
|
3556
3556
|
this._client = _client;
|
|
3557
3557
|
}
|
|
3558
3558
|
/** Lists all shifts */
|
|
3559
|
-
list = (options) =>
|
|
3559
|
+
list = (options) => getApi20261001ResourcesShiftManagementShifts({ client: this._client, ...options });
|
|
3560
3560
|
/**
|
|
3561
3561
|
* Auto-paginate through all shifts, yielding one item at a time.
|
|
3562
3562
|
* @example for await (const item of client.shiftManagement.shifts.paginate()) { ... }
|
|
3563
3563
|
*/
|
|
3564
3564
|
paginate(options) {
|
|
3565
3565
|
const { maxItems, ...rest } = options ?? {};
|
|
3566
|
-
return paginate((params) =>
|
|
3566
|
+
return paginate((params) => getApi20261001ResourcesShiftManagementShifts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3567
3567
|
}
|
|
3568
3568
|
/**
|
|
3569
3569
|
* Fetch all shifts across all pages into a single array.
|
|
@@ -3573,15 +3573,15 @@ export class ShiftManagementShiftsResource {
|
|
|
3573
3573
|
return collectAll(this.paginate(options));
|
|
3574
3574
|
}
|
|
3575
3575
|
/** Creates a shifts record */
|
|
3576
|
-
create = (options) =>
|
|
3576
|
+
create = (options) => postApi20261001ResourcesShiftManagementShifts({ client: this._client, ...options });
|
|
3577
3577
|
/** Reads a single shifts record */
|
|
3578
|
-
get = (options) =>
|
|
3578
|
+
get = (options) => getApi20261001ResourcesShiftManagementShiftsById({ client: this._client, ...options });
|
|
3579
3579
|
/** Deletes a shifts record */
|
|
3580
|
-
delete = (options) =>
|
|
3580
|
+
delete = (options) => deleteApi20261001ResourcesShiftManagementShiftsById({ client: this._client, ...options });
|
|
3581
3581
|
/** bulkCreate */
|
|
3582
|
-
bulkCreate = (options) =>
|
|
3582
|
+
bulkCreate = (options) => postApi20261001ResourcesShiftManagementShiftsBulkCreate({ client: this._client, ...options });
|
|
3583
3583
|
/** bulkDelete */
|
|
3584
|
-
bulkDelete = (options) =>
|
|
3584
|
+
bulkDelete = (options) => postApi20261001ResourcesShiftManagementShiftsBulkDelete({ client: this._client, ...options });
|
|
3585
3585
|
}
|
|
3586
3586
|
/** Methods for the tasks > task_files resource */
|
|
3587
3587
|
export class TasksTaskFilesResource {
|
|
@@ -3590,14 +3590,14 @@ export class TasksTaskFilesResource {
|
|
|
3590
3590
|
this._client = _client;
|
|
3591
3591
|
}
|
|
3592
3592
|
/** Lists all task_files */
|
|
3593
|
-
list = (options) =>
|
|
3593
|
+
list = (options) => getApi20261001ResourcesTasksTaskFiles({ client: this._client, ...options });
|
|
3594
3594
|
/**
|
|
3595
3595
|
* Auto-paginate through all task_files, yielding one item at a time.
|
|
3596
3596
|
* @example for await (const item of client.tasks.taskFiles.paginate()) { ... }
|
|
3597
3597
|
*/
|
|
3598
3598
|
paginate(options) {
|
|
3599
3599
|
const { maxItems, ...rest } = options ?? {};
|
|
3600
|
-
return paginate((params) =>
|
|
3600
|
+
return paginate((params) => getApi20261001ResourcesTasksTaskFiles({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3601
3601
|
}
|
|
3602
3602
|
/**
|
|
3603
3603
|
* Fetch all task_files across all pages into a single array.
|
|
@@ -3607,11 +3607,11 @@ export class TasksTaskFilesResource {
|
|
|
3607
3607
|
return collectAll(this.paginate(options));
|
|
3608
3608
|
}
|
|
3609
3609
|
/** Creates a task_files record */
|
|
3610
|
-
create = (options) =>
|
|
3610
|
+
create = (options) => postApi20261001ResourcesTasksTaskFiles({ client: this._client, ...options });
|
|
3611
3611
|
/** Reads a single task_files record */
|
|
3612
|
-
get = (options) =>
|
|
3612
|
+
get = (options) => getApi20261001ResourcesTasksTaskFilesById({ client: this._client, ...options });
|
|
3613
3613
|
/** Deletes a task_files record */
|
|
3614
|
-
delete = (options) =>
|
|
3614
|
+
delete = (options) => deleteApi20261001ResourcesTasksTaskFilesById({ client: this._client, ...options });
|
|
3615
3615
|
}
|
|
3616
3616
|
/** Methods for the tasks > tasks resource */
|
|
3617
3617
|
export class TasksTasksResource {
|
|
@@ -3620,14 +3620,14 @@ export class TasksTasksResource {
|
|
|
3620
3620
|
this._client = _client;
|
|
3621
3621
|
}
|
|
3622
3622
|
/** Lists all tasks */
|
|
3623
|
-
list = (options) =>
|
|
3623
|
+
list = (options) => getApi20261001ResourcesTasksTasks({ client: this._client, ...options });
|
|
3624
3624
|
/**
|
|
3625
3625
|
* Auto-paginate through all tasks, yielding one item at a time.
|
|
3626
3626
|
* @example for await (const item of client.tasks.tasks.paginate()) { ... }
|
|
3627
3627
|
*/
|
|
3628
3628
|
paginate(options) {
|
|
3629
3629
|
const { maxItems, ...rest } = options ?? {};
|
|
3630
|
-
return paginate((params) =>
|
|
3630
|
+
return paginate((params) => getApi20261001ResourcesTasksTasks({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3631
3631
|
}
|
|
3632
3632
|
/**
|
|
3633
3633
|
* Fetch all tasks across all pages into a single array.
|
|
@@ -3637,23 +3637,23 @@ export class TasksTasksResource {
|
|
|
3637
3637
|
return collectAll(this.paginate(options));
|
|
3638
3638
|
}
|
|
3639
3639
|
/** Creates a tasks record */
|
|
3640
|
-
create = (options) =>
|
|
3640
|
+
create = (options) => postApi20261001ResourcesTasksTasks({ client: this._client, ...options });
|
|
3641
3641
|
/** Reads a single tasks record */
|
|
3642
|
-
get = (options) =>
|
|
3642
|
+
get = (options) => getApi20261001ResourcesTasksTasksById({ client: this._client, ...options });
|
|
3643
3643
|
/** Updates a tasks record */
|
|
3644
|
-
update = (options) =>
|
|
3644
|
+
update = (options) => putApi20261001ResourcesTasksTasksById({ client: this._client, ...options });
|
|
3645
3645
|
/** Deletes a tasks record */
|
|
3646
|
-
delete = (options) =>
|
|
3646
|
+
delete = (options) => deleteApi20261001ResourcesTasksTasksById({ client: this._client, ...options });
|
|
3647
3647
|
/** bulkCreate */
|
|
3648
|
-
bulkCreate = (options) =>
|
|
3648
|
+
bulkCreate = (options) => postApi20261001ResourcesTasksTasksBulkCreate({ client: this._client, ...options });
|
|
3649
3649
|
/** bulkDelete */
|
|
3650
|
-
bulkDelete = (options) =>
|
|
3650
|
+
bulkDelete = (options) => postApi20261001ResourcesTasksTasksBulkDelete({ client: this._client, ...options });
|
|
3651
3651
|
/** bulkUpdate */
|
|
3652
|
-
bulkUpdate = (options) =>
|
|
3652
|
+
bulkUpdate = (options) => postApi20261001ResourcesTasksTasksBulkUpdate({ client: this._client, ...options });
|
|
3653
3653
|
/** copy */
|
|
3654
|
-
copy = (options) =>
|
|
3654
|
+
copy = (options) => postApi20261001ResourcesTasksTasksCopy({ client: this._client, ...options });
|
|
3655
3655
|
/** createComment */
|
|
3656
|
-
createComment = (options) =>
|
|
3656
|
+
createComment = (options) => postApi20261001ResourcesTasksTasksCreateComment({ client: this._client, ...options });
|
|
3657
3657
|
}
|
|
3658
3658
|
/** Methods for the teams > memberships resource */
|
|
3659
3659
|
export class TeamsMembershipsResource {
|
|
@@ -3662,14 +3662,14 @@ export class TeamsMembershipsResource {
|
|
|
3662
3662
|
this._client = _client;
|
|
3663
3663
|
}
|
|
3664
3664
|
/** Lists all memberships */
|
|
3665
|
-
list = (options) =>
|
|
3665
|
+
list = (options) => getApi20261001ResourcesTeamsMemberships({ client: this._client, ...options });
|
|
3666
3666
|
/**
|
|
3667
3667
|
* Auto-paginate through all memberships, yielding one item at a time.
|
|
3668
3668
|
* @example for await (const item of client.teams.memberships.paginate()) { ... }
|
|
3669
3669
|
*/
|
|
3670
3670
|
paginate(options) {
|
|
3671
3671
|
const { maxItems, ...rest } = options ?? {};
|
|
3672
|
-
return paginate((params) =>
|
|
3672
|
+
return paginate((params) => getApi20261001ResourcesTeamsMemberships({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3673
3673
|
}
|
|
3674
3674
|
/**
|
|
3675
3675
|
* Fetch all memberships across all pages into a single array.
|
|
@@ -3679,13 +3679,13 @@ export class TeamsMembershipsResource {
|
|
|
3679
3679
|
return collectAll(this.paginate(options));
|
|
3680
3680
|
}
|
|
3681
3681
|
/** Creates a memberships record */
|
|
3682
|
-
create = (options) =>
|
|
3682
|
+
create = (options) => postApi20261001ResourcesTeamsMemberships({ client: this._client, ...options });
|
|
3683
3683
|
/** Reads a single memberships record */
|
|
3684
|
-
get = (options) =>
|
|
3684
|
+
get = (options) => getApi20261001ResourcesTeamsMembershipsById({ client: this._client, ...options });
|
|
3685
3685
|
/** Updates a memberships record */
|
|
3686
|
-
update = (options) =>
|
|
3686
|
+
update = (options) => putApi20261001ResourcesTeamsMembershipsById({ client: this._client, ...options });
|
|
3687
3687
|
/** Deletes a memberships record */
|
|
3688
|
-
delete = (options) =>
|
|
3688
|
+
delete = (options) => deleteApi20261001ResourcesTeamsMembershipsById({ client: this._client, ...options });
|
|
3689
3689
|
}
|
|
3690
3690
|
/** Methods for the teams > teams resource */
|
|
3691
3691
|
export class TeamsTeamsResource {
|
|
@@ -3694,14 +3694,14 @@ export class TeamsTeamsResource {
|
|
|
3694
3694
|
this._client = _client;
|
|
3695
3695
|
}
|
|
3696
3696
|
/** Lists all teams */
|
|
3697
|
-
list = (options) =>
|
|
3697
|
+
list = (options) => getApi20261001ResourcesTeamsTeams({ client: this._client, ...options });
|
|
3698
3698
|
/**
|
|
3699
3699
|
* Auto-paginate through all teams, yielding one item at a time.
|
|
3700
3700
|
* @example for await (const item of client.teams.teams.paginate()) { ... }
|
|
3701
3701
|
*/
|
|
3702
3702
|
paginate(options) {
|
|
3703
3703
|
const { maxItems, ...rest } = options ?? {};
|
|
3704
|
-
return paginate((params) =>
|
|
3704
|
+
return paginate((params) => getApi20261001ResourcesTeamsTeams({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3705
3705
|
}
|
|
3706
3706
|
/**
|
|
3707
3707
|
* Fetch all teams across all pages into a single array.
|
|
@@ -3711,13 +3711,13 @@ export class TeamsTeamsResource {
|
|
|
3711
3711
|
return collectAll(this.paginate(options));
|
|
3712
3712
|
}
|
|
3713
3713
|
/** Creates a teams record */
|
|
3714
|
-
create = (options) =>
|
|
3714
|
+
create = (options) => postApi20261001ResourcesTeamsTeams({ client: this._client, ...options });
|
|
3715
3715
|
/** Reads a single teams record */
|
|
3716
|
-
get = (options) =>
|
|
3716
|
+
get = (options) => getApi20261001ResourcesTeamsTeamsById({ client: this._client, ...options });
|
|
3717
3717
|
/** Updates a teams record */
|
|
3718
|
-
update = (options) =>
|
|
3718
|
+
update = (options) => putApi20261001ResourcesTeamsTeamsById({ client: this._client, ...options });
|
|
3719
3719
|
/** Deletes a teams record */
|
|
3720
|
-
delete = (options) =>
|
|
3720
|
+
delete = (options) => deleteApi20261001ResourcesTeamsTeamsById({ client: this._client, ...options });
|
|
3721
3721
|
}
|
|
3722
3722
|
/** Methods for the time_planning > planned_breaks resource */
|
|
3723
3723
|
export class TimePlanningPlannedBreaksResource {
|
|
@@ -3726,14 +3726,14 @@ export class TimePlanningPlannedBreaksResource {
|
|
|
3726
3726
|
this._client = _client;
|
|
3727
3727
|
}
|
|
3728
3728
|
/** Lists all planned_breaks */
|
|
3729
|
-
list = (options) =>
|
|
3729
|
+
list = (options) => getApi20261001ResourcesTimePlanningPlannedBreaks({ client: this._client, ...options });
|
|
3730
3730
|
/**
|
|
3731
3731
|
* Auto-paginate through all planned_breaks, yielding one item at a time.
|
|
3732
3732
|
* @example for await (const item of client.timePlanning.plannedBreaks.paginate()) { ... }
|
|
3733
3733
|
*/
|
|
3734
3734
|
paginate(options) {
|
|
3735
3735
|
const { maxItems, ...rest } = options ?? {};
|
|
3736
|
-
return paginate((params) =>
|
|
3736
|
+
return paginate((params) => getApi20261001ResourcesTimePlanningPlannedBreaks({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3737
3737
|
}
|
|
3738
3738
|
/**
|
|
3739
3739
|
* Fetch all planned_breaks across all pages into a single array.
|
|
@@ -3743,9 +3743,9 @@ export class TimePlanningPlannedBreaksResource {
|
|
|
3743
3743
|
return collectAll(this.paginate(options));
|
|
3744
3744
|
}
|
|
3745
3745
|
/** Reads a single planned_breaks record */
|
|
3746
|
-
get = (options) =>
|
|
3746
|
+
get = (options) => getApi20261001ResourcesTimePlanningPlannedBreaksById({ client: this._client, ...options });
|
|
3747
3747
|
/** bulkCreate */
|
|
3748
|
-
bulkCreate = (options) =>
|
|
3748
|
+
bulkCreate = (options) => postApi20261001ResourcesTimePlanningPlannedBreaksBulkCreate({ client: this._client, ...options });
|
|
3749
3749
|
}
|
|
3750
3750
|
/** Methods for the time_planning > planning_versions resource */
|
|
3751
3751
|
export class TimePlanningPlanningVersionsResource {
|
|
@@ -3754,14 +3754,14 @@ export class TimePlanningPlanningVersionsResource {
|
|
|
3754
3754
|
this._client = _client;
|
|
3755
3755
|
}
|
|
3756
3756
|
/** Lists all planning_versions */
|
|
3757
|
-
list = (options) =>
|
|
3757
|
+
list = (options) => getApi20261001ResourcesTimePlanningPlanningVersions({ client: this._client, ...options });
|
|
3758
3758
|
/**
|
|
3759
3759
|
* Auto-paginate through all planning_versions, yielding one item at a time.
|
|
3760
3760
|
* @example for await (const item of client.timePlanning.planningVersions.paginate()) { ... }
|
|
3761
3761
|
*/
|
|
3762
3762
|
paginate(options) {
|
|
3763
3763
|
const { maxItems, ...rest } = options ?? {};
|
|
3764
|
-
return paginate((params) =>
|
|
3764
|
+
return paginate((params) => getApi20261001ResourcesTimePlanningPlanningVersions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3765
3765
|
}
|
|
3766
3766
|
/**
|
|
3767
3767
|
* Fetch all planning_versions across all pages into a single array.
|
|
@@ -3771,13 +3771,13 @@ export class TimePlanningPlanningVersionsResource {
|
|
|
3771
3771
|
return collectAll(this.paginate(options));
|
|
3772
3772
|
}
|
|
3773
3773
|
/** Creates a planning_versions record */
|
|
3774
|
-
create = (options) =>
|
|
3774
|
+
create = (options) => postApi20261001ResourcesTimePlanningPlanningVersions({ client: this._client, ...options });
|
|
3775
3775
|
/** Updates a planning_versions record */
|
|
3776
|
-
update = (options) =>
|
|
3776
|
+
update = (options) => putApi20261001ResourcesTimePlanningPlanningVersionsById({ client: this._client, ...options });
|
|
3777
3777
|
/** Deletes a planning_versions record */
|
|
3778
|
-
delete = (options) =>
|
|
3778
|
+
delete = (options) => deleteApi20261001ResourcesTimePlanningPlanningVersionsById({ client: this._client, ...options });
|
|
3779
3779
|
/** bulkCreate */
|
|
3780
|
-
bulkCreate = (options) =>
|
|
3780
|
+
bulkCreate = (options) => postApi20261001ResourcesTimePlanningPlanningVersionsBulkCreate({ client: this._client, ...options });
|
|
3781
3781
|
}
|
|
3782
3782
|
/** Methods for the time_settings > break_configurations resource */
|
|
3783
3783
|
export class TimeSettingsBreakConfigurationsResource {
|
|
@@ -3786,14 +3786,14 @@ export class TimeSettingsBreakConfigurationsResource {
|
|
|
3786
3786
|
this._client = _client;
|
|
3787
3787
|
}
|
|
3788
3788
|
/** Lists all break_configurations */
|
|
3789
|
-
list = (options) =>
|
|
3789
|
+
list = (options) => getApi20261001ResourcesTimeSettingsBreakConfigurations({ client: this._client, ...options });
|
|
3790
3790
|
/**
|
|
3791
3791
|
* Auto-paginate through all break_configurations, yielding one item at a time.
|
|
3792
3792
|
* @example for await (const item of client.timeSettings.breakConfigurations.paginate()) { ... }
|
|
3793
3793
|
*/
|
|
3794
3794
|
paginate(options) {
|
|
3795
3795
|
const { maxItems, ...rest } = options ?? {};
|
|
3796
|
-
return paginate((params) =>
|
|
3796
|
+
return paginate((params) => getApi20261001ResourcesTimeSettingsBreakConfigurations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3797
3797
|
}
|
|
3798
3798
|
/**
|
|
3799
3799
|
* Fetch all break_configurations across all pages into a single array.
|
|
@@ -3803,11 +3803,11 @@ export class TimeSettingsBreakConfigurationsResource {
|
|
|
3803
3803
|
return collectAll(this.paginate(options));
|
|
3804
3804
|
}
|
|
3805
3805
|
/** Creates a break_configurations record */
|
|
3806
|
-
create = (options) =>
|
|
3806
|
+
create = (options) => postApi20261001ResourcesTimeSettingsBreakConfigurations({ client: this._client, ...options });
|
|
3807
3807
|
/** Reads a single break_configurations record */
|
|
3808
|
-
get = (options) =>
|
|
3808
|
+
get = (options) => getApi20261001ResourcesTimeSettingsBreakConfigurationsById({ client: this._client, ...options });
|
|
3809
3809
|
/** Updates a break_configurations record */
|
|
3810
|
-
update = (options) =>
|
|
3810
|
+
update = (options) => putApi20261001ResourcesTimeSettingsBreakConfigurationsById({ client: this._client, ...options });
|
|
3811
3811
|
}
|
|
3812
3812
|
/** Methods for the timeoff > allowance_incidences resource */
|
|
3813
3813
|
export class TimeoffAllowanceIncidencesResource {
|
|
@@ -3816,14 +3816,14 @@ export class TimeoffAllowanceIncidencesResource {
|
|
|
3816
3816
|
this._client = _client;
|
|
3817
3817
|
}
|
|
3818
3818
|
/** Lists all allowance_incidences */
|
|
3819
|
-
list = (options) =>
|
|
3819
|
+
list = (options) => getApi20261001ResourcesTimeoffAllowanceIncidences({ client: this._client, ...options });
|
|
3820
3820
|
/**
|
|
3821
3821
|
* Auto-paginate through all allowance_incidences, yielding one item at a time.
|
|
3822
3822
|
* @example for await (const item of client.timeoff.allowanceIncidences.paginate()) { ... }
|
|
3823
3823
|
*/
|
|
3824
3824
|
paginate(options) {
|
|
3825
3825
|
const { maxItems, ...rest } = options ?? {};
|
|
3826
|
-
return paginate((params) =>
|
|
3826
|
+
return paginate((params) => getApi20261001ResourcesTimeoffAllowanceIncidences({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3827
3827
|
}
|
|
3828
3828
|
/**
|
|
3829
3829
|
* Fetch all allowance_incidences across all pages into a single array.
|
|
@@ -3833,13 +3833,13 @@ export class TimeoffAllowanceIncidencesResource {
|
|
|
3833
3833
|
return collectAll(this.paginate(options));
|
|
3834
3834
|
}
|
|
3835
3835
|
/** Creates a allowance_incidences record */
|
|
3836
|
-
create = (options) =>
|
|
3836
|
+
create = (options) => postApi20261001ResourcesTimeoffAllowanceIncidences({ client: this._client, ...options });
|
|
3837
3837
|
/** Reads a single allowance_incidences record */
|
|
3838
|
-
get = (options) =>
|
|
3838
|
+
get = (options) => getApi20261001ResourcesTimeoffAllowanceIncidencesById({ client: this._client, ...options });
|
|
3839
3839
|
/** Updates a allowance_incidences record */
|
|
3840
|
-
update = (options) =>
|
|
3840
|
+
update = (options) => putApi20261001ResourcesTimeoffAllowanceIncidencesById({ client: this._client, ...options });
|
|
3841
3841
|
/** Deletes a allowance_incidences record */
|
|
3842
|
-
delete = (options) =>
|
|
3842
|
+
delete = (options) => deleteApi20261001ResourcesTimeoffAllowanceIncidencesById({ client: this._client, ...options });
|
|
3843
3843
|
}
|
|
3844
3844
|
/** Methods for the timeoff > allowance_stats resource */
|
|
3845
3845
|
export class TimeoffAllowanceStatsResource {
|
|
@@ -3848,14 +3848,14 @@ export class TimeoffAllowanceStatsResource {
|
|
|
3848
3848
|
this._client = _client;
|
|
3849
3849
|
}
|
|
3850
3850
|
/** Lists all allowance_stats */
|
|
3851
|
-
list = (options) =>
|
|
3851
|
+
list = (options) => getApi20261001ResourcesTimeoffAllowanceStats({ client: this._client, ...options });
|
|
3852
3852
|
/**
|
|
3853
3853
|
* Auto-paginate through all allowance_stats, yielding one item at a time.
|
|
3854
3854
|
* @example for await (const item of client.timeoff.allowanceStats.paginate()) { ... }
|
|
3855
3855
|
*/
|
|
3856
3856
|
paginate(options) {
|
|
3857
3857
|
const { maxItems, ...rest } = options ?? {};
|
|
3858
|
-
return paginate((params) =>
|
|
3858
|
+
return paginate((params) => getApi20261001ResourcesTimeoffAllowanceStats({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3859
3859
|
}
|
|
3860
3860
|
/**
|
|
3861
3861
|
* Fetch all allowance_stats across all pages into a single array.
|
|
@@ -3865,7 +3865,7 @@ export class TimeoffAllowanceStatsResource {
|
|
|
3865
3865
|
return collectAll(this.paginate(options));
|
|
3866
3866
|
}
|
|
3867
3867
|
/** Reads a single allowance_stats record */
|
|
3868
|
-
get = (options) =>
|
|
3868
|
+
get = (options) => getApi20261001ResourcesTimeoffAllowanceStatsById({ client: this._client, ...options });
|
|
3869
3869
|
}
|
|
3870
3870
|
/** Methods for the timeoff > allowances resource */
|
|
3871
3871
|
export class TimeoffAllowancesResource {
|
|
@@ -3874,14 +3874,14 @@ export class TimeoffAllowancesResource {
|
|
|
3874
3874
|
this._client = _client;
|
|
3875
3875
|
}
|
|
3876
3876
|
/** Lists all allowances */
|
|
3877
|
-
list = (options) =>
|
|
3877
|
+
list = (options) => getApi20261001ResourcesTimeoffAllowances({ client: this._client, ...options });
|
|
3878
3878
|
/**
|
|
3879
3879
|
* Auto-paginate through all allowances, yielding one item at a time.
|
|
3880
3880
|
* @example for await (const item of client.timeoff.allowances.paginate()) { ... }
|
|
3881
3881
|
*/
|
|
3882
3882
|
paginate(options) {
|
|
3883
3883
|
const { maxItems, ...rest } = options ?? {};
|
|
3884
|
-
return paginate((params) =>
|
|
3884
|
+
return paginate((params) => getApi20261001ResourcesTimeoffAllowances({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3885
3885
|
}
|
|
3886
3886
|
/**
|
|
3887
3887
|
* Fetch all allowances across all pages into a single array.
|
|
@@ -3891,15 +3891,15 @@ export class TimeoffAllowancesResource {
|
|
|
3891
3891
|
return collectAll(this.paginate(options));
|
|
3892
3892
|
}
|
|
3893
3893
|
/** Creates a allowances record */
|
|
3894
|
-
create = (options) =>
|
|
3894
|
+
create = (options) => postApi20261001ResourcesTimeoffAllowances({ client: this._client, ...options });
|
|
3895
3895
|
/** Reads a single allowances record */
|
|
3896
|
-
get = (options) =>
|
|
3896
|
+
get = (options) => getApi20261001ResourcesTimeoffAllowancesById({ client: this._client, ...options });
|
|
3897
3897
|
/** Updates a allowances record */
|
|
3898
|
-
update = (options) =>
|
|
3898
|
+
update = (options) => putApi20261001ResourcesTimeoffAllowancesById({ client: this._client, ...options });
|
|
3899
3899
|
/** Deletes a allowances record */
|
|
3900
|
-
delete = (options) =>
|
|
3900
|
+
delete = (options) => deleteApi20261001ResourcesTimeoffAllowancesById({ client: this._client, ...options });
|
|
3901
3901
|
/** deleteWithAltAllowance */
|
|
3902
|
-
deleteWithAltAllowance = (options) =>
|
|
3902
|
+
deleteWithAltAllowance = (options) => postApi20261001ResourcesTimeoffAllowancesDeleteWithAltAllowance({ client: this._client, ...options });
|
|
3903
3903
|
}
|
|
3904
3904
|
/** Methods for the timeoff > blocked_periods resource */
|
|
3905
3905
|
export class TimeoffBlockedPeriodsResource {
|
|
@@ -3908,14 +3908,14 @@ export class TimeoffBlockedPeriodsResource {
|
|
|
3908
3908
|
this._client = _client;
|
|
3909
3909
|
}
|
|
3910
3910
|
/** Lists all blocked_periods */
|
|
3911
|
-
list = (options) =>
|
|
3911
|
+
list = (options) => getApi20261001ResourcesTimeoffBlockedPeriods({ client: this._client, ...options });
|
|
3912
3912
|
/**
|
|
3913
3913
|
* Auto-paginate through all blocked_periods, yielding one item at a time.
|
|
3914
3914
|
* @example for await (const item of client.timeoff.blockedPeriods.paginate()) { ... }
|
|
3915
3915
|
*/
|
|
3916
3916
|
paginate(options) {
|
|
3917
3917
|
const { maxItems, ...rest } = options ?? {};
|
|
3918
|
-
return paginate((params) =>
|
|
3918
|
+
return paginate((params) => getApi20261001ResourcesTimeoffBlockedPeriods({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3919
3919
|
}
|
|
3920
3920
|
/**
|
|
3921
3921
|
* Fetch all blocked_periods across all pages into a single array.
|
|
@@ -3925,13 +3925,13 @@ export class TimeoffBlockedPeriodsResource {
|
|
|
3925
3925
|
return collectAll(this.paginate(options));
|
|
3926
3926
|
}
|
|
3927
3927
|
/** Creates a blocked_periods record */
|
|
3928
|
-
create = (options) =>
|
|
3928
|
+
create = (options) => postApi20261001ResourcesTimeoffBlockedPeriods({ client: this._client, ...options });
|
|
3929
3929
|
/** Reads a single blocked_periods record */
|
|
3930
|
-
get = (options) =>
|
|
3930
|
+
get = (options) => getApi20261001ResourcesTimeoffBlockedPeriodsById({ client: this._client, ...options });
|
|
3931
3931
|
/** Updates a blocked_periods record */
|
|
3932
|
-
update = (options) =>
|
|
3932
|
+
update = (options) => putApi20261001ResourcesTimeoffBlockedPeriodsById({ client: this._client, ...options });
|
|
3933
3933
|
/** Deletes a blocked_periods record */
|
|
3934
|
-
delete = (options) =>
|
|
3934
|
+
delete = (options) => deleteApi20261001ResourcesTimeoffBlockedPeriodsById({ client: this._client, ...options });
|
|
3935
3935
|
}
|
|
3936
3936
|
/** Methods for the timeoff > leave_types resource */
|
|
3937
3937
|
export class TimeoffLeaveTypesResource {
|
|
@@ -3940,14 +3940,14 @@ export class TimeoffLeaveTypesResource {
|
|
|
3940
3940
|
this._client = _client;
|
|
3941
3941
|
}
|
|
3942
3942
|
/** Lists all leave_types */
|
|
3943
|
-
list = (options) =>
|
|
3943
|
+
list = (options) => getApi20261001ResourcesTimeoffLeaveTypes({ client: this._client, ...options });
|
|
3944
3944
|
/**
|
|
3945
3945
|
* Auto-paginate through all leave_types, yielding one item at a time.
|
|
3946
3946
|
* @example for await (const item of client.timeoff.leaveTypes.paginate()) { ... }
|
|
3947
3947
|
*/
|
|
3948
3948
|
paginate(options) {
|
|
3949
3949
|
const { maxItems, ...rest } = options ?? {};
|
|
3950
|
-
return paginate((params) =>
|
|
3950
|
+
return paginate((params) => getApi20261001ResourcesTimeoffLeaveTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3951
3951
|
}
|
|
3952
3952
|
/**
|
|
3953
3953
|
* Fetch all leave_types across all pages into a single array.
|
|
@@ -3957,11 +3957,11 @@ export class TimeoffLeaveTypesResource {
|
|
|
3957
3957
|
return collectAll(this.paginate(options));
|
|
3958
3958
|
}
|
|
3959
3959
|
/** Creates a leave_types record */
|
|
3960
|
-
create = (options) =>
|
|
3960
|
+
create = (options) => postApi20261001ResourcesTimeoffLeaveTypes({ client: this._client, ...options });
|
|
3961
3961
|
/** Reads a single leave_types record */
|
|
3962
|
-
get = (options) =>
|
|
3962
|
+
get = (options) => getApi20261001ResourcesTimeoffLeaveTypesById({ client: this._client, ...options });
|
|
3963
3963
|
/** Updates a leave_types record */
|
|
3964
|
-
update = (options) =>
|
|
3964
|
+
update = (options) => putApi20261001ResourcesTimeoffLeaveTypesById({ client: this._client, ...options });
|
|
3965
3965
|
}
|
|
3966
3966
|
/** Methods for the timeoff > leaves resource */
|
|
3967
3967
|
export class TimeoffLeavesResource {
|
|
@@ -3970,14 +3970,14 @@ export class TimeoffLeavesResource {
|
|
|
3970
3970
|
this._client = _client;
|
|
3971
3971
|
}
|
|
3972
3972
|
/** Lists all leaves */
|
|
3973
|
-
list = (options) =>
|
|
3973
|
+
list = (options) => getApi20261001ResourcesTimeoffLeaves({ client: this._client, ...options });
|
|
3974
3974
|
/**
|
|
3975
3975
|
* Auto-paginate through all leaves, yielding one item at a time.
|
|
3976
3976
|
* @example for await (const item of client.timeoff.leaves.paginate()) { ... }
|
|
3977
3977
|
*/
|
|
3978
3978
|
paginate(options) {
|
|
3979
3979
|
const { maxItems, ...rest } = options ?? {};
|
|
3980
|
-
return paginate((params) =>
|
|
3980
|
+
return paginate((params) => getApi20261001ResourcesTimeoffLeaves({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3981
3981
|
}
|
|
3982
3982
|
/**
|
|
3983
3983
|
* Fetch all leaves across all pages into a single array.
|
|
@@ -3987,19 +3987,19 @@ export class TimeoffLeavesResource {
|
|
|
3987
3987
|
return collectAll(this.paginate(options));
|
|
3988
3988
|
}
|
|
3989
3989
|
/** Creates a leaves record */
|
|
3990
|
-
create = (options) =>
|
|
3990
|
+
create = (options) => postApi20261001ResourcesTimeoffLeaves({ client: this._client, ...options });
|
|
3991
3991
|
/** Reads a single leaves record */
|
|
3992
|
-
get = (options) =>
|
|
3992
|
+
get = (options) => getApi20261001ResourcesTimeoffLeavesById({ client: this._client, ...options });
|
|
3993
3993
|
/** Updates a leaves record */
|
|
3994
|
-
update = (options) =>
|
|
3994
|
+
update = (options) => putApi20261001ResourcesTimeoffLeavesById({ client: this._client, ...options });
|
|
3995
3995
|
/** Deletes a leaves record */
|
|
3996
|
-
delete = (options) =>
|
|
3996
|
+
delete = (options) => deleteApi20261001ResourcesTimeoffLeavesById({ client: this._client, ...options });
|
|
3997
3997
|
/** approve */
|
|
3998
|
-
approve = (options) =>
|
|
3998
|
+
approve = (options) => postApi20261001ResourcesTimeoffLeavesApprove({ client: this._client, ...options });
|
|
3999
3999
|
/** approveAll */
|
|
4000
|
-
approveAll = (options) =>
|
|
4000
|
+
approveAll = (options) => postApi20261001ResourcesTimeoffLeavesApproveAll({ client: this._client, ...options });
|
|
4001
4001
|
/** reject */
|
|
4002
|
-
reject = (options) =>
|
|
4002
|
+
reject = (options) => postApi20261001ResourcesTimeoffLeavesReject({ client: this._client, ...options });
|
|
4003
4003
|
}
|
|
4004
4004
|
/** Methods for the timeoff > policies resource */
|
|
4005
4005
|
export class TimeoffPoliciesResource {
|
|
@@ -4008,14 +4008,14 @@ export class TimeoffPoliciesResource {
|
|
|
4008
4008
|
this._client = _client;
|
|
4009
4009
|
}
|
|
4010
4010
|
/** Lists all policies */
|
|
4011
|
-
list = (options) =>
|
|
4011
|
+
list = (options) => getApi20261001ResourcesTimeoffPolicies({ client: this._client, ...options });
|
|
4012
4012
|
/**
|
|
4013
4013
|
* Auto-paginate through all policies, yielding one item at a time.
|
|
4014
4014
|
* @example for await (const item of client.timeoff.policies.paginate()) { ... }
|
|
4015
4015
|
*/
|
|
4016
4016
|
paginate(options) {
|
|
4017
4017
|
const { maxItems, ...rest } = options ?? {};
|
|
4018
|
-
return paginate((params) =>
|
|
4018
|
+
return paginate((params) => getApi20261001ResourcesTimeoffPolicies({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4019
4019
|
}
|
|
4020
4020
|
/**
|
|
4021
4021
|
* Fetch all policies across all pages into a single array.
|
|
@@ -4025,13 +4025,13 @@ export class TimeoffPoliciesResource {
|
|
|
4025
4025
|
return collectAll(this.paginate(options));
|
|
4026
4026
|
}
|
|
4027
4027
|
/** Creates a policies record */
|
|
4028
|
-
create = (options) =>
|
|
4028
|
+
create = (options) => postApi20261001ResourcesTimeoffPolicies({ client: this._client, ...options });
|
|
4029
4029
|
/** Reads a single policies record */
|
|
4030
|
-
get = (options) =>
|
|
4030
|
+
get = (options) => getApi20261001ResourcesTimeoffPoliciesById({ client: this._client, ...options });
|
|
4031
4031
|
/** Updates a policies record */
|
|
4032
|
-
update = (options) =>
|
|
4032
|
+
update = (options) => putApi20261001ResourcesTimeoffPoliciesById({ client: this._client, ...options });
|
|
4033
4033
|
/** Deletes a policies record */
|
|
4034
|
-
delete = (options) =>
|
|
4034
|
+
delete = (options) => deleteApi20261001ResourcesTimeoffPoliciesById({ client: this._client, ...options });
|
|
4035
4035
|
}
|
|
4036
4036
|
/** Methods for the timeoff > policy_assignments resource */
|
|
4037
4037
|
export class TimeoffPolicyAssignmentsResource {
|
|
@@ -4040,14 +4040,14 @@ export class TimeoffPolicyAssignmentsResource {
|
|
|
4040
4040
|
this._client = _client;
|
|
4041
4041
|
}
|
|
4042
4042
|
/** Lists all policy_assignments */
|
|
4043
|
-
list = (options) =>
|
|
4043
|
+
list = (options) => getApi20261001ResourcesTimeoffPolicyAssignments({ client: this._client, ...options });
|
|
4044
4044
|
/**
|
|
4045
4045
|
* Auto-paginate through all policy_assignments, yielding one item at a time.
|
|
4046
4046
|
* @example for await (const item of client.timeoff.policyAssignments.paginate()) { ... }
|
|
4047
4047
|
*/
|
|
4048
4048
|
paginate(options) {
|
|
4049
4049
|
const { maxItems, ...rest } = options ?? {};
|
|
4050
|
-
return paginate((params) =>
|
|
4050
|
+
return paginate((params) => getApi20261001ResourcesTimeoffPolicyAssignments({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4051
4051
|
}
|
|
4052
4052
|
/**
|
|
4053
4053
|
* Fetch all policy_assignments across all pages into a single array.
|
|
@@ -4057,13 +4057,13 @@ export class TimeoffPolicyAssignmentsResource {
|
|
|
4057
4057
|
return collectAll(this.paginate(options));
|
|
4058
4058
|
}
|
|
4059
4059
|
/** Creates a policy_assignments record */
|
|
4060
|
-
create = (options) =>
|
|
4060
|
+
create = (options) => postApi20261001ResourcesTimeoffPolicyAssignments({ client: this._client, ...options });
|
|
4061
4061
|
/** Reads a single policy_assignments record */
|
|
4062
|
-
get = (options) =>
|
|
4062
|
+
get = (options) => getApi20261001ResourcesTimeoffPolicyAssignmentsById({ client: this._client, ...options });
|
|
4063
4063
|
/** Updates a policy_assignments record */
|
|
4064
|
-
update = (options) =>
|
|
4064
|
+
update = (options) => putApi20261001ResourcesTimeoffPolicyAssignmentsById({ client: this._client, ...options });
|
|
4065
4065
|
/** Deletes a policy_assignments record */
|
|
4066
|
-
delete = (options) =>
|
|
4066
|
+
delete = (options) => deleteApi20261001ResourcesTimeoffPolicyAssignmentsById({ client: this._client, ...options });
|
|
4067
4067
|
}
|
|
4068
4068
|
/** Methods for the timeoff > policy_timelines resource */
|
|
4069
4069
|
export class TimeoffPolicyTimelinesResource {
|
|
@@ -4072,14 +4072,14 @@ export class TimeoffPolicyTimelinesResource {
|
|
|
4072
4072
|
this._client = _client;
|
|
4073
4073
|
}
|
|
4074
4074
|
/** Lists all policy_timelines */
|
|
4075
|
-
list = (options) =>
|
|
4075
|
+
list = (options) => getApi20261001ResourcesTimeoffPolicyTimelines({ client: this._client, ...options });
|
|
4076
4076
|
/**
|
|
4077
4077
|
* Auto-paginate through all policy_timelines, yielding one item at a time.
|
|
4078
4078
|
* @example for await (const item of client.timeoff.policyTimelines.paginate()) { ... }
|
|
4079
4079
|
*/
|
|
4080
4080
|
paginate(options) {
|
|
4081
4081
|
const { maxItems, ...rest } = options ?? {};
|
|
4082
|
-
return paginate((params) =>
|
|
4082
|
+
return paginate((params) => getApi20261001ResourcesTimeoffPolicyTimelines({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4083
4083
|
}
|
|
4084
4084
|
/**
|
|
4085
4085
|
* Fetch all policy_timelines across all pages into a single array.
|
|
@@ -4096,14 +4096,14 @@ export class TrainingsCategoriesResource {
|
|
|
4096
4096
|
this._client = _client;
|
|
4097
4097
|
}
|
|
4098
4098
|
/** Lists all categories */
|
|
4099
|
-
list = (options) =>
|
|
4099
|
+
list = (options) => getApi20261001ResourcesTrainingsCategories({ client: this._client, ...options });
|
|
4100
4100
|
/**
|
|
4101
4101
|
* Auto-paginate through all categories, yielding one item at a time.
|
|
4102
4102
|
* @example for await (const item of client.trainings.categories.paginate()) { ... }
|
|
4103
4103
|
*/
|
|
4104
4104
|
paginate(options) {
|
|
4105
4105
|
const { maxItems, ...rest } = options ?? {};
|
|
4106
|
-
return paginate((params) =>
|
|
4106
|
+
return paginate((params) => getApi20261001ResourcesTrainingsCategories({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4107
4107
|
}
|
|
4108
4108
|
/**
|
|
4109
4109
|
* Fetch all categories across all pages into a single array.
|
|
@@ -4113,11 +4113,11 @@ export class TrainingsCategoriesResource {
|
|
|
4113
4113
|
return collectAll(this.paginate(options));
|
|
4114
4114
|
}
|
|
4115
4115
|
/** Creates a categories record */
|
|
4116
|
-
create = (options) =>
|
|
4116
|
+
create = (options) => postApi20261001ResourcesTrainingsCategories({ client: this._client, ...options });
|
|
4117
4117
|
/** Reads a single categories record */
|
|
4118
|
-
get = (options) =>
|
|
4118
|
+
get = (options) => getApi20261001ResourcesTrainingsCategoriesById({ client: this._client, ...options });
|
|
4119
4119
|
/** Deletes a categories record */
|
|
4120
|
-
delete = (options) =>
|
|
4120
|
+
delete = (options) => deleteApi20261001ResourcesTrainingsCategoriesById({ client: this._client, ...options });
|
|
4121
4121
|
}
|
|
4122
4122
|
/** Methods for the trainings > session_access_memberships resource */
|
|
4123
4123
|
export class TrainingsSessionAccessMembershipsResource {
|
|
@@ -4126,14 +4126,14 @@ export class TrainingsSessionAccessMembershipsResource {
|
|
|
4126
4126
|
this._client = _client;
|
|
4127
4127
|
}
|
|
4128
4128
|
/** Lists all session_access_memberships */
|
|
4129
|
-
list = (options) =>
|
|
4129
|
+
list = (options) => getApi20261001ResourcesTrainingsSessionAccessMemberships({ client: this._client, ...options });
|
|
4130
4130
|
/**
|
|
4131
4131
|
* Auto-paginate through all session_access_memberships, yielding one item at a time.
|
|
4132
4132
|
* @example for await (const item of client.trainings.sessionAccessMemberships.paginate()) { ... }
|
|
4133
4133
|
*/
|
|
4134
4134
|
paginate(options) {
|
|
4135
4135
|
const { maxItems, ...rest } = options ?? {};
|
|
4136
|
-
return paginate((params) =>
|
|
4136
|
+
return paginate((params) => getApi20261001ResourcesTrainingsSessionAccessMemberships({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4137
4137
|
}
|
|
4138
4138
|
/**
|
|
4139
4139
|
* Fetch all session_access_memberships across all pages into a single array.
|
|
@@ -4143,11 +4143,11 @@ export class TrainingsSessionAccessMembershipsResource {
|
|
|
4143
4143
|
return collectAll(this.paginate(options));
|
|
4144
4144
|
}
|
|
4145
4145
|
/** Reads a single session_access_memberships record */
|
|
4146
|
-
get = (options) =>
|
|
4146
|
+
get = (options) => getApi20261001ResourcesTrainingsSessionAccessMembershipsById({ client: this._client, ...options });
|
|
4147
4147
|
/** bulkCreate */
|
|
4148
|
-
bulkCreate = (options) =>
|
|
4148
|
+
bulkCreate = (options) => postApi20261001ResourcesTrainingsSessionAccessMembershipsBulkCreate({ client: this._client, ...options });
|
|
4149
4149
|
/** bulkDestroy */
|
|
4150
|
-
bulkDestroy = (options) =>
|
|
4150
|
+
bulkDestroy = (options) => postApi20261001ResourcesTrainingsSessionAccessMembershipsBulkDestroy({ client: this._client, ...options });
|
|
4151
4151
|
}
|
|
4152
4152
|
/** Methods for the trainings > session_attendances resource */
|
|
4153
4153
|
export class TrainingsSessionAttendancesResource {
|
|
@@ -4156,14 +4156,14 @@ export class TrainingsSessionAttendancesResource {
|
|
|
4156
4156
|
this._client = _client;
|
|
4157
4157
|
}
|
|
4158
4158
|
/** Lists all session_attendances */
|
|
4159
|
-
list = (options) =>
|
|
4159
|
+
list = (options) => getApi20261001ResourcesTrainingsSessionAttendances({ client: this._client, ...options });
|
|
4160
4160
|
/**
|
|
4161
4161
|
* Auto-paginate through all session_attendances, yielding one item at a time.
|
|
4162
4162
|
* @example for await (const item of client.trainings.sessionAttendances.paginate()) { ... }
|
|
4163
4163
|
*/
|
|
4164
4164
|
paginate(options) {
|
|
4165
4165
|
const { maxItems, ...rest } = options ?? {};
|
|
4166
|
-
return paginate((params) =>
|
|
4166
|
+
return paginate((params) => getApi20261001ResourcesTrainingsSessionAttendances({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4167
4167
|
}
|
|
4168
4168
|
/**
|
|
4169
4169
|
* Fetch all session_attendances across all pages into a single array.
|
|
@@ -4173,9 +4173,9 @@ export class TrainingsSessionAttendancesResource {
|
|
|
4173
4173
|
return collectAll(this.paginate(options));
|
|
4174
4174
|
}
|
|
4175
4175
|
/** Reads a single session_attendances record */
|
|
4176
|
-
get = (options) =>
|
|
4176
|
+
get = (options) => getApi20261001ResourcesTrainingsSessionAttendancesById({ client: this._client, ...options });
|
|
4177
4177
|
/** bulkUpdate */
|
|
4178
|
-
bulkUpdate = (options) =>
|
|
4178
|
+
bulkUpdate = (options) => postApi20261001ResourcesTrainingsSessionAttendancesBulkUpdate({ client: this._client, ...options });
|
|
4179
4179
|
}
|
|
4180
4180
|
/** Methods for the trainings > sessions resource */
|
|
4181
4181
|
export class TrainingsSessionsResource {
|
|
@@ -4184,14 +4184,14 @@ export class TrainingsSessionsResource {
|
|
|
4184
4184
|
this._client = _client;
|
|
4185
4185
|
}
|
|
4186
4186
|
/** Lists all sessions */
|
|
4187
|
-
list = (options) =>
|
|
4187
|
+
list = (options) => getApi20261001ResourcesTrainingsSessions({ client: this._client, ...options });
|
|
4188
4188
|
/**
|
|
4189
4189
|
* Auto-paginate through all sessions, yielding one item at a time.
|
|
4190
4190
|
* @example for await (const item of client.trainings.sessions.paginate()) { ... }
|
|
4191
4191
|
*/
|
|
4192
4192
|
paginate(options) {
|
|
4193
4193
|
const { maxItems, ...rest } = options ?? {};
|
|
4194
|
-
return paginate((params) =>
|
|
4194
|
+
return paginate((params) => getApi20261001ResourcesTrainingsSessions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4195
4195
|
}
|
|
4196
4196
|
/**
|
|
4197
4197
|
* Fetch all sessions across all pages into a single array.
|
|
@@ -4201,13 +4201,13 @@ export class TrainingsSessionsResource {
|
|
|
4201
4201
|
return collectAll(this.paginate(options));
|
|
4202
4202
|
}
|
|
4203
4203
|
/** Creates a sessions record */
|
|
4204
|
-
create = (options) =>
|
|
4204
|
+
create = (options) => postApi20261001ResourcesTrainingsSessions({ client: this._client, ...options });
|
|
4205
4205
|
/** Reads a single sessions record */
|
|
4206
|
-
get = (options) =>
|
|
4206
|
+
get = (options) => getApi20261001ResourcesTrainingsSessionsById({ client: this._client, ...options });
|
|
4207
4207
|
/** Updates a sessions record */
|
|
4208
|
-
update = (options) =>
|
|
4208
|
+
update = (options) => putApi20261001ResourcesTrainingsSessionsById({ client: this._client, ...options });
|
|
4209
4209
|
/** Deletes a sessions record */
|
|
4210
|
-
delete = (options) =>
|
|
4210
|
+
delete = (options) => deleteApi20261001ResourcesTrainingsSessionsById({ client: this._client, ...options });
|
|
4211
4211
|
}
|
|
4212
4212
|
/** Methods for the trainings > training_classes resource */
|
|
4213
4213
|
export class TrainingsTrainingClassesResource {
|
|
@@ -4216,14 +4216,14 @@ export class TrainingsTrainingClassesResource {
|
|
|
4216
4216
|
this._client = _client;
|
|
4217
4217
|
}
|
|
4218
4218
|
/** Lists all training_classes */
|
|
4219
|
-
list = (options) =>
|
|
4219
|
+
list = (options) => getApi20261001ResourcesTrainingsTrainingClasses({ client: this._client, ...options });
|
|
4220
4220
|
/**
|
|
4221
4221
|
* Auto-paginate through all training_classes, yielding one item at a time.
|
|
4222
4222
|
* @example for await (const item of client.trainings.trainingClasses.paginate()) { ... }
|
|
4223
4223
|
*/
|
|
4224
4224
|
paginate(options) {
|
|
4225
4225
|
const { maxItems, ...rest } = options ?? {};
|
|
4226
|
-
return paginate((params) =>
|
|
4226
|
+
return paginate((params) => getApi20261001ResourcesTrainingsTrainingClasses({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4227
4227
|
}
|
|
4228
4228
|
/**
|
|
4229
4229
|
* Fetch all training_classes across all pages into a single array.
|
|
@@ -4233,13 +4233,13 @@ export class TrainingsTrainingClassesResource {
|
|
|
4233
4233
|
return collectAll(this.paginate(options));
|
|
4234
4234
|
}
|
|
4235
4235
|
/** Creates a training_classes record */
|
|
4236
|
-
create = (options) =>
|
|
4236
|
+
create = (options) => postApi20261001ResourcesTrainingsTrainingClasses({ client: this._client, ...options });
|
|
4237
4237
|
/** Reads a single training_classes record */
|
|
4238
|
-
get = (options) =>
|
|
4238
|
+
get = (options) => getApi20261001ResourcesTrainingsTrainingClassesById({ client: this._client, ...options });
|
|
4239
4239
|
/** Updates a training_classes record */
|
|
4240
|
-
update = (options) =>
|
|
4240
|
+
update = (options) => putApi20261001ResourcesTrainingsTrainingClassesById({ client: this._client, ...options });
|
|
4241
4241
|
/** Deletes a training_classes record */
|
|
4242
|
-
delete = (options) =>
|
|
4242
|
+
delete = (options) => deleteApi20261001ResourcesTrainingsTrainingClassesById({ client: this._client, ...options });
|
|
4243
4243
|
}
|
|
4244
4244
|
/** Methods for the trainings > training_memberships resource */
|
|
4245
4245
|
export class TrainingsTrainingMembershipsResource {
|
|
@@ -4248,14 +4248,14 @@ export class TrainingsTrainingMembershipsResource {
|
|
|
4248
4248
|
this._client = _client;
|
|
4249
4249
|
}
|
|
4250
4250
|
/** Lists all training_memberships */
|
|
4251
|
-
list = (options) =>
|
|
4251
|
+
list = (options) => getApi20261001ResourcesTrainingsTrainingMemberships({ client: this._client, ...options });
|
|
4252
4252
|
/**
|
|
4253
4253
|
* Auto-paginate through all training_memberships, yielding one item at a time.
|
|
4254
4254
|
* @example for await (const item of client.trainings.trainingMemberships.paginate()) { ... }
|
|
4255
4255
|
*/
|
|
4256
4256
|
paginate(options) {
|
|
4257
4257
|
const { maxItems, ...rest } = options ?? {};
|
|
4258
|
-
return paginate((params) =>
|
|
4258
|
+
return paginate((params) => getApi20261001ResourcesTrainingsTrainingMemberships({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4259
4259
|
}
|
|
4260
4260
|
/**
|
|
4261
4261
|
* Fetch all training_memberships across all pages into a single array.
|
|
@@ -4265,13 +4265,13 @@ export class TrainingsTrainingMembershipsResource {
|
|
|
4265
4265
|
return collectAll(this.paginate(options));
|
|
4266
4266
|
}
|
|
4267
4267
|
/** Reads a single training_memberships record */
|
|
4268
|
-
get = (options) =>
|
|
4268
|
+
get = (options) => getApi20261001ResourcesTrainingsTrainingMembershipsById({ client: this._client, ...options });
|
|
4269
4269
|
/** Updates a training_memberships record */
|
|
4270
|
-
update = (options) =>
|
|
4270
|
+
update = (options) => putApi20261001ResourcesTrainingsTrainingMembershipsById({ client: this._client, ...options });
|
|
4271
4271
|
/** bulkCreate */
|
|
4272
|
-
bulkCreate = (options) =>
|
|
4272
|
+
bulkCreate = (options) => postApi20261001ResourcesTrainingsTrainingMembershipsBulkCreate({ client: this._client, ...options });
|
|
4273
4273
|
/** bulkDestroy */
|
|
4274
|
-
bulkDestroy = (options) =>
|
|
4274
|
+
bulkDestroy = (options) => postApi20261001ResourcesTrainingsTrainingMembershipsBulkDestroy({ client: this._client, ...options });
|
|
4275
4275
|
}
|
|
4276
4276
|
/** Methods for the trainings > trainings resource */
|
|
4277
4277
|
export class TrainingsTrainingsResource {
|
|
@@ -4280,14 +4280,14 @@ export class TrainingsTrainingsResource {
|
|
|
4280
4280
|
this._client = _client;
|
|
4281
4281
|
}
|
|
4282
4282
|
/** Lists all trainings */
|
|
4283
|
-
list = (options) =>
|
|
4283
|
+
list = (options) => getApi20261001ResourcesTrainingsTrainings({ client: this._client, ...options });
|
|
4284
4284
|
/**
|
|
4285
4285
|
* Auto-paginate through all trainings, yielding one item at a time.
|
|
4286
4286
|
* @example for await (const item of client.trainings.trainings.paginate()) { ... }
|
|
4287
4287
|
*/
|
|
4288
4288
|
paginate(options) {
|
|
4289
4289
|
const { maxItems, ...rest } = options ?? {};
|
|
4290
|
-
return paginate((params) =>
|
|
4290
|
+
return paginate((params) => getApi20261001ResourcesTrainingsTrainings({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4291
4291
|
}
|
|
4292
4292
|
/**
|
|
4293
4293
|
* Fetch all trainings across all pages into a single array.
|
|
@@ -4297,19 +4297,19 @@ export class TrainingsTrainingsResource {
|
|
|
4297
4297
|
return collectAll(this.paginate(options));
|
|
4298
4298
|
}
|
|
4299
4299
|
/** Creates a trainings record */
|
|
4300
|
-
create = (options) =>
|
|
4300
|
+
create = (options) => postApi20261001ResourcesTrainingsTrainings({ client: this._client, ...options });
|
|
4301
4301
|
/** Reads a single trainings record */
|
|
4302
|
-
get = (options) =>
|
|
4302
|
+
get = (options) => getApi20261001ResourcesTrainingsTrainingsById({ client: this._client, ...options });
|
|
4303
4303
|
/** Updates a trainings record */
|
|
4304
|
-
update = (options) =>
|
|
4304
|
+
update = (options) => putApi20261001ResourcesTrainingsTrainingsById({ client: this._client, ...options });
|
|
4305
4305
|
/** Deletes a trainings record */
|
|
4306
|
-
delete = (options) =>
|
|
4306
|
+
delete = (options) => deleteApi20261001ResourcesTrainingsTrainingsById({ client: this._client, ...options });
|
|
4307
4307
|
/** bulkDelete */
|
|
4308
|
-
bulkDelete = (options) =>
|
|
4308
|
+
bulkDelete = (options) => postApi20261001ResourcesTrainingsTrainingsBulkDelete({ client: this._client, ...options });
|
|
4309
4309
|
/** bulkUpdateCatalog */
|
|
4310
|
-
bulkUpdateCatalog = (options) =>
|
|
4310
|
+
bulkUpdateCatalog = (options) => postApi20261001ResourcesTrainingsTrainingsBulkUpdateCatalog({ client: this._client, ...options });
|
|
4311
4311
|
/** updateStatus */
|
|
4312
|
-
updateStatus = (options) =>
|
|
4312
|
+
updateStatus = (options) => postApi20261001ResourcesTrainingsTrainingsUpdateStatus({ client: this._client, ...options });
|
|
4313
4313
|
}
|
|
4314
4314
|
/** Methods for the work_schedule > day_configurations resource */
|
|
4315
4315
|
export class WorkScheduleDayConfigurationsResource {
|
|
@@ -4318,14 +4318,14 @@ export class WorkScheduleDayConfigurationsResource {
|
|
|
4318
4318
|
this._client = _client;
|
|
4319
4319
|
}
|
|
4320
4320
|
/** Lists all day_configurations */
|
|
4321
|
-
list = (options) =>
|
|
4321
|
+
list = (options) => getApi20261001ResourcesWorkScheduleDayConfigurations({ client: this._client, ...options });
|
|
4322
4322
|
/**
|
|
4323
4323
|
* Auto-paginate through all day_configurations, yielding one item at a time.
|
|
4324
4324
|
* @example for await (const item of client.workSchedule.dayConfigurations.paginate()) { ... }
|
|
4325
4325
|
*/
|
|
4326
4326
|
paginate(options) {
|
|
4327
4327
|
const { maxItems, ...rest } = options ?? {};
|
|
4328
|
-
return paginate((params) =>
|
|
4328
|
+
return paginate((params) => getApi20261001ResourcesWorkScheduleDayConfigurations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4329
4329
|
}
|
|
4330
4330
|
/**
|
|
4331
4331
|
* Fetch all day_configurations across all pages into a single array.
|
|
@@ -4335,9 +4335,9 @@ export class WorkScheduleDayConfigurationsResource {
|
|
|
4335
4335
|
return collectAll(this.paginate(options));
|
|
4336
4336
|
}
|
|
4337
4337
|
/** Reads a single day_configurations record */
|
|
4338
|
-
get = (options) =>
|
|
4338
|
+
get = (options) => getApi20261001ResourcesWorkScheduleDayConfigurationsById({ client: this._client, ...options });
|
|
4339
4339
|
/** bulkCud */
|
|
4340
|
-
bulkCud = (options) =>
|
|
4340
|
+
bulkCud = (options) => postApi20261001ResourcesWorkScheduleDayConfigurationsBulkCud({ client: this._client, ...options });
|
|
4341
4341
|
}
|
|
4342
4342
|
/** Methods for the work_schedule > overlap_periods resource */
|
|
4343
4343
|
export class WorkScheduleOverlapPeriodsResource {
|
|
@@ -4346,14 +4346,14 @@ export class WorkScheduleOverlapPeriodsResource {
|
|
|
4346
4346
|
this._client = _client;
|
|
4347
4347
|
}
|
|
4348
4348
|
/** Lists all overlap_periods */
|
|
4349
|
-
list = (options) =>
|
|
4349
|
+
list = (options) => getApi20261001ResourcesWorkScheduleOverlapPeriods({ client: this._client, ...options });
|
|
4350
4350
|
/**
|
|
4351
4351
|
* Auto-paginate through all overlap_periods, yielding one item at a time.
|
|
4352
4352
|
* @example for await (const item of client.workSchedule.overlapPeriods.paginate()) { ... }
|
|
4353
4353
|
*/
|
|
4354
4354
|
paginate(options) {
|
|
4355
4355
|
const { maxItems, ...rest } = options ?? {};
|
|
4356
|
-
return paginate((params) =>
|
|
4356
|
+
return paginate((params) => getApi20261001ResourcesWorkScheduleOverlapPeriods({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4357
4357
|
}
|
|
4358
4358
|
/**
|
|
4359
4359
|
* Fetch all overlap_periods across all pages into a single array.
|
|
@@ -4363,13 +4363,13 @@ export class WorkScheduleOverlapPeriodsResource {
|
|
|
4363
4363
|
return collectAll(this.paginate(options));
|
|
4364
4364
|
}
|
|
4365
4365
|
/** Creates a overlap_periods record */
|
|
4366
|
-
create = (options) =>
|
|
4366
|
+
create = (options) => postApi20261001ResourcesWorkScheduleOverlapPeriods({ client: this._client, ...options });
|
|
4367
4367
|
/** Reads a single overlap_periods record */
|
|
4368
|
-
get = (options) =>
|
|
4368
|
+
get = (options) => getApi20261001ResourcesWorkScheduleOverlapPeriodsById({ client: this._client, ...options });
|
|
4369
4369
|
/** Updates a overlap_periods record */
|
|
4370
|
-
update = (options) =>
|
|
4370
|
+
update = (options) => putApi20261001ResourcesWorkScheduleOverlapPeriodsById({ client: this._client, ...options });
|
|
4371
4371
|
/** Deletes a overlap_periods record */
|
|
4372
|
-
delete = (options) =>
|
|
4372
|
+
delete = (options) => deleteApi20261001ResourcesWorkScheduleOverlapPeriodsById({ client: this._client, ...options });
|
|
4373
4373
|
}
|
|
4374
4374
|
/** Methods for the work_schedule > schedules resource */
|
|
4375
4375
|
export class WorkScheduleSchedulesResource {
|
|
@@ -4378,14 +4378,14 @@ export class WorkScheduleSchedulesResource {
|
|
|
4378
4378
|
this._client = _client;
|
|
4379
4379
|
}
|
|
4380
4380
|
/** Lists all schedules */
|
|
4381
|
-
list = (options) =>
|
|
4381
|
+
list = (options) => getApi20261001ResourcesWorkScheduleSchedules({ client: this._client, ...options });
|
|
4382
4382
|
/**
|
|
4383
4383
|
* Auto-paginate through all schedules, yielding one item at a time.
|
|
4384
4384
|
* @example for await (const item of client.workSchedule.schedules.paginate()) { ... }
|
|
4385
4385
|
*/
|
|
4386
4386
|
paginate(options) {
|
|
4387
4387
|
const { maxItems, ...rest } = options ?? {};
|
|
4388
|
-
return paginate((params) =>
|
|
4388
|
+
return paginate((params) => getApi20261001ResourcesWorkScheduleSchedules({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4389
4389
|
}
|
|
4390
4390
|
/**
|
|
4391
4391
|
* Fetch all schedules across all pages into a single array.
|
|
@@ -4395,13 +4395,13 @@ export class WorkScheduleSchedulesResource {
|
|
|
4395
4395
|
return collectAll(this.paginate(options));
|
|
4396
4396
|
}
|
|
4397
4397
|
/** Creates a schedules record */
|
|
4398
|
-
create = (options) =>
|
|
4398
|
+
create = (options) => postApi20261001ResourcesWorkScheduleSchedules({ client: this._client, ...options });
|
|
4399
4399
|
/** Reads a single schedules record */
|
|
4400
|
-
get = (options) =>
|
|
4400
|
+
get = (options) => getApi20261001ResourcesWorkScheduleSchedulesById({ client: this._client, ...options });
|
|
4401
4401
|
/** Updates a schedules record */
|
|
4402
|
-
update = (options) =>
|
|
4402
|
+
update = (options) => putApi20261001ResourcesWorkScheduleSchedulesById({ client: this._client, ...options });
|
|
4403
4403
|
/** toggleArchive */
|
|
4404
|
-
toggleArchive = (options) =>
|
|
4404
|
+
toggleArchive = (options) => postApi20261001ResourcesWorkScheduleSchedulesToggleArchive({ client: this._client, ...options });
|
|
4405
4405
|
}
|
|
4406
4406
|
/** Namespace for all api_public resources */
|
|
4407
4407
|
export class ApiPublicNamespace {
|