@factorialco/api-client 1.3.0 → 2.0.0-beta.2026070100
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.d.ts.map +1 -1
- package/dist/cjs/generated/index.js +561 -566
- package/dist/cjs/generated/index.js.map +1 -1
- package/dist/cjs/generated/sdk.gen.d.ts +575 -688
- package/dist/cjs/generated/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/generated/sdk.gen.js +1710 -1851
- package/dist/cjs/generated/sdk.gen.js.map +1 -1
- package/dist/cjs/generated/types.gen.d.ts +3853 -3693
- package/dist/cjs/generated/types.gen.d.ts.map +1 -1
- package/dist/cjs/sdk.d.ts +888 -890
- package/dist/cjs/sdk.d.ts.map +1 -1
- package/dist/cjs/sdk.js +751 -749
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/cjs/webhooks.d.ts +4 -1
- package/dist/cjs/webhooks.d.ts.map +1 -1
- package/dist/cjs/webhooks.js +1 -0
- package/dist/cjs/webhooks.js.map +1 -1
- package/dist/esm/generated/index.d.ts +2 -2
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/generated/index.js +1 -1
- package/dist/esm/generated/index.js.map +1 -1
- package/dist/esm/generated/sdk.gen.d.ts +575 -688
- package/dist/esm/generated/sdk.gen.d.ts.map +1 -1
- package/dist/esm/generated/sdk.gen.js +1149 -1285
- package/dist/esm/generated/sdk.gen.js.map +1 -1
- package/dist/esm/generated/types.gen.d.ts +3853 -3693
- package/dist/esm/generated/types.gen.d.ts.map +1 -1
- package/dist/esm/sdk.d.ts +888 -890
- package/dist/esm/sdk.d.ts.map +1 -1
- package/dist/esm/sdk.js +745 -744
- package/dist/esm/sdk.js.map +1 -1
- package/dist/esm/webhooks.d.ts +4 -1
- package/dist/esm/webhooks.d.ts.map +1 -1
- package/dist/esm/webhooks.js +1 -0
- package/dist/esm/webhooks.js.map +1 -1
- 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 { deleteApi20260401ResourcesApiPublicWebhookSubscriptionsById, deleteApi20260401ResourcesAtsApplicationsById, deleteApi20260401ResourcesAtsCandidatesById, deleteApi20260401ResourcesAtsFeedbacksById, deleteApi20260401ResourcesAtsJobPostingsById, deleteApi20260401ResourcesAtsQuestionsById, deleteApi20260401ResourcesAttendanceEditTimesheetRequestsById, deleteApi20260401ResourcesAttendanceOvertimeRequestsById, deleteApi20260401ResourcesAttendanceShiftsById, deleteApi20260401ResourcesContractsCompensationsById, deleteApi20260401ResourcesContractsContractVersionsById, deleteApi20260401ResourcesCustomFieldsFieldsById, deleteApi20260401ResourcesDocumentsDocumentsById, deleteApi20260401ResourcesFinanceCostCentersById, deleteApi20260401ResourcesItManagementItAssetsById, deleteApi20260401ResourcesLocationsLocationsById, deleteApi20260401ResourcesPayrollEmployeesIdentifiersById, deleteApi20260401ResourcesPayrollIntegrationsBaseCodesById, deleteApi20260401ResourcesPayrollSupplementsById, deleteApi20260401ResourcesPerformanceReviewOwnersById, deleteApi20260401ResourcesPerformanceReviewProcessTargetsById, deleteApi20260401ResourcesPerformanceReviewProcessesById, deleteApi20260401ResourcesPostsCommentsById, deleteApi20260401ResourcesPostsGroupsById, deleteApi20260401ResourcesPostsPostsById, deleteApi20260401ResourcesProjectManagementBudgetStrategiesById, deleteApi20260401ResourcesProjectManagementFlexibleTimeRecordsById, deleteApi20260401ResourcesProjectManagementPlannedRecordsById, deleteApi20260401ResourcesProjectManagementSubprojectsById, deleteApi20260401ResourcesProjectManagementTimeRecordsById, deleteApi20260401ResourcesShiftManagementShiftsById, deleteApi20260401ResourcesTasksTaskFilesById, deleteApi20260401ResourcesTasksTasksById, deleteApi20260401ResourcesTeamsMembershipsById, deleteApi20260401ResourcesTeamsTeamsById, deleteApi20260401ResourcesTimePlanningPlanningVersionsById, deleteApi20260401ResourcesTimeoffAllowanceIncidencesById, deleteApi20260401ResourcesTimeoffAllowancesById, deleteApi20260401ResourcesTimeoffBlockedPeriodsById, deleteApi20260401ResourcesTimeoffLeavesById, deleteApi20260401ResourcesTimeoffPoliciesById, deleteApi20260401ResourcesTimeoffPolicyAssignmentsById, deleteApi20260401ResourcesTrainingsCategoriesById, deleteApi20260401ResourcesTrainingsSessionsById, deleteApi20260401ResourcesTrainingsTrainingClassesById, deleteApi20260401ResourcesTrainingsTrainingsById, deleteApi20260401ResourcesWorkScheduleOverlapPeriodsById, getApi20260401ResourcesApiPublicCredentials, getApi20260401ResourcesApiPublicWebhookSubscriptions, getApi20260401ResourcesApiPublicWebhookSubscriptionsById, getApi20260401ResourcesAtsAnswers, getApi20260401ResourcesAtsAnswersById, getApi20260401ResourcesAtsApplicationPhases, getApi20260401ResourcesAtsApplicationPhasesById, getApi20260401ResourcesAtsApplications, getApi20260401ResourcesAtsApplicationsById, getApi20260401ResourcesAtsCandidateSources, getApi20260401ResourcesAtsCandidateSourcesById, getApi20260401ResourcesAtsCandidates, getApi20260401ResourcesAtsCandidatesById, getApi20260401ResourcesAtsEvaluationForms, getApi20260401ResourcesAtsEvaluationFormsById, getApi20260401ResourcesAtsFeedbacks, getApi20260401ResourcesAtsFeedbacksById, getApi20260401ResourcesAtsHiringStages, getApi20260401ResourcesAtsHiringStagesById, getApi20260401ResourcesAtsJobPostings, getApi20260401ResourcesAtsJobPostingsById, getApi20260401ResourcesAtsMessages, getApi20260401ResourcesAtsMessagesById, getApi20260401ResourcesAtsQuestions, getApi20260401ResourcesAtsQuestionsById, getApi20260401ResourcesAtsRejectionReasons, getApi20260401ResourcesAtsRejectionReasonsById, getApi20260401ResourcesAttendanceBreakConfigurations, getApi20260401ResourcesAttendanceBreakConfigurationsById, getApi20260401ResourcesAttendanceEditTimesheetRequests, getApi20260401ResourcesAttendanceEditTimesheetRequestsById, getApi20260401ResourcesAttendanceEstimatedTimes, getApi20260401ResourcesAttendanceOpenShifts, getApi20260401ResourcesAttendanceOvertimeRequests, getApi20260401ResourcesAttendanceOvertimeRequestsById, getApi20260401ResourcesAttendanceReviews, getApi20260401ResourcesAttendanceShifts, getApi20260401ResourcesAttendanceShiftsById, getApi20260401ResourcesAttendanceWorkedTimes, getApi20260401ResourcesBankingBankAccounts, getApi20260401ResourcesBankingBankAccountsById, getApi20260401ResourcesBankingCardPayments, getApi20260401ResourcesBankingCardPaymentsById, getApi20260401ResourcesBankingTransactions, getApi20260401ResourcesBankingTransactionsById, getApi20260401ResourcesBookkeepersManagementIncidences, getApi20260401ResourcesBookkeepersManagementIncidencesById, getApi20260401ResourcesCompaniesLegalEntities, getApi20260401ResourcesCompaniesLegalEntitiesById, getApi20260401ResourcesCompensationsConcepts, getApi20260401ResourcesCompensationsConceptsById, getApi20260401ResourcesContractsCompensations, getApi20260401ResourcesContractsCompensationsById, getApi20260401ResourcesContractsContractTemplates, getApi20260401ResourcesContractsContractTemplatesById, getApi20260401ResourcesContractsContractVersionHistories, getApi20260401ResourcesContractsContractVersionHistoriesById, getApi20260401ResourcesContractsContractVersionMetaData, getApi20260401ResourcesContractsContractVersions, getApi20260401ResourcesContractsContractVersionsById, getApi20260401ResourcesContractsFrenchContractTypes, getApi20260401ResourcesContractsFrenchContractTypesById, getApi20260401ResourcesContractsGermanContractTypes, getApi20260401ResourcesContractsGermanContractTypesById, getApi20260401ResourcesContractsPortugueseContractTypes, getApi20260401ResourcesContractsPortugueseContractTypesById, getApi20260401ResourcesContractsReferenceContracts, getApi20260401ResourcesContractsSpanishContractTypes, getApi20260401ResourcesContractsSpanishContractTypesById, getApi20260401ResourcesContractsSpanishEducationLevels, getApi20260401ResourcesContractsSpanishEducationLevelsById, getApi20260401ResourcesContractsSpanishProfessionalCategories, getApi20260401ResourcesContractsSpanishProfessionalCategoriesById, getApi20260401ResourcesContractsSpanishWorkingDayTypes, getApi20260401ResourcesContractsSpanishWorkingDayTypesById, getApi20260401ResourcesContractsTaxonomies, getApi20260401ResourcesContractsTaxonomiesById, getApi20260401ResourcesCustomFieldsFields, getApi20260401ResourcesCustomFieldsFieldsById, getApi20260401ResourcesCustomFieldsOptions, getApi20260401ResourcesCustomFieldsOptionsById, getApi20260401ResourcesCustomFieldsResourceFields, getApi20260401ResourcesCustomFieldsResourceFieldsById, getApi20260401ResourcesCustomFieldsValues, getApi20260401ResourcesCustomFieldsValuesById, getApi20260401ResourcesCustomResourcesResources, getApi20260401ResourcesCustomResourcesResourcesById, getApi20260401ResourcesCustomResourcesSchemas, getApi20260401ResourcesCustomResourcesSchemasById, getApi20260401ResourcesCustomResourcesValues, getApi20260401ResourcesCustomResourcesValuesById, getApi20260401ResourcesDocumentsDocuments, getApi20260401ResourcesDocumentsDocumentsById, getApi20260401ResourcesDocumentsFolders, getApi20260401ResourcesDocumentsFoldersById, getApi20260401ResourcesEmployeeUpdatesAbsences, getApi20260401ResourcesEmployeeUpdatesAbsencesById, getApi20260401ResourcesEmployeeUpdatesContractChanges, getApi20260401ResourcesEmployeeUpdatesContractChangesById, getApi20260401ResourcesEmployeeUpdatesNewHires, getApi20260401ResourcesEmployeeUpdatesNewHiresById, getApi20260401ResourcesEmployeeUpdatesPersonalChanges, getApi20260401ResourcesEmployeeUpdatesPersonalChangesById, getApi20260401ResourcesEmployeeUpdatesSummaries, getApi20260401ResourcesEmployeeUpdatesSummariesById, getApi20260401ResourcesEmployeeUpdatesTerminations, getApi20260401ResourcesEmployeeUpdatesTerminationsById, getApi20260401ResourcesEmployeesEmployees, getApi20260401ResourcesEmployeesEmployeesById, getApi20260401ResourcesExpensesExpensables, getApi20260401ResourcesExpensesExpensablesById, getApi20260401ResourcesExpensesExpenses, getApi20260401ResourcesExpensesExpensesById, getApi20260401ResourcesExpensesMileages, getApi20260401ResourcesExpensesMileagesById, getApi20260401ResourcesExpensesPerDiems, getApi20260401ResourcesExpensesPerDiemsById, getApi20260401ResourcesFinanceAccountingSettings, getApi20260401ResourcesFinanceAccountingSettingsById, getApi20260401ResourcesFinanceAccounts, getApi20260401ResourcesFinanceAccountsById, getApi20260401ResourcesFinanceBudgetOptions, getApi20260401ResourcesFinanceBudgetOptionsById, getApi20260401ResourcesFinanceCategories, getApi20260401ResourcesFinanceCategoriesById, getApi20260401ResourcesFinanceContacts, getApi20260401ResourcesFinanceContactsById, getApi20260401ResourcesFinanceCostCenterMemberships, getApi20260401ResourcesFinanceCostCenters, getApi20260401ResourcesFinanceCostCentersById, getApi20260401ResourcesFinanceFinancialDocuments, getApi20260401ResourcesFinanceFinancialDocumentsById, getApi20260401ResourcesFinanceJournalEntries, getApi20260401ResourcesFinanceJournalEntriesById, getApi20260401ResourcesFinanceJournalLines, getApi20260401ResourcesFinanceJournalLinesById, getApi20260401ResourcesFinanceLedgerAccountResources, getApi20260401ResourcesFinanceLedgerAccountResourcesById, getApi20260401ResourcesFinanceTaxRates, getApi20260401ResourcesFinanceTaxRatesById, getApi20260401ResourcesFinanceTaxTypes, getApi20260401ResourcesFinanceTaxTypesById, getApi20260401ResourcesHolidaysCompanyHolidays, getApi20260401ResourcesHolidaysCompanyHolidaysById, getApi20260401ResourcesIntegrationsSyncableItems, getApi20260401ResourcesItManagementItAssetModels, getApi20260401ResourcesItManagementItAssetModelsById, getApi20260401ResourcesItManagementItAssets, getApi20260401ResourcesItManagementItAssetsById, getApi20260401ResourcesJobCatalogLevels, getApi20260401ResourcesJobCatalogLevelsById, getApi20260401ResourcesJobCatalogNodeAttributes, getApi20260401ResourcesJobCatalogRoles, getApi20260401ResourcesJobCatalogRolesById, getApi20260401ResourcesJobCatalogTreeNodes, getApi20260401ResourcesLocationsLocations, getApi20260401ResourcesLocationsLocationsById, getApi20260401ResourcesLocationsWorkAreas, getApi20260401ResourcesLocationsWorkAreasById, getApi20260401ResourcesMarketplaceInstallationSettings, getApi20260401ResourcesPayrollEmployeesIdentifiers, getApi20260401ResourcesPayrollEmployeesIdentifiersById, getApi20260401ResourcesPayrollFamilySituations, getApi20260401ResourcesPayrollIntegrationsBaseCodes, getApi20260401ResourcesPayrollSupplements, getApi20260401ResourcesPayrollSupplementsById, getApi20260401ResourcesPerformanceAgreements, getApi20260401ResourcesPerformanceAgreementsById, getApi20260401ResourcesPerformanceCompanyEmployeeScoreScales, getApi20260401ResourcesPerformanceCompanyEmployeeScoreScalesById, getApi20260401ResourcesPerformanceEmployeeScoreScales, getApi20260401ResourcesPerformanceEmployeeScoreScalesById, getApi20260401ResourcesPerformanceReviewEvaluationAnswers, getApi20260401ResourcesPerformanceReviewEvaluationScores, getApi20260401ResourcesPerformanceReviewEvaluationScoresById, getApi20260401ResourcesPerformanceReviewEvaluations, getApi20260401ResourcesPerformanceReviewEvaluationsById, getApi20260401ResourcesPerformanceReviewOwners, getApi20260401ResourcesPerformanceReviewProcessCustomTemplates, getApi20260401ResourcesPerformanceReviewProcessCustomTemplatesById, getApi20260401ResourcesPerformanceReviewProcessEstimatedTargets, getApi20260401ResourcesPerformanceReviewProcessTargets, getApi20260401ResourcesPerformanceReviewProcessTargetsById, getApi20260401ResourcesPerformanceReviewProcesses, getApi20260401ResourcesPerformanceReviewProcessesById, getApi20260401ResourcesPerformanceReviewQuestionnaireByStrategies, getApi20260401ResourcesPerformanceReviewQuestionnaireByStrategiesById, getApi20260401ResourcesPerformanceReviewVisibilitySettings, getApi20260401ResourcesPerformanceTargetManagers, getApi20260401ResourcesPerformanceTargetManagersById, getApi20260401ResourcesPostsComments, getApi20260401ResourcesPostsCommentsById, getApi20260401ResourcesPostsGroups, getApi20260401ResourcesPostsGroupsById, getApi20260401ResourcesPostsPosts, getApi20260401ResourcesPostsPostsById, getApi20260401ResourcesProcurementPurchaseOrders, getApi20260401ResourcesProcurementPurchaseOrdersById, getApi20260401ResourcesProcurementPurchaseRequests, getApi20260401ResourcesProcurementPurchaseRequestsById, getApi20260401ResourcesProcurementTypes, getApi20260401ResourcesProcurementTypesById, getApi20260401ResourcesProjectManagementBudgetStrategies, getApi20260401ResourcesProjectManagementBudgetStrategiesById, getApi20260401ResourcesProjectManagementExpenseRecords, getApi20260401ResourcesProjectManagementExpenseRecordsById, getApi20260401ResourcesProjectManagementExportableExpenses, getApi20260401ResourcesProjectManagementFlexibleTimeRecordComments, getApi20260401ResourcesProjectManagementFlexibleTimeRecordCommentsById, getApi20260401ResourcesProjectManagementFlexibleTimeRecords, getApi20260401ResourcesProjectManagementFlexibleTimeRecordsById, getApi20260401ResourcesProjectManagementPlannedRecords, getApi20260401ResourcesProjectManagementPlannedRecordsById, getApi20260401ResourcesProjectManagementProjectTasks, getApi20260401ResourcesProjectManagementProjectTasksById, getApi20260401ResourcesProjectManagementProjectWorkers, getApi20260401ResourcesProjectManagementProjectWorkersById, getApi20260401ResourcesProjectManagementProjects, getApi20260401ResourcesProjectManagementProjectsById, getApi20260401ResourcesProjectManagementSubprojects, getApi20260401ResourcesProjectManagementSubprojectsById, getApi20260401ResourcesProjectManagementTimeRecords, getApi20260401ResourcesProjectManagementTimeRecordsById, getApi20260401ResourcesShiftManagementShifts, getApi20260401ResourcesShiftManagementShiftsById, getApi20260401ResourcesTasksTaskFiles, getApi20260401ResourcesTasksTaskFilesById, getApi20260401ResourcesTasksTasks, getApi20260401ResourcesTasksTasksById, getApi20260401ResourcesTeamsMemberships, getApi20260401ResourcesTeamsMembershipsById, getApi20260401ResourcesTeamsTeams, getApi20260401ResourcesTeamsTeamsById, getApi20260401ResourcesTimePlanningPlannedBreaks, getApi20260401ResourcesTimePlanningPlannedBreaksById, getApi20260401ResourcesTimePlanningPlanningVersions, getApi20260401ResourcesTimeSettingsBreakConfigurations, getApi20260401ResourcesTimeSettingsBreakConfigurationsById, getApi20260401ResourcesTimeoffAllowanceIncidences, getApi20260401ResourcesTimeoffAllowanceIncidencesById, getApi20260401ResourcesTimeoffAllowanceStats, getApi20260401ResourcesTimeoffAllowanceStatsById, getApi20260401ResourcesTimeoffAllowances, getApi20260401ResourcesTimeoffAllowancesById, getApi20260401ResourcesTimeoffBlockedPeriods, getApi20260401ResourcesTimeoffBlockedPeriodsById, getApi20260401ResourcesTimeoffLeaveTypes, getApi20260401ResourcesTimeoffLeaveTypesById, getApi20260401ResourcesTimeoffLeaves, getApi20260401ResourcesTimeoffLeavesById, getApi20260401ResourcesTimeoffPolicies, getApi20260401ResourcesTimeoffPoliciesById, getApi20260401ResourcesTimeoffPolicyAssignments, getApi20260401ResourcesTimeoffPolicyAssignmentsById, getApi20260401ResourcesTimeoffPolicyTimelines, getApi20260401ResourcesTrainingsCategories, getApi20260401ResourcesTrainingsCategoriesById, getApi20260401ResourcesTrainingsSessionAccessMemberships, getApi20260401ResourcesTrainingsSessionAccessMembershipsById, getApi20260401ResourcesTrainingsSessionAttendances, getApi20260401ResourcesTrainingsSessionAttendancesById, getApi20260401ResourcesTrainingsSessions, getApi20260401ResourcesTrainingsSessionsById, getApi20260401ResourcesTrainingsTrainingClasses, getApi20260401ResourcesTrainingsTrainingClassesById, getApi20260401ResourcesTrainingsTrainingMemberships, getApi20260401ResourcesTrainingsTrainingMembershipsById, getApi20260401ResourcesTrainingsTrainings, getApi20260401ResourcesTrainingsTrainingsById, getApi20260401ResourcesWorkScheduleDayConfigurations, getApi20260401ResourcesWorkScheduleDayConfigurationsById, getApi20260401ResourcesWorkScheduleOverlapPeriods, getApi20260401ResourcesWorkScheduleOverlapPeriodsById, getApi20260401ResourcesWorkScheduleSchedules, getApi20260401ResourcesWorkScheduleSchedulesById, postApi20260401ResourcesApiPublicWebhookSubscriptions, postApi20260401ResourcesApprovalsMaterializedApprovalsFlowsApproveResource, postApi20260401ResourcesApprovalsMaterializedApprovalsFlowsRejectResource, postApi20260401ResourcesAtsAnswers, postApi20260401ResourcesAtsApplications, postApi20260401ResourcesAtsApplicationsApply, postApi20260401ResourcesAtsCandidates, postApi20260401ResourcesAtsEvaluationFormsSaveAsTemplate, postApi20260401ResourcesAtsFeedbacks, postApi20260401ResourcesAtsJobPostings, postApi20260401ResourcesAtsJobPostingsDuplicate, postApi20260401ResourcesAtsMessages, postApi20260401ResourcesAtsQuestions, postApi20260401ResourcesAttendanceBreakConfigurations, postApi20260401ResourcesAttendanceEditTimesheetRequests, postApi20260401ResourcesAttendanceOvertimeRequests, postApi20260401ResourcesAttendanceOvertimeRequestsApprove, postApi20260401ResourcesAttendanceOvertimeRequestsReject, postApi20260401ResourcesAttendanceReviewsBulkCreate, postApi20260401ResourcesAttendanceReviewsBulkDestroy, postApi20260401ResourcesAttendanceShifts, postApi20260401ResourcesAttendanceShiftsAutofill, postApi20260401ResourcesAttendanceShiftsBreakEnd, postApi20260401ResourcesAttendanceShiftsBreakStart, postApi20260401ResourcesAttendanceShiftsClockIn, postApi20260401ResourcesAttendanceShiftsClockOut, postApi20260401ResourcesAttendanceShiftsToggleClock, postApi20260401ResourcesBankingBankAccountsCreateManual, postApi20260401ResourcesCompaniesLegalEntities, postApi20260401ResourcesContractsCompensations, postApi20260401ResourcesContractsContractVersions, postApi20260401ResourcesContractsSpanishContractTypes, postApi20260401ResourcesContractsSpanishEducationLevels, postApi20260401ResourcesContractsSpanishProfessionalCategories, postApi20260401ResourcesContractsSpanishWorkingDayTypes, postApi20260401ResourcesCustomFieldsFields, postApi20260401ResourcesCustomFieldsOptions, postApi20260401ResourcesCustomFieldsResourceFields, postApi20260401ResourcesCustomFieldsValues, postApi20260401ResourcesCustomResourcesSchemas, postApi20260401ResourcesCustomResourcesValues, postApi20260401ResourcesDocumentsDocuments, postApi20260401ResourcesDocumentsDocumentsMoveToTrashBin, postApi20260401ResourcesDocumentsDocumentsRestoreFromTrashBin, postApi20260401ResourcesDocumentsDownloadUrlsBulkCreate, postApi20260401ResourcesDocumentsFolders, postApi20260401ResourcesEmployeesEmployeesCreateWithContract, postApi20260401ResourcesEmployeesEmployeesInvite, postApi20260401ResourcesEmployeesEmployeesSetRegularAccessStartDate, postApi20260401ResourcesEmployeesEmployeesTerminate, postApi20260401ResourcesEmployeesEmployeesUnterminate, postApi20260401ResourcesExpensesExpensablesBulkSetToPaid, postApi20260401ResourcesFinanceAccountingSettingsUpsert, postApi20260401ResourcesFinanceAccounts, postApi20260401ResourcesFinanceContacts, postApi20260401ResourcesFinanceCostCenterMembershipsBulkCreateUpdate, postApi20260401ResourcesFinanceCostCenters, postApi20260401ResourcesFinanceCostCentersEdit, postApi20260401ResourcesFinanceJournalEntries, postApi20260401ResourcesFinanceLedgerAccountResourcesUpsert, postApi20260401ResourcesFinanceTaxRates, postApi20260401ResourcesFinanceTaxTypes, postApi20260401ResourcesItManagementItAssetModels, postApi20260401ResourcesItManagementItAssets, postApi20260401ResourcesLocationsLocations, postApi20260401ResourcesLocationsWorkAreas, postApi20260401ResourcesLocationsWorkAreasArchive, postApi20260401ResourcesLocationsWorkAreasUnarchive, postApi20260401ResourcesMarketplaceInstallations, postApi20260401ResourcesPayrollEmployeesIdentifiers, postApi20260401ResourcesPayrollFamilySituations, postApi20260401ResourcesPayrollIntegrationsBaseCodes, postApi20260401ResourcesPayrollPolicyPeriodsChangeStatus, postApi20260401ResourcesPayrollSupplements, postApi20260401ResourcesPerformanceAgreementsBulkInitiate, postApi20260401ResourcesPerformanceAgreementsInitiate, postApi20260401ResourcesPerformanceCompanyEmployeeScoreScalesSet, postApi20260401ResourcesPerformanceReviewEvaluationsReplaceReviewer, postApi20260401ResourcesPerformanceReviewOwnersBulkCreate, postApi20260401ResourcesPerformanceReviewProcessTargetsAddPeers, postApi20260401ResourcesPerformanceReviewProcessTargetsBulkCreate, postApi20260401ResourcesPerformanceReviewProcessTargetsRemovePeerEvaluations, postApi20260401ResourcesPerformanceReviewProcesses, postApi20260401ResourcesPerformanceReviewProcessesCreateFromTemplate, postApi20260401ResourcesPerformanceReviewProcessesDuplicate, postApi20260401ResourcesPerformanceReviewProcessesRemindInBulk, postApi20260401ResourcesPerformanceReviewProcessesRemoveSchedule, postApi20260401ResourcesPerformanceReviewProcessesReopen, postApi20260401ResourcesPerformanceReviewProcessesSchedule, postApi20260401ResourcesPerformanceReviewProcessesStart, postApi20260401ResourcesPerformanceReviewProcessesStop, postApi20260401ResourcesPerformanceReviewProcessesToggleArchive, postApi20260401ResourcesPerformanceReviewProcessesUpdateAgreementsConfiguration, postApi20260401ResourcesPerformanceReviewProcessesUpdateBasicInfo, postApi20260401ResourcesPerformanceReviewProcessesUpdateCompetenciesAssessmentsConfiguration, postApi20260401ResourcesPerformanceReviewProcessesUpdateDeadline, postApi20260401ResourcesPerformanceReviewProcessesUpdateEmployeeScoreConfiguration, postApi20260401ResourcesPerformanceReviewProcessesUpdateReviewerStrategies, postApi20260401ResourcesPerformanceReviewProcessesUpdateSchedule, postApi20260401ResourcesPerformanceReviewProcessesUpdateTargetStrategy, postApi20260401ResourcesPerformanceReviewQuestionnaireByStrategiesUpdateDefaultRatingScale, postApi20260401ResourcesPerformanceReviewQuestionnaireByStrategiesUpdateQuestionnaireForStrategy, postApi20260401ResourcesPostsComments, postApi20260401ResourcesPostsGroups, postApi20260401ResourcesPostsGroupsArchive, postApi20260401ResourcesPostsPosts, postApi20260401ResourcesProjectManagementBudgetStrategies, postApi20260401ResourcesProjectManagementFlexibleTimeRecordComments, postApi20260401ResourcesProjectManagementFlexibleTimeRecordCommentsDeleteByFlexibleTimeRecord, postApi20260401ResourcesProjectManagementFlexibleTimeRecordCommentsUpdateByFlexibleTimeRecord, postApi20260401ResourcesProjectManagementFlexibleTimeRecords, postApi20260401ResourcesProjectManagementPlannedRecordsBulkCreate, postApi20260401ResourcesProjectManagementProjectTasks, postApi20260401ResourcesProjectManagementProjectTasksBulkDestroy, postApi20260401ResourcesProjectManagementProjectTasksBulkDuplicate, postApi20260401ResourcesProjectManagementProjectWorkers, postApi20260401ResourcesProjectManagementProjectWorkersBulkAssign, postApi20260401ResourcesProjectManagementProjectWorkersBulkCreate, postApi20260401ResourcesProjectManagementProjectWorkersUnassign, postApi20260401ResourcesProjectManagementProjects, postApi20260401ResourcesProjectManagementProjectsActivate, postApi20260401ResourcesProjectManagementProjectsChangeAssignment, postApi20260401ResourcesProjectManagementProjectsChangeStatus, postApi20260401ResourcesProjectManagementProjectsClose, postApi20260401ResourcesProjectManagementProjectsSoftDelete, postApi20260401ResourcesProjectManagementSubprojects, postApi20260401ResourcesProjectManagementSubprojectsRename, postApi20260401ResourcesProjectManagementTimeRecords, postApi20260401ResourcesProjectManagementTimeRecordsBulkDelete, postApi20260401ResourcesProjectManagementTimeRecordsBulkProcess, postApi20260401ResourcesProjectManagementTimeRecordsUpdateProjectWorker, postApi20260401ResourcesShiftManagementShifts, postApi20260401ResourcesShiftManagementShiftsBulkCreate, postApi20260401ResourcesShiftManagementShiftsBulkDelete, postApi20260401ResourcesTasksTaskFiles, postApi20260401ResourcesTasksTasks, postApi20260401ResourcesTasksTasksBulkCreate, postApi20260401ResourcesTasksTasksBulkDelete, postApi20260401ResourcesTasksTasksBulkUpdate, postApi20260401ResourcesTasksTasksCopy, postApi20260401ResourcesTasksTasksCreateComment, postApi20260401ResourcesTeamsMemberships, postApi20260401ResourcesTeamsTeams, postApi20260401ResourcesTimePlanningPlannedBreaksBulkCreate, postApi20260401ResourcesTimePlanningPlanningVersions, postApi20260401ResourcesTimePlanningPlanningVersionsBulkCreate, postApi20260401ResourcesTimeSettingsBreakConfigurations, postApi20260401ResourcesTimeoffAllowanceIncidences, postApi20260401ResourcesTimeoffAllowances, postApi20260401ResourcesTimeoffAllowancesDeleteWithAltAllowance, postApi20260401ResourcesTimeoffBlockedPeriods, postApi20260401ResourcesTimeoffLeaveTypes, postApi20260401ResourcesTimeoffLeaves, postApi20260401ResourcesTimeoffLeavesApprove, postApi20260401ResourcesTimeoffLeavesApproveAll, postApi20260401ResourcesTimeoffLeavesReject, postApi20260401ResourcesTimeoffPolicies, postApi20260401ResourcesTimeoffPolicyAssignments, postApi20260401ResourcesTrainingsCategories, postApi20260401ResourcesTrainingsSessionAccessMembershipsBulkCreate, postApi20260401ResourcesTrainingsSessionAccessMembershipsBulkDestroy, postApi20260401ResourcesTrainingsSessionAttendancesBulkUpdate, postApi20260401ResourcesTrainingsSessions, postApi20260401ResourcesTrainingsTrainingClasses, postApi20260401ResourcesTrainingsTrainingMembershipsBulkCreate, postApi20260401ResourcesTrainingsTrainingMembershipsBulkDestroy, postApi20260401ResourcesTrainingsTrainings, postApi20260401ResourcesTrainingsTrainingsBulkDelete, postApi20260401ResourcesTrainingsTrainingsBulkUpdateCatalog, postApi20260401ResourcesTrainingsTrainingsUpdateStatus, postApi20260401ResourcesWorkScheduleDayConfigurationsBulkCud, postApi20260401ResourcesWorkScheduleOverlapPeriods, postApi20260401ResourcesWorkScheduleSchedules, postApi20260401ResourcesWorkScheduleSchedulesToggleArchive, putApi20260401ResourcesApiPublicWebhookSubscriptionsById, putApi20260401ResourcesAtsApplicationsById, putApi20260401ResourcesAtsCandidatesById, putApi20260401ResourcesAtsFeedbacksById, putApi20260401ResourcesAtsJobPostingsById, putApi20260401ResourcesAtsQuestionsById, putApi20260401ResourcesAttendanceBreakConfigurationsById, putApi20260401ResourcesAttendanceEditTimesheetRequestsById, putApi20260401ResourcesAttendanceOvertimeRequestsById, putApi20260401ResourcesAttendanceShiftsById, putApi20260401ResourcesBookkeepersManagementIncidencesById, putApi20260401ResourcesContractsCompensationsById, putApi20260401ResourcesContractsContractVersionsById, putApi20260401ResourcesCustomFieldsValuesById, putApi20260401ResourcesDocumentsDocumentsById, putApi20260401ResourcesDocumentsFoldersById, putApi20260401ResourcesEmployeesEmployeesById, putApi20260401ResourcesFinanceAccountsById, putApi20260401ResourcesFinanceContactsById, putApi20260401ResourcesFinanceTaxRatesById, putApi20260401ResourcesFinanceTaxTypesById, putApi20260401ResourcesIntegrationsSyncableSyncRunsById, putApi20260401ResourcesItManagementItAssetModelsById, putApi20260401ResourcesItManagementItAssetsById, putApi20260401ResourcesLocationsLocationsById, putApi20260401ResourcesLocationsWorkAreasById, putApi20260401ResourcesPayrollEmployeesIdentifiersById, putApi20260401ResourcesPayrollFamilySituationsById, putApi20260401ResourcesPayrollIntegrationsBaseCodesById, putApi20260401ResourcesPayrollSupplementsById, putApi20260401ResourcesPerformanceReviewVisibilitySettingsById, putApi20260401ResourcesPostsCommentsById, putApi20260401ResourcesPostsGroupsById, putApi20260401ResourcesPostsPostsById, putApi20260401ResourcesProjectManagementBudgetStrategiesById, putApi20260401ResourcesProjectManagementFlexibleTimeRecordsById, putApi20260401ResourcesProjectManagementPlannedRecordsById, putApi20260401ResourcesProjectManagementProjectTasksById, putApi20260401ResourcesProjectManagementProjectsById, putApi20260401ResourcesProjectManagementSubprojectsById, putApi20260401ResourcesTasksTasksById, putApi20260401ResourcesTeamsMembershipsById, putApi20260401ResourcesTeamsTeamsById, putApi20260401ResourcesTimePlanningPlanningVersionsById, putApi20260401ResourcesTimeSettingsBreakConfigurationsById, putApi20260401ResourcesTimeoffAllowanceIncidencesById, putApi20260401ResourcesTimeoffAllowancesById, putApi20260401ResourcesTimeoffBlockedPeriodsById, putApi20260401ResourcesTimeoffLeaveTypesById, putApi20260401ResourcesTimeoffLeavesById, putApi20260401ResourcesTimeoffPoliciesById, putApi20260401ResourcesTimeoffPolicyAssignmentsById, putApi20260401ResourcesTrainingsSessionsById, putApi20260401ResourcesTrainingsTrainingClassesById, putApi20260401ResourcesTrainingsTrainingMembershipsById, putApi20260401ResourcesTrainingsTrainingsById, putApi20260401ResourcesWorkScheduleOverlapPeriodsById, putApi20260401ResourcesWorkScheduleSchedulesById, } from "./generated/sdk.gen.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";
|
|
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) => getApi20260701ResourcesApiPublicCredentials({ 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) => getApi20260701ResourcesApiPublicCredentials({ 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) => getApi20260701ResourcesApiPublicWebhookSubscriptions({ 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) => getApi20260701ResourcesApiPublicWebhookSubscriptions({ 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) => postApi20260701ResourcesApiPublicWebhookSubscriptions({ client: this._client, ...options });
|
|
57
57
|
/** Reads a single webhook_subscriptions record */
|
|
58
|
-
get = (options) =>
|
|
58
|
+
get = (options) => getApi20260701ResourcesApiPublicWebhookSubscriptionsById({ client: this._client, ...options });
|
|
59
59
|
/** Updates a webhook_subscriptions record */
|
|
60
|
-
update = (options) =>
|
|
60
|
+
update = (options) => putApi20260701ResourcesApiPublicWebhookSubscriptionsById({ client: this._client, ...options });
|
|
61
61
|
/** Deletes a webhook_subscriptions record */
|
|
62
|
-
delete = (options) =>
|
|
62
|
+
delete = (options) => deleteApi20260701ResourcesApiPublicWebhookSubscriptionsById({ 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) => postApi20260701ResourcesApprovalsMaterializedApprovalsFlowsApproveResource({ client: this._client, ...options });
|
|
72
72
|
/** rejectResource */
|
|
73
|
-
rejectResource = (options) =>
|
|
73
|
+
rejectResource = (options) => postApi20260701ResourcesApprovalsMaterializedApprovalsFlowsRejectResource({ 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) => getApi20260701ResourcesAtsAnswers({ 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) => getApi20260701ResourcesAtsAnswers({ 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) => postApi20260701ResourcesAtsAnswers({ client: this._client, ...options });
|
|
100
100
|
/** Reads a single answers record */
|
|
101
|
-
get = (options) =>
|
|
101
|
+
get = (options) => getApi20260701ResourcesAtsAnswersById({ 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) => getApi20260701ResourcesAtsApplicationPhases({ 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) => getApi20260701ResourcesAtsApplicationPhases({ 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) => getApi20260701ResourcesAtsApplicationPhasesById({ 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) => getApi20260701ResourcesAtsApplications({ 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) => getApi20260701ResourcesAtsApplications({ 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,15 +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) => postApi20260701ResourcesAtsApplications({ client: this._client, ...options });
|
|
154
154
|
/** Reads a single applications record */
|
|
155
|
-
get = (options) =>
|
|
155
|
+
get = (options) => getApi20260701ResourcesAtsApplicationsById({ client: this._client, ...options });
|
|
156
156
|
/** Updates a applications record */
|
|
157
|
-
update = (options) =>
|
|
157
|
+
update = (options) => putApi20260701ResourcesAtsApplicationsById({ client: this._client, ...options });
|
|
158
158
|
/** Deletes a applications record */
|
|
159
|
-
delete = (options) =>
|
|
159
|
+
delete = (options) => deleteApi20260701ResourcesAtsApplicationsById({ client: this._client, ...options });
|
|
160
160
|
/** apply */
|
|
161
|
-
apply = (options) =>
|
|
161
|
+
apply = (options) => postApi20260701ResourcesAtsApplicationsApply({ client: this._client, ...options });
|
|
162
|
+
/** moveToPhase */
|
|
163
|
+
moveToPhase = (options) => postApi20260701ResourcesAtsApplicationsMoveToPhase({ client: this._client, ...options });
|
|
162
164
|
}
|
|
163
165
|
/** Methods for the ats > candidate_sources resource */
|
|
164
166
|
export class AtsCandidateSourcesResource {
|
|
@@ -167,14 +169,14 @@ export class AtsCandidateSourcesResource {
|
|
|
167
169
|
this._client = _client;
|
|
168
170
|
}
|
|
169
171
|
/** Lists all candidate_sources */
|
|
170
|
-
list = (options) =>
|
|
172
|
+
list = (options) => getApi20260701ResourcesAtsCandidateSources({ client: this._client, ...options });
|
|
171
173
|
/**
|
|
172
174
|
* Auto-paginate through all candidate_sources, yielding one item at a time.
|
|
173
175
|
* @example for await (const item of client.ats.candidateSources.paginate()) { ... }
|
|
174
176
|
*/
|
|
175
177
|
paginate(options) {
|
|
176
178
|
const { maxItems, ...rest } = options ?? {};
|
|
177
|
-
return paginate((params) =>
|
|
179
|
+
return paginate((params) => getApi20260701ResourcesAtsCandidateSources({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
178
180
|
}
|
|
179
181
|
/**
|
|
180
182
|
* Fetch all candidate_sources across all pages into a single array.
|
|
@@ -184,7 +186,7 @@ export class AtsCandidateSourcesResource {
|
|
|
184
186
|
return collectAll(this.paginate(options));
|
|
185
187
|
}
|
|
186
188
|
/** Reads a single candidate_sources record */
|
|
187
|
-
get = (options) =>
|
|
189
|
+
get = (options) => getApi20260701ResourcesAtsCandidateSourcesById({ client: this._client, ...options });
|
|
188
190
|
}
|
|
189
191
|
/** Methods for the ats > candidates resource */
|
|
190
192
|
export class AtsCandidatesResource {
|
|
@@ -193,14 +195,14 @@ export class AtsCandidatesResource {
|
|
|
193
195
|
this._client = _client;
|
|
194
196
|
}
|
|
195
197
|
/** Lists all candidates */
|
|
196
|
-
list = (options) =>
|
|
198
|
+
list = (options) => getApi20260701ResourcesAtsCandidates({ client: this._client, ...options });
|
|
197
199
|
/**
|
|
198
200
|
* Auto-paginate through all candidates, yielding one item at a time.
|
|
199
201
|
* @example for await (const item of client.ats.candidates.paginate()) { ... }
|
|
200
202
|
*/
|
|
201
203
|
paginate(options) {
|
|
202
204
|
const { maxItems, ...rest } = options ?? {};
|
|
203
|
-
return paginate((params) =>
|
|
205
|
+
return paginate((params) => getApi20260701ResourcesAtsCandidates({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
204
206
|
}
|
|
205
207
|
/**
|
|
206
208
|
* Fetch all candidates across all pages into a single array.
|
|
@@ -210,13 +212,13 @@ export class AtsCandidatesResource {
|
|
|
210
212
|
return collectAll(this.paginate(options));
|
|
211
213
|
}
|
|
212
214
|
/** Creates a candidates record */
|
|
213
|
-
create = (options) =>
|
|
215
|
+
create = (options) => postApi20260701ResourcesAtsCandidates({ client: this._client, ...options });
|
|
214
216
|
/** Reads a single candidates record */
|
|
215
|
-
get = (options) =>
|
|
217
|
+
get = (options) => getApi20260701ResourcesAtsCandidatesById({ client: this._client, ...options });
|
|
216
218
|
/** Updates a candidates record */
|
|
217
|
-
update = (options) =>
|
|
219
|
+
update = (options) => putApi20260701ResourcesAtsCandidatesById({ client: this._client, ...options });
|
|
218
220
|
/** Deletes a candidates record */
|
|
219
|
-
delete = (options) =>
|
|
221
|
+
delete = (options) => deleteApi20260701ResourcesAtsCandidatesById({ client: this._client, ...options });
|
|
220
222
|
}
|
|
221
223
|
/** Methods for the ats > evaluation_forms resource */
|
|
222
224
|
export class AtsEvaluationFormsResource {
|
|
@@ -225,14 +227,14 @@ export class AtsEvaluationFormsResource {
|
|
|
225
227
|
this._client = _client;
|
|
226
228
|
}
|
|
227
229
|
/** Lists all evaluation_forms */
|
|
228
|
-
list = (options) =>
|
|
230
|
+
list = (options) => getApi20260701ResourcesAtsEvaluationForms({ client: this._client, ...options });
|
|
229
231
|
/**
|
|
230
232
|
* Auto-paginate through all evaluation_forms, yielding one item at a time.
|
|
231
233
|
* @example for await (const item of client.ats.evaluationForms.paginate()) { ... }
|
|
232
234
|
*/
|
|
233
235
|
paginate(options) {
|
|
234
236
|
const { maxItems, ...rest } = options ?? {};
|
|
235
|
-
return paginate((params) =>
|
|
237
|
+
return paginate((params) => getApi20260701ResourcesAtsEvaluationForms({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
236
238
|
}
|
|
237
239
|
/**
|
|
238
240
|
* Fetch all evaluation_forms across all pages into a single array.
|
|
@@ -242,9 +244,9 @@ export class AtsEvaluationFormsResource {
|
|
|
242
244
|
return collectAll(this.paginate(options));
|
|
243
245
|
}
|
|
244
246
|
/** Reads a single evaluation_forms record */
|
|
245
|
-
get = (options) =>
|
|
247
|
+
get = (options) => getApi20260701ResourcesAtsEvaluationFormsById({ client: this._client, ...options });
|
|
246
248
|
/** saveAsTemplate */
|
|
247
|
-
saveAsTemplate = (options) =>
|
|
249
|
+
saveAsTemplate = (options) => postApi20260701ResourcesAtsEvaluationFormsSaveAsTemplate({ client: this._client, ...options });
|
|
248
250
|
}
|
|
249
251
|
/** Methods for the ats > feedbacks resource */
|
|
250
252
|
export class AtsFeedbacksResource {
|
|
@@ -253,14 +255,14 @@ export class AtsFeedbacksResource {
|
|
|
253
255
|
this._client = _client;
|
|
254
256
|
}
|
|
255
257
|
/** Lists all feedbacks */
|
|
256
|
-
list = (options) =>
|
|
258
|
+
list = (options) => getApi20260701ResourcesAtsFeedbacks({ client: this._client, ...options });
|
|
257
259
|
/**
|
|
258
260
|
* Auto-paginate through all feedbacks, yielding one item at a time.
|
|
259
261
|
* @example for await (const item of client.ats.feedbacks.paginate()) { ... }
|
|
260
262
|
*/
|
|
261
263
|
paginate(options) {
|
|
262
264
|
const { maxItems, ...rest } = options ?? {};
|
|
263
|
-
return paginate((params) =>
|
|
265
|
+
return paginate((params) => getApi20260701ResourcesAtsFeedbacks({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
264
266
|
}
|
|
265
267
|
/**
|
|
266
268
|
* Fetch all feedbacks across all pages into a single array.
|
|
@@ -270,13 +272,13 @@ export class AtsFeedbacksResource {
|
|
|
270
272
|
return collectAll(this.paginate(options));
|
|
271
273
|
}
|
|
272
274
|
/** Creates a feedbacks record */
|
|
273
|
-
create = (options) =>
|
|
275
|
+
create = (options) => postApi20260701ResourcesAtsFeedbacks({ client: this._client, ...options });
|
|
274
276
|
/** Reads a single feedbacks record */
|
|
275
|
-
get = (options) =>
|
|
277
|
+
get = (options) => getApi20260701ResourcesAtsFeedbacksById({ client: this._client, ...options });
|
|
276
278
|
/** Updates a feedbacks record */
|
|
277
|
-
update = (options) =>
|
|
279
|
+
update = (options) => putApi20260701ResourcesAtsFeedbacksById({ client: this._client, ...options });
|
|
278
280
|
/** Deletes a feedbacks record */
|
|
279
|
-
delete = (options) =>
|
|
281
|
+
delete = (options) => deleteApi20260701ResourcesAtsFeedbacksById({ client: this._client, ...options });
|
|
280
282
|
}
|
|
281
283
|
/** Methods for the ats > hiring_stages resource */
|
|
282
284
|
export class AtsHiringStagesResource {
|
|
@@ -285,14 +287,14 @@ export class AtsHiringStagesResource {
|
|
|
285
287
|
this._client = _client;
|
|
286
288
|
}
|
|
287
289
|
/** Lists all hiring_stages */
|
|
288
|
-
list = (options) =>
|
|
290
|
+
list = (options) => getApi20260701ResourcesAtsHiringStages({ client: this._client, ...options });
|
|
289
291
|
/**
|
|
290
292
|
* Auto-paginate through all hiring_stages, yielding one item at a time.
|
|
291
293
|
* @example for await (const item of client.ats.hiringStages.paginate()) { ... }
|
|
292
294
|
*/
|
|
293
295
|
paginate(options) {
|
|
294
296
|
const { maxItems, ...rest } = options ?? {};
|
|
295
|
-
return paginate((params) =>
|
|
297
|
+
return paginate((params) => getApi20260701ResourcesAtsHiringStages({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
296
298
|
}
|
|
297
299
|
/**
|
|
298
300
|
* Fetch all hiring_stages across all pages into a single array.
|
|
@@ -302,7 +304,7 @@ export class AtsHiringStagesResource {
|
|
|
302
304
|
return collectAll(this.paginate(options));
|
|
303
305
|
}
|
|
304
306
|
/** Reads a single hiring_stages record */
|
|
305
|
-
get = (options) =>
|
|
307
|
+
get = (options) => getApi20260701ResourcesAtsHiringStagesById({ client: this._client, ...options });
|
|
306
308
|
}
|
|
307
309
|
/** Methods for the ats > job_postings resource */
|
|
308
310
|
export class AtsJobPostingsResource {
|
|
@@ -311,14 +313,14 @@ export class AtsJobPostingsResource {
|
|
|
311
313
|
this._client = _client;
|
|
312
314
|
}
|
|
313
315
|
/** Lists all job_postings */
|
|
314
|
-
list = (options) =>
|
|
316
|
+
list = (options) => getApi20260701ResourcesAtsJobPostings({ client: this._client, ...options });
|
|
315
317
|
/**
|
|
316
318
|
* Auto-paginate through all job_postings, yielding one item at a time.
|
|
317
319
|
* @example for await (const item of client.ats.jobPostings.paginate()) { ... }
|
|
318
320
|
*/
|
|
319
321
|
paginate(options) {
|
|
320
322
|
const { maxItems, ...rest } = options ?? {};
|
|
321
|
-
return paginate((params) =>
|
|
323
|
+
return paginate((params) => getApi20260701ResourcesAtsJobPostings({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
322
324
|
}
|
|
323
325
|
/**
|
|
324
326
|
* Fetch all job_postings across all pages into a single array.
|
|
@@ -328,15 +330,15 @@ export class AtsJobPostingsResource {
|
|
|
328
330
|
return collectAll(this.paginate(options));
|
|
329
331
|
}
|
|
330
332
|
/** Creates a job_postings record */
|
|
331
|
-
create = (options) =>
|
|
333
|
+
create = (options) => postApi20260701ResourcesAtsJobPostings({ client: this._client, ...options });
|
|
332
334
|
/** Reads a single job_postings record */
|
|
333
|
-
get = (options) =>
|
|
335
|
+
get = (options) => getApi20260701ResourcesAtsJobPostingsById({ client: this._client, ...options });
|
|
334
336
|
/** Updates a job_postings record */
|
|
335
|
-
update = (options) =>
|
|
337
|
+
update = (options) => putApi20260701ResourcesAtsJobPostingsById({ client: this._client, ...options });
|
|
336
338
|
/** Deletes a job_postings record */
|
|
337
|
-
delete = (options) =>
|
|
339
|
+
delete = (options) => deleteApi20260701ResourcesAtsJobPostingsById({ client: this._client, ...options });
|
|
338
340
|
/** duplicate */
|
|
339
|
-
duplicate = (options) =>
|
|
341
|
+
duplicate = (options) => postApi20260701ResourcesAtsJobPostingsDuplicate({ client: this._client, ...options });
|
|
340
342
|
}
|
|
341
343
|
/** Methods for the ats > messages resource */
|
|
342
344
|
export class AtsMessagesResource {
|
|
@@ -345,14 +347,14 @@ export class AtsMessagesResource {
|
|
|
345
347
|
this._client = _client;
|
|
346
348
|
}
|
|
347
349
|
/** Lists all messages */
|
|
348
|
-
list = (options) =>
|
|
350
|
+
list = (options) => getApi20260701ResourcesAtsMessages({ client: this._client, ...options });
|
|
349
351
|
/**
|
|
350
352
|
* Auto-paginate through all messages, yielding one item at a time.
|
|
351
353
|
* @example for await (const item of client.ats.messages.paginate()) { ... }
|
|
352
354
|
*/
|
|
353
355
|
paginate(options) {
|
|
354
356
|
const { maxItems, ...rest } = options ?? {};
|
|
355
|
-
return paginate((params) =>
|
|
357
|
+
return paginate((params) => getApi20260701ResourcesAtsMessages({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
356
358
|
}
|
|
357
359
|
/**
|
|
358
360
|
* Fetch all messages across all pages into a single array.
|
|
@@ -362,9 +364,9 @@ export class AtsMessagesResource {
|
|
|
362
364
|
return collectAll(this.paginate(options));
|
|
363
365
|
}
|
|
364
366
|
/** Creates a messages record */
|
|
365
|
-
create = (options) =>
|
|
367
|
+
create = (options) => postApi20260701ResourcesAtsMessages({ client: this._client, ...options });
|
|
366
368
|
/** Reads a single messages record */
|
|
367
|
-
get = (options) =>
|
|
369
|
+
get = (options) => getApi20260701ResourcesAtsMessagesById({ client: this._client, ...options });
|
|
368
370
|
}
|
|
369
371
|
/** Methods for the ats > questions resource */
|
|
370
372
|
export class AtsQuestionsResource {
|
|
@@ -373,14 +375,14 @@ export class AtsQuestionsResource {
|
|
|
373
375
|
this._client = _client;
|
|
374
376
|
}
|
|
375
377
|
/** Lists all questions */
|
|
376
|
-
list = (options) =>
|
|
378
|
+
list = (options) => getApi20260701ResourcesAtsQuestions({ client: this._client, ...options });
|
|
377
379
|
/**
|
|
378
380
|
* Auto-paginate through all questions, yielding one item at a time.
|
|
379
381
|
* @example for await (const item of client.ats.questions.paginate()) { ... }
|
|
380
382
|
*/
|
|
381
383
|
paginate(options) {
|
|
382
384
|
const { maxItems, ...rest } = options ?? {};
|
|
383
|
-
return paginate((params) =>
|
|
385
|
+
return paginate((params) => getApi20260701ResourcesAtsQuestions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
384
386
|
}
|
|
385
387
|
/**
|
|
386
388
|
* Fetch all questions across all pages into a single array.
|
|
@@ -390,13 +392,13 @@ export class AtsQuestionsResource {
|
|
|
390
392
|
return collectAll(this.paginate(options));
|
|
391
393
|
}
|
|
392
394
|
/** Creates a questions record */
|
|
393
|
-
create = (options) =>
|
|
395
|
+
create = (options) => postApi20260701ResourcesAtsQuestions({ client: this._client, ...options });
|
|
394
396
|
/** Reads a single questions record */
|
|
395
|
-
get = (options) =>
|
|
397
|
+
get = (options) => getApi20260701ResourcesAtsQuestionsById({ client: this._client, ...options });
|
|
396
398
|
/** Updates a questions record */
|
|
397
|
-
update = (options) =>
|
|
399
|
+
update = (options) => putApi20260701ResourcesAtsQuestionsById({ client: this._client, ...options });
|
|
398
400
|
/** Deletes a questions record */
|
|
399
|
-
delete = (options) =>
|
|
401
|
+
delete = (options) => deleteApi20260701ResourcesAtsQuestionsById({ client: this._client, ...options });
|
|
400
402
|
}
|
|
401
403
|
/** Methods for the ats > rejection_reasons resource */
|
|
402
404
|
export class AtsRejectionReasonsResource {
|
|
@@ -405,14 +407,14 @@ export class AtsRejectionReasonsResource {
|
|
|
405
407
|
this._client = _client;
|
|
406
408
|
}
|
|
407
409
|
/** Lists all rejection_reasons */
|
|
408
|
-
list = (options) =>
|
|
410
|
+
list = (options) => getApi20260701ResourcesAtsRejectionReasons({ client: this._client, ...options });
|
|
409
411
|
/**
|
|
410
412
|
* Auto-paginate through all rejection_reasons, yielding one item at a time.
|
|
411
413
|
* @example for await (const item of client.ats.rejectionReasons.paginate()) { ... }
|
|
412
414
|
*/
|
|
413
415
|
paginate(options) {
|
|
414
416
|
const { maxItems, ...rest } = options ?? {};
|
|
415
|
-
return paginate((params) =>
|
|
417
|
+
return paginate((params) => getApi20260701ResourcesAtsRejectionReasons({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
416
418
|
}
|
|
417
419
|
/**
|
|
418
420
|
* Fetch all rejection_reasons across all pages into a single array.
|
|
@@ -422,7 +424,7 @@ export class AtsRejectionReasonsResource {
|
|
|
422
424
|
return collectAll(this.paginate(options));
|
|
423
425
|
}
|
|
424
426
|
/** Reads a single rejection_reasons record */
|
|
425
|
-
get = (options) =>
|
|
427
|
+
get = (options) => getApi20260701ResourcesAtsRejectionReasonsById({ client: this._client, ...options });
|
|
426
428
|
}
|
|
427
429
|
/** Methods for the attendance > break_configurations resource */
|
|
428
430
|
export class AttendanceBreakConfigurationsResource {
|
|
@@ -431,14 +433,14 @@ export class AttendanceBreakConfigurationsResource {
|
|
|
431
433
|
this._client = _client;
|
|
432
434
|
}
|
|
433
435
|
/** Lists all break_configurations */
|
|
434
|
-
list = (options) =>
|
|
436
|
+
list = (options) => getApi20260701ResourcesAttendanceBreakConfigurations({ client: this._client, ...options });
|
|
435
437
|
/**
|
|
436
438
|
* Auto-paginate through all break_configurations, yielding one item at a time.
|
|
437
439
|
* @example for await (const item of client.attendance.breakConfigurations.paginate()) { ... }
|
|
438
440
|
*/
|
|
439
441
|
paginate(options) {
|
|
440
442
|
const { maxItems, ...rest } = options ?? {};
|
|
441
|
-
return paginate((params) =>
|
|
443
|
+
return paginate((params) => getApi20260701ResourcesAttendanceBreakConfigurations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
442
444
|
}
|
|
443
445
|
/**
|
|
444
446
|
* Fetch all break_configurations across all pages into a single array.
|
|
@@ -448,11 +450,11 @@ export class AttendanceBreakConfigurationsResource {
|
|
|
448
450
|
return collectAll(this.paginate(options));
|
|
449
451
|
}
|
|
450
452
|
/** Creates a break_configurations record */
|
|
451
|
-
create = (options) =>
|
|
453
|
+
create = (options) => postApi20260701ResourcesAttendanceBreakConfigurations({ client: this._client, ...options });
|
|
452
454
|
/** Reads a single break_configurations record */
|
|
453
|
-
get = (options) =>
|
|
455
|
+
get = (options) => getApi20260701ResourcesAttendanceBreakConfigurationsById({ client: this._client, ...options });
|
|
454
456
|
/** Updates a break_configurations record */
|
|
455
|
-
update = (options) =>
|
|
457
|
+
update = (options) => putApi20260701ResourcesAttendanceBreakConfigurationsById({ client: this._client, ...options });
|
|
456
458
|
}
|
|
457
459
|
/** Methods for the attendance > edit_timesheet_requests resource */
|
|
458
460
|
export class AttendanceEditTimesheetRequestsResource {
|
|
@@ -461,14 +463,14 @@ export class AttendanceEditTimesheetRequestsResource {
|
|
|
461
463
|
this._client = _client;
|
|
462
464
|
}
|
|
463
465
|
/** Lists all edit_timesheet_requests */
|
|
464
|
-
list = (options) =>
|
|
466
|
+
list = (options) => getApi20260701ResourcesAttendanceEditTimesheetRequests({ client: this._client, ...options });
|
|
465
467
|
/**
|
|
466
468
|
* Auto-paginate through all edit_timesheet_requests, yielding one item at a time.
|
|
467
469
|
* @example for await (const item of client.attendance.editTimesheetRequests.paginate()) { ... }
|
|
468
470
|
*/
|
|
469
471
|
paginate(options) {
|
|
470
472
|
const { maxItems, ...rest } = options ?? {};
|
|
471
|
-
return paginate((params) =>
|
|
473
|
+
return paginate((params) => getApi20260701ResourcesAttendanceEditTimesheetRequests({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
472
474
|
}
|
|
473
475
|
/**
|
|
474
476
|
* Fetch all edit_timesheet_requests across all pages into a single array.
|
|
@@ -478,13 +480,13 @@ export class AttendanceEditTimesheetRequestsResource {
|
|
|
478
480
|
return collectAll(this.paginate(options));
|
|
479
481
|
}
|
|
480
482
|
/** Creates a edit_timesheet_requests record */
|
|
481
|
-
create = (options) =>
|
|
483
|
+
create = (options) => postApi20260701ResourcesAttendanceEditTimesheetRequests({ client: this._client, ...options });
|
|
482
484
|
/** Reads a single edit_timesheet_requests record */
|
|
483
|
-
get = (options) =>
|
|
485
|
+
get = (options) => getApi20260701ResourcesAttendanceEditTimesheetRequestsById({ client: this._client, ...options });
|
|
484
486
|
/** Updates a edit_timesheet_requests record */
|
|
485
|
-
update = (options) =>
|
|
487
|
+
update = (options) => putApi20260701ResourcesAttendanceEditTimesheetRequestsById({ client: this._client, ...options });
|
|
486
488
|
/** Deletes a edit_timesheet_requests record */
|
|
487
|
-
delete = (options) =>
|
|
489
|
+
delete = (options) => deleteApi20260701ResourcesAttendanceEditTimesheetRequestsById({ client: this._client, ...options });
|
|
488
490
|
}
|
|
489
491
|
/** Methods for the attendance > estimated_times resource */
|
|
490
492
|
export class AttendanceEstimatedTimesResource {
|
|
@@ -493,14 +495,14 @@ export class AttendanceEstimatedTimesResource {
|
|
|
493
495
|
this._client = _client;
|
|
494
496
|
}
|
|
495
497
|
/** Lists all estimated_times */
|
|
496
|
-
list = (options) =>
|
|
498
|
+
list = (options) => getApi20260701ResourcesAttendanceEstimatedTimes({ client: this._client, ...options });
|
|
497
499
|
/**
|
|
498
500
|
* Auto-paginate through all estimated_times, yielding one item at a time.
|
|
499
501
|
* @example for await (const item of client.attendance.estimatedTimes.paginate()) { ... }
|
|
500
502
|
*/
|
|
501
503
|
paginate(options) {
|
|
502
504
|
const { maxItems, ...rest } = options ?? {};
|
|
503
|
-
return paginate((params) =>
|
|
505
|
+
return paginate((params) => getApi20260701ResourcesAttendanceEstimatedTimes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
504
506
|
}
|
|
505
507
|
/**
|
|
506
508
|
* Fetch all estimated_times across all pages into a single array.
|
|
@@ -517,14 +519,14 @@ export class AttendanceOpenShiftsResource {
|
|
|
517
519
|
this._client = _client;
|
|
518
520
|
}
|
|
519
521
|
/** Lists all open_shifts */
|
|
520
|
-
list = (options) =>
|
|
522
|
+
list = (options) => getApi20260701ResourcesAttendanceOpenShifts({ client: this._client, ...options });
|
|
521
523
|
/**
|
|
522
524
|
* Auto-paginate through all open_shifts, yielding one item at a time.
|
|
523
525
|
* @example for await (const item of client.attendance.openShifts.paginate()) { ... }
|
|
524
526
|
*/
|
|
525
527
|
paginate(options) {
|
|
526
528
|
const { maxItems, ...rest } = options ?? {};
|
|
527
|
-
return paginate((params) =>
|
|
529
|
+
return paginate((params) => getApi20260701ResourcesAttendanceOpenShifts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
528
530
|
}
|
|
529
531
|
/**
|
|
530
532
|
* Fetch all open_shifts across all pages into a single array.
|
|
@@ -541,14 +543,14 @@ export class AttendanceOvertimeRequestsResource {
|
|
|
541
543
|
this._client = _client;
|
|
542
544
|
}
|
|
543
545
|
/** Lists all overtime_requests */
|
|
544
|
-
list = (options) =>
|
|
546
|
+
list = (options) => getApi20260701ResourcesAttendanceOvertimeRequests({ client: this._client, ...options });
|
|
545
547
|
/**
|
|
546
548
|
* Auto-paginate through all overtime_requests, yielding one item at a time.
|
|
547
549
|
* @example for await (const item of client.attendance.overtimeRequests.paginate()) { ... }
|
|
548
550
|
*/
|
|
549
551
|
paginate(options) {
|
|
550
552
|
const { maxItems, ...rest } = options ?? {};
|
|
551
|
-
return paginate((params) =>
|
|
553
|
+
return paginate((params) => getApi20260701ResourcesAttendanceOvertimeRequests({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
552
554
|
}
|
|
553
555
|
/**
|
|
554
556
|
* Fetch all overtime_requests across all pages into a single array.
|
|
@@ -558,17 +560,17 @@ export class AttendanceOvertimeRequestsResource {
|
|
|
558
560
|
return collectAll(this.paginate(options));
|
|
559
561
|
}
|
|
560
562
|
/** Creates a overtime_requests record */
|
|
561
|
-
create = (options) =>
|
|
563
|
+
create = (options) => postApi20260701ResourcesAttendanceOvertimeRequests({ client: this._client, ...options });
|
|
562
564
|
/** Reads a single overtime_requests record */
|
|
563
|
-
get = (options) =>
|
|
565
|
+
get = (options) => getApi20260701ResourcesAttendanceOvertimeRequestsById({ client: this._client, ...options });
|
|
564
566
|
/** Updates a overtime_requests record */
|
|
565
|
-
update = (options) =>
|
|
567
|
+
update = (options) => putApi20260701ResourcesAttendanceOvertimeRequestsById({ client: this._client, ...options });
|
|
566
568
|
/** Deletes a overtime_requests record */
|
|
567
|
-
delete = (options) =>
|
|
569
|
+
delete = (options) => deleteApi20260701ResourcesAttendanceOvertimeRequestsById({ client: this._client, ...options });
|
|
568
570
|
/** approve */
|
|
569
|
-
approve = (options) =>
|
|
571
|
+
approve = (options) => postApi20260701ResourcesAttendanceOvertimeRequestsApprove({ client: this._client, ...options });
|
|
570
572
|
/** reject */
|
|
571
|
-
reject = (options) =>
|
|
573
|
+
reject = (options) => postApi20260701ResourcesAttendanceOvertimeRequestsReject({ client: this._client, ...options });
|
|
572
574
|
}
|
|
573
575
|
/** Methods for the attendance > reviews resource */
|
|
574
576
|
export class AttendanceReviewsResource {
|
|
@@ -577,14 +579,14 @@ export class AttendanceReviewsResource {
|
|
|
577
579
|
this._client = _client;
|
|
578
580
|
}
|
|
579
581
|
/** Lists all reviews */
|
|
580
|
-
list = (options) =>
|
|
582
|
+
list = (options) => getApi20260701ResourcesAttendanceReviews({ client: this._client, ...options });
|
|
581
583
|
/**
|
|
582
584
|
* Auto-paginate through all reviews, yielding one item at a time.
|
|
583
585
|
* @example for await (const item of client.attendance.reviews.paginate()) { ... }
|
|
584
586
|
*/
|
|
585
587
|
paginate(options) {
|
|
586
588
|
const { maxItems, ...rest } = options ?? {};
|
|
587
|
-
return paginate((params) =>
|
|
589
|
+
return paginate((params) => getApi20260701ResourcesAttendanceReviews({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
588
590
|
}
|
|
589
591
|
/**
|
|
590
592
|
* Fetch all reviews across all pages into a single array.
|
|
@@ -594,9 +596,9 @@ export class AttendanceReviewsResource {
|
|
|
594
596
|
return collectAll(this.paginate(options));
|
|
595
597
|
}
|
|
596
598
|
/** bulkCreate */
|
|
597
|
-
bulkCreate = (options) =>
|
|
599
|
+
bulkCreate = (options) => postApi20260701ResourcesAttendanceReviewsBulkCreate({ client: this._client, ...options });
|
|
598
600
|
/** bulkDestroy */
|
|
599
|
-
bulkDestroy = (options) =>
|
|
601
|
+
bulkDestroy = (options) => postApi20260701ResourcesAttendanceReviewsBulkDestroy({ client: this._client, ...options });
|
|
600
602
|
}
|
|
601
603
|
/** Methods for the attendance > shifts resource */
|
|
602
604
|
export class AttendanceShiftsResource {
|
|
@@ -605,14 +607,14 @@ export class AttendanceShiftsResource {
|
|
|
605
607
|
this._client = _client;
|
|
606
608
|
}
|
|
607
609
|
/** Lists all shifts */
|
|
608
|
-
list = (options) =>
|
|
610
|
+
list = (options) => getApi20260701ResourcesAttendanceShifts({ client: this._client, ...options });
|
|
609
611
|
/**
|
|
610
612
|
* Auto-paginate through all shifts, yielding one item at a time.
|
|
611
613
|
* @example for await (const item of client.attendance.shifts.paginate()) { ... }
|
|
612
614
|
*/
|
|
613
615
|
paginate(options) {
|
|
614
616
|
const { maxItems, ...rest } = options ?? {};
|
|
615
|
-
return paginate((params) =>
|
|
617
|
+
return paginate((params) => getApi20260701ResourcesAttendanceShifts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
616
618
|
}
|
|
617
619
|
/**
|
|
618
620
|
* Fetch all shifts across all pages into a single array.
|
|
@@ -622,25 +624,25 @@ export class AttendanceShiftsResource {
|
|
|
622
624
|
return collectAll(this.paginate(options));
|
|
623
625
|
}
|
|
624
626
|
/** Creates a shifts record */
|
|
625
|
-
create = (options) =>
|
|
627
|
+
create = (options) => postApi20260701ResourcesAttendanceShifts({ client: this._client, ...options });
|
|
626
628
|
/** Reads a single shifts record */
|
|
627
|
-
get = (options) =>
|
|
629
|
+
get = (options) => getApi20260701ResourcesAttendanceShiftsById({ client: this._client, ...options });
|
|
628
630
|
/** Updates a shifts record */
|
|
629
|
-
update = (options) =>
|
|
631
|
+
update = (options) => putApi20260701ResourcesAttendanceShiftsById({ client: this._client, ...options });
|
|
630
632
|
/** Deletes a shifts record */
|
|
631
|
-
delete = (options) =>
|
|
633
|
+
delete = (options) => deleteApi20260701ResourcesAttendanceShiftsById({ client: this._client, ...options });
|
|
632
634
|
/** autofill */
|
|
633
|
-
autofill = (options) =>
|
|
635
|
+
autofill = (options) => postApi20260701ResourcesAttendanceShiftsAutofill({ client: this._client, ...options });
|
|
634
636
|
/** breakEnd */
|
|
635
|
-
breakEnd = (options) =>
|
|
637
|
+
breakEnd = (options) => postApi20260701ResourcesAttendanceShiftsBreakEnd({ client: this._client, ...options });
|
|
636
638
|
/** breakStart */
|
|
637
|
-
breakStart = (options) =>
|
|
639
|
+
breakStart = (options) => postApi20260701ResourcesAttendanceShiftsBreakStart({ client: this._client, ...options });
|
|
638
640
|
/** clockIn */
|
|
639
|
-
clockIn = (options) =>
|
|
641
|
+
clockIn = (options) => postApi20260701ResourcesAttendanceShiftsClockIn({ client: this._client, ...options });
|
|
640
642
|
/** clockOut */
|
|
641
|
-
clockOut = (options) =>
|
|
643
|
+
clockOut = (options) => postApi20260701ResourcesAttendanceShiftsClockOut({ client: this._client, ...options });
|
|
642
644
|
/** toggleClock */
|
|
643
|
-
toggleClock = (options) =>
|
|
645
|
+
toggleClock = (options) => postApi20260701ResourcesAttendanceShiftsToggleClock({ client: this._client, ...options });
|
|
644
646
|
}
|
|
645
647
|
/** Methods for the attendance > worked_times resource */
|
|
646
648
|
export class AttendanceWorkedTimesResource {
|
|
@@ -649,14 +651,14 @@ export class AttendanceWorkedTimesResource {
|
|
|
649
651
|
this._client = _client;
|
|
650
652
|
}
|
|
651
653
|
/** Lists all worked_times */
|
|
652
|
-
list = (options) =>
|
|
654
|
+
list = (options) => getApi20260701ResourcesAttendanceWorkedTimes({ client: this._client, ...options });
|
|
653
655
|
/**
|
|
654
656
|
* Auto-paginate through all worked_times, yielding one item at a time.
|
|
655
657
|
* @example for await (const item of client.attendance.workedTimes.paginate()) { ... }
|
|
656
658
|
*/
|
|
657
659
|
paginate(options) {
|
|
658
660
|
const { maxItems, ...rest } = options ?? {};
|
|
659
|
-
return paginate((params) =>
|
|
661
|
+
return paginate((params) => getApi20260701ResourcesAttendanceWorkedTimes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
660
662
|
}
|
|
661
663
|
/**
|
|
662
664
|
* Fetch all worked_times across all pages into a single array.
|
|
@@ -673,14 +675,14 @@ export class BankingBankAccountsResource {
|
|
|
673
675
|
this._client = _client;
|
|
674
676
|
}
|
|
675
677
|
/** Lists all bank_accounts */
|
|
676
|
-
list = (options) =>
|
|
678
|
+
list = (options) => getApi20260701ResourcesBankingBankAccounts({ client: this._client, ...options });
|
|
677
679
|
/**
|
|
678
680
|
* Auto-paginate through all bank_accounts, yielding one item at a time.
|
|
679
681
|
* @example for await (const item of client.banking.bankAccounts.paginate()) { ... }
|
|
680
682
|
*/
|
|
681
683
|
paginate(options) {
|
|
682
684
|
const { maxItems, ...rest } = options ?? {};
|
|
683
|
-
return paginate((params) =>
|
|
685
|
+
return paginate((params) => getApi20260701ResourcesBankingBankAccounts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
684
686
|
}
|
|
685
687
|
/**
|
|
686
688
|
* Fetch all bank_accounts across all pages into a single array.
|
|
@@ -690,9 +692,9 @@ export class BankingBankAccountsResource {
|
|
|
690
692
|
return collectAll(this.paginate(options));
|
|
691
693
|
}
|
|
692
694
|
/** Reads a single bank_accounts record */
|
|
693
|
-
get = (options) =>
|
|
695
|
+
get = (options) => getApi20260701ResourcesBankingBankAccountsById({ client: this._client, ...options });
|
|
694
696
|
/** createManual */
|
|
695
|
-
createManual = (options) =>
|
|
697
|
+
createManual = (options) => postApi20260701ResourcesBankingBankAccountsCreateManual({ client: this._client, ...options });
|
|
696
698
|
}
|
|
697
699
|
/** Methods for the banking > card_payments resource */
|
|
698
700
|
export class BankingCardPaymentsResource {
|
|
@@ -701,14 +703,14 @@ export class BankingCardPaymentsResource {
|
|
|
701
703
|
this._client = _client;
|
|
702
704
|
}
|
|
703
705
|
/** Lists all card_payments */
|
|
704
|
-
list = (options) =>
|
|
706
|
+
list = (options) => getApi20260701ResourcesBankingCardPayments({ client: this._client, ...options });
|
|
705
707
|
/**
|
|
706
708
|
* Auto-paginate through all card_payments, yielding one item at a time.
|
|
707
709
|
* @example for await (const item of client.banking.cardPayments.paginate()) { ... }
|
|
708
710
|
*/
|
|
709
711
|
paginate(options) {
|
|
710
712
|
const { maxItems, ...rest } = options ?? {};
|
|
711
|
-
return paginate((params) =>
|
|
713
|
+
return paginate((params) => getApi20260701ResourcesBankingCardPayments({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
712
714
|
}
|
|
713
715
|
/**
|
|
714
716
|
* Fetch all card_payments across all pages into a single array.
|
|
@@ -718,7 +720,7 @@ export class BankingCardPaymentsResource {
|
|
|
718
720
|
return collectAll(this.paginate(options));
|
|
719
721
|
}
|
|
720
722
|
/** Reads a single card_payments record */
|
|
721
|
-
get = (options) =>
|
|
723
|
+
get = (options) => getApi20260701ResourcesBankingCardPaymentsById({ client: this._client, ...options });
|
|
722
724
|
}
|
|
723
725
|
/** Methods for the banking > transactions resource */
|
|
724
726
|
export class BankingTransactionsResource {
|
|
@@ -727,14 +729,14 @@ export class BankingTransactionsResource {
|
|
|
727
729
|
this._client = _client;
|
|
728
730
|
}
|
|
729
731
|
/** Lists all transactions */
|
|
730
|
-
list = (options) =>
|
|
732
|
+
list = (options) => getApi20260701ResourcesBankingTransactions({ client: this._client, ...options });
|
|
731
733
|
/**
|
|
732
734
|
* Auto-paginate through all transactions, yielding one item at a time.
|
|
733
735
|
* @example for await (const item of client.banking.transactions.paginate()) { ... }
|
|
734
736
|
*/
|
|
735
737
|
paginate(options) {
|
|
736
738
|
const { maxItems, ...rest } = options ?? {};
|
|
737
|
-
return paginate((params) =>
|
|
739
|
+
return paginate((params) => getApi20260701ResourcesBankingTransactions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
738
740
|
}
|
|
739
741
|
/**
|
|
740
742
|
* Fetch all transactions across all pages into a single array.
|
|
@@ -744,7 +746,7 @@ export class BankingTransactionsResource {
|
|
|
744
746
|
return collectAll(this.paginate(options));
|
|
745
747
|
}
|
|
746
748
|
/** Reads a single transactions record */
|
|
747
|
-
get = (options) =>
|
|
749
|
+
get = (options) => getApi20260701ResourcesBankingTransactionsById({ client: this._client, ...options });
|
|
748
750
|
}
|
|
749
751
|
/** Methods for the bookkeepers_management > incidences resource */
|
|
750
752
|
export class BookkeepersManagementIncidencesResource {
|
|
@@ -753,14 +755,14 @@ export class BookkeepersManagementIncidencesResource {
|
|
|
753
755
|
this._client = _client;
|
|
754
756
|
}
|
|
755
757
|
/** Lists all incidences */
|
|
756
|
-
list = (options) =>
|
|
758
|
+
list = (options) => getApi20260701ResourcesBookkeepersManagementIncidences({ client: this._client, ...options });
|
|
757
759
|
/**
|
|
758
760
|
* Auto-paginate through all incidences, yielding one item at a time.
|
|
759
761
|
* @example for await (const item of client.bookkeepersManagement.incidences.paginate()) { ... }
|
|
760
762
|
*/
|
|
761
763
|
paginate(options) {
|
|
762
764
|
const { maxItems, ...rest } = options ?? {};
|
|
763
|
-
return paginate((params) =>
|
|
765
|
+
return paginate((params) => getApi20260701ResourcesBookkeepersManagementIncidences({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
764
766
|
}
|
|
765
767
|
/**
|
|
766
768
|
* Fetch all incidences across all pages into a single array.
|
|
@@ -770,9 +772,9 @@ export class BookkeepersManagementIncidencesResource {
|
|
|
770
772
|
return collectAll(this.paginate(options));
|
|
771
773
|
}
|
|
772
774
|
/** Reads a single incidences record */
|
|
773
|
-
get = (options) =>
|
|
775
|
+
get = (options) => getApi20260701ResourcesBookkeepersManagementIncidencesById({ client: this._client, ...options });
|
|
774
776
|
/** Updates a incidences record */
|
|
775
|
-
update = (options) =>
|
|
777
|
+
update = (options) => putApi20260701ResourcesBookkeepersManagementIncidencesById({ client: this._client, ...options });
|
|
776
778
|
}
|
|
777
779
|
/** Methods for the companies > legal_entities resource */
|
|
778
780
|
export class CompaniesLegalEntitiesResource {
|
|
@@ -781,14 +783,14 @@ export class CompaniesLegalEntitiesResource {
|
|
|
781
783
|
this._client = _client;
|
|
782
784
|
}
|
|
783
785
|
/** Lists all legal_entities */
|
|
784
|
-
list = (options) =>
|
|
786
|
+
list = (options) => getApi20260701ResourcesCompaniesLegalEntities({ client: this._client, ...options });
|
|
785
787
|
/**
|
|
786
788
|
* Auto-paginate through all legal_entities, yielding one item at a time.
|
|
787
789
|
* @example for await (const item of client.companies.legalEntities.paginate()) { ... }
|
|
788
790
|
*/
|
|
789
791
|
paginate(options) {
|
|
790
792
|
const { maxItems, ...rest } = options ?? {};
|
|
791
|
-
return paginate((params) =>
|
|
793
|
+
return paginate((params) => getApi20260701ResourcesCompaniesLegalEntities({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
792
794
|
}
|
|
793
795
|
/**
|
|
794
796
|
* Fetch all legal_entities across all pages into a single array.
|
|
@@ -798,9 +800,9 @@ export class CompaniesLegalEntitiesResource {
|
|
|
798
800
|
return collectAll(this.paginate(options));
|
|
799
801
|
}
|
|
800
802
|
/** Creates a legal_entities record */
|
|
801
|
-
create = (options) =>
|
|
803
|
+
create = (options) => postApi20260701ResourcesCompaniesLegalEntities({ client: this._client, ...options });
|
|
802
804
|
/** Reads a single legal_entities record */
|
|
803
|
-
get = (options) =>
|
|
805
|
+
get = (options) => getApi20260701ResourcesCompaniesLegalEntitiesById({ client: this._client, ...options });
|
|
804
806
|
}
|
|
805
807
|
/** Methods for the compensations > concepts resource */
|
|
806
808
|
export class CompensationsConceptsResource {
|
|
@@ -809,14 +811,14 @@ export class CompensationsConceptsResource {
|
|
|
809
811
|
this._client = _client;
|
|
810
812
|
}
|
|
811
813
|
/** Lists all concepts */
|
|
812
|
-
list = (options) =>
|
|
814
|
+
list = (options) => getApi20260701ResourcesCompensationsConcepts({ client: this._client, ...options });
|
|
813
815
|
/**
|
|
814
816
|
* Auto-paginate through all concepts, yielding one item at a time.
|
|
815
817
|
* @example for await (const item of client.compensations.concepts.paginate()) { ... }
|
|
816
818
|
*/
|
|
817
819
|
paginate(options) {
|
|
818
820
|
const { maxItems, ...rest } = options ?? {};
|
|
819
|
-
return paginate((params) =>
|
|
821
|
+
return paginate((params) => getApi20260701ResourcesCompensationsConcepts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
820
822
|
}
|
|
821
823
|
/**
|
|
822
824
|
* Fetch all concepts across all pages into a single array.
|
|
@@ -826,7 +828,7 @@ export class CompensationsConceptsResource {
|
|
|
826
828
|
return collectAll(this.paginate(options));
|
|
827
829
|
}
|
|
828
830
|
/** Reads a single concepts record */
|
|
829
|
-
get = (options) =>
|
|
831
|
+
get = (options) => getApi20260701ResourcesCompensationsConceptsById({ client: this._client, ...options });
|
|
830
832
|
}
|
|
831
833
|
/** Methods for the contracts > compensations resource */
|
|
832
834
|
export class ContractsCompensationsResource {
|
|
@@ -835,14 +837,14 @@ export class ContractsCompensationsResource {
|
|
|
835
837
|
this._client = _client;
|
|
836
838
|
}
|
|
837
839
|
/** Lists all compensations */
|
|
838
|
-
list = (options) =>
|
|
840
|
+
list = (options) => getApi20260701ResourcesContractsCompensations({ client: this._client, ...options });
|
|
839
841
|
/**
|
|
840
842
|
* Auto-paginate through all compensations, yielding one item at a time.
|
|
841
843
|
* @example for await (const item of client.contracts.compensations.paginate()) { ... }
|
|
842
844
|
*/
|
|
843
845
|
paginate(options) {
|
|
844
846
|
const { maxItems, ...rest } = options ?? {};
|
|
845
|
-
return paginate((params) =>
|
|
847
|
+
return paginate((params) => getApi20260701ResourcesContractsCompensations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
846
848
|
}
|
|
847
849
|
/**
|
|
848
850
|
* Fetch all compensations across all pages into a single array.
|
|
@@ -852,13 +854,13 @@ export class ContractsCompensationsResource {
|
|
|
852
854
|
return collectAll(this.paginate(options));
|
|
853
855
|
}
|
|
854
856
|
/** Creates a compensations record */
|
|
855
|
-
create = (options) =>
|
|
857
|
+
create = (options) => postApi20260701ResourcesContractsCompensations({ client: this._client, ...options });
|
|
856
858
|
/** Reads a single compensations record */
|
|
857
|
-
get = (options) =>
|
|
859
|
+
get = (options) => getApi20260701ResourcesContractsCompensationsById({ client: this._client, ...options });
|
|
858
860
|
/** Updates a compensations record */
|
|
859
|
-
update = (options) =>
|
|
861
|
+
update = (options) => putApi20260701ResourcesContractsCompensationsById({ client: this._client, ...options });
|
|
860
862
|
/** Deletes a compensations record */
|
|
861
|
-
delete = (options) =>
|
|
863
|
+
delete = (options) => deleteApi20260701ResourcesContractsCompensationsById({ client: this._client, ...options });
|
|
862
864
|
}
|
|
863
865
|
/** Methods for the contracts > contract_templates resource */
|
|
864
866
|
export class ContractsContractTemplatesResource {
|
|
@@ -867,14 +869,14 @@ export class ContractsContractTemplatesResource {
|
|
|
867
869
|
this._client = _client;
|
|
868
870
|
}
|
|
869
871
|
/** Lists all contract_templates */
|
|
870
|
-
list = (options) =>
|
|
872
|
+
list = (options) => getApi20260701ResourcesContractsContractTemplates({ client: this._client, ...options });
|
|
871
873
|
/**
|
|
872
874
|
* Auto-paginate through all contract_templates, yielding one item at a time.
|
|
873
875
|
* @example for await (const item of client.contracts.contractTemplates.paginate()) { ... }
|
|
874
876
|
*/
|
|
875
877
|
paginate(options) {
|
|
876
878
|
const { maxItems, ...rest } = options ?? {};
|
|
877
|
-
return paginate((params) =>
|
|
879
|
+
return paginate((params) => getApi20260701ResourcesContractsContractTemplates({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
878
880
|
}
|
|
879
881
|
/**
|
|
880
882
|
* Fetch all contract_templates across all pages into a single array.
|
|
@@ -884,7 +886,7 @@ export class ContractsContractTemplatesResource {
|
|
|
884
886
|
return collectAll(this.paginate(options));
|
|
885
887
|
}
|
|
886
888
|
/** Reads a single contract_templates record */
|
|
887
|
-
get = (options) =>
|
|
889
|
+
get = (options) => getApi20260701ResourcesContractsContractTemplatesById({ client: this._client, ...options });
|
|
888
890
|
}
|
|
889
891
|
/** Methods for the contracts > contract_version_histories resource */
|
|
890
892
|
export class ContractsContractVersionHistoriesResource {
|
|
@@ -893,14 +895,14 @@ export class ContractsContractVersionHistoriesResource {
|
|
|
893
895
|
this._client = _client;
|
|
894
896
|
}
|
|
895
897
|
/** Lists all contract_version_histories */
|
|
896
|
-
list = (options) =>
|
|
898
|
+
list = (options) => getApi20260701ResourcesContractsContractVersionHistories({ client: this._client, ...options });
|
|
897
899
|
/**
|
|
898
900
|
* Auto-paginate through all contract_version_histories, yielding one item at a time.
|
|
899
901
|
* @example for await (const item of client.contracts.contractVersionHistories.paginate()) { ... }
|
|
900
902
|
*/
|
|
901
903
|
paginate(options) {
|
|
902
904
|
const { maxItems, ...rest } = options ?? {};
|
|
903
|
-
return paginate((params) =>
|
|
905
|
+
return paginate((params) => getApi20260701ResourcesContractsContractVersionHistories({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
904
906
|
}
|
|
905
907
|
/**
|
|
906
908
|
* Fetch all contract_version_histories across all pages into a single array.
|
|
@@ -910,7 +912,7 @@ export class ContractsContractVersionHistoriesResource {
|
|
|
910
912
|
return collectAll(this.paginate(options));
|
|
911
913
|
}
|
|
912
914
|
/** Reads a single contract_version_histories record */
|
|
913
|
-
get = (options) =>
|
|
915
|
+
get = (options) => getApi20260701ResourcesContractsContractVersionHistoriesById({ client: this._client, ...options });
|
|
914
916
|
}
|
|
915
917
|
/** Methods for the contracts > contract_version_meta_data resource */
|
|
916
918
|
export class ContractsContractVersionMetaDataResource {
|
|
@@ -919,14 +921,14 @@ export class ContractsContractVersionMetaDataResource {
|
|
|
919
921
|
this._client = _client;
|
|
920
922
|
}
|
|
921
923
|
/** Lists all contract_version_meta_data */
|
|
922
|
-
list = (options) =>
|
|
924
|
+
list = (options) => getApi20260701ResourcesContractsContractVersionMetaData({ client: this._client, ...options });
|
|
923
925
|
/**
|
|
924
926
|
* Auto-paginate through all contract_version_meta_data, yielding one item at a time.
|
|
925
927
|
* @example for await (const item of client.contracts.contractVersionMetaData.paginate()) { ... }
|
|
926
928
|
*/
|
|
927
929
|
paginate(options) {
|
|
928
930
|
const { maxItems, ...rest } = options ?? {};
|
|
929
|
-
return paginate((params) =>
|
|
931
|
+
return paginate((params) => getApi20260701ResourcesContractsContractVersionMetaData({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
930
932
|
}
|
|
931
933
|
/**
|
|
932
934
|
* Fetch all contract_version_meta_data across all pages into a single array.
|
|
@@ -943,14 +945,14 @@ export class ContractsContractVersionsResource {
|
|
|
943
945
|
this._client = _client;
|
|
944
946
|
}
|
|
945
947
|
/** Lists all contract_versions */
|
|
946
|
-
list = (options) =>
|
|
948
|
+
list = (options) => getApi20260701ResourcesContractsContractVersions({ client: this._client, ...options });
|
|
947
949
|
/**
|
|
948
950
|
* Auto-paginate through all contract_versions, yielding one item at a time.
|
|
949
951
|
* @example for await (const item of client.contracts.contractVersions.paginate()) { ... }
|
|
950
952
|
*/
|
|
951
953
|
paginate(options) {
|
|
952
954
|
const { maxItems, ...rest } = options ?? {};
|
|
953
|
-
return paginate((params) =>
|
|
955
|
+
return paginate((params) => getApi20260701ResourcesContractsContractVersions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
954
956
|
}
|
|
955
957
|
/**
|
|
956
958
|
* Fetch all contract_versions across all pages into a single array.
|
|
@@ -960,13 +962,13 @@ export class ContractsContractVersionsResource {
|
|
|
960
962
|
return collectAll(this.paginate(options));
|
|
961
963
|
}
|
|
962
964
|
/** Creates a contract_versions record */
|
|
963
|
-
create = (options) =>
|
|
965
|
+
create = (options) => postApi20260701ResourcesContractsContractVersions({ client: this._client, ...options });
|
|
964
966
|
/** Reads a single contract_versions record */
|
|
965
|
-
get = (options) =>
|
|
967
|
+
get = (options) => getApi20260701ResourcesContractsContractVersionsById({ client: this._client, ...options });
|
|
966
968
|
/** Updates a contract_versions record */
|
|
967
|
-
update = (options) =>
|
|
969
|
+
update = (options) => putApi20260701ResourcesContractsContractVersionsById({ client: this._client, ...options });
|
|
968
970
|
/** Deletes a contract_versions record */
|
|
969
|
-
delete = (options) =>
|
|
971
|
+
delete = (options) => deleteApi20260701ResourcesContractsContractVersionsById({ client: this._client, ...options });
|
|
970
972
|
}
|
|
971
973
|
/** Methods for the contracts > french_contract_types resource */
|
|
972
974
|
export class ContractsFrenchContractTypesResource {
|
|
@@ -975,14 +977,14 @@ export class ContractsFrenchContractTypesResource {
|
|
|
975
977
|
this._client = _client;
|
|
976
978
|
}
|
|
977
979
|
/** Lists all french_contract_types */
|
|
978
|
-
list = (options) =>
|
|
980
|
+
list = (options) => getApi20260701ResourcesContractsFrenchContractTypes({ client: this._client, ...options });
|
|
979
981
|
/**
|
|
980
982
|
* Auto-paginate through all french_contract_types, yielding one item at a time.
|
|
981
983
|
* @example for await (const item of client.contracts.frenchContractTypes.paginate()) { ... }
|
|
982
984
|
*/
|
|
983
985
|
paginate(options) {
|
|
984
986
|
const { maxItems, ...rest } = options ?? {};
|
|
985
|
-
return paginate((params) =>
|
|
987
|
+
return paginate((params) => getApi20260701ResourcesContractsFrenchContractTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
986
988
|
}
|
|
987
989
|
/**
|
|
988
990
|
* Fetch all french_contract_types across all pages into a single array.
|
|
@@ -992,7 +994,7 @@ export class ContractsFrenchContractTypesResource {
|
|
|
992
994
|
return collectAll(this.paginate(options));
|
|
993
995
|
}
|
|
994
996
|
/** Reads a single french_contract_types record */
|
|
995
|
-
get = (options) =>
|
|
997
|
+
get = (options) => getApi20260701ResourcesContractsFrenchContractTypesById({ client: this._client, ...options });
|
|
996
998
|
}
|
|
997
999
|
/** Methods for the contracts > german_contract_types resource */
|
|
998
1000
|
export class ContractsGermanContractTypesResource {
|
|
@@ -1001,14 +1003,14 @@ export class ContractsGermanContractTypesResource {
|
|
|
1001
1003
|
this._client = _client;
|
|
1002
1004
|
}
|
|
1003
1005
|
/** Lists all german_contract_types */
|
|
1004
|
-
list = (options) =>
|
|
1006
|
+
list = (options) => getApi20260701ResourcesContractsGermanContractTypes({ client: this._client, ...options });
|
|
1005
1007
|
/**
|
|
1006
1008
|
* Auto-paginate through all german_contract_types, yielding one item at a time.
|
|
1007
1009
|
* @example for await (const item of client.contracts.germanContractTypes.paginate()) { ... }
|
|
1008
1010
|
*/
|
|
1009
1011
|
paginate(options) {
|
|
1010
1012
|
const { maxItems, ...rest } = options ?? {};
|
|
1011
|
-
return paginate((params) =>
|
|
1013
|
+
return paginate((params) => getApi20260701ResourcesContractsGermanContractTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1012
1014
|
}
|
|
1013
1015
|
/**
|
|
1014
1016
|
* Fetch all german_contract_types across all pages into a single array.
|
|
@@ -1018,7 +1020,31 @@ export class ContractsGermanContractTypesResource {
|
|
|
1018
1020
|
return collectAll(this.paginate(options));
|
|
1019
1021
|
}
|
|
1020
1022
|
/** Reads a single german_contract_types record */
|
|
1021
|
-
get = (options) =>
|
|
1023
|
+
get = (options) => getApi20260701ResourcesContractsGermanContractTypesById({ client: this._client, ...options });
|
|
1024
|
+
}
|
|
1025
|
+
/** Methods for the contracts > materialized_templates resource */
|
|
1026
|
+
export class ContractsMaterializedTemplatesResource {
|
|
1027
|
+
_client;
|
|
1028
|
+
constructor(_client) {
|
|
1029
|
+
this._client = _client;
|
|
1030
|
+
}
|
|
1031
|
+
/** Lists all materialized_templates */
|
|
1032
|
+
list = (options) => getApi20260701ResourcesContractsMaterializedTemplates({ client: this._client, ...options });
|
|
1033
|
+
/**
|
|
1034
|
+
* Auto-paginate through all materialized_templates, yielding one item at a time.
|
|
1035
|
+
* @example for await (const item of client.contracts.materializedTemplates.paginate()) { ... }
|
|
1036
|
+
*/
|
|
1037
|
+
paginate(options) {
|
|
1038
|
+
const { maxItems, ...rest } = options ?? {};
|
|
1039
|
+
return paginate((params) => getApi20260701ResourcesContractsMaterializedTemplates({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1040
|
+
}
|
|
1041
|
+
/**
|
|
1042
|
+
* Fetch all materialized_templates across all pages into a single array.
|
|
1043
|
+
* @example const all = await client.contracts.materializedTemplates.all()
|
|
1044
|
+
*/
|
|
1045
|
+
all(options) {
|
|
1046
|
+
return collectAll(this.paginate(options));
|
|
1047
|
+
}
|
|
1022
1048
|
}
|
|
1023
1049
|
/** Methods for the contracts > portuguese_contract_types resource */
|
|
1024
1050
|
export class ContractsPortugueseContractTypesResource {
|
|
@@ -1027,14 +1053,14 @@ export class ContractsPortugueseContractTypesResource {
|
|
|
1027
1053
|
this._client = _client;
|
|
1028
1054
|
}
|
|
1029
1055
|
/** Lists all portuguese_contract_types */
|
|
1030
|
-
list = (options) =>
|
|
1056
|
+
list = (options) => getApi20260701ResourcesContractsPortugueseContractTypes({ client: this._client, ...options });
|
|
1031
1057
|
/**
|
|
1032
1058
|
* Auto-paginate through all portuguese_contract_types, yielding one item at a time.
|
|
1033
1059
|
* @example for await (const item of client.contracts.portugueseContractTypes.paginate()) { ... }
|
|
1034
1060
|
*/
|
|
1035
1061
|
paginate(options) {
|
|
1036
1062
|
const { maxItems, ...rest } = options ?? {};
|
|
1037
|
-
return paginate((params) =>
|
|
1063
|
+
return paginate((params) => getApi20260701ResourcesContractsPortugueseContractTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1038
1064
|
}
|
|
1039
1065
|
/**
|
|
1040
1066
|
* Fetch all portuguese_contract_types across all pages into a single array.
|
|
@@ -1044,7 +1070,7 @@ export class ContractsPortugueseContractTypesResource {
|
|
|
1044
1070
|
return collectAll(this.paginate(options));
|
|
1045
1071
|
}
|
|
1046
1072
|
/** Reads a single portuguese_contract_types record */
|
|
1047
|
-
get = (options) =>
|
|
1073
|
+
get = (options) => getApi20260701ResourcesContractsPortugueseContractTypesById({ client: this._client, ...options });
|
|
1048
1074
|
}
|
|
1049
1075
|
/** Methods for the contracts > reference_contracts resource */
|
|
1050
1076
|
export class ContractsReferenceContractsResource {
|
|
@@ -1053,14 +1079,14 @@ export class ContractsReferenceContractsResource {
|
|
|
1053
1079
|
this._client = _client;
|
|
1054
1080
|
}
|
|
1055
1081
|
/** Lists all reference_contracts */
|
|
1056
|
-
list = (options) =>
|
|
1082
|
+
list = (options) => getApi20260701ResourcesContractsReferenceContracts({ client: this._client, ...options });
|
|
1057
1083
|
/**
|
|
1058
1084
|
* Auto-paginate through all reference_contracts, yielding one item at a time.
|
|
1059
1085
|
* @example for await (const item of client.contracts.referenceContracts.paginate()) { ... }
|
|
1060
1086
|
*/
|
|
1061
1087
|
paginate(options) {
|
|
1062
1088
|
const { maxItems, ...rest } = options ?? {};
|
|
1063
|
-
return paginate((params) =>
|
|
1089
|
+
return paginate((params) => getApi20260701ResourcesContractsReferenceContracts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1064
1090
|
}
|
|
1065
1091
|
/**
|
|
1066
1092
|
* Fetch all reference_contracts across all pages into a single array.
|
|
@@ -1077,14 +1103,14 @@ export class ContractsSpanishContractTypesResource {
|
|
|
1077
1103
|
this._client = _client;
|
|
1078
1104
|
}
|
|
1079
1105
|
/** Lists all spanish_contract_types */
|
|
1080
|
-
list = (options) =>
|
|
1106
|
+
list = (options) => getApi20260701ResourcesContractsSpanishContractTypes({ client: this._client, ...options });
|
|
1081
1107
|
/**
|
|
1082
1108
|
* Auto-paginate through all spanish_contract_types, yielding one item at a time.
|
|
1083
1109
|
* @example for await (const item of client.contracts.spanishContractTypes.paginate()) { ... }
|
|
1084
1110
|
*/
|
|
1085
1111
|
paginate(options) {
|
|
1086
1112
|
const { maxItems, ...rest } = options ?? {};
|
|
1087
|
-
return paginate((params) =>
|
|
1113
|
+
return paginate((params) => getApi20260701ResourcesContractsSpanishContractTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1088
1114
|
}
|
|
1089
1115
|
/**
|
|
1090
1116
|
* Fetch all spanish_contract_types across all pages into a single array.
|
|
@@ -1094,9 +1120,9 @@ export class ContractsSpanishContractTypesResource {
|
|
|
1094
1120
|
return collectAll(this.paginate(options));
|
|
1095
1121
|
}
|
|
1096
1122
|
/** Creates a spanish_contract_types record */
|
|
1097
|
-
create = (options) =>
|
|
1123
|
+
create = (options) => postApi20260701ResourcesContractsSpanishContractTypes({ client: this._client, ...options });
|
|
1098
1124
|
/** Reads a single spanish_contract_types record */
|
|
1099
|
-
get = (options) =>
|
|
1125
|
+
get = (options) => getApi20260701ResourcesContractsSpanishContractTypesById({ client: this._client, ...options });
|
|
1100
1126
|
}
|
|
1101
1127
|
/** Methods for the contracts > spanish_education_levels resource */
|
|
1102
1128
|
export class ContractsSpanishEducationLevelsResource {
|
|
@@ -1105,14 +1131,14 @@ export class ContractsSpanishEducationLevelsResource {
|
|
|
1105
1131
|
this._client = _client;
|
|
1106
1132
|
}
|
|
1107
1133
|
/** Lists all spanish_education_levels */
|
|
1108
|
-
list = (options) =>
|
|
1134
|
+
list = (options) => getApi20260701ResourcesContractsSpanishEducationLevels({ client: this._client, ...options });
|
|
1109
1135
|
/**
|
|
1110
1136
|
* Auto-paginate through all spanish_education_levels, yielding one item at a time.
|
|
1111
1137
|
* @example for await (const item of client.contracts.spanishEducationLevels.paginate()) { ... }
|
|
1112
1138
|
*/
|
|
1113
1139
|
paginate(options) {
|
|
1114
1140
|
const { maxItems, ...rest } = options ?? {};
|
|
1115
|
-
return paginate((params) =>
|
|
1141
|
+
return paginate((params) => getApi20260701ResourcesContractsSpanishEducationLevels({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1116
1142
|
}
|
|
1117
1143
|
/**
|
|
1118
1144
|
* Fetch all spanish_education_levels across all pages into a single array.
|
|
@@ -1122,9 +1148,9 @@ export class ContractsSpanishEducationLevelsResource {
|
|
|
1122
1148
|
return collectAll(this.paginate(options));
|
|
1123
1149
|
}
|
|
1124
1150
|
/** Creates a spanish_education_levels record */
|
|
1125
|
-
create = (options) =>
|
|
1151
|
+
create = (options) => postApi20260701ResourcesContractsSpanishEducationLevels({ client: this._client, ...options });
|
|
1126
1152
|
/** Reads a single spanish_education_levels record */
|
|
1127
|
-
get = (options) =>
|
|
1153
|
+
get = (options) => getApi20260701ResourcesContractsSpanishEducationLevelsById({ client: this._client, ...options });
|
|
1128
1154
|
}
|
|
1129
1155
|
/** Methods for the contracts > spanish_professional_categories resource */
|
|
1130
1156
|
export class ContractsSpanishProfessionalCategoriesResource {
|
|
@@ -1133,14 +1159,14 @@ export class ContractsSpanishProfessionalCategoriesResource {
|
|
|
1133
1159
|
this._client = _client;
|
|
1134
1160
|
}
|
|
1135
1161
|
/** Lists all spanish_professional_categories */
|
|
1136
|
-
list = (options) =>
|
|
1162
|
+
list = (options) => getApi20260701ResourcesContractsSpanishProfessionalCategories({ client: this._client, ...options });
|
|
1137
1163
|
/**
|
|
1138
1164
|
* Auto-paginate through all spanish_professional_categories, yielding one item at a time.
|
|
1139
1165
|
* @example for await (const item of client.contracts.spanishProfessionalCategories.paginate()) { ... }
|
|
1140
1166
|
*/
|
|
1141
1167
|
paginate(options) {
|
|
1142
1168
|
const { maxItems, ...rest } = options ?? {};
|
|
1143
|
-
return paginate((params) =>
|
|
1169
|
+
return paginate((params) => getApi20260701ResourcesContractsSpanishProfessionalCategories({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1144
1170
|
}
|
|
1145
1171
|
/**
|
|
1146
1172
|
* Fetch all spanish_professional_categories across all pages into a single array.
|
|
@@ -1150,9 +1176,9 @@ export class ContractsSpanishProfessionalCategoriesResource {
|
|
|
1150
1176
|
return collectAll(this.paginate(options));
|
|
1151
1177
|
}
|
|
1152
1178
|
/** Creates a spanish_professional_categories record */
|
|
1153
|
-
create = (options) =>
|
|
1179
|
+
create = (options) => postApi20260701ResourcesContractsSpanishProfessionalCategories({ client: this._client, ...options });
|
|
1154
1180
|
/** Reads a single spanish_professional_categories record */
|
|
1155
|
-
get = (options) =>
|
|
1181
|
+
get = (options) => getApi20260701ResourcesContractsSpanishProfessionalCategoriesById({ client: this._client, ...options });
|
|
1156
1182
|
}
|
|
1157
1183
|
/** Methods for the contracts > spanish_working_day_types resource */
|
|
1158
1184
|
export class ContractsSpanishWorkingDayTypesResource {
|
|
@@ -1161,14 +1187,14 @@ export class ContractsSpanishWorkingDayTypesResource {
|
|
|
1161
1187
|
this._client = _client;
|
|
1162
1188
|
}
|
|
1163
1189
|
/** Lists all spanish_working_day_types */
|
|
1164
|
-
list = (options) =>
|
|
1190
|
+
list = (options) => getApi20260701ResourcesContractsSpanishWorkingDayTypes({ client: this._client, ...options });
|
|
1165
1191
|
/**
|
|
1166
1192
|
* Auto-paginate through all spanish_working_day_types, yielding one item at a time.
|
|
1167
1193
|
* @example for await (const item of client.contracts.spanishWorkingDayTypes.paginate()) { ... }
|
|
1168
1194
|
*/
|
|
1169
1195
|
paginate(options) {
|
|
1170
1196
|
const { maxItems, ...rest } = options ?? {};
|
|
1171
|
-
return paginate((params) =>
|
|
1197
|
+
return paginate((params) => getApi20260701ResourcesContractsSpanishWorkingDayTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1172
1198
|
}
|
|
1173
1199
|
/**
|
|
1174
1200
|
* Fetch all spanish_working_day_types across all pages into a single array.
|
|
@@ -1178,9 +1204,9 @@ export class ContractsSpanishWorkingDayTypesResource {
|
|
|
1178
1204
|
return collectAll(this.paginate(options));
|
|
1179
1205
|
}
|
|
1180
1206
|
/** Creates a spanish_working_day_types record */
|
|
1181
|
-
create = (options) =>
|
|
1207
|
+
create = (options) => postApi20260701ResourcesContractsSpanishWorkingDayTypes({ client: this._client, ...options });
|
|
1182
1208
|
/** Reads a single spanish_working_day_types record */
|
|
1183
|
-
get = (options) =>
|
|
1209
|
+
get = (options) => getApi20260701ResourcesContractsSpanishWorkingDayTypesById({ client: this._client, ...options });
|
|
1184
1210
|
}
|
|
1185
1211
|
/** Methods for the contracts > taxonomies resource */
|
|
1186
1212
|
export class ContractsTaxonomiesResource {
|
|
@@ -1189,14 +1215,14 @@ export class ContractsTaxonomiesResource {
|
|
|
1189
1215
|
this._client = _client;
|
|
1190
1216
|
}
|
|
1191
1217
|
/** Lists all taxonomies */
|
|
1192
|
-
list = (options) =>
|
|
1218
|
+
list = (options) => getApi20260701ResourcesContractsTaxonomies({ client: this._client, ...options });
|
|
1193
1219
|
/**
|
|
1194
1220
|
* Auto-paginate through all taxonomies, yielding one item at a time.
|
|
1195
1221
|
* @example for await (const item of client.contracts.taxonomies.paginate()) { ... }
|
|
1196
1222
|
*/
|
|
1197
1223
|
paginate(options) {
|
|
1198
1224
|
const { maxItems, ...rest } = options ?? {};
|
|
1199
|
-
return paginate((params) =>
|
|
1225
|
+
return paginate((params) => getApi20260701ResourcesContractsTaxonomies({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1200
1226
|
}
|
|
1201
1227
|
/**
|
|
1202
1228
|
* Fetch all taxonomies across all pages into a single array.
|
|
@@ -1206,7 +1232,7 @@ export class ContractsTaxonomiesResource {
|
|
|
1206
1232
|
return collectAll(this.paginate(options));
|
|
1207
1233
|
}
|
|
1208
1234
|
/** Reads a single taxonomies record */
|
|
1209
|
-
get = (options) =>
|
|
1235
|
+
get = (options) => getApi20260701ResourcesContractsTaxonomiesById({ client: this._client, ...options });
|
|
1210
1236
|
}
|
|
1211
1237
|
/** Methods for the custom_fields > fields resource */
|
|
1212
1238
|
export class CustomFieldsFieldsResource {
|
|
@@ -1215,14 +1241,14 @@ export class CustomFieldsFieldsResource {
|
|
|
1215
1241
|
this._client = _client;
|
|
1216
1242
|
}
|
|
1217
1243
|
/** Lists all fields */
|
|
1218
|
-
list = (options) =>
|
|
1244
|
+
list = (options) => getApi20260701ResourcesCustomFieldsFields({ client: this._client, ...options });
|
|
1219
1245
|
/**
|
|
1220
1246
|
* Auto-paginate through all fields, yielding one item at a time.
|
|
1221
1247
|
* @example for await (const item of client.customFields.fields.paginate()) { ... }
|
|
1222
1248
|
*/
|
|
1223
1249
|
paginate(options) {
|
|
1224
1250
|
const { maxItems, ...rest } = options ?? {};
|
|
1225
|
-
return paginate((params) =>
|
|
1251
|
+
return paginate((params) => getApi20260701ResourcesCustomFieldsFields({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1226
1252
|
}
|
|
1227
1253
|
/**
|
|
1228
1254
|
* Fetch all fields across all pages into a single array.
|
|
@@ -1232,11 +1258,11 @@ export class CustomFieldsFieldsResource {
|
|
|
1232
1258
|
return collectAll(this.paginate(options));
|
|
1233
1259
|
}
|
|
1234
1260
|
/** Creates a fields record */
|
|
1235
|
-
create = (options) =>
|
|
1261
|
+
create = (options) => postApi20260701ResourcesCustomFieldsFields({ client: this._client, ...options });
|
|
1236
1262
|
/** Reads a single fields record */
|
|
1237
|
-
get = (options) =>
|
|
1263
|
+
get = (options) => getApi20260701ResourcesCustomFieldsFieldsById({ client: this._client, ...options });
|
|
1238
1264
|
/** Deletes a fields record */
|
|
1239
|
-
delete = (options) =>
|
|
1265
|
+
delete = (options) => deleteApi20260701ResourcesCustomFieldsFieldsById({ client: this._client, ...options });
|
|
1240
1266
|
}
|
|
1241
1267
|
/** Methods for the custom_fields > options resource */
|
|
1242
1268
|
export class CustomFieldsOptionsResource {
|
|
@@ -1245,14 +1271,14 @@ export class CustomFieldsOptionsResource {
|
|
|
1245
1271
|
this._client = _client;
|
|
1246
1272
|
}
|
|
1247
1273
|
/** Lists all options */
|
|
1248
|
-
list = (options) =>
|
|
1274
|
+
list = (options) => getApi20260701ResourcesCustomFieldsOptions({ client: this._client, ...options });
|
|
1249
1275
|
/**
|
|
1250
1276
|
* Auto-paginate through all options, yielding one item at a time.
|
|
1251
1277
|
* @example for await (const item of client.customFields.options.paginate()) { ... }
|
|
1252
1278
|
*/
|
|
1253
1279
|
paginate(options) {
|
|
1254
1280
|
const { maxItems, ...rest } = options ?? {};
|
|
1255
|
-
return paginate((params) =>
|
|
1281
|
+
return paginate((params) => getApi20260701ResourcesCustomFieldsOptions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1256
1282
|
}
|
|
1257
1283
|
/**
|
|
1258
1284
|
* Fetch all options across all pages into a single array.
|
|
@@ -1262,9 +1288,9 @@ export class CustomFieldsOptionsResource {
|
|
|
1262
1288
|
return collectAll(this.paginate(options));
|
|
1263
1289
|
}
|
|
1264
1290
|
/** Creates a options record */
|
|
1265
|
-
create = (options) =>
|
|
1291
|
+
create = (options) => postApi20260701ResourcesCustomFieldsOptions({ client: this._client, ...options });
|
|
1266
1292
|
/** Reads a single options record */
|
|
1267
|
-
get = (options) =>
|
|
1293
|
+
get = (options) => getApi20260701ResourcesCustomFieldsOptionsById({ client: this._client, ...options });
|
|
1268
1294
|
}
|
|
1269
1295
|
/** Methods for the custom_fields > resource_fields resource */
|
|
1270
1296
|
export class CustomFieldsResourceFieldsResource {
|
|
@@ -1273,14 +1299,14 @@ export class CustomFieldsResourceFieldsResource {
|
|
|
1273
1299
|
this._client = _client;
|
|
1274
1300
|
}
|
|
1275
1301
|
/** Lists all resource_fields */
|
|
1276
|
-
list = (options) =>
|
|
1302
|
+
list = (options) => getApi20260701ResourcesCustomFieldsResourceFields({ client: this._client, ...options });
|
|
1277
1303
|
/**
|
|
1278
1304
|
* Auto-paginate through all resource_fields, yielding one item at a time.
|
|
1279
1305
|
* @example for await (const item of client.customFields.resourceFields.paginate()) { ... }
|
|
1280
1306
|
*/
|
|
1281
1307
|
paginate(options) {
|
|
1282
1308
|
const { maxItems, ...rest } = options ?? {};
|
|
1283
|
-
return paginate((params) =>
|
|
1309
|
+
return paginate((params) => getApi20260701ResourcesCustomFieldsResourceFields({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1284
1310
|
}
|
|
1285
1311
|
/**
|
|
1286
1312
|
* Fetch all resource_fields across all pages into a single array.
|
|
@@ -1290,9 +1316,9 @@ export class CustomFieldsResourceFieldsResource {
|
|
|
1290
1316
|
return collectAll(this.paginate(options));
|
|
1291
1317
|
}
|
|
1292
1318
|
/** Creates a resource_fields record */
|
|
1293
|
-
create = (options) =>
|
|
1319
|
+
create = (options) => postApi20260701ResourcesCustomFieldsResourceFields({ client: this._client, ...options });
|
|
1294
1320
|
/** Reads a single resource_fields record */
|
|
1295
|
-
get = (options) =>
|
|
1321
|
+
get = (options) => getApi20260701ResourcesCustomFieldsResourceFieldsById({ client: this._client, ...options });
|
|
1296
1322
|
}
|
|
1297
1323
|
/** Methods for the custom_fields > values resource */
|
|
1298
1324
|
export class CustomFieldsValuesResource {
|
|
@@ -1301,14 +1327,14 @@ export class CustomFieldsValuesResource {
|
|
|
1301
1327
|
this._client = _client;
|
|
1302
1328
|
}
|
|
1303
1329
|
/** Lists all values */
|
|
1304
|
-
list = (options) =>
|
|
1330
|
+
list = (options) => getApi20260701ResourcesCustomFieldsValues({ client: this._client, ...options });
|
|
1305
1331
|
/**
|
|
1306
1332
|
* Auto-paginate through all values, yielding one item at a time.
|
|
1307
1333
|
* @example for await (const item of client.customFields.values.paginate()) { ... }
|
|
1308
1334
|
*/
|
|
1309
1335
|
paginate(options) {
|
|
1310
1336
|
const { maxItems, ...rest } = options ?? {};
|
|
1311
|
-
return paginate((params) =>
|
|
1337
|
+
return paginate((params) => getApi20260701ResourcesCustomFieldsValues({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1312
1338
|
}
|
|
1313
1339
|
/**
|
|
1314
1340
|
* Fetch all values across all pages into a single array.
|
|
@@ -1318,11 +1344,11 @@ export class CustomFieldsValuesResource {
|
|
|
1318
1344
|
return collectAll(this.paginate(options));
|
|
1319
1345
|
}
|
|
1320
1346
|
/** Creates a values record */
|
|
1321
|
-
create = (options) =>
|
|
1347
|
+
create = (options) => postApi20260701ResourcesCustomFieldsValues({ client: this._client, ...options });
|
|
1322
1348
|
/** Reads a single values record */
|
|
1323
|
-
get = (options) =>
|
|
1349
|
+
get = (options) => getApi20260701ResourcesCustomFieldsValuesById({ client: this._client, ...options });
|
|
1324
1350
|
/** Updates a values record */
|
|
1325
|
-
update = (options) =>
|
|
1351
|
+
update = (options) => putApi20260701ResourcesCustomFieldsValuesById({ client: this._client, ...options });
|
|
1326
1352
|
}
|
|
1327
1353
|
/** Methods for the custom_resources > resources resource */
|
|
1328
1354
|
export class CustomResourcesResourcesResource {
|
|
@@ -1331,14 +1357,14 @@ export class CustomResourcesResourcesResource {
|
|
|
1331
1357
|
this._client = _client;
|
|
1332
1358
|
}
|
|
1333
1359
|
/** Lists all resources */
|
|
1334
|
-
list = (options) =>
|
|
1360
|
+
list = (options) => getApi20260701ResourcesCustomResourcesResources({ client: this._client, ...options });
|
|
1335
1361
|
/**
|
|
1336
1362
|
* Auto-paginate through all resources, yielding one item at a time.
|
|
1337
1363
|
* @example for await (const item of client.customResources.resources.paginate()) { ... }
|
|
1338
1364
|
*/
|
|
1339
1365
|
paginate(options) {
|
|
1340
1366
|
const { maxItems, ...rest } = options ?? {};
|
|
1341
|
-
return paginate((params) =>
|
|
1367
|
+
return paginate((params) => getApi20260701ResourcesCustomResourcesResources({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1342
1368
|
}
|
|
1343
1369
|
/**
|
|
1344
1370
|
* Fetch all resources across all pages into a single array.
|
|
@@ -1348,7 +1374,7 @@ export class CustomResourcesResourcesResource {
|
|
|
1348
1374
|
return collectAll(this.paginate(options));
|
|
1349
1375
|
}
|
|
1350
1376
|
/** Reads a single resources record */
|
|
1351
|
-
get = (options) =>
|
|
1377
|
+
get = (options) => getApi20260701ResourcesCustomResourcesResourcesById({ client: this._client, ...options });
|
|
1352
1378
|
}
|
|
1353
1379
|
/** Methods for the custom_resources > schemas resource */
|
|
1354
1380
|
export class CustomResourcesSchemasResource {
|
|
@@ -1357,14 +1383,14 @@ export class CustomResourcesSchemasResource {
|
|
|
1357
1383
|
this._client = _client;
|
|
1358
1384
|
}
|
|
1359
1385
|
/** Lists all schemas */
|
|
1360
|
-
list = (options) =>
|
|
1386
|
+
list = (options) => getApi20260701ResourcesCustomResourcesSchemas({ client: this._client, ...options });
|
|
1361
1387
|
/**
|
|
1362
1388
|
* Auto-paginate through all schemas, yielding one item at a time.
|
|
1363
1389
|
* @example for await (const item of client.customResources.schemas.paginate()) { ... }
|
|
1364
1390
|
*/
|
|
1365
1391
|
paginate(options) {
|
|
1366
1392
|
const { maxItems, ...rest } = options ?? {};
|
|
1367
|
-
return paginate((params) =>
|
|
1393
|
+
return paginate((params) => getApi20260701ResourcesCustomResourcesSchemas({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1368
1394
|
}
|
|
1369
1395
|
/**
|
|
1370
1396
|
* Fetch all schemas across all pages into a single array.
|
|
@@ -1374,9 +1400,9 @@ export class CustomResourcesSchemasResource {
|
|
|
1374
1400
|
return collectAll(this.paginate(options));
|
|
1375
1401
|
}
|
|
1376
1402
|
/** Creates a schemas record */
|
|
1377
|
-
create = (options) =>
|
|
1403
|
+
create = (options) => postApi20260701ResourcesCustomResourcesSchemas({ client: this._client, ...options });
|
|
1378
1404
|
/** Reads a single schemas record */
|
|
1379
|
-
get = (options) =>
|
|
1405
|
+
get = (options) => getApi20260701ResourcesCustomResourcesSchemasById({ client: this._client, ...options });
|
|
1380
1406
|
}
|
|
1381
1407
|
/** Methods for the custom_resources > values resource */
|
|
1382
1408
|
export class CustomResourcesValuesResource {
|
|
@@ -1385,14 +1411,14 @@ export class CustomResourcesValuesResource {
|
|
|
1385
1411
|
this._client = _client;
|
|
1386
1412
|
}
|
|
1387
1413
|
/** Lists all values */
|
|
1388
|
-
list = (options) =>
|
|
1414
|
+
list = (options) => getApi20260701ResourcesCustomResourcesValues({ client: this._client, ...options });
|
|
1389
1415
|
/**
|
|
1390
1416
|
* Auto-paginate through all values, yielding one item at a time.
|
|
1391
1417
|
* @example for await (const item of client.customResources.values.paginate()) { ... }
|
|
1392
1418
|
*/
|
|
1393
1419
|
paginate(options) {
|
|
1394
1420
|
const { maxItems, ...rest } = options ?? {};
|
|
1395
|
-
return paginate((params) =>
|
|
1421
|
+
return paginate((params) => getApi20260701ResourcesCustomResourcesValues({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1396
1422
|
}
|
|
1397
1423
|
/**
|
|
1398
1424
|
* Fetch all values across all pages into a single array.
|
|
@@ -1402,9 +1428,9 @@ export class CustomResourcesValuesResource {
|
|
|
1402
1428
|
return collectAll(this.paginate(options));
|
|
1403
1429
|
}
|
|
1404
1430
|
/** Creates a values record */
|
|
1405
|
-
create = (options) =>
|
|
1431
|
+
create = (options) => postApi20260701ResourcesCustomResourcesValues({ client: this._client, ...options });
|
|
1406
1432
|
/** Reads a single values record */
|
|
1407
|
-
get = (options) =>
|
|
1433
|
+
get = (options) => getApi20260701ResourcesCustomResourcesValuesById({ client: this._client, ...options });
|
|
1408
1434
|
}
|
|
1409
1435
|
/** Methods for the documents > documents resource */
|
|
1410
1436
|
export class DocumentsDocumentsResource {
|
|
@@ -1413,14 +1439,14 @@ export class DocumentsDocumentsResource {
|
|
|
1413
1439
|
this._client = _client;
|
|
1414
1440
|
}
|
|
1415
1441
|
/** Lists all documents */
|
|
1416
|
-
list = (options) =>
|
|
1442
|
+
list = (options) => getApi20260701ResourcesDocumentsDocuments({ client: this._client, ...options });
|
|
1417
1443
|
/**
|
|
1418
1444
|
* Auto-paginate through all documents, yielding one item at a time.
|
|
1419
1445
|
* @example for await (const item of client.documents.documents.paginate()) { ... }
|
|
1420
1446
|
*/
|
|
1421
1447
|
paginate(options) {
|
|
1422
1448
|
const { maxItems, ...rest } = options ?? {};
|
|
1423
|
-
return paginate((params) =>
|
|
1449
|
+
return paginate((params) => getApi20260701ResourcesDocumentsDocuments({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1424
1450
|
}
|
|
1425
1451
|
/**
|
|
1426
1452
|
* Fetch all documents across all pages into a single array.
|
|
@@ -1430,17 +1456,17 @@ export class DocumentsDocumentsResource {
|
|
|
1430
1456
|
return collectAll(this.paginate(options));
|
|
1431
1457
|
}
|
|
1432
1458
|
/** Creates a documents record */
|
|
1433
|
-
create = (options) =>
|
|
1459
|
+
create = (options) => postApi20260701ResourcesDocumentsDocuments({ client: this._client, ...options });
|
|
1434
1460
|
/** Reads a single documents record */
|
|
1435
|
-
get = (options) =>
|
|
1461
|
+
get = (options) => getApi20260701ResourcesDocumentsDocumentsById({ client: this._client, ...options });
|
|
1436
1462
|
/** Updates a documents record */
|
|
1437
|
-
update = (options) =>
|
|
1463
|
+
update = (options) => putApi20260701ResourcesDocumentsDocumentsById({ client: this._client, ...options });
|
|
1438
1464
|
/** Deletes a documents record */
|
|
1439
|
-
delete = (options) =>
|
|
1465
|
+
delete = (options) => deleteApi20260701ResourcesDocumentsDocumentsById({ client: this._client, ...options });
|
|
1440
1466
|
/** moveToTrashBin */
|
|
1441
|
-
moveToTrashBin = (options) =>
|
|
1467
|
+
moveToTrashBin = (options) => postApi20260701ResourcesDocumentsDocumentsMoveToTrashBin({ client: this._client, ...options });
|
|
1442
1468
|
/** restoreFromTrashBin */
|
|
1443
|
-
restoreFromTrashBin = (options) =>
|
|
1469
|
+
restoreFromTrashBin = (options) => postApi20260701ResourcesDocumentsDocumentsRestoreFromTrashBin({ client: this._client, ...options });
|
|
1444
1470
|
}
|
|
1445
1471
|
/** Methods for the documents > download_urls resource */
|
|
1446
1472
|
export class DocumentsDownloadUrlsResource {
|
|
@@ -1449,7 +1475,7 @@ export class DocumentsDownloadUrlsResource {
|
|
|
1449
1475
|
this._client = _client;
|
|
1450
1476
|
}
|
|
1451
1477
|
/** bulkCreate */
|
|
1452
|
-
bulkCreate = (options) =>
|
|
1478
|
+
bulkCreate = (options) => postApi20260701ResourcesDocumentsDownloadUrlsBulkCreate({ client: this._client, ...options });
|
|
1453
1479
|
}
|
|
1454
1480
|
/** Methods for the documents > folders resource */
|
|
1455
1481
|
export class DocumentsFoldersResource {
|
|
@@ -1458,14 +1484,14 @@ export class DocumentsFoldersResource {
|
|
|
1458
1484
|
this._client = _client;
|
|
1459
1485
|
}
|
|
1460
1486
|
/** Lists all folders */
|
|
1461
|
-
list = (options) =>
|
|
1487
|
+
list = (options) => getApi20260701ResourcesDocumentsFolders({ client: this._client, ...options });
|
|
1462
1488
|
/**
|
|
1463
1489
|
* Auto-paginate through all folders, yielding one item at a time.
|
|
1464
1490
|
* @example for await (const item of client.documents.folders.paginate()) { ... }
|
|
1465
1491
|
*/
|
|
1466
1492
|
paginate(options) {
|
|
1467
1493
|
const { maxItems, ...rest } = options ?? {};
|
|
1468
|
-
return paginate((params) =>
|
|
1494
|
+
return paginate((params) => getApi20260701ResourcesDocumentsFolders({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1469
1495
|
}
|
|
1470
1496
|
/**
|
|
1471
1497
|
* Fetch all folders across all pages into a single array.
|
|
@@ -1475,11 +1501,11 @@ export class DocumentsFoldersResource {
|
|
|
1475
1501
|
return collectAll(this.paginate(options));
|
|
1476
1502
|
}
|
|
1477
1503
|
/** Creates a folders record */
|
|
1478
|
-
create = (options) =>
|
|
1504
|
+
create = (options) => postApi20260701ResourcesDocumentsFolders({ client: this._client, ...options });
|
|
1479
1505
|
/** Reads a single folders record */
|
|
1480
|
-
get = (options) =>
|
|
1506
|
+
get = (options) => getApi20260701ResourcesDocumentsFoldersById({ client: this._client, ...options });
|
|
1481
1507
|
/** Updates a folders record */
|
|
1482
|
-
update = (options) =>
|
|
1508
|
+
update = (options) => putApi20260701ResourcesDocumentsFoldersById({ client: this._client, ...options });
|
|
1483
1509
|
}
|
|
1484
1510
|
/** Methods for the employee_updates > absences resource */
|
|
1485
1511
|
export class EmployeeUpdatesAbsencesResource {
|
|
@@ -1488,14 +1514,14 @@ export class EmployeeUpdatesAbsencesResource {
|
|
|
1488
1514
|
this._client = _client;
|
|
1489
1515
|
}
|
|
1490
1516
|
/** Lists all absences */
|
|
1491
|
-
list = (options) =>
|
|
1517
|
+
list = (options) => getApi20260701ResourcesEmployeeUpdatesAbsences({ client: this._client, ...options });
|
|
1492
1518
|
/**
|
|
1493
1519
|
* Auto-paginate through all absences, yielding one item at a time.
|
|
1494
1520
|
* @example for await (const item of client.employeeUpdates.absences.paginate()) { ... }
|
|
1495
1521
|
*/
|
|
1496
1522
|
paginate(options) {
|
|
1497
1523
|
const { maxItems, ...rest } = options ?? {};
|
|
1498
|
-
return paginate((params) =>
|
|
1524
|
+
return paginate((params) => getApi20260701ResourcesEmployeeUpdatesAbsences({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1499
1525
|
}
|
|
1500
1526
|
/**
|
|
1501
1527
|
* Fetch all absences across all pages into a single array.
|
|
@@ -1505,7 +1531,7 @@ export class EmployeeUpdatesAbsencesResource {
|
|
|
1505
1531
|
return collectAll(this.paginate(options));
|
|
1506
1532
|
}
|
|
1507
1533
|
/** Reads a single absences record */
|
|
1508
|
-
get = (options) =>
|
|
1534
|
+
get = (options) => getApi20260701ResourcesEmployeeUpdatesAbsencesById({ client: this._client, ...options });
|
|
1509
1535
|
}
|
|
1510
1536
|
/** Methods for the employee_updates > contract_changes resource */
|
|
1511
1537
|
export class EmployeeUpdatesContractChangesResource {
|
|
@@ -1514,14 +1540,14 @@ export class EmployeeUpdatesContractChangesResource {
|
|
|
1514
1540
|
this._client = _client;
|
|
1515
1541
|
}
|
|
1516
1542
|
/** Lists all contract_changes */
|
|
1517
|
-
list = (options) =>
|
|
1543
|
+
list = (options) => getApi20260701ResourcesEmployeeUpdatesContractChanges({ client: this._client, ...options });
|
|
1518
1544
|
/**
|
|
1519
1545
|
* Auto-paginate through all contract_changes, yielding one item at a time.
|
|
1520
1546
|
* @example for await (const item of client.employeeUpdates.contractChanges.paginate()) { ... }
|
|
1521
1547
|
*/
|
|
1522
1548
|
paginate(options) {
|
|
1523
1549
|
const { maxItems, ...rest } = options ?? {};
|
|
1524
|
-
return paginate((params) =>
|
|
1550
|
+
return paginate((params) => getApi20260701ResourcesEmployeeUpdatesContractChanges({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1525
1551
|
}
|
|
1526
1552
|
/**
|
|
1527
1553
|
* Fetch all contract_changes across all pages into a single array.
|
|
@@ -1531,7 +1557,7 @@ export class EmployeeUpdatesContractChangesResource {
|
|
|
1531
1557
|
return collectAll(this.paginate(options));
|
|
1532
1558
|
}
|
|
1533
1559
|
/** Reads a single contract_changes record */
|
|
1534
|
-
get = (options) =>
|
|
1560
|
+
get = (options) => getApi20260701ResourcesEmployeeUpdatesContractChangesById({ client: this._client, ...options });
|
|
1535
1561
|
}
|
|
1536
1562
|
/** Methods for the employee_updates > new_hires resource */
|
|
1537
1563
|
export class EmployeeUpdatesNewHiresResource {
|
|
@@ -1540,14 +1566,14 @@ export class EmployeeUpdatesNewHiresResource {
|
|
|
1540
1566
|
this._client = _client;
|
|
1541
1567
|
}
|
|
1542
1568
|
/** Lists all new_hires */
|
|
1543
|
-
list = (options) =>
|
|
1569
|
+
list = (options) => getApi20260701ResourcesEmployeeUpdatesNewHires({ client: this._client, ...options });
|
|
1544
1570
|
/**
|
|
1545
1571
|
* Auto-paginate through all new_hires, yielding one item at a time.
|
|
1546
1572
|
* @example for await (const item of client.employeeUpdates.newHires.paginate()) { ... }
|
|
1547
1573
|
*/
|
|
1548
1574
|
paginate(options) {
|
|
1549
1575
|
const { maxItems, ...rest } = options ?? {};
|
|
1550
|
-
return paginate((params) =>
|
|
1576
|
+
return paginate((params) => getApi20260701ResourcesEmployeeUpdatesNewHires({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1551
1577
|
}
|
|
1552
1578
|
/**
|
|
1553
1579
|
* Fetch all new_hires across all pages into a single array.
|
|
@@ -1557,7 +1583,7 @@ export class EmployeeUpdatesNewHiresResource {
|
|
|
1557
1583
|
return collectAll(this.paginate(options));
|
|
1558
1584
|
}
|
|
1559
1585
|
/** Reads a single new_hires record */
|
|
1560
|
-
get = (options) =>
|
|
1586
|
+
get = (options) => getApi20260701ResourcesEmployeeUpdatesNewHiresById({ client: this._client, ...options });
|
|
1561
1587
|
}
|
|
1562
1588
|
/** Methods for the employee_updates > personal_changes resource */
|
|
1563
1589
|
export class EmployeeUpdatesPersonalChangesResource {
|
|
@@ -1566,14 +1592,14 @@ export class EmployeeUpdatesPersonalChangesResource {
|
|
|
1566
1592
|
this._client = _client;
|
|
1567
1593
|
}
|
|
1568
1594
|
/** Lists all personal_changes */
|
|
1569
|
-
list = (options) =>
|
|
1595
|
+
list = (options) => getApi20260701ResourcesEmployeeUpdatesPersonalChanges({ client: this._client, ...options });
|
|
1570
1596
|
/**
|
|
1571
1597
|
* Auto-paginate through all personal_changes, yielding one item at a time.
|
|
1572
1598
|
* @example for await (const item of client.employeeUpdates.personalChanges.paginate()) { ... }
|
|
1573
1599
|
*/
|
|
1574
1600
|
paginate(options) {
|
|
1575
1601
|
const { maxItems, ...rest } = options ?? {};
|
|
1576
|
-
return paginate((params) =>
|
|
1602
|
+
return paginate((params) => getApi20260701ResourcesEmployeeUpdatesPersonalChanges({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1577
1603
|
}
|
|
1578
1604
|
/**
|
|
1579
1605
|
* Fetch all personal_changes across all pages into a single array.
|
|
@@ -1583,7 +1609,7 @@ export class EmployeeUpdatesPersonalChangesResource {
|
|
|
1583
1609
|
return collectAll(this.paginate(options));
|
|
1584
1610
|
}
|
|
1585
1611
|
/** Reads a single personal_changes record */
|
|
1586
|
-
get = (options) =>
|
|
1612
|
+
get = (options) => getApi20260701ResourcesEmployeeUpdatesPersonalChangesById({ client: this._client, ...options });
|
|
1587
1613
|
}
|
|
1588
1614
|
/** Methods for the employee_updates > summaries resource */
|
|
1589
1615
|
export class EmployeeUpdatesSummariesResource {
|
|
@@ -1592,14 +1618,14 @@ export class EmployeeUpdatesSummariesResource {
|
|
|
1592
1618
|
this._client = _client;
|
|
1593
1619
|
}
|
|
1594
1620
|
/** Lists all summaries */
|
|
1595
|
-
list = (options) =>
|
|
1621
|
+
list = (options) => getApi20260701ResourcesEmployeeUpdatesSummaries({ client: this._client, ...options });
|
|
1596
1622
|
/**
|
|
1597
1623
|
* Auto-paginate through all summaries, yielding one item at a time.
|
|
1598
1624
|
* @example for await (const item of client.employeeUpdates.summaries.paginate()) { ... }
|
|
1599
1625
|
*/
|
|
1600
1626
|
paginate(options) {
|
|
1601
1627
|
const { maxItems, ...rest } = options ?? {};
|
|
1602
|
-
return paginate((params) =>
|
|
1628
|
+
return paginate((params) => getApi20260701ResourcesEmployeeUpdatesSummaries({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1603
1629
|
}
|
|
1604
1630
|
/**
|
|
1605
1631
|
* Fetch all summaries across all pages into a single array.
|
|
@@ -1609,7 +1635,7 @@ export class EmployeeUpdatesSummariesResource {
|
|
|
1609
1635
|
return collectAll(this.paginate(options));
|
|
1610
1636
|
}
|
|
1611
1637
|
/** Reads a single summaries record */
|
|
1612
|
-
get = (options) =>
|
|
1638
|
+
get = (options) => getApi20260701ResourcesEmployeeUpdatesSummariesById({ client: this._client, ...options });
|
|
1613
1639
|
}
|
|
1614
1640
|
/** Methods for the employee_updates > terminations resource */
|
|
1615
1641
|
export class EmployeeUpdatesTerminationsResource {
|
|
@@ -1618,14 +1644,14 @@ export class EmployeeUpdatesTerminationsResource {
|
|
|
1618
1644
|
this._client = _client;
|
|
1619
1645
|
}
|
|
1620
1646
|
/** Lists all terminations */
|
|
1621
|
-
list = (options) =>
|
|
1647
|
+
list = (options) => getApi20260701ResourcesEmployeeUpdatesTerminations({ client: this._client, ...options });
|
|
1622
1648
|
/**
|
|
1623
1649
|
* Auto-paginate through all terminations, yielding one item at a time.
|
|
1624
1650
|
* @example for await (const item of client.employeeUpdates.terminations.paginate()) { ... }
|
|
1625
1651
|
*/
|
|
1626
1652
|
paginate(options) {
|
|
1627
1653
|
const { maxItems, ...rest } = options ?? {};
|
|
1628
|
-
return paginate((params) =>
|
|
1654
|
+
return paginate((params) => getApi20260701ResourcesEmployeeUpdatesTerminations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1629
1655
|
}
|
|
1630
1656
|
/**
|
|
1631
1657
|
* Fetch all terminations across all pages into a single array.
|
|
@@ -1635,7 +1661,7 @@ export class EmployeeUpdatesTerminationsResource {
|
|
|
1635
1661
|
return collectAll(this.paginate(options));
|
|
1636
1662
|
}
|
|
1637
1663
|
/** Reads a single terminations record */
|
|
1638
|
-
get = (options) =>
|
|
1664
|
+
get = (options) => getApi20260701ResourcesEmployeeUpdatesTerminationsById({ client: this._client, ...options });
|
|
1639
1665
|
}
|
|
1640
1666
|
/** Methods for the employees > employees resource */
|
|
1641
1667
|
export class EmployeesEmployeesResource {
|
|
@@ -1644,14 +1670,14 @@ export class EmployeesEmployeesResource {
|
|
|
1644
1670
|
this._client = _client;
|
|
1645
1671
|
}
|
|
1646
1672
|
/** Lists all employees */
|
|
1647
|
-
list = (options) =>
|
|
1673
|
+
list = (options) => getApi20260701ResourcesEmployeesEmployees({ client: this._client, ...options });
|
|
1648
1674
|
/**
|
|
1649
1675
|
* Auto-paginate through all employees, yielding one item at a time.
|
|
1650
1676
|
* @example for await (const item of client.employees.employees.paginate()) { ... }
|
|
1651
1677
|
*/
|
|
1652
1678
|
paginate(options) {
|
|
1653
1679
|
const { maxItems, ...rest } = options ?? {};
|
|
1654
|
-
return paginate((params) =>
|
|
1680
|
+
return paginate((params) => getApi20260701ResourcesEmployeesEmployees({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1655
1681
|
}
|
|
1656
1682
|
/**
|
|
1657
1683
|
* Fetch all employees across all pages into a single array.
|
|
@@ -1661,19 +1687,19 @@ export class EmployeesEmployeesResource {
|
|
|
1661
1687
|
return collectAll(this.paginate(options));
|
|
1662
1688
|
}
|
|
1663
1689
|
/** Reads a single employees record */
|
|
1664
|
-
get = (options) =>
|
|
1690
|
+
get = (options) => getApi20260701ResourcesEmployeesEmployeesById({ client: this._client, ...options });
|
|
1665
1691
|
/** Updates a employees record */
|
|
1666
|
-
update = (options) =>
|
|
1692
|
+
update = (options) => putApi20260701ResourcesEmployeesEmployeesById({ client: this._client, ...options });
|
|
1667
1693
|
/** createWithContract */
|
|
1668
|
-
createWithContract = (options) =>
|
|
1694
|
+
createWithContract = (options) => postApi20260701ResourcesEmployeesEmployeesCreateWithContract({ client: this._client, ...options });
|
|
1669
1695
|
/** invite */
|
|
1670
|
-
invite = (options) =>
|
|
1696
|
+
invite = (options) => postApi20260701ResourcesEmployeesEmployeesInvite({ client: this._client, ...options });
|
|
1671
1697
|
/** setRegularAccessStartDate */
|
|
1672
|
-
setRegularAccessStartDate = (options) =>
|
|
1698
|
+
setRegularAccessStartDate = (options) => postApi20260701ResourcesEmployeesEmployeesSetRegularAccessStartDate({ client: this._client, ...options });
|
|
1673
1699
|
/** terminate */
|
|
1674
|
-
terminate = (options) =>
|
|
1700
|
+
terminate = (options) => postApi20260701ResourcesEmployeesEmployeesTerminate({ client: this._client, ...options });
|
|
1675
1701
|
/** unterminate */
|
|
1676
|
-
unterminate = (options) =>
|
|
1702
|
+
unterminate = (options) => postApi20260701ResourcesEmployeesEmployeesUnterminate({ client: this._client, ...options });
|
|
1677
1703
|
}
|
|
1678
1704
|
/** Methods for the expenses > expensables resource */
|
|
1679
1705
|
export class ExpensesExpensablesResource {
|
|
@@ -1682,14 +1708,14 @@ export class ExpensesExpensablesResource {
|
|
|
1682
1708
|
this._client = _client;
|
|
1683
1709
|
}
|
|
1684
1710
|
/** Lists all expensables */
|
|
1685
|
-
list = (options) =>
|
|
1711
|
+
list = (options) => getApi20260701ResourcesExpensesExpensables({ client: this._client, ...options });
|
|
1686
1712
|
/**
|
|
1687
1713
|
* Auto-paginate through all expensables, yielding one item at a time.
|
|
1688
1714
|
* @example for await (const item of client.expenses.expensables.paginate()) { ... }
|
|
1689
1715
|
*/
|
|
1690
1716
|
paginate(options) {
|
|
1691
1717
|
const { maxItems, ...rest } = options ?? {};
|
|
1692
|
-
return paginate((params) =>
|
|
1718
|
+
return paginate((params) => getApi20260701ResourcesExpensesExpensables({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1693
1719
|
}
|
|
1694
1720
|
/**
|
|
1695
1721
|
* Fetch all expensables across all pages into a single array.
|
|
@@ -1699,9 +1725,11 @@ export class ExpensesExpensablesResource {
|
|
|
1699
1725
|
return collectAll(this.paginate(options));
|
|
1700
1726
|
}
|
|
1701
1727
|
/** Reads a single expensables record */
|
|
1702
|
-
get = (options) =>
|
|
1728
|
+
get = (options) => getApi20260701ResourcesExpensesExpensablesById({ client: this._client, ...options });
|
|
1703
1729
|
/** bulkSetToPaid */
|
|
1704
|
-
bulkSetToPaid = (options) =>
|
|
1730
|
+
bulkSetToPaid = (options) => postApi20260701ResourcesExpensesExpensablesBulkSetToPaid({ client: this._client, ...options });
|
|
1731
|
+
/** updateReimbursableAmount */
|
|
1732
|
+
updateReimbursableAmount = (options) => postApi20260701ResourcesExpensesExpensablesUpdateReimbursableAmount({ client: this._client, ...options });
|
|
1705
1733
|
}
|
|
1706
1734
|
/** Methods for the expenses > expenses resource */
|
|
1707
1735
|
export class ExpensesExpensesResource {
|
|
@@ -1710,14 +1738,14 @@ export class ExpensesExpensesResource {
|
|
|
1710
1738
|
this._client = _client;
|
|
1711
1739
|
}
|
|
1712
1740
|
/** Lists all expenses */
|
|
1713
|
-
list = (options) =>
|
|
1741
|
+
list = (options) => getApi20260701ResourcesExpensesExpenses({ client: this._client, ...options });
|
|
1714
1742
|
/**
|
|
1715
1743
|
* Auto-paginate through all expenses, yielding one item at a time.
|
|
1716
1744
|
* @example for await (const item of client.expenses.expenses.paginate()) { ... }
|
|
1717
1745
|
*/
|
|
1718
1746
|
paginate(options) {
|
|
1719
1747
|
const { maxItems, ...rest } = options ?? {};
|
|
1720
|
-
return paginate((params) =>
|
|
1748
|
+
return paginate((params) => getApi20260701ResourcesExpensesExpenses({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1721
1749
|
}
|
|
1722
1750
|
/**
|
|
1723
1751
|
* Fetch all expenses across all pages into a single array.
|
|
@@ -1727,7 +1755,7 @@ export class ExpensesExpensesResource {
|
|
|
1727
1755
|
return collectAll(this.paginate(options));
|
|
1728
1756
|
}
|
|
1729
1757
|
/** Reads a single expenses record */
|
|
1730
|
-
get = (options) =>
|
|
1758
|
+
get = (options) => getApi20260701ResourcesExpensesExpensesById({ client: this._client, ...options });
|
|
1731
1759
|
}
|
|
1732
1760
|
/** Methods for the expenses > mileages resource */
|
|
1733
1761
|
export class ExpensesMileagesResource {
|
|
@@ -1736,14 +1764,14 @@ export class ExpensesMileagesResource {
|
|
|
1736
1764
|
this._client = _client;
|
|
1737
1765
|
}
|
|
1738
1766
|
/** Lists all mileages */
|
|
1739
|
-
list = (options) =>
|
|
1767
|
+
list = (options) => getApi20260701ResourcesExpensesMileages({ client: this._client, ...options });
|
|
1740
1768
|
/**
|
|
1741
1769
|
* Auto-paginate through all mileages, yielding one item at a time.
|
|
1742
1770
|
* @example for await (const item of client.expenses.mileages.paginate()) { ... }
|
|
1743
1771
|
*/
|
|
1744
1772
|
paginate(options) {
|
|
1745
1773
|
const { maxItems, ...rest } = options ?? {};
|
|
1746
|
-
return paginate((params) =>
|
|
1774
|
+
return paginate((params) => getApi20260701ResourcesExpensesMileages({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1747
1775
|
}
|
|
1748
1776
|
/**
|
|
1749
1777
|
* Fetch all mileages across all pages into a single array.
|
|
@@ -1753,7 +1781,7 @@ export class ExpensesMileagesResource {
|
|
|
1753
1781
|
return collectAll(this.paginate(options));
|
|
1754
1782
|
}
|
|
1755
1783
|
/** Reads a single mileages record */
|
|
1756
|
-
get = (options) =>
|
|
1784
|
+
get = (options) => getApi20260701ResourcesExpensesMileagesById({ client: this._client, ...options });
|
|
1757
1785
|
}
|
|
1758
1786
|
/** Methods for the expenses > per_diems resource */
|
|
1759
1787
|
export class ExpensesPerDiemsResource {
|
|
@@ -1762,14 +1790,14 @@ export class ExpensesPerDiemsResource {
|
|
|
1762
1790
|
this._client = _client;
|
|
1763
1791
|
}
|
|
1764
1792
|
/** Lists all per_diems */
|
|
1765
|
-
list = (options) =>
|
|
1793
|
+
list = (options) => getApi20260701ResourcesExpensesPerDiems({ client: this._client, ...options });
|
|
1766
1794
|
/**
|
|
1767
1795
|
* Auto-paginate through all per_diems, yielding one item at a time.
|
|
1768
1796
|
* @example for await (const item of client.expenses.perDiems.paginate()) { ... }
|
|
1769
1797
|
*/
|
|
1770
1798
|
paginate(options) {
|
|
1771
1799
|
const { maxItems, ...rest } = options ?? {};
|
|
1772
|
-
return paginate((params) =>
|
|
1800
|
+
return paginate((params) => getApi20260701ResourcesExpensesPerDiems({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1773
1801
|
}
|
|
1774
1802
|
/**
|
|
1775
1803
|
* Fetch all per_diems across all pages into a single array.
|
|
@@ -1779,7 +1807,7 @@ export class ExpensesPerDiemsResource {
|
|
|
1779
1807
|
return collectAll(this.paginate(options));
|
|
1780
1808
|
}
|
|
1781
1809
|
/** Reads a single per_diems record */
|
|
1782
|
-
get = (options) =>
|
|
1810
|
+
get = (options) => getApi20260701ResourcesExpensesPerDiemsById({ client: this._client, ...options });
|
|
1783
1811
|
}
|
|
1784
1812
|
/** Methods for the finance > accounting_settings resource */
|
|
1785
1813
|
export class FinanceAccountingSettingsResource {
|
|
@@ -1788,14 +1816,14 @@ export class FinanceAccountingSettingsResource {
|
|
|
1788
1816
|
this._client = _client;
|
|
1789
1817
|
}
|
|
1790
1818
|
/** Lists all accounting_settings */
|
|
1791
|
-
list = (options) =>
|
|
1819
|
+
list = (options) => getApi20260701ResourcesFinanceAccountingSettings({ client: this._client, ...options });
|
|
1792
1820
|
/**
|
|
1793
1821
|
* Auto-paginate through all accounting_settings, yielding one item at a time.
|
|
1794
1822
|
* @example for await (const item of client.finance.accountingSettings.paginate()) { ... }
|
|
1795
1823
|
*/
|
|
1796
1824
|
paginate(options) {
|
|
1797
1825
|
const { maxItems, ...rest } = options ?? {};
|
|
1798
|
-
return paginate((params) =>
|
|
1826
|
+
return paginate((params) => getApi20260701ResourcesFinanceAccountingSettings({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1799
1827
|
}
|
|
1800
1828
|
/**
|
|
1801
1829
|
* Fetch all accounting_settings across all pages into a single array.
|
|
@@ -1805,9 +1833,9 @@ export class FinanceAccountingSettingsResource {
|
|
|
1805
1833
|
return collectAll(this.paginate(options));
|
|
1806
1834
|
}
|
|
1807
1835
|
/** Reads a single accounting_settings record */
|
|
1808
|
-
get = (options) =>
|
|
1836
|
+
get = (options) => getApi20260701ResourcesFinanceAccountingSettingsById({ client: this._client, ...options });
|
|
1809
1837
|
/** upsert */
|
|
1810
|
-
upsert = (options) =>
|
|
1838
|
+
upsert = (options) => postApi20260701ResourcesFinanceAccountingSettingsUpsert({ client: this._client, ...options });
|
|
1811
1839
|
}
|
|
1812
1840
|
/** Methods for the finance > accounts resource */
|
|
1813
1841
|
export class FinanceAccountsResource {
|
|
@@ -1816,14 +1844,14 @@ export class FinanceAccountsResource {
|
|
|
1816
1844
|
this._client = _client;
|
|
1817
1845
|
}
|
|
1818
1846
|
/** Lists all accounts */
|
|
1819
|
-
list = (options) =>
|
|
1847
|
+
list = (options) => getApi20260701ResourcesFinanceAccounts({ client: this._client, ...options });
|
|
1820
1848
|
/**
|
|
1821
1849
|
* Auto-paginate through all accounts, yielding one item at a time.
|
|
1822
1850
|
* @example for await (const item of client.finance.accounts.paginate()) { ... }
|
|
1823
1851
|
*/
|
|
1824
1852
|
paginate(options) {
|
|
1825
1853
|
const { maxItems, ...rest } = options ?? {};
|
|
1826
|
-
return paginate((params) =>
|
|
1854
|
+
return paginate((params) => getApi20260701ResourcesFinanceAccounts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1827
1855
|
}
|
|
1828
1856
|
/**
|
|
1829
1857
|
* Fetch all accounts across all pages into a single array.
|
|
@@ -1833,11 +1861,11 @@ export class FinanceAccountsResource {
|
|
|
1833
1861
|
return collectAll(this.paginate(options));
|
|
1834
1862
|
}
|
|
1835
1863
|
/** Creates a accounts record */
|
|
1836
|
-
create = (options) =>
|
|
1864
|
+
create = (options) => postApi20260701ResourcesFinanceAccounts({ client: this._client, ...options });
|
|
1837
1865
|
/** Reads a single accounts record */
|
|
1838
|
-
get = (options) =>
|
|
1866
|
+
get = (options) => getApi20260701ResourcesFinanceAccountsById({ client: this._client, ...options });
|
|
1839
1867
|
/** Updates a accounts record */
|
|
1840
|
-
update = (options) =>
|
|
1868
|
+
update = (options) => putApi20260701ResourcesFinanceAccountsById({ client: this._client, ...options });
|
|
1841
1869
|
}
|
|
1842
1870
|
/** Methods for the finance > budget_options resource */
|
|
1843
1871
|
export class FinanceBudgetOptionsResource {
|
|
@@ -1846,14 +1874,14 @@ export class FinanceBudgetOptionsResource {
|
|
|
1846
1874
|
this._client = _client;
|
|
1847
1875
|
}
|
|
1848
1876
|
/** Lists all budget_options */
|
|
1849
|
-
list = (options) =>
|
|
1877
|
+
list = (options) => getApi20260701ResourcesFinanceBudgetOptions({ client: this._client, ...options });
|
|
1850
1878
|
/**
|
|
1851
1879
|
* Auto-paginate through all budget_options, yielding one item at a time.
|
|
1852
1880
|
* @example for await (const item of client.finance.budgetOptions.paginate()) { ... }
|
|
1853
1881
|
*/
|
|
1854
1882
|
paginate(options) {
|
|
1855
1883
|
const { maxItems, ...rest } = options ?? {};
|
|
1856
|
-
return paginate((params) =>
|
|
1884
|
+
return paginate((params) => getApi20260701ResourcesFinanceBudgetOptions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1857
1885
|
}
|
|
1858
1886
|
/**
|
|
1859
1887
|
* Fetch all budget_options across all pages into a single array.
|
|
@@ -1863,7 +1891,7 @@ export class FinanceBudgetOptionsResource {
|
|
|
1863
1891
|
return collectAll(this.paginate(options));
|
|
1864
1892
|
}
|
|
1865
1893
|
/** Reads a single budget_options record */
|
|
1866
|
-
get = (options) =>
|
|
1894
|
+
get = (options) => getApi20260701ResourcesFinanceBudgetOptionsById({ client: this._client, ...options });
|
|
1867
1895
|
}
|
|
1868
1896
|
/** Methods for the finance > categories resource */
|
|
1869
1897
|
export class FinanceCategoriesResource {
|
|
@@ -1872,14 +1900,14 @@ export class FinanceCategoriesResource {
|
|
|
1872
1900
|
this._client = _client;
|
|
1873
1901
|
}
|
|
1874
1902
|
/** Lists all categories */
|
|
1875
|
-
list = (options) =>
|
|
1903
|
+
list = (options) => getApi20260701ResourcesFinanceCategories({ client: this._client, ...options });
|
|
1876
1904
|
/**
|
|
1877
1905
|
* Auto-paginate through all categories, yielding one item at a time.
|
|
1878
1906
|
* @example for await (const item of client.finance.categories.paginate()) { ... }
|
|
1879
1907
|
*/
|
|
1880
1908
|
paginate(options) {
|
|
1881
1909
|
const { maxItems, ...rest } = options ?? {};
|
|
1882
|
-
return paginate((params) =>
|
|
1910
|
+
return paginate((params) => getApi20260701ResourcesFinanceCategories({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1883
1911
|
}
|
|
1884
1912
|
/**
|
|
1885
1913
|
* Fetch all categories across all pages into a single array.
|
|
@@ -1889,7 +1917,7 @@ export class FinanceCategoriesResource {
|
|
|
1889
1917
|
return collectAll(this.paginate(options));
|
|
1890
1918
|
}
|
|
1891
1919
|
/** Reads a single categories record */
|
|
1892
|
-
get = (options) =>
|
|
1920
|
+
get = (options) => getApi20260701ResourcesFinanceCategoriesById({ client: this._client, ...options });
|
|
1893
1921
|
}
|
|
1894
1922
|
/** Methods for the finance > contacts resource */
|
|
1895
1923
|
export class FinanceContactsResource {
|
|
@@ -1898,14 +1926,14 @@ export class FinanceContactsResource {
|
|
|
1898
1926
|
this._client = _client;
|
|
1899
1927
|
}
|
|
1900
1928
|
/** Lists all contacts */
|
|
1901
|
-
list = (options) =>
|
|
1929
|
+
list = (options) => getApi20260701ResourcesFinanceContacts({ client: this._client, ...options });
|
|
1902
1930
|
/**
|
|
1903
1931
|
* Auto-paginate through all contacts, yielding one item at a time.
|
|
1904
1932
|
* @example for await (const item of client.finance.contacts.paginate()) { ... }
|
|
1905
1933
|
*/
|
|
1906
1934
|
paginate(options) {
|
|
1907
1935
|
const { maxItems, ...rest } = options ?? {};
|
|
1908
|
-
return paginate((params) =>
|
|
1936
|
+
return paginate((params) => getApi20260701ResourcesFinanceContacts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1909
1937
|
}
|
|
1910
1938
|
/**
|
|
1911
1939
|
* Fetch all contacts across all pages into a single array.
|
|
@@ -1915,11 +1943,11 @@ export class FinanceContactsResource {
|
|
|
1915
1943
|
return collectAll(this.paginate(options));
|
|
1916
1944
|
}
|
|
1917
1945
|
/** Creates a contacts record */
|
|
1918
|
-
create = (options) =>
|
|
1946
|
+
create = (options) => postApi20260701ResourcesFinanceContacts({ client: this._client, ...options });
|
|
1919
1947
|
/** Reads a single contacts record */
|
|
1920
|
-
get = (options) =>
|
|
1948
|
+
get = (options) => getApi20260701ResourcesFinanceContactsById({ client: this._client, ...options });
|
|
1921
1949
|
/** Updates a contacts record */
|
|
1922
|
-
update = (options) =>
|
|
1950
|
+
update = (options) => putApi20260701ResourcesFinanceContactsById({ client: this._client, ...options });
|
|
1923
1951
|
}
|
|
1924
1952
|
/** Methods for the finance > cost_center_memberships resource */
|
|
1925
1953
|
export class FinanceCostCenterMembershipsResource {
|
|
@@ -1928,14 +1956,14 @@ export class FinanceCostCenterMembershipsResource {
|
|
|
1928
1956
|
this._client = _client;
|
|
1929
1957
|
}
|
|
1930
1958
|
/** Lists all cost_center_memberships */
|
|
1931
|
-
list = (options) =>
|
|
1959
|
+
list = (options) => getApi20260701ResourcesFinanceCostCenterMemberships({ client: this._client, ...options });
|
|
1932
1960
|
/**
|
|
1933
1961
|
* Auto-paginate through all cost_center_memberships, yielding one item at a time.
|
|
1934
1962
|
* @example for await (const item of client.finance.costCenterMemberships.paginate()) { ... }
|
|
1935
1963
|
*/
|
|
1936
1964
|
paginate(options) {
|
|
1937
1965
|
const { maxItems, ...rest } = options ?? {};
|
|
1938
|
-
return paginate((params) =>
|
|
1966
|
+
return paginate((params) => getApi20260701ResourcesFinanceCostCenterMemberships({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1939
1967
|
}
|
|
1940
1968
|
/**
|
|
1941
1969
|
* Fetch all cost_center_memberships across all pages into a single array.
|
|
@@ -1945,7 +1973,7 @@ export class FinanceCostCenterMembershipsResource {
|
|
|
1945
1973
|
return collectAll(this.paginate(options));
|
|
1946
1974
|
}
|
|
1947
1975
|
/** bulkCreateUpdate */
|
|
1948
|
-
bulkCreateUpdate = (options) =>
|
|
1976
|
+
bulkCreateUpdate = (options) => postApi20260701ResourcesFinanceCostCenterMembershipsBulkCreateUpdate({ client: this._client, ...options });
|
|
1949
1977
|
}
|
|
1950
1978
|
/** Methods for the finance > cost_centers resource */
|
|
1951
1979
|
export class FinanceCostCentersResource {
|
|
@@ -1954,14 +1982,14 @@ export class FinanceCostCentersResource {
|
|
|
1954
1982
|
this._client = _client;
|
|
1955
1983
|
}
|
|
1956
1984
|
/** Lists all cost_centers */
|
|
1957
|
-
list = (options) =>
|
|
1985
|
+
list = (options) => getApi20260701ResourcesFinanceCostCenters({ client: this._client, ...options });
|
|
1958
1986
|
/**
|
|
1959
1987
|
* Auto-paginate through all cost_centers, yielding one item at a time.
|
|
1960
1988
|
* @example for await (const item of client.finance.costCenters.paginate()) { ... }
|
|
1961
1989
|
*/
|
|
1962
1990
|
paginate(options) {
|
|
1963
1991
|
const { maxItems, ...rest } = options ?? {};
|
|
1964
|
-
return paginate((params) =>
|
|
1992
|
+
return paginate((params) => getApi20260701ResourcesFinanceCostCenters({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1965
1993
|
}
|
|
1966
1994
|
/**
|
|
1967
1995
|
* Fetch all cost_centers across all pages into a single array.
|
|
@@ -1971,13 +1999,13 @@ export class FinanceCostCentersResource {
|
|
|
1971
1999
|
return collectAll(this.paginate(options));
|
|
1972
2000
|
}
|
|
1973
2001
|
/** Creates a cost_centers record */
|
|
1974
|
-
create = (options) =>
|
|
2002
|
+
create = (options) => postApi20260701ResourcesFinanceCostCenters({ client: this._client, ...options });
|
|
1975
2003
|
/** Reads a single cost_centers record */
|
|
1976
|
-
get = (options) =>
|
|
2004
|
+
get = (options) => getApi20260701ResourcesFinanceCostCentersById({ client: this._client, ...options });
|
|
1977
2005
|
/** Deletes a cost_centers record */
|
|
1978
|
-
delete = (options) =>
|
|
2006
|
+
delete = (options) => deleteApi20260701ResourcesFinanceCostCentersById({ client: this._client, ...options });
|
|
1979
2007
|
/** edit */
|
|
1980
|
-
edit = (options) =>
|
|
2008
|
+
edit = (options) => postApi20260701ResourcesFinanceCostCentersEdit({ client: this._client, ...options });
|
|
1981
2009
|
}
|
|
1982
2010
|
/** Methods for the finance > financial_documents resource */
|
|
1983
2011
|
export class FinanceFinancialDocumentsResource {
|
|
@@ -1986,14 +2014,14 @@ export class FinanceFinancialDocumentsResource {
|
|
|
1986
2014
|
this._client = _client;
|
|
1987
2015
|
}
|
|
1988
2016
|
/** Lists all financial_documents */
|
|
1989
|
-
list = (options) =>
|
|
2017
|
+
list = (options) => getApi20260701ResourcesFinanceFinancialDocuments({ client: this._client, ...options });
|
|
1990
2018
|
/**
|
|
1991
2019
|
* Auto-paginate through all financial_documents, yielding one item at a time.
|
|
1992
2020
|
* @example for await (const item of client.finance.financialDocuments.paginate()) { ... }
|
|
1993
2021
|
*/
|
|
1994
2022
|
paginate(options) {
|
|
1995
2023
|
const { maxItems, ...rest } = options ?? {};
|
|
1996
|
-
return paginate((params) =>
|
|
2024
|
+
return paginate((params) => getApi20260701ResourcesFinanceFinancialDocuments({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
1997
2025
|
}
|
|
1998
2026
|
/**
|
|
1999
2027
|
* Fetch all financial_documents across all pages into a single array.
|
|
@@ -2003,7 +2031,7 @@ export class FinanceFinancialDocumentsResource {
|
|
|
2003
2031
|
return collectAll(this.paginate(options));
|
|
2004
2032
|
}
|
|
2005
2033
|
/** Reads a single financial_documents record */
|
|
2006
|
-
get = (options) =>
|
|
2034
|
+
get = (options) => getApi20260701ResourcesFinanceFinancialDocumentsById({ client: this._client, ...options });
|
|
2007
2035
|
}
|
|
2008
2036
|
/** Methods for the finance > journal_entries resource */
|
|
2009
2037
|
export class FinanceJournalEntriesResource {
|
|
@@ -2012,14 +2040,14 @@ export class FinanceJournalEntriesResource {
|
|
|
2012
2040
|
this._client = _client;
|
|
2013
2041
|
}
|
|
2014
2042
|
/** Lists all journal_entries */
|
|
2015
|
-
list = (options) =>
|
|
2043
|
+
list = (options) => getApi20260701ResourcesFinanceJournalEntries({ client: this._client, ...options });
|
|
2016
2044
|
/**
|
|
2017
2045
|
* Auto-paginate through all journal_entries, yielding one item at a time.
|
|
2018
2046
|
* @example for await (const item of client.finance.journalEntries.paginate()) { ... }
|
|
2019
2047
|
*/
|
|
2020
2048
|
paginate(options) {
|
|
2021
2049
|
const { maxItems, ...rest } = options ?? {};
|
|
2022
|
-
return paginate((params) =>
|
|
2050
|
+
return paginate((params) => getApi20260701ResourcesFinanceJournalEntries({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2023
2051
|
}
|
|
2024
2052
|
/**
|
|
2025
2053
|
* Fetch all journal_entries across all pages into a single array.
|
|
@@ -2029,9 +2057,9 @@ export class FinanceJournalEntriesResource {
|
|
|
2029
2057
|
return collectAll(this.paginate(options));
|
|
2030
2058
|
}
|
|
2031
2059
|
/** Creates a journal_entries record */
|
|
2032
|
-
create = (options) =>
|
|
2060
|
+
create = (options) => postApi20260701ResourcesFinanceJournalEntries({ client: this._client, ...options });
|
|
2033
2061
|
/** Reads a single journal_entries record */
|
|
2034
|
-
get = (options) =>
|
|
2062
|
+
get = (options) => getApi20260701ResourcesFinanceJournalEntriesById({ client: this._client, ...options });
|
|
2035
2063
|
}
|
|
2036
2064
|
/** Methods for the finance > journal_lines resource */
|
|
2037
2065
|
export class FinanceJournalLinesResource {
|
|
@@ -2040,14 +2068,14 @@ export class FinanceJournalLinesResource {
|
|
|
2040
2068
|
this._client = _client;
|
|
2041
2069
|
}
|
|
2042
2070
|
/** Lists all journal_lines */
|
|
2043
|
-
list = (options) =>
|
|
2071
|
+
list = (options) => getApi20260701ResourcesFinanceJournalLines({ client: this._client, ...options });
|
|
2044
2072
|
/**
|
|
2045
2073
|
* Auto-paginate through all journal_lines, yielding one item at a time.
|
|
2046
2074
|
* @example for await (const item of client.finance.journalLines.paginate()) { ... }
|
|
2047
2075
|
*/
|
|
2048
2076
|
paginate(options) {
|
|
2049
2077
|
const { maxItems, ...rest } = options ?? {};
|
|
2050
|
-
return paginate((params) =>
|
|
2078
|
+
return paginate((params) => getApi20260701ResourcesFinanceJournalLines({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2051
2079
|
}
|
|
2052
2080
|
/**
|
|
2053
2081
|
* Fetch all journal_lines across all pages into a single array.
|
|
@@ -2057,7 +2085,7 @@ export class FinanceJournalLinesResource {
|
|
|
2057
2085
|
return collectAll(this.paginate(options));
|
|
2058
2086
|
}
|
|
2059
2087
|
/** Reads a single journal_lines record */
|
|
2060
|
-
get = (options) =>
|
|
2088
|
+
get = (options) => getApi20260701ResourcesFinanceJournalLinesById({ client: this._client, ...options });
|
|
2061
2089
|
}
|
|
2062
2090
|
/** Methods for the finance > ledger_account_resources resource */
|
|
2063
2091
|
export class FinanceLedgerAccountResourcesResource {
|
|
@@ -2066,14 +2094,14 @@ export class FinanceLedgerAccountResourcesResource {
|
|
|
2066
2094
|
this._client = _client;
|
|
2067
2095
|
}
|
|
2068
2096
|
/** Lists all ledger_account_resources */
|
|
2069
|
-
list = (options) =>
|
|
2097
|
+
list = (options) => getApi20260701ResourcesFinanceLedgerAccountResources({ client: this._client, ...options });
|
|
2070
2098
|
/**
|
|
2071
2099
|
* Auto-paginate through all ledger_account_resources, yielding one item at a time.
|
|
2072
2100
|
* @example for await (const item of client.finance.ledgerAccountResources.paginate()) { ... }
|
|
2073
2101
|
*/
|
|
2074
2102
|
paginate(options) {
|
|
2075
2103
|
const { maxItems, ...rest } = options ?? {};
|
|
2076
|
-
return paginate((params) =>
|
|
2104
|
+
return paginate((params) => getApi20260701ResourcesFinanceLedgerAccountResources({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2077
2105
|
}
|
|
2078
2106
|
/**
|
|
2079
2107
|
* Fetch all ledger_account_resources across all pages into a single array.
|
|
@@ -2083,9 +2111,9 @@ export class FinanceLedgerAccountResourcesResource {
|
|
|
2083
2111
|
return collectAll(this.paginate(options));
|
|
2084
2112
|
}
|
|
2085
2113
|
/** Reads a single ledger_account_resources record */
|
|
2086
|
-
get = (options) =>
|
|
2114
|
+
get = (options) => getApi20260701ResourcesFinanceLedgerAccountResourcesById({ client: this._client, ...options });
|
|
2087
2115
|
/** upsert */
|
|
2088
|
-
upsert = (options) =>
|
|
2116
|
+
upsert = (options) => postApi20260701ResourcesFinanceLedgerAccountResourcesUpsert({ client: this._client, ...options });
|
|
2089
2117
|
}
|
|
2090
2118
|
/** Methods for the finance > tax_rates resource */
|
|
2091
2119
|
export class FinanceTaxRatesResource {
|
|
@@ -2094,14 +2122,14 @@ export class FinanceTaxRatesResource {
|
|
|
2094
2122
|
this._client = _client;
|
|
2095
2123
|
}
|
|
2096
2124
|
/** Lists all tax_rates */
|
|
2097
|
-
list = (options) =>
|
|
2125
|
+
list = (options) => getApi20260701ResourcesFinanceTaxRates({ client: this._client, ...options });
|
|
2098
2126
|
/**
|
|
2099
2127
|
* Auto-paginate through all tax_rates, yielding one item at a time.
|
|
2100
2128
|
* @example for await (const item of client.finance.taxRates.paginate()) { ... }
|
|
2101
2129
|
*/
|
|
2102
2130
|
paginate(options) {
|
|
2103
2131
|
const { maxItems, ...rest } = options ?? {};
|
|
2104
|
-
return paginate((params) =>
|
|
2132
|
+
return paginate((params) => getApi20260701ResourcesFinanceTaxRates({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2105
2133
|
}
|
|
2106
2134
|
/**
|
|
2107
2135
|
* Fetch all tax_rates across all pages into a single array.
|
|
@@ -2111,11 +2139,11 @@ export class FinanceTaxRatesResource {
|
|
|
2111
2139
|
return collectAll(this.paginate(options));
|
|
2112
2140
|
}
|
|
2113
2141
|
/** Creates a tax_rates record */
|
|
2114
|
-
create = (options) =>
|
|
2142
|
+
create = (options) => postApi20260701ResourcesFinanceTaxRates({ client: this._client, ...options });
|
|
2115
2143
|
/** Reads a single tax_rates record */
|
|
2116
|
-
get = (options) =>
|
|
2144
|
+
get = (options) => getApi20260701ResourcesFinanceTaxRatesById({ client: this._client, ...options });
|
|
2117
2145
|
/** Updates a tax_rates record */
|
|
2118
|
-
update = (options) =>
|
|
2146
|
+
update = (options) => putApi20260701ResourcesFinanceTaxRatesById({ client: this._client, ...options });
|
|
2119
2147
|
}
|
|
2120
2148
|
/** Methods for the finance > tax_types resource */
|
|
2121
2149
|
export class FinanceTaxTypesResource {
|
|
@@ -2124,14 +2152,14 @@ export class FinanceTaxTypesResource {
|
|
|
2124
2152
|
this._client = _client;
|
|
2125
2153
|
}
|
|
2126
2154
|
/** Lists all tax_types */
|
|
2127
|
-
list = (options) =>
|
|
2155
|
+
list = (options) => getApi20260701ResourcesFinanceTaxTypes({ client: this._client, ...options });
|
|
2128
2156
|
/**
|
|
2129
2157
|
* Auto-paginate through all tax_types, yielding one item at a time.
|
|
2130
2158
|
* @example for await (const item of client.finance.taxTypes.paginate()) { ... }
|
|
2131
2159
|
*/
|
|
2132
2160
|
paginate(options) {
|
|
2133
2161
|
const { maxItems, ...rest } = options ?? {};
|
|
2134
|
-
return paginate((params) =>
|
|
2162
|
+
return paginate((params) => getApi20260701ResourcesFinanceTaxTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2135
2163
|
}
|
|
2136
2164
|
/**
|
|
2137
2165
|
* Fetch all tax_types across all pages into a single array.
|
|
@@ -2141,11 +2169,11 @@ export class FinanceTaxTypesResource {
|
|
|
2141
2169
|
return collectAll(this.paginate(options));
|
|
2142
2170
|
}
|
|
2143
2171
|
/** Creates a tax_types record */
|
|
2144
|
-
create = (options) =>
|
|
2172
|
+
create = (options) => postApi20260701ResourcesFinanceTaxTypes({ client: this._client, ...options });
|
|
2145
2173
|
/** Reads a single tax_types record */
|
|
2146
|
-
get = (options) =>
|
|
2174
|
+
get = (options) => getApi20260701ResourcesFinanceTaxTypesById({ client: this._client, ...options });
|
|
2147
2175
|
/** Updates a tax_types record */
|
|
2148
|
-
update = (options) =>
|
|
2176
|
+
update = (options) => putApi20260701ResourcesFinanceTaxTypesById({ client: this._client, ...options });
|
|
2149
2177
|
}
|
|
2150
2178
|
/** Methods for the holidays > company_holidays resource */
|
|
2151
2179
|
export class HolidaysCompanyHolidaysResource {
|
|
@@ -2154,14 +2182,14 @@ export class HolidaysCompanyHolidaysResource {
|
|
|
2154
2182
|
this._client = _client;
|
|
2155
2183
|
}
|
|
2156
2184
|
/** Lists all company_holidays */
|
|
2157
|
-
list = (options) =>
|
|
2185
|
+
list = (options) => getApi20260701ResourcesHolidaysCompanyHolidays({ client: this._client, ...options });
|
|
2158
2186
|
/**
|
|
2159
2187
|
* Auto-paginate through all company_holidays, yielding one item at a time.
|
|
2160
2188
|
* @example for await (const item of client.holidays.companyHolidays.paginate()) { ... }
|
|
2161
2189
|
*/
|
|
2162
2190
|
paginate(options) {
|
|
2163
2191
|
const { maxItems, ...rest } = options ?? {};
|
|
2164
|
-
return paginate((params) =>
|
|
2192
|
+
return paginate((params) => getApi20260701ResourcesHolidaysCompanyHolidays({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2165
2193
|
}
|
|
2166
2194
|
/**
|
|
2167
2195
|
* Fetch all company_holidays across all pages into a single array.
|
|
@@ -2171,7 +2199,16 @@ export class HolidaysCompanyHolidaysResource {
|
|
|
2171
2199
|
return collectAll(this.paginate(options));
|
|
2172
2200
|
}
|
|
2173
2201
|
/** Reads a single company_holidays record */
|
|
2174
|
-
get = (options) =>
|
|
2202
|
+
get = (options) => getApi20260701ResourcesHolidaysCompanyHolidaysById({ client: this._client, ...options });
|
|
2203
|
+
}
|
|
2204
|
+
/** Methods for the integrations > sync_run_outputs resource */
|
|
2205
|
+
export class IntegrationsSyncRunOutputsResource {
|
|
2206
|
+
_client;
|
|
2207
|
+
constructor(_client) {
|
|
2208
|
+
this._client = _client;
|
|
2209
|
+
}
|
|
2210
|
+
/** Creates a sync_run_outputs record */
|
|
2211
|
+
create = (options) => postApi20260701ResourcesIntegrationsSyncRunOutputs({ client: this._client, ...options });
|
|
2175
2212
|
}
|
|
2176
2213
|
/** Methods for the integrations > syncable_items resource */
|
|
2177
2214
|
export class IntegrationsSyncableItemsResource {
|
|
@@ -2180,14 +2217,14 @@ export class IntegrationsSyncableItemsResource {
|
|
|
2180
2217
|
this._client = _client;
|
|
2181
2218
|
}
|
|
2182
2219
|
/** Lists all syncable_items */
|
|
2183
|
-
list = (options) =>
|
|
2220
|
+
list = (options) => getApi20260701ResourcesIntegrationsSyncableItems({ client: this._client, ...options });
|
|
2184
2221
|
/**
|
|
2185
2222
|
* Auto-paginate through all syncable_items, yielding one item at a time.
|
|
2186
2223
|
* @example for await (const item of client.integrations.syncableItems.paginate()) { ... }
|
|
2187
2224
|
*/
|
|
2188
2225
|
paginate(options) {
|
|
2189
2226
|
const { maxItems, ...rest } = options ?? {};
|
|
2190
|
-
return paginate((params) =>
|
|
2227
|
+
return paginate((params) => getApi20260701ResourcesIntegrationsSyncableItems({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2191
2228
|
}
|
|
2192
2229
|
/**
|
|
2193
2230
|
* Fetch all syncable_items across all pages into a single array.
|
|
@@ -2204,7 +2241,7 @@ export class IntegrationsSyncableSyncRunsResource {
|
|
|
2204
2241
|
this._client = _client;
|
|
2205
2242
|
}
|
|
2206
2243
|
/** Updates a syncable_sync_runs record */
|
|
2207
|
-
update = (options) =>
|
|
2244
|
+
update = (options) => putApi20260701ResourcesIntegrationsSyncableSyncRunsById({ client: this._client, ...options });
|
|
2208
2245
|
}
|
|
2209
2246
|
/** Methods for the it_management > it_asset_models resource */
|
|
2210
2247
|
export class ItManagementItAssetModelsResource {
|
|
@@ -2213,14 +2250,14 @@ export class ItManagementItAssetModelsResource {
|
|
|
2213
2250
|
this._client = _client;
|
|
2214
2251
|
}
|
|
2215
2252
|
/** Lists all it_asset_models */
|
|
2216
|
-
list = (options) =>
|
|
2253
|
+
list = (options) => getApi20260701ResourcesItManagementItAssetModels({ client: this._client, ...options });
|
|
2217
2254
|
/**
|
|
2218
2255
|
* Auto-paginate through all it_asset_models, yielding one item at a time.
|
|
2219
2256
|
* @example for await (const item of client.itManagement.itAssetModels.paginate()) { ... }
|
|
2220
2257
|
*/
|
|
2221
2258
|
paginate(options) {
|
|
2222
2259
|
const { maxItems, ...rest } = options ?? {};
|
|
2223
|
-
return paginate((params) =>
|
|
2260
|
+
return paginate((params) => getApi20260701ResourcesItManagementItAssetModels({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2224
2261
|
}
|
|
2225
2262
|
/**
|
|
2226
2263
|
* Fetch all it_asset_models across all pages into a single array.
|
|
@@ -2230,11 +2267,11 @@ export class ItManagementItAssetModelsResource {
|
|
|
2230
2267
|
return collectAll(this.paginate(options));
|
|
2231
2268
|
}
|
|
2232
2269
|
/** Creates a it_asset_models record */
|
|
2233
|
-
create = (options) =>
|
|
2270
|
+
create = (options) => postApi20260701ResourcesItManagementItAssetModels({ client: this._client, ...options });
|
|
2234
2271
|
/** Reads a single it_asset_models record */
|
|
2235
|
-
get = (options) =>
|
|
2272
|
+
get = (options) => getApi20260701ResourcesItManagementItAssetModelsById({ client: this._client, ...options });
|
|
2236
2273
|
/** Updates a it_asset_models record */
|
|
2237
|
-
update = (options) =>
|
|
2274
|
+
update = (options) => putApi20260701ResourcesItManagementItAssetModelsById({ client: this._client, ...options });
|
|
2238
2275
|
}
|
|
2239
2276
|
/** Methods for the it_management > it_assets resource */
|
|
2240
2277
|
export class ItManagementItAssetsResource {
|
|
@@ -2243,14 +2280,14 @@ export class ItManagementItAssetsResource {
|
|
|
2243
2280
|
this._client = _client;
|
|
2244
2281
|
}
|
|
2245
2282
|
/** Lists all it_assets */
|
|
2246
|
-
list = (options) =>
|
|
2283
|
+
list = (options) => getApi20260701ResourcesItManagementItAssets({ client: this._client, ...options });
|
|
2247
2284
|
/**
|
|
2248
2285
|
* Auto-paginate through all it_assets, yielding one item at a time.
|
|
2249
2286
|
* @example for await (const item of client.itManagement.itAssets.paginate()) { ... }
|
|
2250
2287
|
*/
|
|
2251
2288
|
paginate(options) {
|
|
2252
2289
|
const { maxItems, ...rest } = options ?? {};
|
|
2253
|
-
return paginate((params) =>
|
|
2290
|
+
return paginate((params) => getApi20260701ResourcesItManagementItAssets({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2254
2291
|
}
|
|
2255
2292
|
/**
|
|
2256
2293
|
* Fetch all it_assets across all pages into a single array.
|
|
@@ -2260,13 +2297,13 @@ export class ItManagementItAssetsResource {
|
|
|
2260
2297
|
return collectAll(this.paginate(options));
|
|
2261
2298
|
}
|
|
2262
2299
|
/** Creates a it_assets record */
|
|
2263
|
-
create = (options) =>
|
|
2300
|
+
create = (options) => postApi20260701ResourcesItManagementItAssets({ client: this._client, ...options });
|
|
2264
2301
|
/** Reads a single it_assets record */
|
|
2265
|
-
get = (options) =>
|
|
2302
|
+
get = (options) => getApi20260701ResourcesItManagementItAssetsById({ client: this._client, ...options });
|
|
2266
2303
|
/** Updates a it_assets record */
|
|
2267
|
-
update = (options) =>
|
|
2304
|
+
update = (options) => putApi20260701ResourcesItManagementItAssetsById({ client: this._client, ...options });
|
|
2268
2305
|
/** Deletes a it_assets record */
|
|
2269
|
-
delete = (options) =>
|
|
2306
|
+
delete = (options) => deleteApi20260701ResourcesItManagementItAssetsById({ client: this._client, ...options });
|
|
2270
2307
|
}
|
|
2271
2308
|
/** Methods for the job_catalog > levels resource */
|
|
2272
2309
|
export class JobCatalogLevelsResource {
|
|
@@ -2275,14 +2312,14 @@ export class JobCatalogLevelsResource {
|
|
|
2275
2312
|
this._client = _client;
|
|
2276
2313
|
}
|
|
2277
2314
|
/** Lists all levels */
|
|
2278
|
-
list = (options) =>
|
|
2315
|
+
list = (options) => getApi20260701ResourcesJobCatalogLevels({ client: this._client, ...options });
|
|
2279
2316
|
/**
|
|
2280
2317
|
* Auto-paginate through all levels, yielding one item at a time.
|
|
2281
2318
|
* @example for await (const item of client.jobCatalog.levels.paginate()) { ... }
|
|
2282
2319
|
*/
|
|
2283
2320
|
paginate(options) {
|
|
2284
2321
|
const { maxItems, ...rest } = options ?? {};
|
|
2285
|
-
return paginate((params) =>
|
|
2322
|
+
return paginate((params) => getApi20260701ResourcesJobCatalogLevels({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2286
2323
|
}
|
|
2287
2324
|
/**
|
|
2288
2325
|
* Fetch all levels across all pages into a single array.
|
|
@@ -2292,7 +2329,7 @@ export class JobCatalogLevelsResource {
|
|
|
2292
2329
|
return collectAll(this.paginate(options));
|
|
2293
2330
|
}
|
|
2294
2331
|
/** Reads a single levels record */
|
|
2295
|
-
get = (options) =>
|
|
2332
|
+
get = (options) => getApi20260701ResourcesJobCatalogLevelsById({ client: this._client, ...options });
|
|
2296
2333
|
}
|
|
2297
2334
|
/** Methods for the job_catalog > node_attributes resource */
|
|
2298
2335
|
export class JobCatalogNodeAttributesResource {
|
|
@@ -2301,14 +2338,14 @@ export class JobCatalogNodeAttributesResource {
|
|
|
2301
2338
|
this._client = _client;
|
|
2302
2339
|
}
|
|
2303
2340
|
/** Lists all node_attributes */
|
|
2304
|
-
list = (options) =>
|
|
2341
|
+
list = (options) => getApi20260701ResourcesJobCatalogNodeAttributes({ client: this._client, ...options });
|
|
2305
2342
|
/**
|
|
2306
2343
|
* Auto-paginate through all node_attributes, yielding one item at a time.
|
|
2307
2344
|
* @example for await (const item of client.jobCatalog.nodeAttributes.paginate()) { ... }
|
|
2308
2345
|
*/
|
|
2309
2346
|
paginate(options) {
|
|
2310
2347
|
const { maxItems, ...rest } = options ?? {};
|
|
2311
|
-
return paginate((params) =>
|
|
2348
|
+
return paginate((params) => getApi20260701ResourcesJobCatalogNodeAttributes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2312
2349
|
}
|
|
2313
2350
|
/**
|
|
2314
2351
|
* Fetch all node_attributes across all pages into a single array.
|
|
@@ -2325,14 +2362,14 @@ export class JobCatalogRolesResource {
|
|
|
2325
2362
|
this._client = _client;
|
|
2326
2363
|
}
|
|
2327
2364
|
/** Lists all roles */
|
|
2328
|
-
list = (options) =>
|
|
2365
|
+
list = (options) => getApi20260701ResourcesJobCatalogRoles({ client: this._client, ...options });
|
|
2329
2366
|
/**
|
|
2330
2367
|
* Auto-paginate through all roles, yielding one item at a time.
|
|
2331
2368
|
* @example for await (const item of client.jobCatalog.roles.paginate()) { ... }
|
|
2332
2369
|
*/
|
|
2333
2370
|
paginate(options) {
|
|
2334
2371
|
const { maxItems, ...rest } = options ?? {};
|
|
2335
|
-
return paginate((params) =>
|
|
2372
|
+
return paginate((params) => getApi20260701ResourcesJobCatalogRoles({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2336
2373
|
}
|
|
2337
2374
|
/**
|
|
2338
2375
|
* Fetch all roles across all pages into a single array.
|
|
@@ -2342,7 +2379,7 @@ export class JobCatalogRolesResource {
|
|
|
2342
2379
|
return collectAll(this.paginate(options));
|
|
2343
2380
|
}
|
|
2344
2381
|
/** Reads a single roles record */
|
|
2345
|
-
get = (options) =>
|
|
2382
|
+
get = (options) => getApi20260701ResourcesJobCatalogRolesById({ client: this._client, ...options });
|
|
2346
2383
|
}
|
|
2347
2384
|
/** Methods for the job_catalog > tree_nodes resource */
|
|
2348
2385
|
export class JobCatalogTreeNodesResource {
|
|
@@ -2351,14 +2388,14 @@ export class JobCatalogTreeNodesResource {
|
|
|
2351
2388
|
this._client = _client;
|
|
2352
2389
|
}
|
|
2353
2390
|
/** Lists all tree_nodes */
|
|
2354
|
-
list = (options) =>
|
|
2391
|
+
list = (options) => getApi20260701ResourcesJobCatalogTreeNodes({ client: this._client, ...options });
|
|
2355
2392
|
/**
|
|
2356
2393
|
* Auto-paginate through all tree_nodes, yielding one item at a time.
|
|
2357
2394
|
* @example for await (const item of client.jobCatalog.treeNodes.paginate()) { ... }
|
|
2358
2395
|
*/
|
|
2359
2396
|
paginate(options) {
|
|
2360
2397
|
const { maxItems, ...rest } = options ?? {};
|
|
2361
|
-
return paginate((params) =>
|
|
2398
|
+
return paginate((params) => getApi20260701ResourcesJobCatalogTreeNodes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2362
2399
|
}
|
|
2363
2400
|
/**
|
|
2364
2401
|
* Fetch all tree_nodes across all pages into a single array.
|
|
@@ -2375,14 +2412,14 @@ export class LocationsLocationsResource {
|
|
|
2375
2412
|
this._client = _client;
|
|
2376
2413
|
}
|
|
2377
2414
|
/** Lists all locations */
|
|
2378
|
-
list = (options) =>
|
|
2415
|
+
list = (options) => getApi20260701ResourcesLocationsLocations({ client: this._client, ...options });
|
|
2379
2416
|
/**
|
|
2380
2417
|
* Auto-paginate through all locations, yielding one item at a time.
|
|
2381
2418
|
* @example for await (const item of client.locations.locations.paginate()) { ... }
|
|
2382
2419
|
*/
|
|
2383
2420
|
paginate(options) {
|
|
2384
2421
|
const { maxItems, ...rest } = options ?? {};
|
|
2385
|
-
return paginate((params) =>
|
|
2422
|
+
return paginate((params) => getApi20260701ResourcesLocationsLocations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2386
2423
|
}
|
|
2387
2424
|
/**
|
|
2388
2425
|
* Fetch all locations across all pages into a single array.
|
|
@@ -2392,13 +2429,13 @@ export class LocationsLocationsResource {
|
|
|
2392
2429
|
return collectAll(this.paginate(options));
|
|
2393
2430
|
}
|
|
2394
2431
|
/** Creates a locations record */
|
|
2395
|
-
create = (options) =>
|
|
2432
|
+
create = (options) => postApi20260701ResourcesLocationsLocations({ client: this._client, ...options });
|
|
2396
2433
|
/** Reads a single locations record */
|
|
2397
|
-
get = (options) =>
|
|
2434
|
+
get = (options) => getApi20260701ResourcesLocationsLocationsById({ client: this._client, ...options });
|
|
2398
2435
|
/** Updates a locations record */
|
|
2399
|
-
update = (options) =>
|
|
2436
|
+
update = (options) => putApi20260701ResourcesLocationsLocationsById({ client: this._client, ...options });
|
|
2400
2437
|
/** Deletes a locations record */
|
|
2401
|
-
delete = (options) =>
|
|
2438
|
+
delete = (options) => deleteApi20260701ResourcesLocationsLocationsById({ client: this._client, ...options });
|
|
2402
2439
|
}
|
|
2403
2440
|
/** Methods for the locations > work_areas resource */
|
|
2404
2441
|
export class LocationsWorkAreasResource {
|
|
@@ -2407,14 +2444,14 @@ export class LocationsWorkAreasResource {
|
|
|
2407
2444
|
this._client = _client;
|
|
2408
2445
|
}
|
|
2409
2446
|
/** Lists all work_areas */
|
|
2410
|
-
list = (options) =>
|
|
2447
|
+
list = (options) => getApi20260701ResourcesLocationsWorkAreas({ client: this._client, ...options });
|
|
2411
2448
|
/**
|
|
2412
2449
|
* Auto-paginate through all work_areas, yielding one item at a time.
|
|
2413
2450
|
* @example for await (const item of client.locations.workAreas.paginate()) { ... }
|
|
2414
2451
|
*/
|
|
2415
2452
|
paginate(options) {
|
|
2416
2453
|
const { maxItems, ...rest } = options ?? {};
|
|
2417
|
-
return paginate((params) =>
|
|
2454
|
+
return paginate((params) => getApi20260701ResourcesLocationsWorkAreas({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2418
2455
|
}
|
|
2419
2456
|
/**
|
|
2420
2457
|
* Fetch all work_areas across all pages into a single array.
|
|
@@ -2424,15 +2461,15 @@ export class LocationsWorkAreasResource {
|
|
|
2424
2461
|
return collectAll(this.paginate(options));
|
|
2425
2462
|
}
|
|
2426
2463
|
/** Creates a work_areas record */
|
|
2427
|
-
create = (options) =>
|
|
2464
|
+
create = (options) => postApi20260701ResourcesLocationsWorkAreas({ client: this._client, ...options });
|
|
2428
2465
|
/** Reads a single work_areas record */
|
|
2429
|
-
get = (options) =>
|
|
2466
|
+
get = (options) => getApi20260701ResourcesLocationsWorkAreasById({ client: this._client, ...options });
|
|
2430
2467
|
/** Updates a work_areas record */
|
|
2431
|
-
update = (options) =>
|
|
2468
|
+
update = (options) => putApi20260701ResourcesLocationsWorkAreasById({ client: this._client, ...options });
|
|
2432
2469
|
/** archive */
|
|
2433
|
-
archive = (options) =>
|
|
2470
|
+
archive = (options) => postApi20260701ResourcesLocationsWorkAreasArchive({ client: this._client, ...options });
|
|
2434
2471
|
/** unarchive */
|
|
2435
|
-
unarchive = (options) =>
|
|
2472
|
+
unarchive = (options) => postApi20260701ResourcesLocationsWorkAreasUnarchive({ client: this._client, ...options });
|
|
2436
2473
|
}
|
|
2437
2474
|
/** Methods for the marketplace > installation_settings resource */
|
|
2438
2475
|
export class MarketplaceInstallationSettingsResource {
|
|
@@ -2441,14 +2478,14 @@ export class MarketplaceInstallationSettingsResource {
|
|
|
2441
2478
|
this._client = _client;
|
|
2442
2479
|
}
|
|
2443
2480
|
/** Lists all installation_settings */
|
|
2444
|
-
list = (options) =>
|
|
2481
|
+
list = (options) => getApi20260701ResourcesMarketplaceInstallationSettings({ client: this._client, ...options });
|
|
2445
2482
|
/**
|
|
2446
2483
|
* Auto-paginate through all installation_settings, yielding one item at a time.
|
|
2447
2484
|
* @example for await (const item of client.marketplace.installationSettings.paginate()) { ... }
|
|
2448
2485
|
*/
|
|
2449
2486
|
paginate(options) {
|
|
2450
2487
|
const { maxItems, ...rest } = options ?? {};
|
|
2451
|
-
return paginate((params) =>
|
|
2488
|
+
return paginate((params) => getApi20260701ResourcesMarketplaceInstallationSettings({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2452
2489
|
}
|
|
2453
2490
|
/**
|
|
2454
2491
|
* Fetch all installation_settings across all pages into a single array.
|
|
@@ -2465,7 +2502,7 @@ export class MarketplaceInstallationsResource {
|
|
|
2465
2502
|
this._client = _client;
|
|
2466
2503
|
}
|
|
2467
2504
|
/** Creates a installations record */
|
|
2468
|
-
create = (options) =>
|
|
2505
|
+
create = (options) => postApi20260701ResourcesMarketplaceInstallations({ client: this._client, ...options });
|
|
2469
2506
|
}
|
|
2470
2507
|
/** Methods for the payroll > family_situations resource */
|
|
2471
2508
|
export class PayrollFamilySituationsResource {
|
|
@@ -2474,14 +2511,14 @@ export class PayrollFamilySituationsResource {
|
|
|
2474
2511
|
this._client = _client;
|
|
2475
2512
|
}
|
|
2476
2513
|
/** Lists all family_situations */
|
|
2477
|
-
list = (options) =>
|
|
2514
|
+
list = (options) => getApi20260701ResourcesPayrollFamilySituations({ client: this._client, ...options });
|
|
2478
2515
|
/**
|
|
2479
2516
|
* Auto-paginate through all family_situations, yielding one item at a time.
|
|
2480
2517
|
* @example for await (const item of client.payroll.familySituations.paginate()) { ... }
|
|
2481
2518
|
*/
|
|
2482
2519
|
paginate(options) {
|
|
2483
2520
|
const { maxItems, ...rest } = options ?? {};
|
|
2484
|
-
return paginate((params) =>
|
|
2521
|
+
return paginate((params) => getApi20260701ResourcesPayrollFamilySituations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2485
2522
|
}
|
|
2486
2523
|
/**
|
|
2487
2524
|
* Fetch all family_situations across all pages into a single array.
|
|
@@ -2491,9 +2528,9 @@ export class PayrollFamilySituationsResource {
|
|
|
2491
2528
|
return collectAll(this.paginate(options));
|
|
2492
2529
|
}
|
|
2493
2530
|
/** Creates a family_situations record */
|
|
2494
|
-
create = (options) =>
|
|
2531
|
+
create = (options) => postApi20260701ResourcesPayrollFamilySituations({ client: this._client, ...options });
|
|
2495
2532
|
/** Updates a family_situations record */
|
|
2496
|
-
update = (options) =>
|
|
2533
|
+
update = (options) => putApi20260701ResourcesPayrollFamilySituationsById({ client: this._client, ...options });
|
|
2497
2534
|
}
|
|
2498
2535
|
/** Methods for the payroll > policy_periods resource */
|
|
2499
2536
|
export class PayrollPolicyPeriodsResource {
|
|
@@ -2502,7 +2539,7 @@ export class PayrollPolicyPeriodsResource {
|
|
|
2502
2539
|
this._client = _client;
|
|
2503
2540
|
}
|
|
2504
2541
|
/** changeStatus */
|
|
2505
|
-
changeStatus = (options) =>
|
|
2542
|
+
changeStatus = (options) => postApi20260701ResourcesPayrollPolicyPeriodsChangeStatus({ client: this._client, ...options });
|
|
2506
2543
|
}
|
|
2507
2544
|
/** Methods for the payroll > supplements resource */
|
|
2508
2545
|
export class PayrollSupplementsResource {
|
|
@@ -2511,14 +2548,14 @@ export class PayrollSupplementsResource {
|
|
|
2511
2548
|
this._client = _client;
|
|
2512
2549
|
}
|
|
2513
2550
|
/** Lists all supplements */
|
|
2514
|
-
list = (options) =>
|
|
2551
|
+
list = (options) => getApi20260701ResourcesPayrollSupplements({ client: this._client, ...options });
|
|
2515
2552
|
/**
|
|
2516
2553
|
* Auto-paginate through all supplements, yielding one item at a time.
|
|
2517
2554
|
* @example for await (const item of client.payroll.supplements.paginate()) { ... }
|
|
2518
2555
|
*/
|
|
2519
2556
|
paginate(options) {
|
|
2520
2557
|
const { maxItems, ...rest } = options ?? {};
|
|
2521
|
-
return paginate((params) =>
|
|
2558
|
+
return paginate((params) => getApi20260701ResourcesPayrollSupplements({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2522
2559
|
}
|
|
2523
2560
|
/**
|
|
2524
2561
|
* Fetch all supplements across all pages into a single array.
|
|
@@ -2528,13 +2565,13 @@ export class PayrollSupplementsResource {
|
|
|
2528
2565
|
return collectAll(this.paginate(options));
|
|
2529
2566
|
}
|
|
2530
2567
|
/** Creates a supplements record */
|
|
2531
|
-
create = (options) =>
|
|
2568
|
+
create = (options) => postApi20260701ResourcesPayrollSupplements({ client: this._client, ...options });
|
|
2532
2569
|
/** Reads a single supplements record */
|
|
2533
|
-
get = (options) =>
|
|
2570
|
+
get = (options) => getApi20260701ResourcesPayrollSupplementsById({ client: this._client, ...options });
|
|
2534
2571
|
/** Updates a supplements record */
|
|
2535
|
-
update = (options) =>
|
|
2572
|
+
update = (options) => putApi20260701ResourcesPayrollSupplementsById({ client: this._client, ...options });
|
|
2536
2573
|
/** Deletes a supplements record */
|
|
2537
|
-
delete = (options) =>
|
|
2574
|
+
delete = (options) => deleteApi20260701ResourcesPayrollSupplementsById({ client: this._client, ...options });
|
|
2538
2575
|
}
|
|
2539
2576
|
/** Methods for the payroll_employees > identifiers resource */
|
|
2540
2577
|
export class PayrollEmployeesIdentifiersResource {
|
|
@@ -2543,14 +2580,14 @@ export class PayrollEmployeesIdentifiersResource {
|
|
|
2543
2580
|
this._client = _client;
|
|
2544
2581
|
}
|
|
2545
2582
|
/** Lists all identifiers */
|
|
2546
|
-
list = (options) =>
|
|
2583
|
+
list = (options) => getApi20260701ResourcesPayrollEmployeesIdentifiers({ client: this._client, ...options });
|
|
2547
2584
|
/**
|
|
2548
2585
|
* Auto-paginate through all identifiers, yielding one item at a time.
|
|
2549
2586
|
* @example for await (const item of client.payrollEmployees.identifiers.paginate()) { ... }
|
|
2550
2587
|
*/
|
|
2551
2588
|
paginate(options) {
|
|
2552
2589
|
const { maxItems, ...rest } = options ?? {};
|
|
2553
|
-
return paginate((params) =>
|
|
2590
|
+
return paginate((params) => getApi20260701ResourcesPayrollEmployeesIdentifiers({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2554
2591
|
}
|
|
2555
2592
|
/**
|
|
2556
2593
|
* Fetch all identifiers across all pages into a single array.
|
|
@@ -2560,13 +2597,13 @@ export class PayrollEmployeesIdentifiersResource {
|
|
|
2560
2597
|
return collectAll(this.paginate(options));
|
|
2561
2598
|
}
|
|
2562
2599
|
/** Creates a identifiers record */
|
|
2563
|
-
create = (options) =>
|
|
2600
|
+
create = (options) => postApi20260701ResourcesPayrollEmployeesIdentifiers({ client: this._client, ...options });
|
|
2564
2601
|
/** Reads a single identifiers record */
|
|
2565
|
-
get = (options) =>
|
|
2602
|
+
get = (options) => getApi20260701ResourcesPayrollEmployeesIdentifiersById({ client: this._client, ...options });
|
|
2566
2603
|
/** Updates a identifiers record */
|
|
2567
|
-
update = (options) =>
|
|
2604
|
+
update = (options) => putApi20260701ResourcesPayrollEmployeesIdentifiersById({ client: this._client, ...options });
|
|
2568
2605
|
/** Deletes a identifiers record */
|
|
2569
|
-
delete = (options) =>
|
|
2606
|
+
delete = (options) => deleteApi20260701ResourcesPayrollEmployeesIdentifiersById({ client: this._client, ...options });
|
|
2570
2607
|
}
|
|
2571
2608
|
/** Methods for the payroll_integrations_base > codes resource */
|
|
2572
2609
|
export class PayrollIntegrationsBaseCodesResource {
|
|
@@ -2575,14 +2612,14 @@ export class PayrollIntegrationsBaseCodesResource {
|
|
|
2575
2612
|
this._client = _client;
|
|
2576
2613
|
}
|
|
2577
2614
|
/** Lists all codes */
|
|
2578
|
-
list = (options) =>
|
|
2615
|
+
list = (options) => getApi20260701ResourcesPayrollIntegrationsBaseCodes({ client: this._client, ...options });
|
|
2579
2616
|
/**
|
|
2580
2617
|
* Auto-paginate through all codes, yielding one item at a time.
|
|
2581
2618
|
* @example for await (const item of client.payrollIntegrationsBase.codes.paginate()) { ... }
|
|
2582
2619
|
*/
|
|
2583
2620
|
paginate(options) {
|
|
2584
2621
|
const { maxItems, ...rest } = options ?? {};
|
|
2585
|
-
return paginate((params) =>
|
|
2622
|
+
return paginate((params) => getApi20260701ResourcesPayrollIntegrationsBaseCodes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2586
2623
|
}
|
|
2587
2624
|
/**
|
|
2588
2625
|
* Fetch all codes across all pages into a single array.
|
|
@@ -2592,11 +2629,11 @@ export class PayrollIntegrationsBaseCodesResource {
|
|
|
2592
2629
|
return collectAll(this.paginate(options));
|
|
2593
2630
|
}
|
|
2594
2631
|
/** Creates a codes record */
|
|
2595
|
-
create = (options) =>
|
|
2632
|
+
create = (options) => postApi20260701ResourcesPayrollIntegrationsBaseCodes({ client: this._client, ...options });
|
|
2596
2633
|
/** Updates a codes record */
|
|
2597
|
-
update = (options) =>
|
|
2634
|
+
update = (options) => putApi20260701ResourcesPayrollIntegrationsBaseCodesById({ client: this._client, ...options });
|
|
2598
2635
|
/** Deletes a codes record */
|
|
2599
|
-
delete = (options) =>
|
|
2636
|
+
delete = (options) => deleteApi20260701ResourcesPayrollIntegrationsBaseCodesById({ client: this._client, ...options });
|
|
2600
2637
|
}
|
|
2601
2638
|
/** Methods for the performance > agreements resource */
|
|
2602
2639
|
export class PerformanceAgreementsResource {
|
|
@@ -2605,14 +2642,14 @@ export class PerformanceAgreementsResource {
|
|
|
2605
2642
|
this._client = _client;
|
|
2606
2643
|
}
|
|
2607
2644
|
/** Lists all agreements */
|
|
2608
|
-
list = (options) =>
|
|
2645
|
+
list = (options) => getApi20260701ResourcesPerformanceAgreements({ client: this._client, ...options });
|
|
2609
2646
|
/**
|
|
2610
2647
|
* Auto-paginate through all agreements, yielding one item at a time.
|
|
2611
2648
|
* @example for await (const item of client.performance.agreements.paginate()) { ... }
|
|
2612
2649
|
*/
|
|
2613
2650
|
paginate(options) {
|
|
2614
2651
|
const { maxItems, ...rest } = options ?? {};
|
|
2615
|
-
return paginate((params) =>
|
|
2652
|
+
return paginate((params) => getApi20260701ResourcesPerformanceAgreements({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2616
2653
|
}
|
|
2617
2654
|
/**
|
|
2618
2655
|
* Fetch all agreements across all pages into a single array.
|
|
@@ -2622,11 +2659,11 @@ export class PerformanceAgreementsResource {
|
|
|
2622
2659
|
return collectAll(this.paginate(options));
|
|
2623
2660
|
}
|
|
2624
2661
|
/** Reads a single agreements record */
|
|
2625
|
-
get = (options) =>
|
|
2662
|
+
get = (options) => getApi20260701ResourcesPerformanceAgreementsById({ client: this._client, ...options });
|
|
2626
2663
|
/** bulkInitiate */
|
|
2627
|
-
bulkInitiate = (options) =>
|
|
2664
|
+
bulkInitiate = (options) => postApi20260701ResourcesPerformanceAgreementsBulkInitiate({ client: this._client, ...options });
|
|
2628
2665
|
/** initiate */
|
|
2629
|
-
initiate = (options) =>
|
|
2666
|
+
initiate = (options) => postApi20260701ResourcesPerformanceAgreementsInitiate({ client: this._client, ...options });
|
|
2630
2667
|
}
|
|
2631
2668
|
/** Methods for the performance > company_employee_score_scales resource */
|
|
2632
2669
|
export class PerformanceCompanyEmployeeScoreScalesResource {
|
|
@@ -2635,14 +2672,14 @@ export class PerformanceCompanyEmployeeScoreScalesResource {
|
|
|
2635
2672
|
this._client = _client;
|
|
2636
2673
|
}
|
|
2637
2674
|
/** Lists all company_employee_score_scales */
|
|
2638
|
-
list = (options) =>
|
|
2675
|
+
list = (options) => getApi20260701ResourcesPerformanceCompanyEmployeeScoreScales({ client: this._client, ...options });
|
|
2639
2676
|
/**
|
|
2640
2677
|
* Auto-paginate through all company_employee_score_scales, yielding one item at a time.
|
|
2641
2678
|
* @example for await (const item of client.performance.companyEmployeeScoreScales.paginate()) { ... }
|
|
2642
2679
|
*/
|
|
2643
2680
|
paginate(options) {
|
|
2644
2681
|
const { maxItems, ...rest } = options ?? {};
|
|
2645
|
-
return paginate((params) =>
|
|
2682
|
+
return paginate((params) => getApi20260701ResourcesPerformanceCompanyEmployeeScoreScales({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2646
2683
|
}
|
|
2647
2684
|
/**
|
|
2648
2685
|
* Fetch all company_employee_score_scales across all pages into a single array.
|
|
@@ -2652,9 +2689,9 @@ export class PerformanceCompanyEmployeeScoreScalesResource {
|
|
|
2652
2689
|
return collectAll(this.paginate(options));
|
|
2653
2690
|
}
|
|
2654
2691
|
/** Reads a single company_employee_score_scales record */
|
|
2655
|
-
get = (options) =>
|
|
2692
|
+
get = (options) => getApi20260701ResourcesPerformanceCompanyEmployeeScoreScalesById({ client: this._client, ...options });
|
|
2656
2693
|
/** set */
|
|
2657
|
-
set = (options) =>
|
|
2694
|
+
set = (options) => postApi20260701ResourcesPerformanceCompanyEmployeeScoreScalesSet({ client: this._client, ...options });
|
|
2658
2695
|
}
|
|
2659
2696
|
/** Methods for the performance > employee_score_scales resource */
|
|
2660
2697
|
export class PerformanceEmployeeScoreScalesResource {
|
|
@@ -2663,14 +2700,14 @@ export class PerformanceEmployeeScoreScalesResource {
|
|
|
2663
2700
|
this._client = _client;
|
|
2664
2701
|
}
|
|
2665
2702
|
/** Lists all employee_score_scales */
|
|
2666
|
-
list = (options) =>
|
|
2703
|
+
list = (options) => getApi20260701ResourcesPerformanceEmployeeScoreScales({ client: this._client, ...options });
|
|
2667
2704
|
/**
|
|
2668
2705
|
* Auto-paginate through all employee_score_scales, yielding one item at a time.
|
|
2669
2706
|
* @example for await (const item of client.performance.employeeScoreScales.paginate()) { ... }
|
|
2670
2707
|
*/
|
|
2671
2708
|
paginate(options) {
|
|
2672
2709
|
const { maxItems, ...rest } = options ?? {};
|
|
2673
|
-
return paginate((params) =>
|
|
2710
|
+
return paginate((params) => getApi20260701ResourcesPerformanceEmployeeScoreScales({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2674
2711
|
}
|
|
2675
2712
|
/**
|
|
2676
2713
|
* Fetch all employee_score_scales across all pages into a single array.
|
|
@@ -2680,7 +2717,7 @@ export class PerformanceEmployeeScoreScalesResource {
|
|
|
2680
2717
|
return collectAll(this.paginate(options));
|
|
2681
2718
|
}
|
|
2682
2719
|
/** Reads a single employee_score_scales record */
|
|
2683
|
-
get = (options) =>
|
|
2720
|
+
get = (options) => getApi20260701ResourcesPerformanceEmployeeScoreScalesById({ client: this._client, ...options });
|
|
2684
2721
|
}
|
|
2685
2722
|
/** Methods for the performance > review_evaluation_answers resource */
|
|
2686
2723
|
export class PerformanceReviewEvaluationAnswersResource {
|
|
@@ -2689,14 +2726,14 @@ export class PerformanceReviewEvaluationAnswersResource {
|
|
|
2689
2726
|
this._client = _client;
|
|
2690
2727
|
}
|
|
2691
2728
|
/** Lists all review_evaluation_answers */
|
|
2692
|
-
list = (options) =>
|
|
2729
|
+
list = (options) => getApi20260701ResourcesPerformanceReviewEvaluationAnswers({ client: this._client, ...options });
|
|
2693
2730
|
/**
|
|
2694
2731
|
* Auto-paginate through all review_evaluation_answers, yielding one item at a time.
|
|
2695
2732
|
* @example for await (const item of client.performance.reviewEvaluationAnswers.paginate()) { ... }
|
|
2696
2733
|
*/
|
|
2697
2734
|
paginate(options) {
|
|
2698
2735
|
const { maxItems, ...rest } = options ?? {};
|
|
2699
|
-
return paginate((params) =>
|
|
2736
|
+
return paginate((params) => getApi20260701ResourcesPerformanceReviewEvaluationAnswers({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2700
2737
|
}
|
|
2701
2738
|
/**
|
|
2702
2739
|
* Fetch all review_evaluation_answers across all pages into a single array.
|
|
@@ -2713,14 +2750,14 @@ export class PerformanceReviewEvaluationScoresResource {
|
|
|
2713
2750
|
this._client = _client;
|
|
2714
2751
|
}
|
|
2715
2752
|
/** Lists all review_evaluation_scores */
|
|
2716
|
-
list = (options) =>
|
|
2753
|
+
list = (options) => getApi20260701ResourcesPerformanceReviewEvaluationScores({ client: this._client, ...options });
|
|
2717
2754
|
/**
|
|
2718
2755
|
* Auto-paginate through all review_evaluation_scores, yielding one item at a time.
|
|
2719
2756
|
* @example for await (const item of client.performance.reviewEvaluationScores.paginate()) { ... }
|
|
2720
2757
|
*/
|
|
2721
2758
|
paginate(options) {
|
|
2722
2759
|
const { maxItems, ...rest } = options ?? {};
|
|
2723
|
-
return paginate((params) =>
|
|
2760
|
+
return paginate((params) => getApi20260701ResourcesPerformanceReviewEvaluationScores({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2724
2761
|
}
|
|
2725
2762
|
/**
|
|
2726
2763
|
* Fetch all review_evaluation_scores across all pages into a single array.
|
|
@@ -2730,7 +2767,7 @@ export class PerformanceReviewEvaluationScoresResource {
|
|
|
2730
2767
|
return collectAll(this.paginate(options));
|
|
2731
2768
|
}
|
|
2732
2769
|
/** Reads a single review_evaluation_scores record */
|
|
2733
|
-
get = (options) =>
|
|
2770
|
+
get = (options) => getApi20260701ResourcesPerformanceReviewEvaluationScoresById({ client: this._client, ...options });
|
|
2734
2771
|
}
|
|
2735
2772
|
/** Methods for the performance > review_evaluations resource */
|
|
2736
2773
|
export class PerformanceReviewEvaluationsResource {
|
|
@@ -2739,14 +2776,14 @@ export class PerformanceReviewEvaluationsResource {
|
|
|
2739
2776
|
this._client = _client;
|
|
2740
2777
|
}
|
|
2741
2778
|
/** Lists all review_evaluations */
|
|
2742
|
-
list = (options) =>
|
|
2779
|
+
list = (options) => getApi20260701ResourcesPerformanceReviewEvaluations({ client: this._client, ...options });
|
|
2743
2780
|
/**
|
|
2744
2781
|
* Auto-paginate through all review_evaluations, yielding one item at a time.
|
|
2745
2782
|
* @example for await (const item of client.performance.reviewEvaluations.paginate()) { ... }
|
|
2746
2783
|
*/
|
|
2747
2784
|
paginate(options) {
|
|
2748
2785
|
const { maxItems, ...rest } = options ?? {};
|
|
2749
|
-
return paginate((params) =>
|
|
2786
|
+
return paginate((params) => getApi20260701ResourcesPerformanceReviewEvaluations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2750
2787
|
}
|
|
2751
2788
|
/**
|
|
2752
2789
|
* Fetch all review_evaluations across all pages into a single array.
|
|
@@ -2756,9 +2793,9 @@ export class PerformanceReviewEvaluationsResource {
|
|
|
2756
2793
|
return collectAll(this.paginate(options));
|
|
2757
2794
|
}
|
|
2758
2795
|
/** Reads a single review_evaluations record */
|
|
2759
|
-
get = (options) =>
|
|
2796
|
+
get = (options) => getApi20260701ResourcesPerformanceReviewEvaluationsById({ client: this._client, ...options });
|
|
2760
2797
|
/** replaceReviewer */
|
|
2761
|
-
replaceReviewer = (options) =>
|
|
2798
|
+
replaceReviewer = (options) => postApi20260701ResourcesPerformanceReviewEvaluationsReplaceReviewer({ client: this._client, ...options });
|
|
2762
2799
|
}
|
|
2763
2800
|
/** Methods for the performance > review_owners resource */
|
|
2764
2801
|
export class PerformanceReviewOwnersResource {
|
|
@@ -2767,14 +2804,14 @@ export class PerformanceReviewOwnersResource {
|
|
|
2767
2804
|
this._client = _client;
|
|
2768
2805
|
}
|
|
2769
2806
|
/** Lists all review_owners */
|
|
2770
|
-
list = (options) =>
|
|
2807
|
+
list = (options) => getApi20260701ResourcesPerformanceReviewOwners({ client: this._client, ...options });
|
|
2771
2808
|
/**
|
|
2772
2809
|
* Auto-paginate through all review_owners, yielding one item at a time.
|
|
2773
2810
|
* @example for await (const item of client.performance.reviewOwners.paginate()) { ... }
|
|
2774
2811
|
*/
|
|
2775
2812
|
paginate(options) {
|
|
2776
2813
|
const { maxItems, ...rest } = options ?? {};
|
|
2777
|
-
return paginate((params) =>
|
|
2814
|
+
return paginate((params) => getApi20260701ResourcesPerformanceReviewOwners({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2778
2815
|
}
|
|
2779
2816
|
/**
|
|
2780
2817
|
* Fetch all review_owners across all pages into a single array.
|
|
@@ -2784,9 +2821,9 @@ export class PerformanceReviewOwnersResource {
|
|
|
2784
2821
|
return collectAll(this.paginate(options));
|
|
2785
2822
|
}
|
|
2786
2823
|
/** Deletes a review_owners record */
|
|
2787
|
-
delete = (options) =>
|
|
2824
|
+
delete = (options) => deleteApi20260701ResourcesPerformanceReviewOwnersById({ client: this._client, ...options });
|
|
2788
2825
|
/** bulkCreate */
|
|
2789
|
-
bulkCreate = (options) =>
|
|
2826
|
+
bulkCreate = (options) => postApi20260701ResourcesPerformanceReviewOwnersBulkCreate({ client: this._client, ...options });
|
|
2790
2827
|
}
|
|
2791
2828
|
/** Methods for the performance > review_process_custom_templates resource */
|
|
2792
2829
|
export class PerformanceReviewProcessCustomTemplatesResource {
|
|
@@ -2795,14 +2832,14 @@ export class PerformanceReviewProcessCustomTemplatesResource {
|
|
|
2795
2832
|
this._client = _client;
|
|
2796
2833
|
}
|
|
2797
2834
|
/** Lists all review_process_custom_templates */
|
|
2798
|
-
list = (options) =>
|
|
2835
|
+
list = (options) => getApi20260701ResourcesPerformanceReviewProcessCustomTemplates({ client: this._client, ...options });
|
|
2799
2836
|
/**
|
|
2800
2837
|
* Auto-paginate through all review_process_custom_templates, yielding one item at a time.
|
|
2801
2838
|
* @example for await (const item of client.performance.reviewProcessCustomTemplates.paginate()) { ... }
|
|
2802
2839
|
*/
|
|
2803
2840
|
paginate(options) {
|
|
2804
2841
|
const { maxItems, ...rest } = options ?? {};
|
|
2805
|
-
return paginate((params) =>
|
|
2842
|
+
return paginate((params) => getApi20260701ResourcesPerformanceReviewProcessCustomTemplates({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2806
2843
|
}
|
|
2807
2844
|
/**
|
|
2808
2845
|
* Fetch all review_process_custom_templates across all pages into a single array.
|
|
@@ -2812,7 +2849,7 @@ export class PerformanceReviewProcessCustomTemplatesResource {
|
|
|
2812
2849
|
return collectAll(this.paginate(options));
|
|
2813
2850
|
}
|
|
2814
2851
|
/** Reads a single review_process_custom_templates record */
|
|
2815
|
-
get = (options) =>
|
|
2852
|
+
get = (options) => getApi20260701ResourcesPerformanceReviewProcessCustomTemplatesById({ client: this._client, ...options });
|
|
2816
2853
|
}
|
|
2817
2854
|
/** Methods for the performance > review_process_estimated_targets resource */
|
|
2818
2855
|
export class PerformanceReviewProcessEstimatedTargetsResource {
|
|
@@ -2821,14 +2858,14 @@ export class PerformanceReviewProcessEstimatedTargetsResource {
|
|
|
2821
2858
|
this._client = _client;
|
|
2822
2859
|
}
|
|
2823
2860
|
/** Lists all review_process_estimated_targets */
|
|
2824
|
-
list = (options) =>
|
|
2861
|
+
list = (options) => getApi20260701ResourcesPerformanceReviewProcessEstimatedTargets({ client: this._client, ...options });
|
|
2825
2862
|
/**
|
|
2826
2863
|
* Auto-paginate through all review_process_estimated_targets, yielding one item at a time.
|
|
2827
2864
|
* @example for await (const item of client.performance.reviewProcessEstimatedTargets.paginate()) { ... }
|
|
2828
2865
|
*/
|
|
2829
2866
|
paginate(options) {
|
|
2830
2867
|
const { maxItems, ...rest } = options ?? {};
|
|
2831
|
-
return paginate((params) =>
|
|
2868
|
+
return paginate((params) => getApi20260701ResourcesPerformanceReviewProcessEstimatedTargets({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2832
2869
|
}
|
|
2833
2870
|
/**
|
|
2834
2871
|
* Fetch all review_process_estimated_targets across all pages into a single array.
|
|
@@ -2845,14 +2882,14 @@ export class PerformanceReviewProcessTargetsResource {
|
|
|
2845
2882
|
this._client = _client;
|
|
2846
2883
|
}
|
|
2847
2884
|
/** Lists all review_process_targets */
|
|
2848
|
-
list = (options) =>
|
|
2885
|
+
list = (options) => getApi20260701ResourcesPerformanceReviewProcessTargets({ client: this._client, ...options });
|
|
2849
2886
|
/**
|
|
2850
2887
|
* Auto-paginate through all review_process_targets, yielding one item at a time.
|
|
2851
2888
|
* @example for await (const item of client.performance.reviewProcessTargets.paginate()) { ... }
|
|
2852
2889
|
*/
|
|
2853
2890
|
paginate(options) {
|
|
2854
2891
|
const { maxItems, ...rest } = options ?? {};
|
|
2855
|
-
return paginate((params) =>
|
|
2892
|
+
return paginate((params) => getApi20260701ResourcesPerformanceReviewProcessTargets({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2856
2893
|
}
|
|
2857
2894
|
/**
|
|
2858
2895
|
* Fetch all review_process_targets across all pages into a single array.
|
|
@@ -2862,15 +2899,15 @@ export class PerformanceReviewProcessTargetsResource {
|
|
|
2862
2899
|
return collectAll(this.paginate(options));
|
|
2863
2900
|
}
|
|
2864
2901
|
/** Reads a single review_process_targets record */
|
|
2865
|
-
get = (options) =>
|
|
2902
|
+
get = (options) => getApi20260701ResourcesPerformanceReviewProcessTargetsById({ client: this._client, ...options });
|
|
2866
2903
|
/** Deletes a review_process_targets record */
|
|
2867
|
-
delete = (options) =>
|
|
2904
|
+
delete = (options) => deleteApi20260701ResourcesPerformanceReviewProcessTargetsById({ client: this._client, ...options });
|
|
2868
2905
|
/** addPeers */
|
|
2869
|
-
addPeers = (options) =>
|
|
2906
|
+
addPeers = (options) => postApi20260701ResourcesPerformanceReviewProcessTargetsAddPeers({ client: this._client, ...options });
|
|
2870
2907
|
/** bulkCreate */
|
|
2871
|
-
bulkCreate = (options) =>
|
|
2908
|
+
bulkCreate = (options) => postApi20260701ResourcesPerformanceReviewProcessTargetsBulkCreate({ client: this._client, ...options });
|
|
2872
2909
|
/** removePeerEvaluations */
|
|
2873
|
-
removePeerEvaluations = (options) =>
|
|
2910
|
+
removePeerEvaluations = (options) => postApi20260701ResourcesPerformanceReviewProcessTargetsRemovePeerEvaluations({ client: this._client, ...options });
|
|
2874
2911
|
}
|
|
2875
2912
|
/** Methods for the performance > review_processes resource */
|
|
2876
2913
|
export class PerformanceReviewProcessesResource {
|
|
@@ -2879,14 +2916,14 @@ export class PerformanceReviewProcessesResource {
|
|
|
2879
2916
|
this._client = _client;
|
|
2880
2917
|
}
|
|
2881
2918
|
/** Lists all review_processes */
|
|
2882
|
-
list = (options) =>
|
|
2919
|
+
list = (options) => getApi20260701ResourcesPerformanceReviewProcesses({ client: this._client, ...options });
|
|
2883
2920
|
/**
|
|
2884
2921
|
* Auto-paginate through all review_processes, yielding one item at a time.
|
|
2885
2922
|
* @example for await (const item of client.performance.reviewProcesses.paginate()) { ... }
|
|
2886
2923
|
*/
|
|
2887
2924
|
paginate(options) {
|
|
2888
2925
|
const { maxItems, ...rest } = options ?? {};
|
|
2889
|
-
return paginate((params) =>
|
|
2926
|
+
return paginate((params) => getApi20260701ResourcesPerformanceReviewProcesses({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2890
2927
|
}
|
|
2891
2928
|
/**
|
|
2892
2929
|
* Fetch all review_processes across all pages into a single array.
|
|
@@ -2896,45 +2933,45 @@ export class PerformanceReviewProcessesResource {
|
|
|
2896
2933
|
return collectAll(this.paginate(options));
|
|
2897
2934
|
}
|
|
2898
2935
|
/** Creates a review_processes record */
|
|
2899
|
-
create = (options) =>
|
|
2936
|
+
create = (options) => postApi20260701ResourcesPerformanceReviewProcesses({ client: this._client, ...options });
|
|
2900
2937
|
/** Reads a single review_processes record */
|
|
2901
|
-
get = (options) =>
|
|
2938
|
+
get = (options) => getApi20260701ResourcesPerformanceReviewProcessesById({ client: this._client, ...options });
|
|
2902
2939
|
/** Deletes a review_processes record */
|
|
2903
|
-
delete = (options) =>
|
|
2940
|
+
delete = (options) => deleteApi20260701ResourcesPerformanceReviewProcessesById({ client: this._client, ...options });
|
|
2904
2941
|
/** createFromTemplate */
|
|
2905
|
-
createFromTemplate = (options) =>
|
|
2942
|
+
createFromTemplate = (options) => postApi20260701ResourcesPerformanceReviewProcessesCreateFromTemplate({ client: this._client, ...options });
|
|
2906
2943
|
/** duplicate */
|
|
2907
|
-
duplicate = (options) =>
|
|
2944
|
+
duplicate = (options) => postApi20260701ResourcesPerformanceReviewProcessesDuplicate({ client: this._client, ...options });
|
|
2908
2945
|
/** remindInBulk */
|
|
2909
|
-
remindInBulk = (options) =>
|
|
2946
|
+
remindInBulk = (options) => postApi20260701ResourcesPerformanceReviewProcessesRemindInBulk({ client: this._client, ...options });
|
|
2910
2947
|
/** removeSchedule */
|
|
2911
|
-
removeSchedule = (options) =>
|
|
2948
|
+
removeSchedule = (options) => postApi20260701ResourcesPerformanceReviewProcessesRemoveSchedule({ client: this._client, ...options });
|
|
2912
2949
|
/** reopen */
|
|
2913
|
-
reopen = (options) =>
|
|
2950
|
+
reopen = (options) => postApi20260701ResourcesPerformanceReviewProcessesReopen({ client: this._client, ...options });
|
|
2914
2951
|
/** schedule */
|
|
2915
|
-
schedule = (options) =>
|
|
2952
|
+
schedule = (options) => postApi20260701ResourcesPerformanceReviewProcessesSchedule({ client: this._client, ...options });
|
|
2916
2953
|
/** start */
|
|
2917
|
-
start = (options) =>
|
|
2954
|
+
start = (options) => postApi20260701ResourcesPerformanceReviewProcessesStart({ client: this._client, ...options });
|
|
2918
2955
|
/** stop */
|
|
2919
|
-
stop = (options) =>
|
|
2956
|
+
stop = (options) => postApi20260701ResourcesPerformanceReviewProcessesStop({ client: this._client, ...options });
|
|
2920
2957
|
/** toggleArchive */
|
|
2921
|
-
toggleArchive = (options) =>
|
|
2958
|
+
toggleArchive = (options) => postApi20260701ResourcesPerformanceReviewProcessesToggleArchive({ client: this._client, ...options });
|
|
2922
2959
|
/** updateAgreementsConfiguration */
|
|
2923
|
-
updateAgreementsConfiguration = (options) =>
|
|
2960
|
+
updateAgreementsConfiguration = (options) => postApi20260701ResourcesPerformanceReviewProcessesUpdateAgreementsConfiguration({ client: this._client, ...options });
|
|
2924
2961
|
/** updateBasicInfo */
|
|
2925
|
-
updateBasicInfo = (options) =>
|
|
2962
|
+
updateBasicInfo = (options) => postApi20260701ResourcesPerformanceReviewProcessesUpdateBasicInfo({ client: this._client, ...options });
|
|
2926
2963
|
/** updateCompetenciesAssessmentsConfiguration */
|
|
2927
|
-
updateCompetenciesAssessmentsConfiguration = (options) =>
|
|
2964
|
+
updateCompetenciesAssessmentsConfiguration = (options) => postApi20260701ResourcesPerformanceReviewProcessesUpdateCompetenciesAssessmentsConfiguration({ client: this._client, ...options });
|
|
2928
2965
|
/** updateDeadline */
|
|
2929
|
-
updateDeadline = (options) =>
|
|
2966
|
+
updateDeadline = (options) => postApi20260701ResourcesPerformanceReviewProcessesUpdateDeadline({ client: this._client, ...options });
|
|
2930
2967
|
/** updateEmployeeScoreConfiguration */
|
|
2931
|
-
updateEmployeeScoreConfiguration = (options) =>
|
|
2968
|
+
updateEmployeeScoreConfiguration = (options) => postApi20260701ResourcesPerformanceReviewProcessesUpdateEmployeeScoreConfiguration({ client: this._client, ...options });
|
|
2932
2969
|
/** updateReviewerStrategies */
|
|
2933
|
-
updateReviewerStrategies = (options) =>
|
|
2970
|
+
updateReviewerStrategies = (options) => postApi20260701ResourcesPerformanceReviewProcessesUpdateReviewerStrategies({ client: this._client, ...options });
|
|
2934
2971
|
/** updateSchedule */
|
|
2935
|
-
updateSchedule = (options) =>
|
|
2972
|
+
updateSchedule = (options) => postApi20260701ResourcesPerformanceReviewProcessesUpdateSchedule({ client: this._client, ...options });
|
|
2936
2973
|
/** updateTargetStrategy */
|
|
2937
|
-
updateTargetStrategy = (options) =>
|
|
2974
|
+
updateTargetStrategy = (options) => postApi20260701ResourcesPerformanceReviewProcessesUpdateTargetStrategy({ client: this._client, ...options });
|
|
2938
2975
|
}
|
|
2939
2976
|
/** Methods for the performance > review_questionnaire_by_strategies resource */
|
|
2940
2977
|
export class PerformanceReviewQuestionnaireByStrategiesResource {
|
|
@@ -2943,14 +2980,14 @@ export class PerformanceReviewQuestionnaireByStrategiesResource {
|
|
|
2943
2980
|
this._client = _client;
|
|
2944
2981
|
}
|
|
2945
2982
|
/** Lists all review_questionnaire_by_strategies */
|
|
2946
|
-
list = (options) =>
|
|
2983
|
+
list = (options) => getApi20260701ResourcesPerformanceReviewQuestionnaireByStrategies({ client: this._client, ...options });
|
|
2947
2984
|
/**
|
|
2948
2985
|
* Auto-paginate through all review_questionnaire_by_strategies, yielding one item at a time.
|
|
2949
2986
|
* @example for await (const item of client.performance.reviewQuestionnaireByStrategies.paginate()) { ... }
|
|
2950
2987
|
*/
|
|
2951
2988
|
paginate(options) {
|
|
2952
2989
|
const { maxItems, ...rest } = options ?? {};
|
|
2953
|
-
return paginate((params) =>
|
|
2990
|
+
return paginate((params) => getApi20260701ResourcesPerformanceReviewQuestionnaireByStrategies({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2954
2991
|
}
|
|
2955
2992
|
/**
|
|
2956
2993
|
* Fetch all review_questionnaire_by_strategies across all pages into a single array.
|
|
@@ -2960,11 +2997,11 @@ export class PerformanceReviewQuestionnaireByStrategiesResource {
|
|
|
2960
2997
|
return collectAll(this.paginate(options));
|
|
2961
2998
|
}
|
|
2962
2999
|
/** Reads a single review_questionnaire_by_strategies record */
|
|
2963
|
-
get = (options) =>
|
|
3000
|
+
get = (options) => getApi20260701ResourcesPerformanceReviewQuestionnaireByStrategiesById({ client: this._client, ...options });
|
|
2964
3001
|
/** updateDefaultRatingScale */
|
|
2965
|
-
updateDefaultRatingScale = (options) =>
|
|
3002
|
+
updateDefaultRatingScale = (options) => postApi20260701ResourcesPerformanceReviewQuestionnaireByStrategiesUpdateDefaultRatingScale({ client: this._client, ...options });
|
|
2966
3003
|
/** updateQuestionnaireForStrategy */
|
|
2967
|
-
updateQuestionnaireForStrategy = (options) =>
|
|
3004
|
+
updateQuestionnaireForStrategy = (options) => postApi20260701ResourcesPerformanceReviewQuestionnaireByStrategiesUpdateQuestionnaireForStrategy({ client: this._client, ...options });
|
|
2968
3005
|
}
|
|
2969
3006
|
/** Methods for the performance > review_visibility_settings resource */
|
|
2970
3007
|
export class PerformanceReviewVisibilitySettingsResource {
|
|
@@ -2973,14 +3010,14 @@ export class PerformanceReviewVisibilitySettingsResource {
|
|
|
2973
3010
|
this._client = _client;
|
|
2974
3011
|
}
|
|
2975
3012
|
/** Lists all review_visibility_settings */
|
|
2976
|
-
list = (options) =>
|
|
3013
|
+
list = (options) => getApi20260701ResourcesPerformanceReviewVisibilitySettings({ client: this._client, ...options });
|
|
2977
3014
|
/**
|
|
2978
3015
|
* Auto-paginate through all review_visibility_settings, yielding one item at a time.
|
|
2979
3016
|
* @example for await (const item of client.performance.reviewVisibilitySettings.paginate()) { ... }
|
|
2980
3017
|
*/
|
|
2981
3018
|
paginate(options) {
|
|
2982
3019
|
const { maxItems, ...rest } = options ?? {};
|
|
2983
|
-
return paginate((params) =>
|
|
3020
|
+
return paginate((params) => getApi20260701ResourcesPerformanceReviewVisibilitySettings({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
2984
3021
|
}
|
|
2985
3022
|
/**
|
|
2986
3023
|
* Fetch all review_visibility_settings across all pages into a single array.
|
|
@@ -2990,7 +3027,7 @@ export class PerformanceReviewVisibilitySettingsResource {
|
|
|
2990
3027
|
return collectAll(this.paginate(options));
|
|
2991
3028
|
}
|
|
2992
3029
|
/** Updates a review_visibility_settings record */
|
|
2993
|
-
update = (options) =>
|
|
3030
|
+
update = (options) => putApi20260701ResourcesPerformanceReviewVisibilitySettingsById({ client: this._client, ...options });
|
|
2994
3031
|
}
|
|
2995
3032
|
/** Methods for the performance > target_managers resource */
|
|
2996
3033
|
export class PerformanceTargetManagersResource {
|
|
@@ -2999,14 +3036,14 @@ export class PerformanceTargetManagersResource {
|
|
|
2999
3036
|
this._client = _client;
|
|
3000
3037
|
}
|
|
3001
3038
|
/** Lists all target_managers */
|
|
3002
|
-
list = (options) =>
|
|
3039
|
+
list = (options) => getApi20260701ResourcesPerformanceTargetManagers({ client: this._client, ...options });
|
|
3003
3040
|
/**
|
|
3004
3041
|
* Auto-paginate through all target_managers, yielding one item at a time.
|
|
3005
3042
|
* @example for await (const item of client.performance.targetManagers.paginate()) { ... }
|
|
3006
3043
|
*/
|
|
3007
3044
|
paginate(options) {
|
|
3008
3045
|
const { maxItems, ...rest } = options ?? {};
|
|
3009
|
-
return paginate((params) =>
|
|
3046
|
+
return paginate((params) => getApi20260701ResourcesPerformanceTargetManagers({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3010
3047
|
}
|
|
3011
3048
|
/**
|
|
3012
3049
|
* Fetch all target_managers across all pages into a single array.
|
|
@@ -3016,7 +3053,7 @@ export class PerformanceTargetManagersResource {
|
|
|
3016
3053
|
return collectAll(this.paginate(options));
|
|
3017
3054
|
}
|
|
3018
3055
|
/** Reads a single target_managers record */
|
|
3019
|
-
get = (options) =>
|
|
3056
|
+
get = (options) => getApi20260701ResourcesPerformanceTargetManagersById({ client: this._client, ...options });
|
|
3020
3057
|
}
|
|
3021
3058
|
/** Methods for the posts > comments resource */
|
|
3022
3059
|
export class PostsCommentsResource {
|
|
@@ -3025,14 +3062,14 @@ export class PostsCommentsResource {
|
|
|
3025
3062
|
this._client = _client;
|
|
3026
3063
|
}
|
|
3027
3064
|
/** Lists all comments */
|
|
3028
|
-
list = (options) =>
|
|
3065
|
+
list = (options) => getApi20260701ResourcesPostsComments({ client: this._client, ...options });
|
|
3029
3066
|
/**
|
|
3030
3067
|
* Auto-paginate through all comments, yielding one item at a time.
|
|
3031
3068
|
* @example for await (const item of client.posts.comments.paginate()) { ... }
|
|
3032
3069
|
*/
|
|
3033
3070
|
paginate(options) {
|
|
3034
3071
|
const { maxItems, ...rest } = options ?? {};
|
|
3035
|
-
return paginate((params) =>
|
|
3072
|
+
return paginate((params) => getApi20260701ResourcesPostsComments({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3036
3073
|
}
|
|
3037
3074
|
/**
|
|
3038
3075
|
* Fetch all comments across all pages into a single array.
|
|
@@ -3042,13 +3079,13 @@ export class PostsCommentsResource {
|
|
|
3042
3079
|
return collectAll(this.paginate(options));
|
|
3043
3080
|
}
|
|
3044
3081
|
/** Creates a comments record */
|
|
3045
|
-
create = (options) =>
|
|
3082
|
+
create = (options) => postApi20260701ResourcesPostsComments({ client: this._client, ...options });
|
|
3046
3083
|
/** Reads a single comments record */
|
|
3047
|
-
get = (options) =>
|
|
3084
|
+
get = (options) => getApi20260701ResourcesPostsCommentsById({ client: this._client, ...options });
|
|
3048
3085
|
/** Updates a comments record */
|
|
3049
|
-
update = (options) =>
|
|
3086
|
+
update = (options) => putApi20260701ResourcesPostsCommentsById({ client: this._client, ...options });
|
|
3050
3087
|
/** Deletes a comments record */
|
|
3051
|
-
delete = (options) =>
|
|
3088
|
+
delete = (options) => deleteApi20260701ResourcesPostsCommentsById({ client: this._client, ...options });
|
|
3052
3089
|
}
|
|
3053
3090
|
/** Methods for the posts > groups resource */
|
|
3054
3091
|
export class PostsGroupsResource {
|
|
@@ -3057,14 +3094,14 @@ export class PostsGroupsResource {
|
|
|
3057
3094
|
this._client = _client;
|
|
3058
3095
|
}
|
|
3059
3096
|
/** Lists all groups */
|
|
3060
|
-
list = (options) =>
|
|
3097
|
+
list = (options) => getApi20260701ResourcesPostsGroups({ client: this._client, ...options });
|
|
3061
3098
|
/**
|
|
3062
3099
|
* Auto-paginate through all groups, yielding one item at a time.
|
|
3063
3100
|
* @example for await (const item of client.posts.groups.paginate()) { ... }
|
|
3064
3101
|
*/
|
|
3065
3102
|
paginate(options) {
|
|
3066
3103
|
const { maxItems, ...rest } = options ?? {};
|
|
3067
|
-
return paginate((params) =>
|
|
3104
|
+
return paginate((params) => getApi20260701ResourcesPostsGroups({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3068
3105
|
}
|
|
3069
3106
|
/**
|
|
3070
3107
|
* Fetch all groups across all pages into a single array.
|
|
@@ -3074,15 +3111,15 @@ export class PostsGroupsResource {
|
|
|
3074
3111
|
return collectAll(this.paginate(options));
|
|
3075
3112
|
}
|
|
3076
3113
|
/** Creates a groups record */
|
|
3077
|
-
create = (options) =>
|
|
3114
|
+
create = (options) => postApi20260701ResourcesPostsGroups({ client: this._client, ...options });
|
|
3078
3115
|
/** Reads a single groups record */
|
|
3079
|
-
get = (options) =>
|
|
3116
|
+
get = (options) => getApi20260701ResourcesPostsGroupsById({ client: this._client, ...options });
|
|
3080
3117
|
/** Updates a groups record */
|
|
3081
|
-
update = (options) =>
|
|
3118
|
+
update = (options) => putApi20260701ResourcesPostsGroupsById({ client: this._client, ...options });
|
|
3082
3119
|
/** Deletes a groups record */
|
|
3083
|
-
delete = (options) =>
|
|
3120
|
+
delete = (options) => deleteApi20260701ResourcesPostsGroupsById({ client: this._client, ...options });
|
|
3084
3121
|
/** archive */
|
|
3085
|
-
archive = (options) =>
|
|
3122
|
+
archive = (options) => postApi20260701ResourcesPostsGroupsArchive({ client: this._client, ...options });
|
|
3086
3123
|
}
|
|
3087
3124
|
/** Methods for the posts > posts resource */
|
|
3088
3125
|
export class PostsPostsResource {
|
|
@@ -3091,14 +3128,14 @@ export class PostsPostsResource {
|
|
|
3091
3128
|
this._client = _client;
|
|
3092
3129
|
}
|
|
3093
3130
|
/** Lists all posts */
|
|
3094
|
-
list = (options) =>
|
|
3131
|
+
list = (options) => getApi20260701ResourcesPostsPosts({ client: this._client, ...options });
|
|
3095
3132
|
/**
|
|
3096
3133
|
* Auto-paginate through all posts, yielding one item at a time.
|
|
3097
3134
|
* @example for await (const item of client.posts.posts.paginate()) { ... }
|
|
3098
3135
|
*/
|
|
3099
3136
|
paginate(options) {
|
|
3100
3137
|
const { maxItems, ...rest } = options ?? {};
|
|
3101
|
-
return paginate((params) =>
|
|
3138
|
+
return paginate((params) => getApi20260701ResourcesPostsPosts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3102
3139
|
}
|
|
3103
3140
|
/**
|
|
3104
3141
|
* Fetch all posts across all pages into a single array.
|
|
@@ -3108,13 +3145,13 @@ export class PostsPostsResource {
|
|
|
3108
3145
|
return collectAll(this.paginate(options));
|
|
3109
3146
|
}
|
|
3110
3147
|
/** Creates a posts record */
|
|
3111
|
-
create = (options) =>
|
|
3148
|
+
create = (options) => postApi20260701ResourcesPostsPosts({ client: this._client, ...options });
|
|
3112
3149
|
/** Reads a single posts record */
|
|
3113
|
-
get = (options) =>
|
|
3150
|
+
get = (options) => getApi20260701ResourcesPostsPostsById({ client: this._client, ...options });
|
|
3114
3151
|
/** Updates a posts record */
|
|
3115
|
-
update = (options) =>
|
|
3152
|
+
update = (options) => putApi20260701ResourcesPostsPostsById({ client: this._client, ...options });
|
|
3116
3153
|
/** Deletes a posts record */
|
|
3117
|
-
delete = (options) =>
|
|
3154
|
+
delete = (options) => deleteApi20260701ResourcesPostsPostsById({ client: this._client, ...options });
|
|
3118
3155
|
}
|
|
3119
3156
|
/** Methods for the procurement > purchase_orders resource */
|
|
3120
3157
|
export class ProcurementPurchaseOrdersResource {
|
|
@@ -3123,14 +3160,14 @@ export class ProcurementPurchaseOrdersResource {
|
|
|
3123
3160
|
this._client = _client;
|
|
3124
3161
|
}
|
|
3125
3162
|
/** Lists all purchase_orders */
|
|
3126
|
-
list = (options) =>
|
|
3163
|
+
list = (options) => getApi20260701ResourcesProcurementPurchaseOrders({ client: this._client, ...options });
|
|
3127
3164
|
/**
|
|
3128
3165
|
* Auto-paginate through all purchase_orders, yielding one item at a time.
|
|
3129
3166
|
* @example for await (const item of client.procurement.purchaseOrders.paginate()) { ... }
|
|
3130
3167
|
*/
|
|
3131
3168
|
paginate(options) {
|
|
3132
3169
|
const { maxItems, ...rest } = options ?? {};
|
|
3133
|
-
return paginate((params) =>
|
|
3170
|
+
return paginate((params) => getApi20260701ResourcesProcurementPurchaseOrders({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3134
3171
|
}
|
|
3135
3172
|
/**
|
|
3136
3173
|
* Fetch all purchase_orders across all pages into a single array.
|
|
@@ -3140,7 +3177,7 @@ export class ProcurementPurchaseOrdersResource {
|
|
|
3140
3177
|
return collectAll(this.paginate(options));
|
|
3141
3178
|
}
|
|
3142
3179
|
/** Reads a single purchase_orders record */
|
|
3143
|
-
get = (options) =>
|
|
3180
|
+
get = (options) => getApi20260701ResourcesProcurementPurchaseOrdersById({ client: this._client, ...options });
|
|
3144
3181
|
}
|
|
3145
3182
|
/** Methods for the procurement > purchase_requests resource */
|
|
3146
3183
|
export class ProcurementPurchaseRequestsResource {
|
|
@@ -3149,14 +3186,14 @@ export class ProcurementPurchaseRequestsResource {
|
|
|
3149
3186
|
this._client = _client;
|
|
3150
3187
|
}
|
|
3151
3188
|
/** Lists all purchase_requests */
|
|
3152
|
-
list = (options) =>
|
|
3189
|
+
list = (options) => getApi20260701ResourcesProcurementPurchaseRequests({ client: this._client, ...options });
|
|
3153
3190
|
/**
|
|
3154
3191
|
* Auto-paginate through all purchase_requests, yielding one item at a time.
|
|
3155
3192
|
* @example for await (const item of client.procurement.purchaseRequests.paginate()) { ... }
|
|
3156
3193
|
*/
|
|
3157
3194
|
paginate(options) {
|
|
3158
3195
|
const { maxItems, ...rest } = options ?? {};
|
|
3159
|
-
return paginate((params) =>
|
|
3196
|
+
return paginate((params) => getApi20260701ResourcesProcurementPurchaseRequests({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3160
3197
|
}
|
|
3161
3198
|
/**
|
|
3162
3199
|
* Fetch all purchase_requests across all pages into a single array.
|
|
@@ -3166,7 +3203,7 @@ export class ProcurementPurchaseRequestsResource {
|
|
|
3166
3203
|
return collectAll(this.paginate(options));
|
|
3167
3204
|
}
|
|
3168
3205
|
/** Reads a single purchase_requests record */
|
|
3169
|
-
get = (options) =>
|
|
3206
|
+
get = (options) => getApi20260701ResourcesProcurementPurchaseRequestsById({ client: this._client, ...options });
|
|
3170
3207
|
}
|
|
3171
3208
|
/** Methods for the procurement > types resource */
|
|
3172
3209
|
export class ProcurementTypesResource {
|
|
@@ -3175,14 +3212,14 @@ export class ProcurementTypesResource {
|
|
|
3175
3212
|
this._client = _client;
|
|
3176
3213
|
}
|
|
3177
3214
|
/** Lists all types */
|
|
3178
|
-
list = (options) =>
|
|
3215
|
+
list = (options) => getApi20260701ResourcesProcurementTypes({ client: this._client, ...options });
|
|
3179
3216
|
/**
|
|
3180
3217
|
* Auto-paginate through all types, yielding one item at a time.
|
|
3181
3218
|
* @example for await (const item of client.procurement.types.paginate()) { ... }
|
|
3182
3219
|
*/
|
|
3183
3220
|
paginate(options) {
|
|
3184
3221
|
const { maxItems, ...rest } = options ?? {};
|
|
3185
|
-
return paginate((params) =>
|
|
3222
|
+
return paginate((params) => getApi20260701ResourcesProcurementTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3186
3223
|
}
|
|
3187
3224
|
/**
|
|
3188
3225
|
* Fetch all types across all pages into a single array.
|
|
@@ -3192,7 +3229,7 @@ export class ProcurementTypesResource {
|
|
|
3192
3229
|
return collectAll(this.paginate(options));
|
|
3193
3230
|
}
|
|
3194
3231
|
/** Reads a single types record */
|
|
3195
|
-
get = (options) =>
|
|
3232
|
+
get = (options) => getApi20260701ResourcesProcurementTypesById({ client: this._client, ...options });
|
|
3196
3233
|
}
|
|
3197
3234
|
/** Methods for the project_management > budget_strategies resource */
|
|
3198
3235
|
export class ProjectManagementBudgetStrategiesResource {
|
|
@@ -3201,14 +3238,14 @@ export class ProjectManagementBudgetStrategiesResource {
|
|
|
3201
3238
|
this._client = _client;
|
|
3202
3239
|
}
|
|
3203
3240
|
/** Lists all budget_strategies */
|
|
3204
|
-
list = (options) =>
|
|
3241
|
+
list = (options) => getApi20260701ResourcesProjectManagementBudgetStrategies({ client: this._client, ...options });
|
|
3205
3242
|
/**
|
|
3206
3243
|
* Auto-paginate through all budget_strategies, yielding one item at a time.
|
|
3207
3244
|
* @example for await (const item of client.projectManagement.budgetStrategies.paginate()) { ... }
|
|
3208
3245
|
*/
|
|
3209
3246
|
paginate(options) {
|
|
3210
3247
|
const { maxItems, ...rest } = options ?? {};
|
|
3211
|
-
return paginate((params) =>
|
|
3248
|
+
return paginate((params) => getApi20260701ResourcesProjectManagementBudgetStrategies({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3212
3249
|
}
|
|
3213
3250
|
/**
|
|
3214
3251
|
* Fetch all budget_strategies across all pages into a single array.
|
|
@@ -3218,13 +3255,13 @@ export class ProjectManagementBudgetStrategiesResource {
|
|
|
3218
3255
|
return collectAll(this.paginate(options));
|
|
3219
3256
|
}
|
|
3220
3257
|
/** Creates a budget_strategies record */
|
|
3221
|
-
create = (options) =>
|
|
3258
|
+
create = (options) => postApi20260701ResourcesProjectManagementBudgetStrategies({ client: this._client, ...options });
|
|
3222
3259
|
/** Reads a single budget_strategies record */
|
|
3223
|
-
get = (options) =>
|
|
3260
|
+
get = (options) => getApi20260701ResourcesProjectManagementBudgetStrategiesById({ client: this._client, ...options });
|
|
3224
3261
|
/** Updates a budget_strategies record */
|
|
3225
|
-
update = (options) =>
|
|
3262
|
+
update = (options) => putApi20260701ResourcesProjectManagementBudgetStrategiesById({ client: this._client, ...options });
|
|
3226
3263
|
/** Deletes a budget_strategies record */
|
|
3227
|
-
delete = (options) =>
|
|
3264
|
+
delete = (options) => deleteApi20260701ResourcesProjectManagementBudgetStrategiesById({ client: this._client, ...options });
|
|
3228
3265
|
}
|
|
3229
3266
|
/** Methods for the project_management > expense_records resource */
|
|
3230
3267
|
export class ProjectManagementExpenseRecordsResource {
|
|
@@ -3233,14 +3270,14 @@ export class ProjectManagementExpenseRecordsResource {
|
|
|
3233
3270
|
this._client = _client;
|
|
3234
3271
|
}
|
|
3235
3272
|
/** Lists all expense_records */
|
|
3236
|
-
list = (options) =>
|
|
3273
|
+
list = (options) => getApi20260701ResourcesProjectManagementExpenseRecords({ client: this._client, ...options });
|
|
3237
3274
|
/**
|
|
3238
3275
|
* Auto-paginate through all expense_records, yielding one item at a time.
|
|
3239
3276
|
* @example for await (const item of client.projectManagement.expenseRecords.paginate()) { ... }
|
|
3240
3277
|
*/
|
|
3241
3278
|
paginate(options) {
|
|
3242
3279
|
const { maxItems, ...rest } = options ?? {};
|
|
3243
|
-
return paginate((params) =>
|
|
3280
|
+
return paginate((params) => getApi20260701ResourcesProjectManagementExpenseRecords({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3244
3281
|
}
|
|
3245
3282
|
/**
|
|
3246
3283
|
* Fetch all expense_records across all pages into a single array.
|
|
@@ -3250,7 +3287,7 @@ export class ProjectManagementExpenseRecordsResource {
|
|
|
3250
3287
|
return collectAll(this.paginate(options));
|
|
3251
3288
|
}
|
|
3252
3289
|
/** Reads a single expense_records record */
|
|
3253
|
-
get = (options) =>
|
|
3290
|
+
get = (options) => getApi20260701ResourcesProjectManagementExpenseRecordsById({ client: this._client, ...options });
|
|
3254
3291
|
}
|
|
3255
3292
|
/** Methods for the project_management > exportable_expenses resource */
|
|
3256
3293
|
export class ProjectManagementExportableExpensesResource {
|
|
@@ -3259,14 +3296,14 @@ export class ProjectManagementExportableExpensesResource {
|
|
|
3259
3296
|
this._client = _client;
|
|
3260
3297
|
}
|
|
3261
3298
|
/** Lists all exportable_expenses */
|
|
3262
|
-
list = (options) =>
|
|
3299
|
+
list = (options) => getApi20260701ResourcesProjectManagementExportableExpenses({ client: this._client, ...options });
|
|
3263
3300
|
/**
|
|
3264
3301
|
* Auto-paginate through all exportable_expenses, yielding one item at a time.
|
|
3265
3302
|
* @example for await (const item of client.projectManagement.exportableExpenses.paginate()) { ... }
|
|
3266
3303
|
*/
|
|
3267
3304
|
paginate(options) {
|
|
3268
3305
|
const { maxItems, ...rest } = options ?? {};
|
|
3269
|
-
return paginate((params) =>
|
|
3306
|
+
return paginate((params) => getApi20260701ResourcesProjectManagementExportableExpenses({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3270
3307
|
}
|
|
3271
3308
|
/**
|
|
3272
3309
|
* Fetch all exportable_expenses across all pages into a single array.
|
|
@@ -3276,69 +3313,31 @@ export class ProjectManagementExportableExpensesResource {
|
|
|
3276
3313
|
return collectAll(this.paginate(options));
|
|
3277
3314
|
}
|
|
3278
3315
|
}
|
|
3279
|
-
/** Methods for the project_management >
|
|
3280
|
-
export class
|
|
3281
|
-
_client;
|
|
3282
|
-
constructor(_client) {
|
|
3283
|
-
this._client = _client;
|
|
3284
|
-
}
|
|
3285
|
-
/** Lists all flexible_time_record_comments */
|
|
3286
|
-
list = (options) => getApi20260401ResourcesProjectManagementFlexibleTimeRecordComments({ client: this._client, ...options });
|
|
3287
|
-
/**
|
|
3288
|
-
* Auto-paginate through all flexible_time_record_comments, yielding one item at a time.
|
|
3289
|
-
* @example for await (const item of client.projectManagement.flexibleTimeRecordComments.paginate()) { ... }
|
|
3290
|
-
*/
|
|
3291
|
-
paginate(options) {
|
|
3292
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3293
|
-
return paginate((params) => getApi20260401ResourcesProjectManagementFlexibleTimeRecordComments({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3294
|
-
}
|
|
3295
|
-
/**
|
|
3296
|
-
* Fetch all flexible_time_record_comments across all pages into a single array.
|
|
3297
|
-
* @example const all = await client.projectManagement.flexibleTimeRecordComments.all()
|
|
3298
|
-
*/
|
|
3299
|
-
all(options) {
|
|
3300
|
-
return collectAll(this.paginate(options));
|
|
3301
|
-
}
|
|
3302
|
-
/** Creates a flexible_time_record_comments record */
|
|
3303
|
-
create = (options) => postApi20260401ResourcesProjectManagementFlexibleTimeRecordComments({ client: this._client, ...options });
|
|
3304
|
-
/** Reads a single flexible_time_record_comments record */
|
|
3305
|
-
get = (options) => getApi20260401ResourcesProjectManagementFlexibleTimeRecordCommentsById({ client: this._client, ...options });
|
|
3306
|
-
/** deleteByFlexibleTimeRecord */
|
|
3307
|
-
deleteByFlexibleTimeRecord = (options) => postApi20260401ResourcesProjectManagementFlexibleTimeRecordCommentsDeleteByFlexibleTimeRecord({ client: this._client, ...options });
|
|
3308
|
-
/** updateByFlexibleTimeRecord */
|
|
3309
|
-
updateByFlexibleTimeRecord = (options) => postApi20260401ResourcesProjectManagementFlexibleTimeRecordCommentsUpdateByFlexibleTimeRecord({ client: this._client, ...options });
|
|
3310
|
-
}
|
|
3311
|
-
/** Methods for the project_management > flexible_time_records resource */
|
|
3312
|
-
export class ProjectManagementFlexibleTimeRecordsResource {
|
|
3316
|
+
/** Methods for the project_management > imputable_projects resource */
|
|
3317
|
+
export class ProjectManagementImputableProjectsResource {
|
|
3313
3318
|
_client;
|
|
3314
3319
|
constructor(_client) {
|
|
3315
3320
|
this._client = _client;
|
|
3316
3321
|
}
|
|
3317
|
-
/** Lists all
|
|
3318
|
-
list = (options) =>
|
|
3322
|
+
/** Lists all imputable_projects */
|
|
3323
|
+
list = (options) => getApi20260701ResourcesProjectManagementImputableProjects({ client: this._client, ...options });
|
|
3319
3324
|
/**
|
|
3320
|
-
* Auto-paginate through all
|
|
3321
|
-
* @example for await (const item of client.projectManagement.
|
|
3325
|
+
* Auto-paginate through all imputable_projects, yielding one item at a time.
|
|
3326
|
+
* @example for await (const item of client.projectManagement.imputableProjects.paginate()) { ... }
|
|
3322
3327
|
*/
|
|
3323
3328
|
paginate(options) {
|
|
3324
3329
|
const { maxItems, ...rest } = options ?? {};
|
|
3325
|
-
return paginate((params) =>
|
|
3330
|
+
return paginate((params) => getApi20260701ResourcesProjectManagementImputableProjects({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3326
3331
|
}
|
|
3327
3332
|
/**
|
|
3328
|
-
* Fetch all
|
|
3329
|
-
* @example const all = await client.projectManagement.
|
|
3333
|
+
* Fetch all imputable_projects across all pages into a single array.
|
|
3334
|
+
* @example const all = await client.projectManagement.imputableProjects.all()
|
|
3330
3335
|
*/
|
|
3331
3336
|
all(options) {
|
|
3332
3337
|
return collectAll(this.paginate(options));
|
|
3333
3338
|
}
|
|
3334
|
-
/**
|
|
3335
|
-
|
|
3336
|
-
/** Reads a single flexible_time_records record */
|
|
3337
|
-
get = (options) => getApi20260401ResourcesProjectManagementFlexibleTimeRecordsById({ client: this._client, ...options });
|
|
3338
|
-
/** Updates a flexible_time_records record */
|
|
3339
|
-
update = (options) => putApi20260401ResourcesProjectManagementFlexibleTimeRecordsById({ client: this._client, ...options });
|
|
3340
|
-
/** Deletes a flexible_time_records record */
|
|
3341
|
-
delete = (options) => deleteApi20260401ResourcesProjectManagementFlexibleTimeRecordsById({ client: this._client, ...options });
|
|
3339
|
+
/** Reads a single imputable_projects record */
|
|
3340
|
+
get = (options) => getApi20260701ResourcesProjectManagementImputableProjectsById({ client: this._client, ...options });
|
|
3342
3341
|
}
|
|
3343
3342
|
/** Methods for the project_management > planned_records resource */
|
|
3344
3343
|
export class ProjectManagementPlannedRecordsResource {
|
|
@@ -3347,14 +3346,14 @@ export class ProjectManagementPlannedRecordsResource {
|
|
|
3347
3346
|
this._client = _client;
|
|
3348
3347
|
}
|
|
3349
3348
|
/** Lists all planned_records */
|
|
3350
|
-
list = (options) =>
|
|
3349
|
+
list = (options) => getApi20260701ResourcesProjectManagementPlannedRecords({ client: this._client, ...options });
|
|
3351
3350
|
/**
|
|
3352
3351
|
* Auto-paginate through all planned_records, yielding one item at a time.
|
|
3353
3352
|
* @example for await (const item of client.projectManagement.plannedRecords.paginate()) { ... }
|
|
3354
3353
|
*/
|
|
3355
3354
|
paginate(options) {
|
|
3356
3355
|
const { maxItems, ...rest } = options ?? {};
|
|
3357
|
-
return paginate((params) =>
|
|
3356
|
+
return paginate((params) => getApi20260701ResourcesProjectManagementPlannedRecords({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3358
3357
|
}
|
|
3359
3358
|
/**
|
|
3360
3359
|
* Fetch all planned_records across all pages into a single array.
|
|
@@ -3364,13 +3363,13 @@ export class ProjectManagementPlannedRecordsResource {
|
|
|
3364
3363
|
return collectAll(this.paginate(options));
|
|
3365
3364
|
}
|
|
3366
3365
|
/** Reads a single planned_records record */
|
|
3367
|
-
get = (options) =>
|
|
3366
|
+
get = (options) => getApi20260701ResourcesProjectManagementPlannedRecordsById({ client: this._client, ...options });
|
|
3368
3367
|
/** Updates a planned_records record */
|
|
3369
|
-
update = (options) =>
|
|
3368
|
+
update = (options) => putApi20260701ResourcesProjectManagementPlannedRecordsById({ client: this._client, ...options });
|
|
3370
3369
|
/** Deletes a planned_records record */
|
|
3371
|
-
delete = (options) =>
|
|
3370
|
+
delete = (options) => deleteApi20260701ResourcesProjectManagementPlannedRecordsById({ client: this._client, ...options });
|
|
3372
3371
|
/** bulkCreate */
|
|
3373
|
-
bulkCreate = (options) =>
|
|
3372
|
+
bulkCreate = (options) => postApi20260701ResourcesProjectManagementPlannedRecordsBulkCreate({ client: this._client, ...options });
|
|
3374
3373
|
}
|
|
3375
3374
|
/** Methods for the project_management > project_tasks resource */
|
|
3376
3375
|
export class ProjectManagementProjectTasksResource {
|
|
@@ -3379,14 +3378,14 @@ export class ProjectManagementProjectTasksResource {
|
|
|
3379
3378
|
this._client = _client;
|
|
3380
3379
|
}
|
|
3381
3380
|
/** Lists all project_tasks */
|
|
3382
|
-
list = (options) =>
|
|
3381
|
+
list = (options) => getApi20260701ResourcesProjectManagementProjectTasks({ client: this._client, ...options });
|
|
3383
3382
|
/**
|
|
3384
3383
|
* Auto-paginate through all project_tasks, yielding one item at a time.
|
|
3385
3384
|
* @example for await (const item of client.projectManagement.projectTasks.paginate()) { ... }
|
|
3386
3385
|
*/
|
|
3387
3386
|
paginate(options) {
|
|
3388
3387
|
const { maxItems, ...rest } = options ?? {};
|
|
3389
|
-
return paginate((params) =>
|
|
3388
|
+
return paginate((params) => getApi20260701ResourcesProjectManagementProjectTasks({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3390
3389
|
}
|
|
3391
3390
|
/**
|
|
3392
3391
|
* Fetch all project_tasks across all pages into a single array.
|
|
@@ -3396,15 +3395,15 @@ export class ProjectManagementProjectTasksResource {
|
|
|
3396
3395
|
return collectAll(this.paginate(options));
|
|
3397
3396
|
}
|
|
3398
3397
|
/** Creates a project_tasks record */
|
|
3399
|
-
create = (options) =>
|
|
3398
|
+
create = (options) => postApi20260701ResourcesProjectManagementProjectTasks({ client: this._client, ...options });
|
|
3400
3399
|
/** Reads a single project_tasks record */
|
|
3401
|
-
get = (options) =>
|
|
3400
|
+
get = (options) => getApi20260701ResourcesProjectManagementProjectTasksById({ client: this._client, ...options });
|
|
3402
3401
|
/** Updates a project_tasks record */
|
|
3403
|
-
update = (options) =>
|
|
3402
|
+
update = (options) => putApi20260701ResourcesProjectManagementProjectTasksById({ client: this._client, ...options });
|
|
3404
3403
|
/** bulkDestroy */
|
|
3405
|
-
bulkDestroy = (options) =>
|
|
3404
|
+
bulkDestroy = (options) => postApi20260701ResourcesProjectManagementProjectTasksBulkDestroy({ client: this._client, ...options });
|
|
3406
3405
|
/** bulkDuplicate */
|
|
3407
|
-
bulkDuplicate = (options) =>
|
|
3406
|
+
bulkDuplicate = (options) => postApi20260701ResourcesProjectManagementProjectTasksBulkDuplicate({ client: this._client, ...options });
|
|
3408
3407
|
}
|
|
3409
3408
|
/** Methods for the project_management > project_workers resource */
|
|
3410
3409
|
export class ProjectManagementProjectWorkersResource {
|
|
@@ -3413,14 +3412,14 @@ export class ProjectManagementProjectWorkersResource {
|
|
|
3413
3412
|
this._client = _client;
|
|
3414
3413
|
}
|
|
3415
3414
|
/** Lists all project_workers */
|
|
3416
|
-
list = (options) =>
|
|
3415
|
+
list = (options) => getApi20260701ResourcesProjectManagementProjectWorkers({ client: this._client, ...options });
|
|
3417
3416
|
/**
|
|
3418
3417
|
* Auto-paginate through all project_workers, yielding one item at a time.
|
|
3419
3418
|
* @example for await (const item of client.projectManagement.projectWorkers.paginate()) { ... }
|
|
3420
3419
|
*/
|
|
3421
3420
|
paginate(options) {
|
|
3422
3421
|
const { maxItems, ...rest } = options ?? {};
|
|
3423
|
-
return paginate((params) =>
|
|
3422
|
+
return paginate((params) => getApi20260701ResourcesProjectManagementProjectWorkers({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3424
3423
|
}
|
|
3425
3424
|
/**
|
|
3426
3425
|
* Fetch all project_workers across all pages into a single array.
|
|
@@ -3430,15 +3429,15 @@ export class ProjectManagementProjectWorkersResource {
|
|
|
3430
3429
|
return collectAll(this.paginate(options));
|
|
3431
3430
|
}
|
|
3432
3431
|
/** Creates a project_workers record */
|
|
3433
|
-
create = (options) =>
|
|
3432
|
+
create = (options) => postApi20260701ResourcesProjectManagementProjectWorkers({ client: this._client, ...options });
|
|
3434
3433
|
/** Reads a single project_workers record */
|
|
3435
|
-
get = (options) =>
|
|
3434
|
+
get = (options) => getApi20260701ResourcesProjectManagementProjectWorkersById({ client: this._client, ...options });
|
|
3436
3435
|
/** bulkAssign */
|
|
3437
|
-
bulkAssign = (options) =>
|
|
3436
|
+
bulkAssign = (options) => postApi20260701ResourcesProjectManagementProjectWorkersBulkAssign({ client: this._client, ...options });
|
|
3438
3437
|
/** bulkCreate */
|
|
3439
|
-
bulkCreate = (options) =>
|
|
3438
|
+
bulkCreate = (options) => postApi20260701ResourcesProjectManagementProjectWorkersBulkCreate({ client: this._client, ...options });
|
|
3440
3439
|
/** unassign */
|
|
3441
|
-
unassign = (options) =>
|
|
3440
|
+
unassign = (options) => postApi20260701ResourcesProjectManagementProjectWorkersUnassign({ client: this._client, ...options });
|
|
3442
3441
|
}
|
|
3443
3442
|
/** Methods for the project_management > projects resource */
|
|
3444
3443
|
export class ProjectManagementProjectsResource {
|
|
@@ -3447,14 +3446,14 @@ export class ProjectManagementProjectsResource {
|
|
|
3447
3446
|
this._client = _client;
|
|
3448
3447
|
}
|
|
3449
3448
|
/** Lists all projects */
|
|
3450
|
-
list = (options) =>
|
|
3449
|
+
list = (options) => getApi20260701ResourcesProjectManagementProjects({ client: this._client, ...options });
|
|
3451
3450
|
/**
|
|
3452
3451
|
* Auto-paginate through all projects, yielding one item at a time.
|
|
3453
3452
|
* @example for await (const item of client.projectManagement.projects.paginate()) { ... }
|
|
3454
3453
|
*/
|
|
3455
3454
|
paginate(options) {
|
|
3456
3455
|
const { maxItems, ...rest } = options ?? {};
|
|
3457
|
-
return paginate((params) =>
|
|
3456
|
+
return paginate((params) => getApi20260701ResourcesProjectManagementProjects({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3458
3457
|
}
|
|
3459
3458
|
/**
|
|
3460
3459
|
* Fetch all projects across all pages into a single array.
|
|
@@ -3464,21 +3463,21 @@ export class ProjectManagementProjectsResource {
|
|
|
3464
3463
|
return collectAll(this.paginate(options));
|
|
3465
3464
|
}
|
|
3466
3465
|
/** Creates a projects record */
|
|
3467
|
-
create = (options) =>
|
|
3466
|
+
create = (options) => postApi20260701ResourcesProjectManagementProjects({ client: this._client, ...options });
|
|
3468
3467
|
/** Reads a single projects record */
|
|
3469
|
-
get = (options) =>
|
|
3468
|
+
get = (options) => getApi20260701ResourcesProjectManagementProjectsById({ client: this._client, ...options });
|
|
3470
3469
|
/** Updates a projects record */
|
|
3471
|
-
update = (options) =>
|
|
3470
|
+
update = (options) => putApi20260701ResourcesProjectManagementProjectsById({ client: this._client, ...options });
|
|
3472
3471
|
/** activate */
|
|
3473
|
-
activate = (options) =>
|
|
3472
|
+
activate = (options) => postApi20260701ResourcesProjectManagementProjectsActivate({ client: this._client, ...options });
|
|
3474
3473
|
/** changeAssignment */
|
|
3475
|
-
changeAssignment = (options) =>
|
|
3474
|
+
changeAssignment = (options) => postApi20260701ResourcesProjectManagementProjectsChangeAssignment({ client: this._client, ...options });
|
|
3476
3475
|
/** changeStatus */
|
|
3477
|
-
changeStatus = (options) =>
|
|
3476
|
+
changeStatus = (options) => postApi20260701ResourcesProjectManagementProjectsChangeStatus({ client: this._client, ...options });
|
|
3478
3477
|
/** close */
|
|
3479
|
-
close = (options) =>
|
|
3478
|
+
close = (options) => postApi20260701ResourcesProjectManagementProjectsClose({ client: this._client, ...options });
|
|
3480
3479
|
/** softDelete */
|
|
3481
|
-
softDelete = (options) =>
|
|
3480
|
+
softDelete = (options) => postApi20260701ResourcesProjectManagementProjectsSoftDelete({ client: this._client, ...options });
|
|
3482
3481
|
}
|
|
3483
3482
|
/** Methods for the project_management > subprojects resource */
|
|
3484
3483
|
export class ProjectManagementSubprojectsResource {
|
|
@@ -3487,14 +3486,14 @@ export class ProjectManagementSubprojectsResource {
|
|
|
3487
3486
|
this._client = _client;
|
|
3488
3487
|
}
|
|
3489
3488
|
/** Lists all subprojects */
|
|
3490
|
-
list = (options) =>
|
|
3489
|
+
list = (options) => getApi20260701ResourcesProjectManagementSubprojects({ client: this._client, ...options });
|
|
3491
3490
|
/**
|
|
3492
3491
|
* Auto-paginate through all subprojects, yielding one item at a time.
|
|
3493
3492
|
* @example for await (const item of client.projectManagement.subprojects.paginate()) { ... }
|
|
3494
3493
|
*/
|
|
3495
3494
|
paginate(options) {
|
|
3496
3495
|
const { maxItems, ...rest } = options ?? {};
|
|
3497
|
-
return paginate((params) =>
|
|
3496
|
+
return paginate((params) => getApi20260701ResourcesProjectManagementSubprojects({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3498
3497
|
}
|
|
3499
3498
|
/**
|
|
3500
3499
|
* Fetch all subprojects across all pages into a single array.
|
|
@@ -3504,15 +3503,15 @@ export class ProjectManagementSubprojectsResource {
|
|
|
3504
3503
|
return collectAll(this.paginate(options));
|
|
3505
3504
|
}
|
|
3506
3505
|
/** Creates a subprojects record */
|
|
3507
|
-
create = (options) =>
|
|
3506
|
+
create = (options) => postApi20260701ResourcesProjectManagementSubprojects({ client: this._client, ...options });
|
|
3508
3507
|
/** Reads a single subprojects record */
|
|
3509
|
-
get = (options) =>
|
|
3508
|
+
get = (options) => getApi20260701ResourcesProjectManagementSubprojectsById({ client: this._client, ...options });
|
|
3510
3509
|
/** Updates a subprojects record */
|
|
3511
|
-
update = (options) =>
|
|
3510
|
+
update = (options) => putApi20260701ResourcesProjectManagementSubprojectsById({ client: this._client, ...options });
|
|
3512
3511
|
/** Deletes a subprojects record */
|
|
3513
|
-
delete = (options) =>
|
|
3512
|
+
delete = (options) => deleteApi20260701ResourcesProjectManagementSubprojectsById({ client: this._client, ...options });
|
|
3514
3513
|
/** rename */
|
|
3515
|
-
rename = (options) =>
|
|
3514
|
+
rename = (options) => postApi20260701ResourcesProjectManagementSubprojectsRename({ client: this._client, ...options });
|
|
3516
3515
|
}
|
|
3517
3516
|
/** Methods for the project_management > time_records resource */
|
|
3518
3517
|
export class ProjectManagementTimeRecordsResource {
|
|
@@ -3521,14 +3520,14 @@ export class ProjectManagementTimeRecordsResource {
|
|
|
3521
3520
|
this._client = _client;
|
|
3522
3521
|
}
|
|
3523
3522
|
/** Lists all time_records */
|
|
3524
|
-
list = (options) =>
|
|
3523
|
+
list = (options) => getApi20260701ResourcesProjectManagementTimeRecords({ client: this._client, ...options });
|
|
3525
3524
|
/**
|
|
3526
3525
|
* Auto-paginate through all time_records, yielding one item at a time.
|
|
3527
3526
|
* @example for await (const item of client.projectManagement.timeRecords.paginate()) { ... }
|
|
3528
3527
|
*/
|
|
3529
3528
|
paginate(options) {
|
|
3530
3529
|
const { maxItems, ...rest } = options ?? {};
|
|
3531
|
-
return paginate((params) =>
|
|
3530
|
+
return paginate((params) => getApi20260701ResourcesProjectManagementTimeRecords({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3532
3531
|
}
|
|
3533
3532
|
/**
|
|
3534
3533
|
* Fetch all time_records across all pages into a single array.
|
|
@@ -3538,17 +3537,17 @@ export class ProjectManagementTimeRecordsResource {
|
|
|
3538
3537
|
return collectAll(this.paginate(options));
|
|
3539
3538
|
}
|
|
3540
3539
|
/** Creates a time_records record */
|
|
3541
|
-
create = (options) =>
|
|
3540
|
+
create = (options) => postApi20260701ResourcesProjectManagementTimeRecords({ client: this._client, ...options });
|
|
3542
3541
|
/** Reads a single time_records record */
|
|
3543
|
-
get = (options) =>
|
|
3542
|
+
get = (options) => getApi20260701ResourcesProjectManagementTimeRecordsById({ client: this._client, ...options });
|
|
3544
3543
|
/** Deletes a time_records record */
|
|
3545
|
-
delete = (options) =>
|
|
3544
|
+
delete = (options) => deleteApi20260701ResourcesProjectManagementTimeRecordsById({ client: this._client, ...options });
|
|
3546
3545
|
/** bulkDelete */
|
|
3547
|
-
bulkDelete = (options) =>
|
|
3546
|
+
bulkDelete = (options) => postApi20260701ResourcesProjectManagementTimeRecordsBulkDelete({ client: this._client, ...options });
|
|
3548
3547
|
/** bulkProcess */
|
|
3549
|
-
bulkProcess = (options) =>
|
|
3548
|
+
bulkProcess = (options) => postApi20260701ResourcesProjectManagementTimeRecordsBulkProcess({ client: this._client, ...options });
|
|
3550
3549
|
/** updateProjectWorker */
|
|
3551
|
-
updateProjectWorker = (options) =>
|
|
3550
|
+
updateProjectWorker = (options) => postApi20260701ResourcesProjectManagementTimeRecordsUpdateProjectWorker({ client: this._client, ...options });
|
|
3552
3551
|
}
|
|
3553
3552
|
/** Methods for the shift_management > shifts resource */
|
|
3554
3553
|
export class ShiftManagementShiftsResource {
|
|
@@ -3557,14 +3556,14 @@ export class ShiftManagementShiftsResource {
|
|
|
3557
3556
|
this._client = _client;
|
|
3558
3557
|
}
|
|
3559
3558
|
/** Lists all shifts */
|
|
3560
|
-
list = (options) =>
|
|
3559
|
+
list = (options) => getApi20260701ResourcesShiftManagementShifts({ client: this._client, ...options });
|
|
3561
3560
|
/**
|
|
3562
3561
|
* Auto-paginate through all shifts, yielding one item at a time.
|
|
3563
3562
|
* @example for await (const item of client.shiftManagement.shifts.paginate()) { ... }
|
|
3564
3563
|
*/
|
|
3565
3564
|
paginate(options) {
|
|
3566
3565
|
const { maxItems, ...rest } = options ?? {};
|
|
3567
|
-
return paginate((params) =>
|
|
3566
|
+
return paginate((params) => getApi20260701ResourcesShiftManagementShifts({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3568
3567
|
}
|
|
3569
3568
|
/**
|
|
3570
3569
|
* Fetch all shifts across all pages into a single array.
|
|
@@ -3574,15 +3573,15 @@ export class ShiftManagementShiftsResource {
|
|
|
3574
3573
|
return collectAll(this.paginate(options));
|
|
3575
3574
|
}
|
|
3576
3575
|
/** Creates a shifts record */
|
|
3577
|
-
create = (options) =>
|
|
3576
|
+
create = (options) => postApi20260701ResourcesShiftManagementShifts({ client: this._client, ...options });
|
|
3578
3577
|
/** Reads a single shifts record */
|
|
3579
|
-
get = (options) =>
|
|
3578
|
+
get = (options) => getApi20260701ResourcesShiftManagementShiftsById({ client: this._client, ...options });
|
|
3580
3579
|
/** Deletes a shifts record */
|
|
3581
|
-
delete = (options) =>
|
|
3580
|
+
delete = (options) => deleteApi20260701ResourcesShiftManagementShiftsById({ client: this._client, ...options });
|
|
3582
3581
|
/** bulkCreate */
|
|
3583
|
-
bulkCreate = (options) =>
|
|
3582
|
+
bulkCreate = (options) => postApi20260701ResourcesShiftManagementShiftsBulkCreate({ client: this._client, ...options });
|
|
3584
3583
|
/** bulkDelete */
|
|
3585
|
-
bulkDelete = (options) =>
|
|
3584
|
+
bulkDelete = (options) => postApi20260701ResourcesShiftManagementShiftsBulkDelete({ client: this._client, ...options });
|
|
3586
3585
|
}
|
|
3587
3586
|
/** Methods for the tasks > task_files resource */
|
|
3588
3587
|
export class TasksTaskFilesResource {
|
|
@@ -3591,14 +3590,14 @@ export class TasksTaskFilesResource {
|
|
|
3591
3590
|
this._client = _client;
|
|
3592
3591
|
}
|
|
3593
3592
|
/** Lists all task_files */
|
|
3594
|
-
list = (options) =>
|
|
3593
|
+
list = (options) => getApi20260701ResourcesTasksTaskFiles({ client: this._client, ...options });
|
|
3595
3594
|
/**
|
|
3596
3595
|
* Auto-paginate through all task_files, yielding one item at a time.
|
|
3597
3596
|
* @example for await (const item of client.tasks.taskFiles.paginate()) { ... }
|
|
3598
3597
|
*/
|
|
3599
3598
|
paginate(options) {
|
|
3600
3599
|
const { maxItems, ...rest } = options ?? {};
|
|
3601
|
-
return paginate((params) =>
|
|
3600
|
+
return paginate((params) => getApi20260701ResourcesTasksTaskFiles({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3602
3601
|
}
|
|
3603
3602
|
/**
|
|
3604
3603
|
* Fetch all task_files across all pages into a single array.
|
|
@@ -3608,11 +3607,11 @@ export class TasksTaskFilesResource {
|
|
|
3608
3607
|
return collectAll(this.paginate(options));
|
|
3609
3608
|
}
|
|
3610
3609
|
/** Creates a task_files record */
|
|
3611
|
-
create = (options) =>
|
|
3610
|
+
create = (options) => postApi20260701ResourcesTasksTaskFiles({ client: this._client, ...options });
|
|
3612
3611
|
/** Reads a single task_files record */
|
|
3613
|
-
get = (options) =>
|
|
3612
|
+
get = (options) => getApi20260701ResourcesTasksTaskFilesById({ client: this._client, ...options });
|
|
3614
3613
|
/** Deletes a task_files record */
|
|
3615
|
-
delete = (options) =>
|
|
3614
|
+
delete = (options) => deleteApi20260701ResourcesTasksTaskFilesById({ client: this._client, ...options });
|
|
3616
3615
|
}
|
|
3617
3616
|
/** Methods for the tasks > tasks resource */
|
|
3618
3617
|
export class TasksTasksResource {
|
|
@@ -3621,14 +3620,14 @@ export class TasksTasksResource {
|
|
|
3621
3620
|
this._client = _client;
|
|
3622
3621
|
}
|
|
3623
3622
|
/** Lists all tasks */
|
|
3624
|
-
list = (options) =>
|
|
3623
|
+
list = (options) => getApi20260701ResourcesTasksTasks({ client: this._client, ...options });
|
|
3625
3624
|
/**
|
|
3626
3625
|
* Auto-paginate through all tasks, yielding one item at a time.
|
|
3627
3626
|
* @example for await (const item of client.tasks.tasks.paginate()) { ... }
|
|
3628
3627
|
*/
|
|
3629
3628
|
paginate(options) {
|
|
3630
3629
|
const { maxItems, ...rest } = options ?? {};
|
|
3631
|
-
return paginate((params) =>
|
|
3630
|
+
return paginate((params) => getApi20260701ResourcesTasksTasks({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3632
3631
|
}
|
|
3633
3632
|
/**
|
|
3634
3633
|
* Fetch all tasks across all pages into a single array.
|
|
@@ -3638,23 +3637,23 @@ export class TasksTasksResource {
|
|
|
3638
3637
|
return collectAll(this.paginate(options));
|
|
3639
3638
|
}
|
|
3640
3639
|
/** Creates a tasks record */
|
|
3641
|
-
create = (options) =>
|
|
3640
|
+
create = (options) => postApi20260701ResourcesTasksTasks({ client: this._client, ...options });
|
|
3642
3641
|
/** Reads a single tasks record */
|
|
3643
|
-
get = (options) =>
|
|
3642
|
+
get = (options) => getApi20260701ResourcesTasksTasksById({ client: this._client, ...options });
|
|
3644
3643
|
/** Updates a tasks record */
|
|
3645
|
-
update = (options) =>
|
|
3644
|
+
update = (options) => putApi20260701ResourcesTasksTasksById({ client: this._client, ...options });
|
|
3646
3645
|
/** Deletes a tasks record */
|
|
3647
|
-
delete = (options) =>
|
|
3646
|
+
delete = (options) => deleteApi20260701ResourcesTasksTasksById({ client: this._client, ...options });
|
|
3648
3647
|
/** bulkCreate */
|
|
3649
|
-
bulkCreate = (options) =>
|
|
3648
|
+
bulkCreate = (options) => postApi20260701ResourcesTasksTasksBulkCreate({ client: this._client, ...options });
|
|
3650
3649
|
/** bulkDelete */
|
|
3651
|
-
bulkDelete = (options) =>
|
|
3650
|
+
bulkDelete = (options) => postApi20260701ResourcesTasksTasksBulkDelete({ client: this._client, ...options });
|
|
3652
3651
|
/** bulkUpdate */
|
|
3653
|
-
bulkUpdate = (options) =>
|
|
3652
|
+
bulkUpdate = (options) => postApi20260701ResourcesTasksTasksBulkUpdate({ client: this._client, ...options });
|
|
3654
3653
|
/** copy */
|
|
3655
|
-
copy = (options) =>
|
|
3654
|
+
copy = (options) => postApi20260701ResourcesTasksTasksCopy({ client: this._client, ...options });
|
|
3656
3655
|
/** createComment */
|
|
3657
|
-
createComment = (options) =>
|
|
3656
|
+
createComment = (options) => postApi20260701ResourcesTasksTasksCreateComment({ client: this._client, ...options });
|
|
3658
3657
|
}
|
|
3659
3658
|
/** Methods for the teams > memberships resource */
|
|
3660
3659
|
export class TeamsMembershipsResource {
|
|
@@ -3663,14 +3662,14 @@ export class TeamsMembershipsResource {
|
|
|
3663
3662
|
this._client = _client;
|
|
3664
3663
|
}
|
|
3665
3664
|
/** Lists all memberships */
|
|
3666
|
-
list = (options) =>
|
|
3665
|
+
list = (options) => getApi20260701ResourcesTeamsMemberships({ client: this._client, ...options });
|
|
3667
3666
|
/**
|
|
3668
3667
|
* Auto-paginate through all memberships, yielding one item at a time.
|
|
3669
3668
|
* @example for await (const item of client.teams.memberships.paginate()) { ... }
|
|
3670
3669
|
*/
|
|
3671
3670
|
paginate(options) {
|
|
3672
3671
|
const { maxItems, ...rest } = options ?? {};
|
|
3673
|
-
return paginate((params) =>
|
|
3672
|
+
return paginate((params) => getApi20260701ResourcesTeamsMemberships({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3674
3673
|
}
|
|
3675
3674
|
/**
|
|
3676
3675
|
* Fetch all memberships across all pages into a single array.
|
|
@@ -3680,13 +3679,13 @@ export class TeamsMembershipsResource {
|
|
|
3680
3679
|
return collectAll(this.paginate(options));
|
|
3681
3680
|
}
|
|
3682
3681
|
/** Creates a memberships record */
|
|
3683
|
-
create = (options) =>
|
|
3682
|
+
create = (options) => postApi20260701ResourcesTeamsMemberships({ client: this._client, ...options });
|
|
3684
3683
|
/** Reads a single memberships record */
|
|
3685
|
-
get = (options) =>
|
|
3684
|
+
get = (options) => getApi20260701ResourcesTeamsMembershipsById({ client: this._client, ...options });
|
|
3686
3685
|
/** Updates a memberships record */
|
|
3687
|
-
update = (options) =>
|
|
3686
|
+
update = (options) => putApi20260701ResourcesTeamsMembershipsById({ client: this._client, ...options });
|
|
3688
3687
|
/** Deletes a memberships record */
|
|
3689
|
-
delete = (options) =>
|
|
3688
|
+
delete = (options) => deleteApi20260701ResourcesTeamsMembershipsById({ client: this._client, ...options });
|
|
3690
3689
|
}
|
|
3691
3690
|
/** Methods for the teams > teams resource */
|
|
3692
3691
|
export class TeamsTeamsResource {
|
|
@@ -3695,14 +3694,14 @@ export class TeamsTeamsResource {
|
|
|
3695
3694
|
this._client = _client;
|
|
3696
3695
|
}
|
|
3697
3696
|
/** Lists all teams */
|
|
3698
|
-
list = (options) =>
|
|
3697
|
+
list = (options) => getApi20260701ResourcesTeamsTeams({ client: this._client, ...options });
|
|
3699
3698
|
/**
|
|
3700
3699
|
* Auto-paginate through all teams, yielding one item at a time.
|
|
3701
3700
|
* @example for await (const item of client.teams.teams.paginate()) { ... }
|
|
3702
3701
|
*/
|
|
3703
3702
|
paginate(options) {
|
|
3704
3703
|
const { maxItems, ...rest } = options ?? {};
|
|
3705
|
-
return paginate((params) =>
|
|
3704
|
+
return paginate((params) => getApi20260701ResourcesTeamsTeams({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3706
3705
|
}
|
|
3707
3706
|
/**
|
|
3708
3707
|
* Fetch all teams across all pages into a single array.
|
|
@@ -3712,13 +3711,13 @@ export class TeamsTeamsResource {
|
|
|
3712
3711
|
return collectAll(this.paginate(options));
|
|
3713
3712
|
}
|
|
3714
3713
|
/** Creates a teams record */
|
|
3715
|
-
create = (options) =>
|
|
3714
|
+
create = (options) => postApi20260701ResourcesTeamsTeams({ client: this._client, ...options });
|
|
3716
3715
|
/** Reads a single teams record */
|
|
3717
|
-
get = (options) =>
|
|
3716
|
+
get = (options) => getApi20260701ResourcesTeamsTeamsById({ client: this._client, ...options });
|
|
3718
3717
|
/** Updates a teams record */
|
|
3719
|
-
update = (options) =>
|
|
3718
|
+
update = (options) => putApi20260701ResourcesTeamsTeamsById({ client: this._client, ...options });
|
|
3720
3719
|
/** Deletes a teams record */
|
|
3721
|
-
delete = (options) =>
|
|
3720
|
+
delete = (options) => deleteApi20260701ResourcesTeamsTeamsById({ client: this._client, ...options });
|
|
3722
3721
|
}
|
|
3723
3722
|
/** Methods for the time_planning > planned_breaks resource */
|
|
3724
3723
|
export class TimePlanningPlannedBreaksResource {
|
|
@@ -3727,14 +3726,14 @@ export class TimePlanningPlannedBreaksResource {
|
|
|
3727
3726
|
this._client = _client;
|
|
3728
3727
|
}
|
|
3729
3728
|
/** Lists all planned_breaks */
|
|
3730
|
-
list = (options) =>
|
|
3729
|
+
list = (options) => getApi20260701ResourcesTimePlanningPlannedBreaks({ client: this._client, ...options });
|
|
3731
3730
|
/**
|
|
3732
3731
|
* Auto-paginate through all planned_breaks, yielding one item at a time.
|
|
3733
3732
|
* @example for await (const item of client.timePlanning.plannedBreaks.paginate()) { ... }
|
|
3734
3733
|
*/
|
|
3735
3734
|
paginate(options) {
|
|
3736
3735
|
const { maxItems, ...rest } = options ?? {};
|
|
3737
|
-
return paginate((params) =>
|
|
3736
|
+
return paginate((params) => getApi20260701ResourcesTimePlanningPlannedBreaks({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3738
3737
|
}
|
|
3739
3738
|
/**
|
|
3740
3739
|
* Fetch all planned_breaks across all pages into a single array.
|
|
@@ -3744,9 +3743,9 @@ export class TimePlanningPlannedBreaksResource {
|
|
|
3744
3743
|
return collectAll(this.paginate(options));
|
|
3745
3744
|
}
|
|
3746
3745
|
/** Reads a single planned_breaks record */
|
|
3747
|
-
get = (options) =>
|
|
3746
|
+
get = (options) => getApi20260701ResourcesTimePlanningPlannedBreaksById({ client: this._client, ...options });
|
|
3748
3747
|
/** bulkCreate */
|
|
3749
|
-
bulkCreate = (options) =>
|
|
3748
|
+
bulkCreate = (options) => postApi20260701ResourcesTimePlanningPlannedBreaksBulkCreate({ client: this._client, ...options });
|
|
3750
3749
|
}
|
|
3751
3750
|
/** Methods for the time_planning > planning_versions resource */
|
|
3752
3751
|
export class TimePlanningPlanningVersionsResource {
|
|
@@ -3755,14 +3754,14 @@ export class TimePlanningPlanningVersionsResource {
|
|
|
3755
3754
|
this._client = _client;
|
|
3756
3755
|
}
|
|
3757
3756
|
/** Lists all planning_versions */
|
|
3758
|
-
list = (options) =>
|
|
3757
|
+
list = (options) => getApi20260701ResourcesTimePlanningPlanningVersions({ client: this._client, ...options });
|
|
3759
3758
|
/**
|
|
3760
3759
|
* Auto-paginate through all planning_versions, yielding one item at a time.
|
|
3761
3760
|
* @example for await (const item of client.timePlanning.planningVersions.paginate()) { ... }
|
|
3762
3761
|
*/
|
|
3763
3762
|
paginate(options) {
|
|
3764
3763
|
const { maxItems, ...rest } = options ?? {};
|
|
3765
|
-
return paginate((params) =>
|
|
3764
|
+
return paginate((params) => getApi20260701ResourcesTimePlanningPlanningVersions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3766
3765
|
}
|
|
3767
3766
|
/**
|
|
3768
3767
|
* Fetch all planning_versions across all pages into a single array.
|
|
@@ -3772,13 +3771,13 @@ export class TimePlanningPlanningVersionsResource {
|
|
|
3772
3771
|
return collectAll(this.paginate(options));
|
|
3773
3772
|
}
|
|
3774
3773
|
/** Creates a planning_versions record */
|
|
3775
|
-
create = (options) =>
|
|
3774
|
+
create = (options) => postApi20260701ResourcesTimePlanningPlanningVersions({ client: this._client, ...options });
|
|
3776
3775
|
/** Updates a planning_versions record */
|
|
3777
|
-
update = (options) =>
|
|
3776
|
+
update = (options) => putApi20260701ResourcesTimePlanningPlanningVersionsById({ client: this._client, ...options });
|
|
3778
3777
|
/** Deletes a planning_versions record */
|
|
3779
|
-
delete = (options) =>
|
|
3778
|
+
delete = (options) => deleteApi20260701ResourcesTimePlanningPlanningVersionsById({ client: this._client, ...options });
|
|
3780
3779
|
/** bulkCreate */
|
|
3781
|
-
bulkCreate = (options) =>
|
|
3780
|
+
bulkCreate = (options) => postApi20260701ResourcesTimePlanningPlanningVersionsBulkCreate({ client: this._client, ...options });
|
|
3782
3781
|
}
|
|
3783
3782
|
/** Methods for the time_settings > break_configurations resource */
|
|
3784
3783
|
export class TimeSettingsBreakConfigurationsResource {
|
|
@@ -3787,14 +3786,14 @@ export class TimeSettingsBreakConfigurationsResource {
|
|
|
3787
3786
|
this._client = _client;
|
|
3788
3787
|
}
|
|
3789
3788
|
/** Lists all break_configurations */
|
|
3790
|
-
list = (options) =>
|
|
3789
|
+
list = (options) => getApi20260701ResourcesTimeSettingsBreakConfigurations({ client: this._client, ...options });
|
|
3791
3790
|
/**
|
|
3792
3791
|
* Auto-paginate through all break_configurations, yielding one item at a time.
|
|
3793
3792
|
* @example for await (const item of client.timeSettings.breakConfigurations.paginate()) { ... }
|
|
3794
3793
|
*/
|
|
3795
3794
|
paginate(options) {
|
|
3796
3795
|
const { maxItems, ...rest } = options ?? {};
|
|
3797
|
-
return paginate((params) =>
|
|
3796
|
+
return paginate((params) => getApi20260701ResourcesTimeSettingsBreakConfigurations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3798
3797
|
}
|
|
3799
3798
|
/**
|
|
3800
3799
|
* Fetch all break_configurations across all pages into a single array.
|
|
@@ -3804,11 +3803,11 @@ export class TimeSettingsBreakConfigurationsResource {
|
|
|
3804
3803
|
return collectAll(this.paginate(options));
|
|
3805
3804
|
}
|
|
3806
3805
|
/** Creates a break_configurations record */
|
|
3807
|
-
create = (options) =>
|
|
3806
|
+
create = (options) => postApi20260701ResourcesTimeSettingsBreakConfigurations({ client: this._client, ...options });
|
|
3808
3807
|
/** Reads a single break_configurations record */
|
|
3809
|
-
get = (options) =>
|
|
3808
|
+
get = (options) => getApi20260701ResourcesTimeSettingsBreakConfigurationsById({ client: this._client, ...options });
|
|
3810
3809
|
/** Updates a break_configurations record */
|
|
3811
|
-
update = (options) =>
|
|
3810
|
+
update = (options) => putApi20260701ResourcesTimeSettingsBreakConfigurationsById({ client: this._client, ...options });
|
|
3812
3811
|
}
|
|
3813
3812
|
/** Methods for the timeoff > allowance_incidences resource */
|
|
3814
3813
|
export class TimeoffAllowanceIncidencesResource {
|
|
@@ -3817,14 +3816,14 @@ export class TimeoffAllowanceIncidencesResource {
|
|
|
3817
3816
|
this._client = _client;
|
|
3818
3817
|
}
|
|
3819
3818
|
/** Lists all allowance_incidences */
|
|
3820
|
-
list = (options) =>
|
|
3819
|
+
list = (options) => getApi20260701ResourcesTimeoffAllowanceIncidences({ client: this._client, ...options });
|
|
3821
3820
|
/**
|
|
3822
3821
|
* Auto-paginate through all allowance_incidences, yielding one item at a time.
|
|
3823
3822
|
* @example for await (const item of client.timeoff.allowanceIncidences.paginate()) { ... }
|
|
3824
3823
|
*/
|
|
3825
3824
|
paginate(options) {
|
|
3826
3825
|
const { maxItems, ...rest } = options ?? {};
|
|
3827
|
-
return paginate((params) =>
|
|
3826
|
+
return paginate((params) => getApi20260701ResourcesTimeoffAllowanceIncidences({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3828
3827
|
}
|
|
3829
3828
|
/**
|
|
3830
3829
|
* Fetch all allowance_incidences across all pages into a single array.
|
|
@@ -3834,13 +3833,13 @@ export class TimeoffAllowanceIncidencesResource {
|
|
|
3834
3833
|
return collectAll(this.paginate(options));
|
|
3835
3834
|
}
|
|
3836
3835
|
/** Creates a allowance_incidences record */
|
|
3837
|
-
create = (options) =>
|
|
3836
|
+
create = (options) => postApi20260701ResourcesTimeoffAllowanceIncidences({ client: this._client, ...options });
|
|
3838
3837
|
/** Reads a single allowance_incidences record */
|
|
3839
|
-
get = (options) =>
|
|
3838
|
+
get = (options) => getApi20260701ResourcesTimeoffAllowanceIncidencesById({ client: this._client, ...options });
|
|
3840
3839
|
/** Updates a allowance_incidences record */
|
|
3841
|
-
update = (options) =>
|
|
3840
|
+
update = (options) => putApi20260701ResourcesTimeoffAllowanceIncidencesById({ client: this._client, ...options });
|
|
3842
3841
|
/** Deletes a allowance_incidences record */
|
|
3843
|
-
delete = (options) =>
|
|
3842
|
+
delete = (options) => deleteApi20260701ResourcesTimeoffAllowanceIncidencesById({ client: this._client, ...options });
|
|
3844
3843
|
}
|
|
3845
3844
|
/** Methods for the timeoff > allowance_stats resource */
|
|
3846
3845
|
export class TimeoffAllowanceStatsResource {
|
|
@@ -3849,14 +3848,14 @@ export class TimeoffAllowanceStatsResource {
|
|
|
3849
3848
|
this._client = _client;
|
|
3850
3849
|
}
|
|
3851
3850
|
/** Lists all allowance_stats */
|
|
3852
|
-
list = (options) =>
|
|
3851
|
+
list = (options) => getApi20260701ResourcesTimeoffAllowanceStats({ client: this._client, ...options });
|
|
3853
3852
|
/**
|
|
3854
3853
|
* Auto-paginate through all allowance_stats, yielding one item at a time.
|
|
3855
3854
|
* @example for await (const item of client.timeoff.allowanceStats.paginate()) { ... }
|
|
3856
3855
|
*/
|
|
3857
3856
|
paginate(options) {
|
|
3858
3857
|
const { maxItems, ...rest } = options ?? {};
|
|
3859
|
-
return paginate((params) =>
|
|
3858
|
+
return paginate((params) => getApi20260701ResourcesTimeoffAllowanceStats({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3860
3859
|
}
|
|
3861
3860
|
/**
|
|
3862
3861
|
* Fetch all allowance_stats across all pages into a single array.
|
|
@@ -3866,7 +3865,7 @@ export class TimeoffAllowanceStatsResource {
|
|
|
3866
3865
|
return collectAll(this.paginate(options));
|
|
3867
3866
|
}
|
|
3868
3867
|
/** Reads a single allowance_stats record */
|
|
3869
|
-
get = (options) =>
|
|
3868
|
+
get = (options) => getApi20260701ResourcesTimeoffAllowanceStatsById({ client: this._client, ...options });
|
|
3870
3869
|
}
|
|
3871
3870
|
/** Methods for the timeoff > allowances resource */
|
|
3872
3871
|
export class TimeoffAllowancesResource {
|
|
@@ -3875,14 +3874,14 @@ export class TimeoffAllowancesResource {
|
|
|
3875
3874
|
this._client = _client;
|
|
3876
3875
|
}
|
|
3877
3876
|
/** Lists all allowances */
|
|
3878
|
-
list = (options) =>
|
|
3877
|
+
list = (options) => getApi20260701ResourcesTimeoffAllowances({ client: this._client, ...options });
|
|
3879
3878
|
/**
|
|
3880
3879
|
* Auto-paginate through all allowances, yielding one item at a time.
|
|
3881
3880
|
* @example for await (const item of client.timeoff.allowances.paginate()) { ... }
|
|
3882
3881
|
*/
|
|
3883
3882
|
paginate(options) {
|
|
3884
3883
|
const { maxItems, ...rest } = options ?? {};
|
|
3885
|
-
return paginate((params) =>
|
|
3884
|
+
return paginate((params) => getApi20260701ResourcesTimeoffAllowances({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3886
3885
|
}
|
|
3887
3886
|
/**
|
|
3888
3887
|
* Fetch all allowances across all pages into a single array.
|
|
@@ -3892,15 +3891,15 @@ export class TimeoffAllowancesResource {
|
|
|
3892
3891
|
return collectAll(this.paginate(options));
|
|
3893
3892
|
}
|
|
3894
3893
|
/** Creates a allowances record */
|
|
3895
|
-
create = (options) =>
|
|
3894
|
+
create = (options) => postApi20260701ResourcesTimeoffAllowances({ client: this._client, ...options });
|
|
3896
3895
|
/** Reads a single allowances record */
|
|
3897
|
-
get = (options) =>
|
|
3896
|
+
get = (options) => getApi20260701ResourcesTimeoffAllowancesById({ client: this._client, ...options });
|
|
3898
3897
|
/** Updates a allowances record */
|
|
3899
|
-
update = (options) =>
|
|
3898
|
+
update = (options) => putApi20260701ResourcesTimeoffAllowancesById({ client: this._client, ...options });
|
|
3900
3899
|
/** Deletes a allowances record */
|
|
3901
|
-
delete = (options) =>
|
|
3900
|
+
delete = (options) => deleteApi20260701ResourcesTimeoffAllowancesById({ client: this._client, ...options });
|
|
3902
3901
|
/** deleteWithAltAllowance */
|
|
3903
|
-
deleteWithAltAllowance = (options) =>
|
|
3902
|
+
deleteWithAltAllowance = (options) => postApi20260701ResourcesTimeoffAllowancesDeleteWithAltAllowance({ client: this._client, ...options });
|
|
3904
3903
|
}
|
|
3905
3904
|
/** Methods for the timeoff > blocked_periods resource */
|
|
3906
3905
|
export class TimeoffBlockedPeriodsResource {
|
|
@@ -3909,14 +3908,14 @@ export class TimeoffBlockedPeriodsResource {
|
|
|
3909
3908
|
this._client = _client;
|
|
3910
3909
|
}
|
|
3911
3910
|
/** Lists all blocked_periods */
|
|
3912
|
-
list = (options) =>
|
|
3911
|
+
list = (options) => getApi20260701ResourcesTimeoffBlockedPeriods({ client: this._client, ...options });
|
|
3913
3912
|
/**
|
|
3914
3913
|
* Auto-paginate through all blocked_periods, yielding one item at a time.
|
|
3915
3914
|
* @example for await (const item of client.timeoff.blockedPeriods.paginate()) { ... }
|
|
3916
3915
|
*/
|
|
3917
3916
|
paginate(options) {
|
|
3918
3917
|
const { maxItems, ...rest } = options ?? {};
|
|
3919
|
-
return paginate((params) =>
|
|
3918
|
+
return paginate((params) => getApi20260701ResourcesTimeoffBlockedPeriods({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3920
3919
|
}
|
|
3921
3920
|
/**
|
|
3922
3921
|
* Fetch all blocked_periods across all pages into a single array.
|
|
@@ -3926,13 +3925,13 @@ export class TimeoffBlockedPeriodsResource {
|
|
|
3926
3925
|
return collectAll(this.paginate(options));
|
|
3927
3926
|
}
|
|
3928
3927
|
/** Creates a blocked_periods record */
|
|
3929
|
-
create = (options) =>
|
|
3928
|
+
create = (options) => postApi20260701ResourcesTimeoffBlockedPeriods({ client: this._client, ...options });
|
|
3930
3929
|
/** Reads a single blocked_periods record */
|
|
3931
|
-
get = (options) =>
|
|
3930
|
+
get = (options) => getApi20260701ResourcesTimeoffBlockedPeriodsById({ client: this._client, ...options });
|
|
3932
3931
|
/** Updates a blocked_periods record */
|
|
3933
|
-
update = (options) =>
|
|
3932
|
+
update = (options) => putApi20260701ResourcesTimeoffBlockedPeriodsById({ client: this._client, ...options });
|
|
3934
3933
|
/** Deletes a blocked_periods record */
|
|
3935
|
-
delete = (options) =>
|
|
3934
|
+
delete = (options) => deleteApi20260701ResourcesTimeoffBlockedPeriodsById({ client: this._client, ...options });
|
|
3936
3935
|
}
|
|
3937
3936
|
/** Methods for the timeoff > leave_types resource */
|
|
3938
3937
|
export class TimeoffLeaveTypesResource {
|
|
@@ -3941,14 +3940,14 @@ export class TimeoffLeaveTypesResource {
|
|
|
3941
3940
|
this._client = _client;
|
|
3942
3941
|
}
|
|
3943
3942
|
/** Lists all leave_types */
|
|
3944
|
-
list = (options) =>
|
|
3943
|
+
list = (options) => getApi20260701ResourcesTimeoffLeaveTypes({ client: this._client, ...options });
|
|
3945
3944
|
/**
|
|
3946
3945
|
* Auto-paginate through all leave_types, yielding one item at a time.
|
|
3947
3946
|
* @example for await (const item of client.timeoff.leaveTypes.paginate()) { ... }
|
|
3948
3947
|
*/
|
|
3949
3948
|
paginate(options) {
|
|
3950
3949
|
const { maxItems, ...rest } = options ?? {};
|
|
3951
|
-
return paginate((params) =>
|
|
3950
|
+
return paginate((params) => getApi20260701ResourcesTimeoffLeaveTypes({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3952
3951
|
}
|
|
3953
3952
|
/**
|
|
3954
3953
|
* Fetch all leave_types across all pages into a single array.
|
|
@@ -3958,11 +3957,11 @@ export class TimeoffLeaveTypesResource {
|
|
|
3958
3957
|
return collectAll(this.paginate(options));
|
|
3959
3958
|
}
|
|
3960
3959
|
/** Creates a leave_types record */
|
|
3961
|
-
create = (options) =>
|
|
3960
|
+
create = (options) => postApi20260701ResourcesTimeoffLeaveTypes({ client: this._client, ...options });
|
|
3962
3961
|
/** Reads a single leave_types record */
|
|
3963
|
-
get = (options) =>
|
|
3962
|
+
get = (options) => getApi20260701ResourcesTimeoffLeaveTypesById({ client: this._client, ...options });
|
|
3964
3963
|
/** Updates a leave_types record */
|
|
3965
|
-
update = (options) =>
|
|
3964
|
+
update = (options) => putApi20260701ResourcesTimeoffLeaveTypesById({ client: this._client, ...options });
|
|
3966
3965
|
}
|
|
3967
3966
|
/** Methods for the timeoff > leaves resource */
|
|
3968
3967
|
export class TimeoffLeavesResource {
|
|
@@ -3971,14 +3970,14 @@ export class TimeoffLeavesResource {
|
|
|
3971
3970
|
this._client = _client;
|
|
3972
3971
|
}
|
|
3973
3972
|
/** Lists all leaves */
|
|
3974
|
-
list = (options) =>
|
|
3973
|
+
list = (options) => getApi20260701ResourcesTimeoffLeaves({ client: this._client, ...options });
|
|
3975
3974
|
/**
|
|
3976
3975
|
* Auto-paginate through all leaves, yielding one item at a time.
|
|
3977
3976
|
* @example for await (const item of client.timeoff.leaves.paginate()) { ... }
|
|
3978
3977
|
*/
|
|
3979
3978
|
paginate(options) {
|
|
3980
3979
|
const { maxItems, ...rest } = options ?? {};
|
|
3981
|
-
return paginate((params) =>
|
|
3980
|
+
return paginate((params) => getApi20260701ResourcesTimeoffLeaves({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
3982
3981
|
}
|
|
3983
3982
|
/**
|
|
3984
3983
|
* Fetch all leaves across all pages into a single array.
|
|
@@ -3988,19 +3987,19 @@ export class TimeoffLeavesResource {
|
|
|
3988
3987
|
return collectAll(this.paginate(options));
|
|
3989
3988
|
}
|
|
3990
3989
|
/** Creates a leaves record */
|
|
3991
|
-
create = (options) =>
|
|
3990
|
+
create = (options) => postApi20260701ResourcesTimeoffLeaves({ client: this._client, ...options });
|
|
3992
3991
|
/** Reads a single leaves record */
|
|
3993
|
-
get = (options) =>
|
|
3992
|
+
get = (options) => getApi20260701ResourcesTimeoffLeavesById({ client: this._client, ...options });
|
|
3994
3993
|
/** Updates a leaves record */
|
|
3995
|
-
update = (options) =>
|
|
3994
|
+
update = (options) => putApi20260701ResourcesTimeoffLeavesById({ client: this._client, ...options });
|
|
3996
3995
|
/** Deletes a leaves record */
|
|
3997
|
-
delete = (options) =>
|
|
3996
|
+
delete = (options) => deleteApi20260701ResourcesTimeoffLeavesById({ client: this._client, ...options });
|
|
3998
3997
|
/** approve */
|
|
3999
|
-
approve = (options) =>
|
|
3998
|
+
approve = (options) => postApi20260701ResourcesTimeoffLeavesApprove({ client: this._client, ...options });
|
|
4000
3999
|
/** approveAll */
|
|
4001
|
-
approveAll = (options) =>
|
|
4000
|
+
approveAll = (options) => postApi20260701ResourcesTimeoffLeavesApproveAll({ client: this._client, ...options });
|
|
4002
4001
|
/** reject */
|
|
4003
|
-
reject = (options) =>
|
|
4002
|
+
reject = (options) => postApi20260701ResourcesTimeoffLeavesReject({ client: this._client, ...options });
|
|
4004
4003
|
}
|
|
4005
4004
|
/** Methods for the timeoff > policies resource */
|
|
4006
4005
|
export class TimeoffPoliciesResource {
|
|
@@ -4009,14 +4008,14 @@ export class TimeoffPoliciesResource {
|
|
|
4009
4008
|
this._client = _client;
|
|
4010
4009
|
}
|
|
4011
4010
|
/** Lists all policies */
|
|
4012
|
-
list = (options) =>
|
|
4011
|
+
list = (options) => getApi20260701ResourcesTimeoffPolicies({ client: this._client, ...options });
|
|
4013
4012
|
/**
|
|
4014
4013
|
* Auto-paginate through all policies, yielding one item at a time.
|
|
4015
4014
|
* @example for await (const item of client.timeoff.policies.paginate()) { ... }
|
|
4016
4015
|
*/
|
|
4017
4016
|
paginate(options) {
|
|
4018
4017
|
const { maxItems, ...rest } = options ?? {};
|
|
4019
|
-
return paginate((params) =>
|
|
4018
|
+
return paginate((params) => getApi20260701ResourcesTimeoffPolicies({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4020
4019
|
}
|
|
4021
4020
|
/**
|
|
4022
4021
|
* Fetch all policies across all pages into a single array.
|
|
@@ -4026,13 +4025,13 @@ export class TimeoffPoliciesResource {
|
|
|
4026
4025
|
return collectAll(this.paginate(options));
|
|
4027
4026
|
}
|
|
4028
4027
|
/** Creates a policies record */
|
|
4029
|
-
create = (options) =>
|
|
4028
|
+
create = (options) => postApi20260701ResourcesTimeoffPolicies({ client: this._client, ...options });
|
|
4030
4029
|
/** Reads a single policies record */
|
|
4031
|
-
get = (options) =>
|
|
4030
|
+
get = (options) => getApi20260701ResourcesTimeoffPoliciesById({ client: this._client, ...options });
|
|
4032
4031
|
/** Updates a policies record */
|
|
4033
|
-
update = (options) =>
|
|
4032
|
+
update = (options) => putApi20260701ResourcesTimeoffPoliciesById({ client: this._client, ...options });
|
|
4034
4033
|
/** Deletes a policies record */
|
|
4035
|
-
delete = (options) =>
|
|
4034
|
+
delete = (options) => deleteApi20260701ResourcesTimeoffPoliciesById({ client: this._client, ...options });
|
|
4036
4035
|
}
|
|
4037
4036
|
/** Methods for the timeoff > policy_assignments resource */
|
|
4038
4037
|
export class TimeoffPolicyAssignmentsResource {
|
|
@@ -4041,14 +4040,14 @@ export class TimeoffPolicyAssignmentsResource {
|
|
|
4041
4040
|
this._client = _client;
|
|
4042
4041
|
}
|
|
4043
4042
|
/** Lists all policy_assignments */
|
|
4044
|
-
list = (options) =>
|
|
4043
|
+
list = (options) => getApi20260701ResourcesTimeoffPolicyAssignments({ client: this._client, ...options });
|
|
4045
4044
|
/**
|
|
4046
4045
|
* Auto-paginate through all policy_assignments, yielding one item at a time.
|
|
4047
4046
|
* @example for await (const item of client.timeoff.policyAssignments.paginate()) { ... }
|
|
4048
4047
|
*/
|
|
4049
4048
|
paginate(options) {
|
|
4050
4049
|
const { maxItems, ...rest } = options ?? {};
|
|
4051
|
-
return paginate((params) =>
|
|
4050
|
+
return paginate((params) => getApi20260701ResourcesTimeoffPolicyAssignments({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4052
4051
|
}
|
|
4053
4052
|
/**
|
|
4054
4053
|
* Fetch all policy_assignments across all pages into a single array.
|
|
@@ -4058,13 +4057,13 @@ export class TimeoffPolicyAssignmentsResource {
|
|
|
4058
4057
|
return collectAll(this.paginate(options));
|
|
4059
4058
|
}
|
|
4060
4059
|
/** Creates a policy_assignments record */
|
|
4061
|
-
create = (options) =>
|
|
4060
|
+
create = (options) => postApi20260701ResourcesTimeoffPolicyAssignments({ client: this._client, ...options });
|
|
4062
4061
|
/** Reads a single policy_assignments record */
|
|
4063
|
-
get = (options) =>
|
|
4062
|
+
get = (options) => getApi20260701ResourcesTimeoffPolicyAssignmentsById({ client: this._client, ...options });
|
|
4064
4063
|
/** Updates a policy_assignments record */
|
|
4065
|
-
update = (options) =>
|
|
4064
|
+
update = (options) => putApi20260701ResourcesTimeoffPolicyAssignmentsById({ client: this._client, ...options });
|
|
4066
4065
|
/** Deletes a policy_assignments record */
|
|
4067
|
-
delete = (options) =>
|
|
4066
|
+
delete = (options) => deleteApi20260701ResourcesTimeoffPolicyAssignmentsById({ client: this._client, ...options });
|
|
4068
4067
|
}
|
|
4069
4068
|
/** Methods for the timeoff > policy_timelines resource */
|
|
4070
4069
|
export class TimeoffPolicyTimelinesResource {
|
|
@@ -4073,14 +4072,14 @@ export class TimeoffPolicyTimelinesResource {
|
|
|
4073
4072
|
this._client = _client;
|
|
4074
4073
|
}
|
|
4075
4074
|
/** Lists all policy_timelines */
|
|
4076
|
-
list = (options) =>
|
|
4075
|
+
list = (options) => getApi20260701ResourcesTimeoffPolicyTimelines({ client: this._client, ...options });
|
|
4077
4076
|
/**
|
|
4078
4077
|
* Auto-paginate through all policy_timelines, yielding one item at a time.
|
|
4079
4078
|
* @example for await (const item of client.timeoff.policyTimelines.paginate()) { ... }
|
|
4080
4079
|
*/
|
|
4081
4080
|
paginate(options) {
|
|
4082
4081
|
const { maxItems, ...rest } = options ?? {};
|
|
4083
|
-
return paginate((params) =>
|
|
4082
|
+
return paginate((params) => getApi20260701ResourcesTimeoffPolicyTimelines({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4084
4083
|
}
|
|
4085
4084
|
/**
|
|
4086
4085
|
* Fetch all policy_timelines across all pages into a single array.
|
|
@@ -4097,14 +4096,14 @@ export class TrainingsCategoriesResource {
|
|
|
4097
4096
|
this._client = _client;
|
|
4098
4097
|
}
|
|
4099
4098
|
/** Lists all categories */
|
|
4100
|
-
list = (options) =>
|
|
4099
|
+
list = (options) => getApi20260701ResourcesTrainingsCategories({ client: this._client, ...options });
|
|
4101
4100
|
/**
|
|
4102
4101
|
* Auto-paginate through all categories, yielding one item at a time.
|
|
4103
4102
|
* @example for await (const item of client.trainings.categories.paginate()) { ... }
|
|
4104
4103
|
*/
|
|
4105
4104
|
paginate(options) {
|
|
4106
4105
|
const { maxItems, ...rest } = options ?? {};
|
|
4107
|
-
return paginate((params) =>
|
|
4106
|
+
return paginate((params) => getApi20260701ResourcesTrainingsCategories({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4108
4107
|
}
|
|
4109
4108
|
/**
|
|
4110
4109
|
* Fetch all categories across all pages into a single array.
|
|
@@ -4114,11 +4113,11 @@ export class TrainingsCategoriesResource {
|
|
|
4114
4113
|
return collectAll(this.paginate(options));
|
|
4115
4114
|
}
|
|
4116
4115
|
/** Creates a categories record */
|
|
4117
|
-
create = (options) =>
|
|
4116
|
+
create = (options) => postApi20260701ResourcesTrainingsCategories({ client: this._client, ...options });
|
|
4118
4117
|
/** Reads a single categories record */
|
|
4119
|
-
get = (options) =>
|
|
4118
|
+
get = (options) => getApi20260701ResourcesTrainingsCategoriesById({ client: this._client, ...options });
|
|
4120
4119
|
/** Deletes a categories record */
|
|
4121
|
-
delete = (options) =>
|
|
4120
|
+
delete = (options) => deleteApi20260701ResourcesTrainingsCategoriesById({ client: this._client, ...options });
|
|
4122
4121
|
}
|
|
4123
4122
|
/** Methods for the trainings > session_access_memberships resource */
|
|
4124
4123
|
export class TrainingsSessionAccessMembershipsResource {
|
|
@@ -4127,14 +4126,14 @@ export class TrainingsSessionAccessMembershipsResource {
|
|
|
4127
4126
|
this._client = _client;
|
|
4128
4127
|
}
|
|
4129
4128
|
/** Lists all session_access_memberships */
|
|
4130
|
-
list = (options) =>
|
|
4129
|
+
list = (options) => getApi20260701ResourcesTrainingsSessionAccessMemberships({ client: this._client, ...options });
|
|
4131
4130
|
/**
|
|
4132
4131
|
* Auto-paginate through all session_access_memberships, yielding one item at a time.
|
|
4133
4132
|
* @example for await (const item of client.trainings.sessionAccessMemberships.paginate()) { ... }
|
|
4134
4133
|
*/
|
|
4135
4134
|
paginate(options) {
|
|
4136
4135
|
const { maxItems, ...rest } = options ?? {};
|
|
4137
|
-
return paginate((params) =>
|
|
4136
|
+
return paginate((params) => getApi20260701ResourcesTrainingsSessionAccessMemberships({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4138
4137
|
}
|
|
4139
4138
|
/**
|
|
4140
4139
|
* Fetch all session_access_memberships across all pages into a single array.
|
|
@@ -4144,11 +4143,11 @@ export class TrainingsSessionAccessMembershipsResource {
|
|
|
4144
4143
|
return collectAll(this.paginate(options));
|
|
4145
4144
|
}
|
|
4146
4145
|
/** Reads a single session_access_memberships record */
|
|
4147
|
-
get = (options) =>
|
|
4146
|
+
get = (options) => getApi20260701ResourcesTrainingsSessionAccessMembershipsById({ client: this._client, ...options });
|
|
4148
4147
|
/** bulkCreate */
|
|
4149
|
-
bulkCreate = (options) =>
|
|
4148
|
+
bulkCreate = (options) => postApi20260701ResourcesTrainingsSessionAccessMembershipsBulkCreate({ client: this._client, ...options });
|
|
4150
4149
|
/** bulkDestroy */
|
|
4151
|
-
bulkDestroy = (options) =>
|
|
4150
|
+
bulkDestroy = (options) => postApi20260701ResourcesTrainingsSessionAccessMembershipsBulkDestroy({ client: this._client, ...options });
|
|
4152
4151
|
}
|
|
4153
4152
|
/** Methods for the trainings > session_attendances resource */
|
|
4154
4153
|
export class TrainingsSessionAttendancesResource {
|
|
@@ -4157,14 +4156,14 @@ export class TrainingsSessionAttendancesResource {
|
|
|
4157
4156
|
this._client = _client;
|
|
4158
4157
|
}
|
|
4159
4158
|
/** Lists all session_attendances */
|
|
4160
|
-
list = (options) =>
|
|
4159
|
+
list = (options) => getApi20260701ResourcesTrainingsSessionAttendances({ client: this._client, ...options });
|
|
4161
4160
|
/**
|
|
4162
4161
|
* Auto-paginate through all session_attendances, yielding one item at a time.
|
|
4163
4162
|
* @example for await (const item of client.trainings.sessionAttendances.paginate()) { ... }
|
|
4164
4163
|
*/
|
|
4165
4164
|
paginate(options) {
|
|
4166
4165
|
const { maxItems, ...rest } = options ?? {};
|
|
4167
|
-
return paginate((params) =>
|
|
4166
|
+
return paginate((params) => getApi20260701ResourcesTrainingsSessionAttendances({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4168
4167
|
}
|
|
4169
4168
|
/**
|
|
4170
4169
|
* Fetch all session_attendances across all pages into a single array.
|
|
@@ -4174,9 +4173,9 @@ export class TrainingsSessionAttendancesResource {
|
|
|
4174
4173
|
return collectAll(this.paginate(options));
|
|
4175
4174
|
}
|
|
4176
4175
|
/** Reads a single session_attendances record */
|
|
4177
|
-
get = (options) =>
|
|
4176
|
+
get = (options) => getApi20260701ResourcesTrainingsSessionAttendancesById({ client: this._client, ...options });
|
|
4178
4177
|
/** bulkUpdate */
|
|
4179
|
-
bulkUpdate = (options) =>
|
|
4178
|
+
bulkUpdate = (options) => postApi20260701ResourcesTrainingsSessionAttendancesBulkUpdate({ client: this._client, ...options });
|
|
4180
4179
|
}
|
|
4181
4180
|
/** Methods for the trainings > sessions resource */
|
|
4182
4181
|
export class TrainingsSessionsResource {
|
|
@@ -4185,14 +4184,14 @@ export class TrainingsSessionsResource {
|
|
|
4185
4184
|
this._client = _client;
|
|
4186
4185
|
}
|
|
4187
4186
|
/** Lists all sessions */
|
|
4188
|
-
list = (options) =>
|
|
4187
|
+
list = (options) => getApi20260701ResourcesTrainingsSessions({ client: this._client, ...options });
|
|
4189
4188
|
/**
|
|
4190
4189
|
* Auto-paginate through all sessions, yielding one item at a time.
|
|
4191
4190
|
* @example for await (const item of client.trainings.sessions.paginate()) { ... }
|
|
4192
4191
|
*/
|
|
4193
4192
|
paginate(options) {
|
|
4194
4193
|
const { maxItems, ...rest } = options ?? {};
|
|
4195
|
-
return paginate((params) =>
|
|
4194
|
+
return paginate((params) => getApi20260701ResourcesTrainingsSessions({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4196
4195
|
}
|
|
4197
4196
|
/**
|
|
4198
4197
|
* Fetch all sessions across all pages into a single array.
|
|
@@ -4202,13 +4201,13 @@ export class TrainingsSessionsResource {
|
|
|
4202
4201
|
return collectAll(this.paginate(options));
|
|
4203
4202
|
}
|
|
4204
4203
|
/** Creates a sessions record */
|
|
4205
|
-
create = (options) =>
|
|
4204
|
+
create = (options) => postApi20260701ResourcesTrainingsSessions({ client: this._client, ...options });
|
|
4206
4205
|
/** Reads a single sessions record */
|
|
4207
|
-
get = (options) =>
|
|
4206
|
+
get = (options) => getApi20260701ResourcesTrainingsSessionsById({ client: this._client, ...options });
|
|
4208
4207
|
/** Updates a sessions record */
|
|
4209
|
-
update = (options) =>
|
|
4208
|
+
update = (options) => putApi20260701ResourcesTrainingsSessionsById({ client: this._client, ...options });
|
|
4210
4209
|
/** Deletes a sessions record */
|
|
4211
|
-
delete = (options) =>
|
|
4210
|
+
delete = (options) => deleteApi20260701ResourcesTrainingsSessionsById({ client: this._client, ...options });
|
|
4212
4211
|
}
|
|
4213
4212
|
/** Methods for the trainings > training_classes resource */
|
|
4214
4213
|
export class TrainingsTrainingClassesResource {
|
|
@@ -4217,14 +4216,14 @@ export class TrainingsTrainingClassesResource {
|
|
|
4217
4216
|
this._client = _client;
|
|
4218
4217
|
}
|
|
4219
4218
|
/** Lists all training_classes */
|
|
4220
|
-
list = (options) =>
|
|
4219
|
+
list = (options) => getApi20260701ResourcesTrainingsTrainingClasses({ client: this._client, ...options });
|
|
4221
4220
|
/**
|
|
4222
4221
|
* Auto-paginate through all training_classes, yielding one item at a time.
|
|
4223
4222
|
* @example for await (const item of client.trainings.trainingClasses.paginate()) { ... }
|
|
4224
4223
|
*/
|
|
4225
4224
|
paginate(options) {
|
|
4226
4225
|
const { maxItems, ...rest } = options ?? {};
|
|
4227
|
-
return paginate((params) =>
|
|
4226
|
+
return paginate((params) => getApi20260701ResourcesTrainingsTrainingClasses({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4228
4227
|
}
|
|
4229
4228
|
/**
|
|
4230
4229
|
* Fetch all training_classes across all pages into a single array.
|
|
@@ -4234,13 +4233,13 @@ export class TrainingsTrainingClassesResource {
|
|
|
4234
4233
|
return collectAll(this.paginate(options));
|
|
4235
4234
|
}
|
|
4236
4235
|
/** Creates a training_classes record */
|
|
4237
|
-
create = (options) =>
|
|
4236
|
+
create = (options) => postApi20260701ResourcesTrainingsTrainingClasses({ client: this._client, ...options });
|
|
4238
4237
|
/** Reads a single training_classes record */
|
|
4239
|
-
get = (options) =>
|
|
4238
|
+
get = (options) => getApi20260701ResourcesTrainingsTrainingClassesById({ client: this._client, ...options });
|
|
4240
4239
|
/** Updates a training_classes record */
|
|
4241
|
-
update = (options) =>
|
|
4240
|
+
update = (options) => putApi20260701ResourcesTrainingsTrainingClassesById({ client: this._client, ...options });
|
|
4242
4241
|
/** Deletes a training_classes record */
|
|
4243
|
-
delete = (options) =>
|
|
4242
|
+
delete = (options) => deleteApi20260701ResourcesTrainingsTrainingClassesById({ client: this._client, ...options });
|
|
4244
4243
|
}
|
|
4245
4244
|
/** Methods for the trainings > training_memberships resource */
|
|
4246
4245
|
export class TrainingsTrainingMembershipsResource {
|
|
@@ -4249,14 +4248,14 @@ export class TrainingsTrainingMembershipsResource {
|
|
|
4249
4248
|
this._client = _client;
|
|
4250
4249
|
}
|
|
4251
4250
|
/** Lists all training_memberships */
|
|
4252
|
-
list = (options) =>
|
|
4251
|
+
list = (options) => getApi20260701ResourcesTrainingsTrainingMemberships({ client: this._client, ...options });
|
|
4253
4252
|
/**
|
|
4254
4253
|
* Auto-paginate through all training_memberships, yielding one item at a time.
|
|
4255
4254
|
* @example for await (const item of client.trainings.trainingMemberships.paginate()) { ... }
|
|
4256
4255
|
*/
|
|
4257
4256
|
paginate(options) {
|
|
4258
4257
|
const { maxItems, ...rest } = options ?? {};
|
|
4259
|
-
return paginate((params) =>
|
|
4258
|
+
return paginate((params) => getApi20260701ResourcesTrainingsTrainingMemberships({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4260
4259
|
}
|
|
4261
4260
|
/**
|
|
4262
4261
|
* Fetch all training_memberships across all pages into a single array.
|
|
@@ -4266,13 +4265,13 @@ export class TrainingsTrainingMembershipsResource {
|
|
|
4266
4265
|
return collectAll(this.paginate(options));
|
|
4267
4266
|
}
|
|
4268
4267
|
/** Reads a single training_memberships record */
|
|
4269
|
-
get = (options) =>
|
|
4268
|
+
get = (options) => getApi20260701ResourcesTrainingsTrainingMembershipsById({ client: this._client, ...options });
|
|
4270
4269
|
/** Updates a training_memberships record */
|
|
4271
|
-
update = (options) =>
|
|
4270
|
+
update = (options) => putApi20260701ResourcesTrainingsTrainingMembershipsById({ client: this._client, ...options });
|
|
4272
4271
|
/** bulkCreate */
|
|
4273
|
-
bulkCreate = (options) =>
|
|
4272
|
+
bulkCreate = (options) => postApi20260701ResourcesTrainingsTrainingMembershipsBulkCreate({ client: this._client, ...options });
|
|
4274
4273
|
/** bulkDestroy */
|
|
4275
|
-
bulkDestroy = (options) =>
|
|
4274
|
+
bulkDestroy = (options) => postApi20260701ResourcesTrainingsTrainingMembershipsBulkDestroy({ client: this._client, ...options });
|
|
4276
4275
|
}
|
|
4277
4276
|
/** Methods for the trainings > trainings resource */
|
|
4278
4277
|
export class TrainingsTrainingsResource {
|
|
@@ -4281,14 +4280,14 @@ export class TrainingsTrainingsResource {
|
|
|
4281
4280
|
this._client = _client;
|
|
4282
4281
|
}
|
|
4283
4282
|
/** Lists all trainings */
|
|
4284
|
-
list = (options) =>
|
|
4283
|
+
list = (options) => getApi20260701ResourcesTrainingsTrainings({ client: this._client, ...options });
|
|
4285
4284
|
/**
|
|
4286
4285
|
* Auto-paginate through all trainings, yielding one item at a time.
|
|
4287
4286
|
* @example for await (const item of client.trainings.trainings.paginate()) { ... }
|
|
4288
4287
|
*/
|
|
4289
4288
|
paginate(options) {
|
|
4290
4289
|
const { maxItems, ...rest } = options ?? {};
|
|
4291
|
-
return paginate((params) =>
|
|
4290
|
+
return paginate((params) => getApi20260701ResourcesTrainingsTrainings({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4292
4291
|
}
|
|
4293
4292
|
/**
|
|
4294
4293
|
* Fetch all trainings across all pages into a single array.
|
|
@@ -4298,19 +4297,19 @@ export class TrainingsTrainingsResource {
|
|
|
4298
4297
|
return collectAll(this.paginate(options));
|
|
4299
4298
|
}
|
|
4300
4299
|
/** Creates a trainings record */
|
|
4301
|
-
create = (options) =>
|
|
4300
|
+
create = (options) => postApi20260701ResourcesTrainingsTrainings({ client: this._client, ...options });
|
|
4302
4301
|
/** Reads a single trainings record */
|
|
4303
|
-
get = (options) =>
|
|
4302
|
+
get = (options) => getApi20260701ResourcesTrainingsTrainingsById({ client: this._client, ...options });
|
|
4304
4303
|
/** Updates a trainings record */
|
|
4305
|
-
update = (options) =>
|
|
4304
|
+
update = (options) => putApi20260701ResourcesTrainingsTrainingsById({ client: this._client, ...options });
|
|
4306
4305
|
/** Deletes a trainings record */
|
|
4307
|
-
delete = (options) =>
|
|
4306
|
+
delete = (options) => deleteApi20260701ResourcesTrainingsTrainingsById({ client: this._client, ...options });
|
|
4308
4307
|
/** bulkDelete */
|
|
4309
|
-
bulkDelete = (options) =>
|
|
4308
|
+
bulkDelete = (options) => postApi20260701ResourcesTrainingsTrainingsBulkDelete({ client: this._client, ...options });
|
|
4310
4309
|
/** bulkUpdateCatalog */
|
|
4311
|
-
bulkUpdateCatalog = (options) =>
|
|
4310
|
+
bulkUpdateCatalog = (options) => postApi20260701ResourcesTrainingsTrainingsBulkUpdateCatalog({ client: this._client, ...options });
|
|
4312
4311
|
/** updateStatus */
|
|
4313
|
-
updateStatus = (options) =>
|
|
4312
|
+
updateStatus = (options) => postApi20260701ResourcesTrainingsTrainingsUpdateStatus({ client: this._client, ...options });
|
|
4314
4313
|
}
|
|
4315
4314
|
/** Methods for the work_schedule > day_configurations resource */
|
|
4316
4315
|
export class WorkScheduleDayConfigurationsResource {
|
|
@@ -4319,14 +4318,14 @@ export class WorkScheduleDayConfigurationsResource {
|
|
|
4319
4318
|
this._client = _client;
|
|
4320
4319
|
}
|
|
4321
4320
|
/** Lists all day_configurations */
|
|
4322
|
-
list = (options) =>
|
|
4321
|
+
list = (options) => getApi20260701ResourcesWorkScheduleDayConfigurations({ client: this._client, ...options });
|
|
4323
4322
|
/**
|
|
4324
4323
|
* Auto-paginate through all day_configurations, yielding one item at a time.
|
|
4325
4324
|
* @example for await (const item of client.workSchedule.dayConfigurations.paginate()) { ... }
|
|
4326
4325
|
*/
|
|
4327
4326
|
paginate(options) {
|
|
4328
4327
|
const { maxItems, ...rest } = options ?? {};
|
|
4329
|
-
return paginate((params) =>
|
|
4328
|
+
return paginate((params) => getApi20260701ResourcesWorkScheduleDayConfigurations({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4330
4329
|
}
|
|
4331
4330
|
/**
|
|
4332
4331
|
* Fetch all day_configurations across all pages into a single array.
|
|
@@ -4336,9 +4335,9 @@ export class WorkScheduleDayConfigurationsResource {
|
|
|
4336
4335
|
return collectAll(this.paginate(options));
|
|
4337
4336
|
}
|
|
4338
4337
|
/** Reads a single day_configurations record */
|
|
4339
|
-
get = (options) =>
|
|
4338
|
+
get = (options) => getApi20260701ResourcesWorkScheduleDayConfigurationsById({ client: this._client, ...options });
|
|
4340
4339
|
/** bulkCud */
|
|
4341
|
-
bulkCud = (options) =>
|
|
4340
|
+
bulkCud = (options) => postApi20260701ResourcesWorkScheduleDayConfigurationsBulkCud({ client: this._client, ...options });
|
|
4342
4341
|
}
|
|
4343
4342
|
/** Methods for the work_schedule > overlap_periods resource */
|
|
4344
4343
|
export class WorkScheduleOverlapPeriodsResource {
|
|
@@ -4347,14 +4346,14 @@ export class WorkScheduleOverlapPeriodsResource {
|
|
|
4347
4346
|
this._client = _client;
|
|
4348
4347
|
}
|
|
4349
4348
|
/** Lists all overlap_periods */
|
|
4350
|
-
list = (options) =>
|
|
4349
|
+
list = (options) => getApi20260701ResourcesWorkScheduleOverlapPeriods({ client: this._client, ...options });
|
|
4351
4350
|
/**
|
|
4352
4351
|
* Auto-paginate through all overlap_periods, yielding one item at a time.
|
|
4353
4352
|
* @example for await (const item of client.workSchedule.overlapPeriods.paginate()) { ... }
|
|
4354
4353
|
*/
|
|
4355
4354
|
paginate(options) {
|
|
4356
4355
|
const { maxItems, ...rest } = options ?? {};
|
|
4357
|
-
return paginate((params) =>
|
|
4356
|
+
return paginate((params) => getApi20260701ResourcesWorkScheduleOverlapPeriods({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4358
4357
|
}
|
|
4359
4358
|
/**
|
|
4360
4359
|
* Fetch all overlap_periods across all pages into a single array.
|
|
@@ -4364,13 +4363,13 @@ export class WorkScheduleOverlapPeriodsResource {
|
|
|
4364
4363
|
return collectAll(this.paginate(options));
|
|
4365
4364
|
}
|
|
4366
4365
|
/** Creates a overlap_periods record */
|
|
4367
|
-
create = (options) =>
|
|
4366
|
+
create = (options) => postApi20260701ResourcesWorkScheduleOverlapPeriods({ client: this._client, ...options });
|
|
4368
4367
|
/** Reads a single overlap_periods record */
|
|
4369
|
-
get = (options) =>
|
|
4368
|
+
get = (options) => getApi20260701ResourcesWorkScheduleOverlapPeriodsById({ client: this._client, ...options });
|
|
4370
4369
|
/** Updates a overlap_periods record */
|
|
4371
|
-
update = (options) =>
|
|
4370
|
+
update = (options) => putApi20260701ResourcesWorkScheduleOverlapPeriodsById({ client: this._client, ...options });
|
|
4372
4371
|
/** Deletes a overlap_periods record */
|
|
4373
|
-
delete = (options) =>
|
|
4372
|
+
delete = (options) => deleteApi20260701ResourcesWorkScheduleOverlapPeriodsById({ client: this._client, ...options });
|
|
4374
4373
|
}
|
|
4375
4374
|
/** Methods for the work_schedule > schedules resource */
|
|
4376
4375
|
export class WorkScheduleSchedulesResource {
|
|
@@ -4379,14 +4378,14 @@ export class WorkScheduleSchedulesResource {
|
|
|
4379
4378
|
this._client = _client;
|
|
4380
4379
|
}
|
|
4381
4380
|
/** Lists all schedules */
|
|
4382
|
-
list = (options) =>
|
|
4381
|
+
list = (options) => getApi20260701ResourcesWorkScheduleSchedules({ client: this._client, ...options });
|
|
4383
4382
|
/**
|
|
4384
4383
|
* Auto-paginate through all schedules, yielding one item at a time.
|
|
4385
4384
|
* @example for await (const item of client.workSchedule.schedules.paginate()) { ... }
|
|
4386
4385
|
*/
|
|
4387
4386
|
paginate(options) {
|
|
4388
4387
|
const { maxItems, ...rest } = options ?? {};
|
|
4389
|
-
return paginate((params) =>
|
|
4388
|
+
return paginate((params) => getApi20260701ResourcesWorkScheduleSchedules({ client: this._client, ...rest, query: { ...rest?.query, ...params } }), { maxItems });
|
|
4390
4389
|
}
|
|
4391
4390
|
/**
|
|
4392
4391
|
* Fetch all schedules across all pages into a single array.
|
|
@@ -4396,13 +4395,13 @@ export class WorkScheduleSchedulesResource {
|
|
|
4396
4395
|
return collectAll(this.paginate(options));
|
|
4397
4396
|
}
|
|
4398
4397
|
/** Creates a schedules record */
|
|
4399
|
-
create = (options) =>
|
|
4398
|
+
create = (options) => postApi20260701ResourcesWorkScheduleSchedules({ client: this._client, ...options });
|
|
4400
4399
|
/** Reads a single schedules record */
|
|
4401
|
-
get = (options) =>
|
|
4400
|
+
get = (options) => getApi20260701ResourcesWorkScheduleSchedulesById({ client: this._client, ...options });
|
|
4402
4401
|
/** Updates a schedules record */
|
|
4403
|
-
update = (options) =>
|
|
4402
|
+
update = (options) => putApi20260701ResourcesWorkScheduleSchedulesById({ client: this._client, ...options });
|
|
4404
4403
|
/** toggleArchive */
|
|
4405
|
-
toggleArchive = (options) =>
|
|
4404
|
+
toggleArchive = (options) => postApi20260701ResourcesWorkScheduleSchedulesToggleArchive({ client: this._client, ...options });
|
|
4406
4405
|
}
|
|
4407
4406
|
/** Namespace for all api_public resources */
|
|
4408
4407
|
export class ApiPublicNamespace {
|
|
@@ -4511,6 +4510,7 @@ export class ContractsNamespace {
|
|
|
4511
4510
|
contractVersions;
|
|
4512
4511
|
frenchContractTypes;
|
|
4513
4512
|
germanContractTypes;
|
|
4513
|
+
materializedTemplates;
|
|
4514
4514
|
portugueseContractTypes;
|
|
4515
4515
|
referenceContracts;
|
|
4516
4516
|
spanishContractTypes;
|
|
@@ -4526,6 +4526,7 @@ export class ContractsNamespace {
|
|
|
4526
4526
|
this.contractVersions = new ContractsContractVersionsResource(client);
|
|
4527
4527
|
this.frenchContractTypes = new ContractsFrenchContractTypesResource(client);
|
|
4528
4528
|
this.germanContractTypes = new ContractsGermanContractTypesResource(client);
|
|
4529
|
+
this.materializedTemplates = new ContractsMaterializedTemplatesResource(client);
|
|
4529
4530
|
this.portugueseContractTypes = new ContractsPortugueseContractTypesResource(client);
|
|
4530
4531
|
this.referenceContracts = new ContractsReferenceContractsResource(client);
|
|
4531
4532
|
this.spanishContractTypes = new ContractsSpanishContractTypesResource(client);
|
|
@@ -4647,9 +4648,11 @@ export class HolidaysNamespace {
|
|
|
4647
4648
|
}
|
|
4648
4649
|
/** Namespace for all integrations resources */
|
|
4649
4650
|
export class IntegrationsNamespace {
|
|
4651
|
+
syncRunOutputs;
|
|
4650
4652
|
syncableItems;
|
|
4651
4653
|
syncableSyncRuns;
|
|
4652
4654
|
constructor(client) {
|
|
4655
|
+
this.syncRunOutputs = new IntegrationsSyncRunOutputsResource(client);
|
|
4653
4656
|
this.syncableItems = new IntegrationsSyncableItemsResource(client);
|
|
4654
4657
|
this.syncableSyncRuns = new IntegrationsSyncableSyncRunsResource(client);
|
|
4655
4658
|
}
|
|
@@ -4779,8 +4782,7 @@ export class ProjectManagementNamespace {
|
|
|
4779
4782
|
budgetStrategies;
|
|
4780
4783
|
expenseRecords;
|
|
4781
4784
|
exportableExpenses;
|
|
4782
|
-
|
|
4783
|
-
flexibleTimeRecords;
|
|
4785
|
+
imputableProjects;
|
|
4784
4786
|
plannedRecords;
|
|
4785
4787
|
projectTasks;
|
|
4786
4788
|
projectWorkers;
|
|
@@ -4791,8 +4793,7 @@ export class ProjectManagementNamespace {
|
|
|
4791
4793
|
this.budgetStrategies = new ProjectManagementBudgetStrategiesResource(client);
|
|
4792
4794
|
this.expenseRecords = new ProjectManagementExpenseRecordsResource(client);
|
|
4793
4795
|
this.exportableExpenses = new ProjectManagementExportableExpensesResource(client);
|
|
4794
|
-
this.
|
|
4795
|
-
this.flexibleTimeRecords = new ProjectManagementFlexibleTimeRecordsResource(client);
|
|
4796
|
+
this.imputableProjects = new ProjectManagementImputableProjectsResource(client);
|
|
4796
4797
|
this.plannedRecords = new ProjectManagementPlannedRecordsResource(client);
|
|
4797
4798
|
this.projectTasks = new ProjectManagementProjectTasksResource(client);
|
|
4798
4799
|
this.projectWorkers = new ProjectManagementProjectWorkersResource(client);
|