@factorialco/api-client 3.0.0-beta.2026100139 → 3.0.0
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/README.md +70 -28
- package/dist/cjs/errors.d.ts +96 -0
- package/dist/cjs/errors.d.ts.map +1 -0
- package/dist/cjs/errors.js +155 -0
- package/dist/cjs/errors.js.map +1 -0
- package/dist/cjs/generated/sdk.gen.d.ts +27 -1
- package/dist/cjs/generated/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/generated/sdk.gen.js +27 -1
- package/dist/cjs/generated/sdk.gen.js.map +1 -1
- package/dist/cjs/generated/types.gen.d.ts +3 -3
- package/dist/cjs/index.d.ts +2 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +6 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/pagination.d.ts +5 -3
- package/dist/cjs/pagination.d.ts.map +1 -1
- package/dist/cjs/pagination.js +5 -6
- package/dist/cjs/pagination.js.map +1 -1
- package/dist/cjs/sdk.d.ts +976 -956
- package/dist/cjs/sdk.d.ts.map +1 -1
- package/dist/cjs/sdk.js +871 -347
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/errors.d.ts +96 -0
- package/dist/esm/errors.d.ts.map +1 -0
- package/dist/esm/errors.js +149 -0
- package/dist/esm/errors.js.map +1 -0
- package/dist/esm/generated/sdk.gen.d.ts +27 -1
- package/dist/esm/generated/sdk.gen.d.ts.map +1 -1
- package/dist/esm/generated/sdk.gen.js +27 -1
- package/dist/esm/generated/sdk.gen.js.map +1 -1
- package/dist/esm/generated/types.gen.d.ts +3 -3
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/pagination.d.ts +5 -3
- package/dist/esm/pagination.d.ts.map +1 -1
- package/dist/esm/pagination.js +5 -6
- package/dist/esm/pagination.js.map +1 -1
- package/dist/esm/sdk.d.ts +976 -956
- package/dist/esm/sdk.d.ts.map +1 -1
- package/dist/esm/sdk.js +864 -342
- package/dist/esm/sdk.js.map +1 -1
- package/package.json +6 -2
package/dist/esm/sdk.js
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
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 { toFactorialApiError } from "./errors.js";
|
|
5
6
|
import { deleteApi20261001ResourcesApiPublicWebhookSubscriptionsById, deleteApi20261001ResourcesAtsApplicationsById, deleteApi20261001ResourcesAtsCandidatesById, deleteApi20261001ResourcesAtsFeedbacksById, deleteApi20261001ResourcesAtsJobPostingsById, deleteApi20261001ResourcesAtsQuestionsById, deleteApi20261001ResourcesAttendanceEditTimesheetRequestsById, deleteApi20261001ResourcesAttendanceOvertimeRequestsById, deleteApi20261001ResourcesAttendanceShiftsById, deleteApi20261001ResourcesCompensationsAdditionalCompensationsById, deleteApi20261001ResourcesCompensationsEmployeesCompensationsById, deleteApi20261001ResourcesContractsCompensationsById, deleteApi20261001ResourcesContractsContractVersionsById, deleteApi20261001ResourcesCustomFieldsFieldsById, deleteApi20261001ResourcesDocumentsDocumentsById, deleteApi20261001ResourcesFinanceCostCentersById, deleteApi20261001ResourcesItManagementItAssetsById, deleteApi20261001ResourcesLocationsLocationsById, deleteApi20261001ResourcesPayrollEmployeesIdentifiersById, deleteApi20261001ResourcesPayrollIntegrationsBaseCodesById, deleteApi20261001ResourcesPayrollSupplementsById, deleteApi20261001ResourcesPerformanceReviewOwnersById, deleteApi20261001ResourcesPerformanceReviewProcessTargetsById, deleteApi20261001ResourcesPerformanceReviewProcessesById, deleteApi20261001ResourcesPostsCommentsById, deleteApi20261001ResourcesPostsGroupsById, deleteApi20261001ResourcesPostsPostsById, deleteApi20261001ResourcesProjectManagementBudgetStrategiesById, deleteApi20261001ResourcesProjectManagementPlannedRecordsById, deleteApi20261001ResourcesProjectManagementSubprojectsById, deleteApi20261001ResourcesProjectManagementTimeRecordsById, deleteApi20261001ResourcesShiftManagementShiftsById, deleteApi20261001ResourcesTasksTaskFilesById, deleteApi20261001ResourcesTasksTasksById, deleteApi20261001ResourcesTeamsMembershipsById, deleteApi20261001ResourcesTeamsTeamsById, deleteApi20261001ResourcesTimePlanningPlanningVersionsById, deleteApi20261001ResourcesTimeoffAllowanceIncidencesById, deleteApi20261001ResourcesTimeoffAllowancesById, deleteApi20261001ResourcesTimeoffBlockedPeriodsById, deleteApi20261001ResourcesTimeoffLeavesById, deleteApi20261001ResourcesTimeoffPoliciesById, deleteApi20261001ResourcesTimeoffPolicyAssignmentsById, deleteApi20261001ResourcesTrainingsCategoriesById, deleteApi20261001ResourcesTrainingsSessionsById, deleteApi20261001ResourcesTrainingsTrainingClassesById, deleteApi20261001ResourcesTrainingsTrainingsById, deleteApi20261001ResourcesWorkScheduleOverlapPeriodsById, getApi20261001ResourcesApiPublicCredentials, getApi20261001ResourcesApiPublicWebhookSubscriptions, getApi20261001ResourcesApiPublicWebhookSubscriptionsById, getApi20261001ResourcesAtsAnswers, getApi20261001ResourcesAtsAnswersById, getApi20261001ResourcesAtsApplicationPhases, getApi20261001ResourcesAtsApplicationPhasesById, getApi20261001ResourcesAtsApplications, getApi20261001ResourcesAtsApplicationsById, getApi20261001ResourcesAtsCandidateSources, getApi20261001ResourcesAtsCandidateSourcesById, getApi20261001ResourcesAtsCandidates, getApi20261001ResourcesAtsCandidatesById, getApi20261001ResourcesAtsEvaluationForms, getApi20261001ResourcesAtsEvaluationFormsById, getApi20261001ResourcesAtsFeedbacks, getApi20261001ResourcesAtsFeedbacksById, getApi20261001ResourcesAtsHiringStages, getApi20261001ResourcesAtsHiringStagesById, getApi20261001ResourcesAtsJobPostings, getApi20261001ResourcesAtsJobPostingsById, getApi20261001ResourcesAtsMessages, getApi20261001ResourcesAtsMessagesById, getApi20261001ResourcesAtsQuestions, getApi20261001ResourcesAtsQuestionsById, getApi20261001ResourcesAtsRejectionReasons, getApi20261001ResourcesAtsRejectionReasonsById, getApi20261001ResourcesAttendanceBreakConfigurations, getApi20261001ResourcesAttendanceBreakConfigurationsById, getApi20261001ResourcesAttendanceEditTimesheetRequests, getApi20261001ResourcesAttendanceEditTimesheetRequestsById, getApi20261001ResourcesAttendanceEstimatedTimes, getApi20261001ResourcesAttendanceOpenShifts, getApi20261001ResourcesAttendanceOvertimeRequests, getApi20261001ResourcesAttendanceOvertimeRequestsById, getApi20261001ResourcesAttendanceReviews, getApi20261001ResourcesAttendanceShifts, getApi20261001ResourcesAttendanceShiftsById, getApi20261001ResourcesAttendanceWorkedTimes, getApi20261001ResourcesAttendanceWorkedTimesById, getApi20261001ResourcesBankingBankAccounts, getApi20261001ResourcesBankingBankAccountsById, getApi20261001ResourcesBankingCardPayments, getApi20261001ResourcesBankingCardPaymentsById, getApi20261001ResourcesBankingTransactions, getApi20261001ResourcesBankingTransactionsById, getApi20261001ResourcesBookkeepersManagementIncidences, getApi20261001ResourcesBookkeepersManagementIncidencesById, getApi20261001ResourcesCompaniesLegalEntities, getApi20261001ResourcesCompaniesLegalEntitiesById, getApi20261001ResourcesCompensationsAdditionalCompensations, getApi20261001ResourcesCompensationsAdditionalCompensationsById, getApi20261001ResourcesCompensationsConcepts, getApi20261001ResourcesCompensationsConceptsById, getApi20261001ResourcesCompensationsCycles, getApi20261001ResourcesCompensationsCyclesById, getApi20261001ResourcesCompensationsEmployeesCompensations, getApi20261001ResourcesCompensationsEmployeesCompensationsById, getApi20261001ResourcesCompensationsPayrollResults, getApi20261001ResourcesCompensationsPayrollResultsById, getApi20261001ResourcesCompensationsPayrollRunEmployeesCompensations, getApi20261001ResourcesCompensationsPayrollRunEmployeesCompensationsById, getApi20261001ResourcesCompensationsPayrollRuns, getApi20261001ResourcesCompensationsPayrollRunsById, getApi20261001ResourcesContractsCompensations, getApi20261001ResourcesContractsCompensationsById, getApi20261001ResourcesContractsContractActivityPeriods, getApi20261001ResourcesContractsContractTemplates, getApi20261001ResourcesContractsContractTemplatesById, getApi20261001ResourcesContractsContractVersionHistories, getApi20261001ResourcesContractsContractVersionHistoriesById, getApi20261001ResourcesContractsContractVersionMetaData, getApi20261001ResourcesContractsContractVersions, getApi20261001ResourcesContractsContractVersionsById, getApi20261001ResourcesContractsContracts, getApi20261001ResourcesContractsContractsById, getApi20261001ResourcesContractsFrenchContractTypes, getApi20261001ResourcesContractsFrenchContractTypesById, getApi20261001ResourcesContractsGermanContractTypes, getApi20261001ResourcesContractsGermanContractTypesById, getApi20261001ResourcesContractsMaterializedTemplates, getApi20261001ResourcesContractsPortugueseContractTypes, getApi20261001ResourcesContractsPortugueseContractTypesById, getApi20261001ResourcesContractsReferenceContracts, getApi20261001ResourcesContractsSpanishContractTypes, getApi20261001ResourcesContractsSpanishContractTypesById, getApi20261001ResourcesContractsSpanishEducationLevels, getApi20261001ResourcesContractsSpanishEducationLevelsById, getApi20261001ResourcesContractsSpanishProfessionalCategories, getApi20261001ResourcesContractsSpanishProfessionalCategoriesById, getApi20261001ResourcesContractsSpanishWorkingDayTypes, getApi20261001ResourcesContractsSpanishWorkingDayTypesById, getApi20261001ResourcesContractsTaxonomies, getApi20261001ResourcesContractsTaxonomiesById, getApi20261001ResourcesCustomFieldsFields, getApi20261001ResourcesCustomFieldsFieldsById, getApi20261001ResourcesCustomFieldsOptions, getApi20261001ResourcesCustomFieldsOptionsById, getApi20261001ResourcesCustomFieldsResourceFields, getApi20261001ResourcesCustomFieldsResourceFieldsById, getApi20261001ResourcesCustomFieldsValues, getApi20261001ResourcesCustomFieldsValuesById, getApi20261001ResourcesCustomResourcesResources, getApi20261001ResourcesCustomResourcesResourcesById, getApi20261001ResourcesCustomResourcesSchemas, getApi20261001ResourcesCustomResourcesSchemasById, getApi20261001ResourcesCustomResourcesValues, getApi20261001ResourcesCustomResourcesValuesById, getApi20261001ResourcesDocumentsDocuments, getApi20261001ResourcesDocumentsDocumentsById, getApi20261001ResourcesDocumentsFolders, getApi20261001ResourcesDocumentsFoldersById, getApi20261001ResourcesEmployeeUpdatesAbsences, getApi20261001ResourcesEmployeeUpdatesAbsencesById, getApi20261001ResourcesEmployeeUpdatesContractChanges, getApi20261001ResourcesEmployeeUpdatesContractChangesById, getApi20261001ResourcesEmployeeUpdatesNewHires, getApi20261001ResourcesEmployeeUpdatesNewHiresById, getApi20261001ResourcesEmployeeUpdatesPersonalChanges, getApi20261001ResourcesEmployeeUpdatesPersonalChangesById, getApi20261001ResourcesEmployeeUpdatesSummaries, getApi20261001ResourcesEmployeeUpdatesSummariesById, getApi20261001ResourcesEmployeeUpdatesTerminations, getApi20261001ResourcesEmployeeUpdatesTerminationsById, getApi20261001ResourcesEmployeesEmployees, getApi20261001ResourcesEmployeesEmployeesById, getApi20261001ResourcesExpensesExpensables, getApi20261001ResourcesExpensesExpensablesById, getApi20261001ResourcesExpensesExpenses, getApi20261001ResourcesExpensesExpensesById, getApi20261001ResourcesExpensesMileages, getApi20261001ResourcesExpensesMileagesById, getApi20261001ResourcesExpensesPerDiems, getApi20261001ResourcesExpensesPerDiemsById, getApi20261001ResourcesFinanceAccountingSettings, getApi20261001ResourcesFinanceAccountingSettingsById, getApi20261001ResourcesFinanceAccounts, getApi20261001ResourcesFinanceAccountsById, getApi20261001ResourcesFinanceBudgetOptions, getApi20261001ResourcesFinanceBudgetOptionsById, getApi20261001ResourcesFinanceCategories, getApi20261001ResourcesFinanceCategoriesById, getApi20261001ResourcesFinanceContacts, getApi20261001ResourcesFinanceContactsById, getApi20261001ResourcesFinanceCostCenterMemberships, getApi20261001ResourcesFinanceCostCenters, getApi20261001ResourcesFinanceCostCentersById, getApi20261001ResourcesFinanceFinancialDocuments, getApi20261001ResourcesFinanceFinancialDocumentsById, getApi20261001ResourcesFinanceJournalEntries, getApi20261001ResourcesFinanceJournalEntriesById, getApi20261001ResourcesFinanceJournalLines, getApi20261001ResourcesFinanceJournalLinesById, getApi20261001ResourcesFinanceLedgerAccountResources, getApi20261001ResourcesFinanceLedgerAccountResourcesById, getApi20261001ResourcesFinanceTaxRates, getApi20261001ResourcesFinanceTaxRatesById, getApi20261001ResourcesFinanceTaxTypes, getApi20261001ResourcesFinanceTaxTypesById, getApi20261001ResourcesHolidaysCompanyHolidays, getApi20261001ResourcesHolidaysCompanyHolidaysById, getApi20261001ResourcesIntegrationsSyncRuns, getApi20261001ResourcesIntegrationsSyncRunsById, getApi20261001ResourcesIntegrationsSyncableStates, getApi20261001ResourcesIntegrationsSyncableStatesById, getApi20261001ResourcesIntegrationsSyncableSyncRuns, getApi20261001ResourcesIntegrationsSyncableSyncRunsById, getApi20261001ResourcesItManagementAssetCategories, getApi20261001ResourcesItManagementAssetCategoriesById, getApi20261001ResourcesItManagementItAssetModels, getApi20261001ResourcesItManagementItAssetModelsById, getApi20261001ResourcesItManagementItAssets, getApi20261001ResourcesItManagementItAssetsById, getApi20261001ResourcesJobCatalogLevels, getApi20261001ResourcesJobCatalogLevelsById, getApi20261001ResourcesJobCatalogNodeAttributes, getApi20261001ResourcesJobCatalogRoles, getApi20261001ResourcesJobCatalogRolesById, getApi20261001ResourcesJobCatalogTreeNodes, getApi20261001ResourcesLocationsLocations, getApi20261001ResourcesLocationsLocationsById, getApi20261001ResourcesLocationsWorkAreas, getApi20261001ResourcesLocationsWorkAreasById, getApi20261001ResourcesMarketplaceInstallationSettings, getApi20261001ResourcesPayrollEmployeesGermanEmployeeData, getApi20261001ResourcesPayrollEmployeesGermanEmployeeDataById, getApi20261001ResourcesPayrollEmployeesIdentifiers, getApi20261001ResourcesPayrollEmployeesIdentifiersById, getApi20261001ResourcesPayrollFamilySituations, getApi20261001ResourcesPayrollIntegrationsBaseCodes, getApi20261001ResourcesPayrollSupplements, getApi20261001ResourcesPayrollSupplementsById, getApi20261001ResourcesPerformanceAgreements, getApi20261001ResourcesPerformanceAgreementsById, getApi20261001ResourcesPerformanceCompanyEmployeeScoreScales, getApi20261001ResourcesPerformanceCompanyEmployeeScoreScalesById, getApi20261001ResourcesPerformanceEmployeeScoreScales, getApi20261001ResourcesPerformanceEmployeeScoreScalesById, getApi20261001ResourcesPerformanceReviewEvaluationAnswers, getApi20261001ResourcesPerformanceReviewEvaluationScores, getApi20261001ResourcesPerformanceReviewEvaluationScoresById, getApi20261001ResourcesPerformanceReviewEvaluations, getApi20261001ResourcesPerformanceReviewEvaluationsById, getApi20261001ResourcesPerformanceReviewOwners, getApi20261001ResourcesPerformanceReviewProcessCustomTemplates, getApi20261001ResourcesPerformanceReviewProcessCustomTemplatesById, getApi20261001ResourcesPerformanceReviewProcessEstimatedTargets, getApi20261001ResourcesPerformanceReviewProcessTargets, getApi20261001ResourcesPerformanceReviewProcessTargetsById, getApi20261001ResourcesPerformanceReviewProcesses, getApi20261001ResourcesPerformanceReviewProcessesById, getApi20261001ResourcesPerformanceReviewQuestionnaireByStrategies, getApi20261001ResourcesPerformanceReviewQuestionnaireByStrategiesById, getApi20261001ResourcesPerformanceReviewVisibilitySettings, getApi20261001ResourcesPerformanceTargetManagers, getApi20261001ResourcesPerformanceTargetManagersById, getApi20261001ResourcesPostsComments, getApi20261001ResourcesPostsCommentsById, getApi20261001ResourcesPostsGroups, getApi20261001ResourcesPostsGroupsById, getApi20261001ResourcesPostsPosts, getApi20261001ResourcesPostsPostsById, getApi20261001ResourcesProcessesProcesses, getApi20261001ResourcesProcessesProcessesById, getApi20261001ResourcesProcurementPoFieldValues, getApi20261001ResourcesProcurementPoFieldValuesById, getApi20261001ResourcesProcurementPoLineItems, getApi20261001ResourcesProcurementPoLineItemsById, getApi20261001ResourcesProcurementPoTemplateFieldDefinitions, getApi20261001ResourcesProcurementPoTemplateFieldDefinitionsById, getApi20261001ResourcesProcurementPoTemplateVersions, getApi20261001ResourcesProcurementPoTemplateVersionsById, getApi20261001ResourcesProcurementPoTemplates, getApi20261001ResourcesProcurementPoTemplatesById, getApi20261001ResourcesProcurementPurchaseOrders, getApi20261001ResourcesProcurementPurchaseOrdersById, getApi20261001ResourcesProcurementPurchaseRequests, getApi20261001ResourcesProcurementPurchaseRequestsById, getApi20261001ResourcesProcurementTypes, getApi20261001ResourcesProcurementTypesById, getApi20261001ResourcesProjectManagementBudgetStrategies, getApi20261001ResourcesProjectManagementBudgetStrategiesById, getApi20261001ResourcesProjectManagementExpenseRecords, getApi20261001ResourcesProjectManagementExpenseRecordsById, getApi20261001ResourcesProjectManagementExportableExpenses, getApi20261001ResourcesProjectManagementImputableProjects, getApi20261001ResourcesProjectManagementImputableProjectsById, getApi20261001ResourcesProjectManagementPlannedRecords, getApi20261001ResourcesProjectManagementPlannedRecordsById, getApi20261001ResourcesProjectManagementProjectTasks, getApi20261001ResourcesProjectManagementProjectTasksById, getApi20261001ResourcesProjectManagementProjectWorkers, getApi20261001ResourcesProjectManagementProjectWorkersById, getApi20261001ResourcesProjectManagementProjects, getApi20261001ResourcesProjectManagementProjectsById, getApi20261001ResourcesProjectManagementRates, getApi20261001ResourcesProjectManagementRatesById, getApi20261001ResourcesProjectManagementSubprojects, getApi20261001ResourcesProjectManagementSubprojectsById, getApi20261001ResourcesProjectManagementTimeRecords, getApi20261001ResourcesProjectManagementTimeRecordsById, getApi20261001ResourcesShiftManagementShifts, getApi20261001ResourcesShiftManagementShiftsById, getApi20261001ResourcesTasksTaskFiles, getApi20261001ResourcesTasksTaskFilesById, getApi20261001ResourcesTasksTasks, getApi20261001ResourcesTasksTasksById, getApi20261001ResourcesTeamsMemberships, getApi20261001ResourcesTeamsMembershipsById, getApi20261001ResourcesTeamsTeams, getApi20261001ResourcesTeamsTeamsById, getApi20261001ResourcesTimePlanningPlannedBreaks, getApi20261001ResourcesTimePlanningPlannedBreaksById, getApi20261001ResourcesTimePlanningPlanningVersions, getApi20261001ResourcesTimeSettingsBreakConfigurations, getApi20261001ResourcesTimeSettingsBreakConfigurationsById, getApi20261001ResourcesTimeSettingsSplitCustomTimeRangeCategories, getApi20261001ResourcesTimeSettingsSplitCustomTimeRangeCategoriesById, getApi20261001ResourcesTimeoffAllowanceIncidences, getApi20261001ResourcesTimeoffAllowanceIncidencesById, getApi20261001ResourcesTimeoffAllowanceStats, getApi20261001ResourcesTimeoffAllowanceStatsById, getApi20261001ResourcesTimeoffAllowances, getApi20261001ResourcesTimeoffAllowancesById, getApi20261001ResourcesTimeoffBlockedPeriods, getApi20261001ResourcesTimeoffBlockedPeriodsById, getApi20261001ResourcesTimeoffFrenchLeaveDayCounts, getApi20261001ResourcesTimeoffLeaveTypes, getApi20261001ResourcesTimeoffLeaveTypesById, getApi20261001ResourcesTimeoffLeaves, getApi20261001ResourcesTimeoffLeavesById, getApi20261001ResourcesTimeoffPolicies, getApi20261001ResourcesTimeoffPoliciesById, getApi20261001ResourcesTimeoffPolicyAssignments, getApi20261001ResourcesTimeoffPolicyAssignmentsById, getApi20261001ResourcesTimeoffPolicyTimelines, getApi20261001ResourcesTrainingsCategories, getApi20261001ResourcesTrainingsCategoriesById, getApi20261001ResourcesTrainingsSessionAccessMemberships, getApi20261001ResourcesTrainingsSessionAccessMembershipsById, getApi20261001ResourcesTrainingsSessionAttendances, getApi20261001ResourcesTrainingsSessionAttendancesById, getApi20261001ResourcesTrainingsSessions, getApi20261001ResourcesTrainingsSessionsById, getApi20261001ResourcesTrainingsTrainingClasses, getApi20261001ResourcesTrainingsTrainingClassesById, getApi20261001ResourcesTrainingsTrainingMemberships, getApi20261001ResourcesTrainingsTrainingMembershipsById, getApi20261001ResourcesTrainingsTrainings, getApi20261001ResourcesTrainingsTrainingsById, getApi20261001ResourcesWorkScheduleDayConfigurations, getApi20261001ResourcesWorkScheduleDayConfigurationsById, getApi20261001ResourcesWorkScheduleOverlapPeriods, getApi20261001ResourcesWorkScheduleOverlapPeriodsById, getApi20261001ResourcesWorkScheduleSchedules, getApi20261001ResourcesWorkScheduleSchedulesById, postApi20261001ResourcesApiPublicWebhookSubscriptions, postApi20261001ResourcesApprovalsMaterializedApprovalsFlowsApproveResource, postApi20261001ResourcesApprovalsMaterializedApprovalsFlowsRejectResource, postApi20261001ResourcesAtsAnswers, postApi20261001ResourcesAtsApplications, postApi20261001ResourcesAtsApplicationsApply, postApi20261001ResourcesAtsApplicationsMoveToPhase, postApi20261001ResourcesAtsCandidates, postApi20261001ResourcesAtsEvaluationFormsSaveAsTemplate, postApi20261001ResourcesAtsFeedbacks, postApi20261001ResourcesAtsJobPostings, postApi20261001ResourcesAtsJobPostingsDuplicate, postApi20261001ResourcesAtsMessages, postApi20261001ResourcesAtsQuestions, postApi20261001ResourcesAttendanceBreakConfigurations, postApi20261001ResourcesAttendanceEditTimesheetRequests, postApi20261001ResourcesAttendanceOvertimeRequests, postApi20261001ResourcesAttendanceOvertimeRequestsApprove, postApi20261001ResourcesAttendanceOvertimeRequestsReject, postApi20261001ResourcesAttendanceReviewsBulkCreate, postApi20261001ResourcesAttendanceReviewsBulkDestroy, postApi20261001ResourcesAttendanceShifts, postApi20261001ResourcesAttendanceShiftsAutofill, postApi20261001ResourcesAttendanceShiftsBreakEnd, postApi20261001ResourcesAttendanceShiftsBreakStart, postApi20261001ResourcesAttendanceShiftsClockIn, postApi20261001ResourcesAttendanceShiftsClockOut, postApi20261001ResourcesAttendanceShiftsToggleClock, postApi20261001ResourcesBankingBankAccountsCreateManual, postApi20261001ResourcesCompaniesLegalEntities, postApi20261001ResourcesCompensationsAdditionalCompensations, postApi20261001ResourcesCompensationsConcepts, postApi20261001ResourcesCompensationsEmployeesCompensations, postApi20261001ResourcesCompensationsPayrollResultsBulkCreate, postApi20261001ResourcesContractsCompensations, postApi20261001ResourcesContractsContractVersions, postApi20261001ResourcesContractsLegalEntityChanges, postApi20261001ResourcesContractsSpanishContractTypes, postApi20261001ResourcesContractsSpanishEducationLevels, postApi20261001ResourcesContractsSpanishProfessionalCategories, postApi20261001ResourcesContractsSpanishWorkingDayTypes, postApi20261001ResourcesCustomFieldsFields, postApi20261001ResourcesCustomFieldsOptions, postApi20261001ResourcesCustomFieldsResourceFields, postApi20261001ResourcesCustomFieldsValues, postApi20261001ResourcesCustomResourcesSchemas, postApi20261001ResourcesCustomResourcesValues, postApi20261001ResourcesDocumentsDocuments, postApi20261001ResourcesDocumentsDocumentsMoveToTrashBin, postApi20261001ResourcesDocumentsDocumentsRestoreFromTrashBin, postApi20261001ResourcesDocumentsDownloadUrlsBulkCreate, postApi20261001ResourcesDocumentsFolders, postApi20261001ResourcesEmployeesEmployeesCreateWithContract, postApi20261001ResourcesEmployeesEmployeesInvite, postApi20261001ResourcesEmployeesEmployeesSetRegularAccessStartDate, postApi20261001ResourcesEmployeesEmployeesTerminate, postApi20261001ResourcesEmployeesEmployeesUnterminate, postApi20261001ResourcesExpensesExpensablesBulkSetToPaid, postApi20261001ResourcesExpensesExpensablesUpdateReimbursableAmount, postApi20261001ResourcesFinanceAccountingSettingsUpsert, postApi20261001ResourcesFinanceAccounts, postApi20261001ResourcesFinanceContacts, postApi20261001ResourcesFinanceCostCenterMembershipsBulkCreateUpdate, postApi20261001ResourcesFinanceCostCenters, postApi20261001ResourcesFinanceCostCentersEdit, postApi20261001ResourcesFinanceFinancialDocuments, postApi20261001ResourcesFinanceJournalEntries, postApi20261001ResourcesFinanceLedgerAccountResourcesUpsert, postApi20261001ResourcesFinanceTaxRates, postApi20261001ResourcesFinanceTaxTypes, postApi20261001ResourcesIntegrationsSyncRunOutputs, postApi20261001ResourcesIntegrationsSyncRuns, postApi20261001ResourcesIntegrationsSyncableSyncRunsBulkUpsert, postApi20261001ResourcesItManagementItAssetModels, postApi20261001ResourcesItManagementItAssets, postApi20261001ResourcesLocationsLocations, postApi20261001ResourcesLocationsWorkAreas, postApi20261001ResourcesLocationsWorkAreasArchive, postApi20261001ResourcesLocationsWorkAreasUnarchive, postApi20261001ResourcesMarketplaceInstallations, postApi20261001ResourcesPayrollEmployeesGermanEmployeeData, postApi20261001ResourcesPayrollEmployeesIdentifiers, postApi20261001ResourcesPayrollFamilySituations, postApi20261001ResourcesPayrollIntegrationsBaseCodes, postApi20261001ResourcesPayrollPolicyPeriodsChangeStatus, postApi20261001ResourcesPayrollSupplements, postApi20261001ResourcesPerformanceAgreementsBulkInitiate, postApi20261001ResourcesPerformanceAgreementsInitiate, postApi20261001ResourcesPerformanceCompanyEmployeeScoreScalesSet, postApi20261001ResourcesPerformanceReviewEvaluationsReplaceReviewer, postApi20261001ResourcesPerformanceReviewOwnersBulkCreate, postApi20261001ResourcesPerformanceReviewProcessTargetsAddPeers, postApi20261001ResourcesPerformanceReviewProcessTargetsBulkCreate, postApi20261001ResourcesPerformanceReviewProcessTargetsRemovePeerEvaluations, postApi20261001ResourcesPerformanceReviewProcesses, postApi20261001ResourcesPerformanceReviewProcessesCreateFromTemplate, postApi20261001ResourcesPerformanceReviewProcessesDuplicate, postApi20261001ResourcesPerformanceReviewProcessesRemindInBulk, postApi20261001ResourcesPerformanceReviewProcessesRemoveSchedule, postApi20261001ResourcesPerformanceReviewProcessesReopen, postApi20261001ResourcesPerformanceReviewProcessesSchedule, postApi20261001ResourcesPerformanceReviewProcessesStart, postApi20261001ResourcesPerformanceReviewProcessesStop, postApi20261001ResourcesPerformanceReviewProcessesToggleArchive, postApi20261001ResourcesPerformanceReviewProcessesUpdateAgreementsConfiguration, postApi20261001ResourcesPerformanceReviewProcessesUpdateBasicInfo, postApi20261001ResourcesPerformanceReviewProcessesUpdateCompetenciesAssessmentsConfiguration, postApi20261001ResourcesPerformanceReviewProcessesUpdateDeadline, postApi20261001ResourcesPerformanceReviewProcessesUpdateEmployeeScoreConfiguration, postApi20261001ResourcesPerformanceReviewProcessesUpdateReviewerStrategies, postApi20261001ResourcesPerformanceReviewProcessesUpdateSchedule, postApi20261001ResourcesPerformanceReviewProcessesUpdateTargetStrategy, postApi20261001ResourcesPerformanceReviewQuestionnaireByStrategiesUpdateDefaultRatingScale, postApi20261001ResourcesPerformanceReviewQuestionnaireByStrategiesUpdateQuestionnaireForStrategy, postApi20261001ResourcesPostsComments, postApi20261001ResourcesPostsGroups, postApi20261001ResourcesPostsGroupsArchive, postApi20261001ResourcesPostsPosts, postApi20261001ResourcesProcessesMaterializedProcesses, postApi20261001ResourcesProcurementPurchaseOrders, postApi20261001ResourcesProjectManagementBudgetStrategies, postApi20261001ResourcesProjectManagementPlannedRecordsBulkCreate, postApi20261001ResourcesProjectManagementProjectTasks, postApi20261001ResourcesProjectManagementProjectTasksBulkDestroy, postApi20261001ResourcesProjectManagementProjectTasksBulkDuplicate, postApi20261001ResourcesProjectManagementProjectWorkers, postApi20261001ResourcesProjectManagementProjectWorkersBulkAssign, postApi20261001ResourcesProjectManagementProjectWorkersBulkCreate, postApi20261001ResourcesProjectManagementProjectWorkersUnassign, postApi20261001ResourcesProjectManagementProjects, postApi20261001ResourcesProjectManagementProjectsActivate, postApi20261001ResourcesProjectManagementProjectsChangeAssignment, postApi20261001ResourcesProjectManagementProjectsChangeStatus, postApi20261001ResourcesProjectManagementProjectsClose, postApi20261001ResourcesProjectManagementProjectsSoftDelete, postApi20261001ResourcesProjectManagementSubprojects, postApi20261001ResourcesProjectManagementSubprojectsRename, postApi20261001ResourcesProjectManagementTimeRecords, postApi20261001ResourcesProjectManagementTimeRecordsBulkDelete, postApi20261001ResourcesProjectManagementTimeRecordsBulkProcess, postApi20261001ResourcesProjectManagementTimeRecordsUpdateObservations, postApi20261001ResourcesProjectManagementTimeRecordsUpdateProjectWorker, postApi20261001ResourcesShiftManagementShifts, postApi20261001ResourcesShiftManagementShiftsBulkCreate, postApi20261001ResourcesShiftManagementShiftsBulkDelete, postApi20261001ResourcesTasksTaskFiles, postApi20261001ResourcesTasksTasks, postApi20261001ResourcesTasksTasksBulkCreate, postApi20261001ResourcesTasksTasksBulkDelete, postApi20261001ResourcesTasksTasksBulkUpdate, postApi20261001ResourcesTasksTasksCopy, postApi20261001ResourcesTasksTasksCreateComment, postApi20261001ResourcesTeamsMemberships, postApi20261001ResourcesTeamsMembershipsMove, postApi20261001ResourcesTeamsTeams, postApi20261001ResourcesTeamsTeamsMove, postApi20261001ResourcesTimePlanningPlannedBreaksBulkCreate, postApi20261001ResourcesTimePlanningPlanningVersions, postApi20261001ResourcesTimePlanningPlanningVersionsBulkCreate, postApi20261001ResourcesTimeSettingsBreakConfigurations, postApi20261001ResourcesTimeoffAllowanceIncidences, postApi20261001ResourcesTimeoffAllowances, postApi20261001ResourcesTimeoffAllowancesDeleteWithAltAllowance, postApi20261001ResourcesTimeoffBlockedPeriods, postApi20261001ResourcesTimeoffLeaveTypes, postApi20261001ResourcesTimeoffLeaves, postApi20261001ResourcesTimeoffLeavesApprove, postApi20261001ResourcesTimeoffLeavesApproveAll, postApi20261001ResourcesTimeoffLeavesBulkDelete, postApi20261001ResourcesTimeoffLeavesReject, postApi20261001ResourcesTimeoffPolicies, postApi20261001ResourcesTimeoffPolicyAssignments, postApi20261001ResourcesTrainingsCategories, postApi20261001ResourcesTrainingsSessionAccessMembershipsBulkCreate, postApi20261001ResourcesTrainingsSessionAccessMembershipsBulkDestroy, postApi20261001ResourcesTrainingsSessionAttendancesBulkUpdate, postApi20261001ResourcesTrainingsSessions, postApi20261001ResourcesTrainingsTrainingClasses, postApi20261001ResourcesTrainingsTrainingMembershipsBulkCreate, postApi20261001ResourcesTrainingsTrainingMembershipsBulkDestroy, postApi20261001ResourcesTrainingsTrainings, postApi20261001ResourcesTrainingsTrainingsBulkDelete, postApi20261001ResourcesTrainingsTrainingsBulkUpdateCatalog, postApi20261001ResourcesTrainingsTrainingsUpdateStatus, postApi20261001ResourcesWorkScheduleDayConfigurationsBulkCud, postApi20261001ResourcesWorkScheduleOverlapPeriods, postApi20261001ResourcesWorkScheduleSchedules, postApi20261001ResourcesWorkScheduleSchedulesToggleArchive, putApi20261001ResourcesApiPublicWebhookSubscriptionsById, putApi20261001ResourcesAtsApplicationsById, putApi20261001ResourcesAtsCandidatesById, putApi20261001ResourcesAtsFeedbacksById, putApi20261001ResourcesAtsJobPostingsById, putApi20261001ResourcesAtsQuestionsById, putApi20261001ResourcesAttendanceBreakConfigurationsById, putApi20261001ResourcesAttendanceEditTimesheetRequestsById, putApi20261001ResourcesAttendanceOvertimeRequestsById, putApi20261001ResourcesAttendanceShiftsById, putApi20261001ResourcesBookkeepersManagementIncidencesById, putApi20261001ResourcesCompensationsAdditionalCompensationsById, putApi20261001ResourcesCompensationsConceptsById, putApi20261001ResourcesCompensationsEmployeesCompensationsById, putApi20261001ResourcesContractsCompensationsById, putApi20261001ResourcesContractsContractVersionsById, putApi20261001ResourcesCustomFieldsValuesById, putApi20261001ResourcesDocumentsDocumentsById, putApi20261001ResourcesDocumentsFoldersById, putApi20261001ResourcesEmployeesEmployeesById, putApi20261001ResourcesFinanceAccountsById, putApi20261001ResourcesFinanceContactsById, putApi20261001ResourcesFinanceFinancialDocumentsById, putApi20261001ResourcesFinanceTaxRatesById, putApi20261001ResourcesFinanceTaxTypesById, putApi20261001ResourcesIntegrationsSyncableSyncRunsById, putApi20261001ResourcesItManagementItAssetModelsById, putApi20261001ResourcesItManagementItAssetsById, putApi20261001ResourcesLocationsLocationsById, putApi20261001ResourcesLocationsWorkAreasById, putApi20261001ResourcesPayrollEmployeesGermanEmployeeDataById, putApi20261001ResourcesPayrollEmployeesIdentifiersById, putApi20261001ResourcesPayrollFamilySituationsById, putApi20261001ResourcesPayrollIntegrationsBaseCodesById, putApi20261001ResourcesPayrollSupplementsById, putApi20261001ResourcesPerformanceReviewVisibilitySettingsById, putApi20261001ResourcesPostsCommentsById, putApi20261001ResourcesPostsGroupsById, putApi20261001ResourcesPostsPostsById, putApi20261001ResourcesProcurementPurchaseOrdersById, putApi20261001ResourcesProjectManagementBudgetStrategiesById, putApi20261001ResourcesProjectManagementPlannedRecordsById, putApi20261001ResourcesProjectManagementProjectTasksById, putApi20261001ResourcesProjectManagementProjectsById, putApi20261001ResourcesProjectManagementSubprojectsById, putApi20261001ResourcesTasksTasksById, putApi20261001ResourcesTeamsMembershipsById, putApi20261001ResourcesTeamsTeamsById, putApi20261001ResourcesTimePlanningPlanningVersionsById, putApi20261001ResourcesTimeSettingsBreakConfigurationsById, putApi20261001ResourcesTimeoffAllowanceIncidencesById, putApi20261001ResourcesTimeoffAllowancesById, putApi20261001ResourcesTimeoffBlockedPeriodsById, putApi20261001ResourcesTimeoffLeaveTypesById, putApi20261001ResourcesTimeoffLeavesById, putApi20261001ResourcesTimeoffPoliciesById, putApi20261001ResourcesTimeoffPolicyAssignmentsById, putApi20261001ResourcesTrainingsSessionsById, putApi20261001ResourcesTrainingsTrainingClassesById, putApi20261001ResourcesTrainingsTrainingMembershipsById, putApi20261001ResourcesTrainingsTrainingsById, putApi20261001ResourcesWorkScheduleOverlapPeriodsById, putApi20261001ResourcesWorkScheduleSchedulesById, } from "./generated/sdk.gen.js";
|
|
6
7
|
export * from "./generated/types.gen.js";
|
|
7
8
|
import { paginate, collectAll } from "./pagination.js";
|
|
9
|
+
export { FactorialApiError, isFactorialApiError } from "./errors.js";
|
|
8
10
|
/** Methods for the api_public > credentials resource */
|
|
9
11
|
export class ApiPublicCredentialsResource {
|
|
10
12
|
_client;
|
|
@@ -18,8 +20,11 @@ export class ApiPublicCredentialsResource {
|
|
|
18
20
|
* @example for await (const item of client.apiPublic.credentials.paginate()) { ... }
|
|
19
21
|
*/
|
|
20
22
|
paginate(options) {
|
|
21
|
-
const { maxItems, ...rest } = options ?? {};
|
|
22
|
-
return paginate(
|
|
23
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
24
|
+
return paginate(
|
|
25
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
26
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
27
|
+
(params) => getApi20261001ResourcesApiPublicCredentials({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
23
28
|
}
|
|
24
29
|
/**
|
|
25
30
|
* Fetch all credentials across all pages into a single array.
|
|
@@ -42,8 +47,11 @@ export class ApiPublicWebhookSubscriptionsResource {
|
|
|
42
47
|
* @example for await (const item of client.apiPublic.webhookSubscriptions.paginate()) { ... }
|
|
43
48
|
*/
|
|
44
49
|
paginate(options) {
|
|
45
|
-
const { maxItems, ...rest } = options ?? {};
|
|
46
|
-
return paginate(
|
|
50
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
51
|
+
return paginate(
|
|
52
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
53
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
54
|
+
(params) => getApi20261001ResourcesApiPublicWebhookSubscriptions({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
47
55
|
}
|
|
48
56
|
/**
|
|
49
57
|
* Fetch all webhook_subscriptions across all pages into a single array.
|
|
@@ -85,8 +93,11 @@ export class AtsAnswersResource {
|
|
|
85
93
|
* @example for await (const item of client.ats.answers.paginate()) { ... }
|
|
86
94
|
*/
|
|
87
95
|
paginate(options) {
|
|
88
|
-
const { maxItems, ...rest } = options ?? {};
|
|
89
|
-
return paginate(
|
|
96
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
97
|
+
return paginate(
|
|
98
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
99
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
100
|
+
(params) => getApi20261001ResourcesAtsAnswers({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
90
101
|
}
|
|
91
102
|
/**
|
|
92
103
|
* Fetch all answers across all pages into a single array.
|
|
@@ -113,8 +124,11 @@ export class AtsApplicationPhasesResource {
|
|
|
113
124
|
* @example for await (const item of client.ats.applicationPhases.paginate()) { ... }
|
|
114
125
|
*/
|
|
115
126
|
paginate(options) {
|
|
116
|
-
const { maxItems, ...rest } = options ?? {};
|
|
117
|
-
return paginate(
|
|
127
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
128
|
+
return paginate(
|
|
129
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
130
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
131
|
+
(params) => getApi20261001ResourcesAtsApplicationPhases({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
118
132
|
}
|
|
119
133
|
/**
|
|
120
134
|
* Fetch all application_phases across all pages into a single array.
|
|
@@ -139,8 +153,11 @@ export class AtsApplicationsResource {
|
|
|
139
153
|
* @example for await (const item of client.ats.applications.paginate()) { ... }
|
|
140
154
|
*/
|
|
141
155
|
paginate(options) {
|
|
142
|
-
const { maxItems, ...rest } = options ?? {};
|
|
143
|
-
return paginate(
|
|
156
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
157
|
+
return paginate(
|
|
158
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
159
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
160
|
+
(params) => getApi20261001ResourcesAtsApplications({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
144
161
|
}
|
|
145
162
|
/**
|
|
146
163
|
* Fetch all applications across all pages into a single array.
|
|
@@ -175,8 +192,11 @@ export class AtsCandidateSourcesResource {
|
|
|
175
192
|
* @example for await (const item of client.ats.candidateSources.paginate()) { ... }
|
|
176
193
|
*/
|
|
177
194
|
paginate(options) {
|
|
178
|
-
const { maxItems, ...rest } = options ?? {};
|
|
179
|
-
return paginate(
|
|
195
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
196
|
+
return paginate(
|
|
197
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
198
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
199
|
+
(params) => getApi20261001ResourcesAtsCandidateSources({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
180
200
|
}
|
|
181
201
|
/**
|
|
182
202
|
* Fetch all candidate_sources across all pages into a single array.
|
|
@@ -201,8 +221,11 @@ export class AtsCandidatesResource {
|
|
|
201
221
|
* @example for await (const item of client.ats.candidates.paginate()) { ... }
|
|
202
222
|
*/
|
|
203
223
|
paginate(options) {
|
|
204
|
-
const { maxItems, ...rest } = options ?? {};
|
|
205
|
-
return paginate(
|
|
224
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
225
|
+
return paginate(
|
|
226
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
227
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
228
|
+
(params) => getApi20261001ResourcesAtsCandidates({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
206
229
|
}
|
|
207
230
|
/**
|
|
208
231
|
* Fetch all candidates across all pages into a single array.
|
|
@@ -233,8 +256,11 @@ export class AtsEvaluationFormsResource {
|
|
|
233
256
|
* @example for await (const item of client.ats.evaluationForms.paginate()) { ... }
|
|
234
257
|
*/
|
|
235
258
|
paginate(options) {
|
|
236
|
-
const { maxItems, ...rest } = options ?? {};
|
|
237
|
-
return paginate(
|
|
259
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
260
|
+
return paginate(
|
|
261
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
262
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
263
|
+
(params) => getApi20261001ResourcesAtsEvaluationForms({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
238
264
|
}
|
|
239
265
|
/**
|
|
240
266
|
* Fetch all evaluation_forms across all pages into a single array.
|
|
@@ -261,8 +287,11 @@ export class AtsFeedbacksResource {
|
|
|
261
287
|
* @example for await (const item of client.ats.feedbacks.paginate()) { ... }
|
|
262
288
|
*/
|
|
263
289
|
paginate(options) {
|
|
264
|
-
const { maxItems, ...rest } = options ?? {};
|
|
265
|
-
return paginate(
|
|
290
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
291
|
+
return paginate(
|
|
292
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
293
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
294
|
+
(params) => getApi20261001ResourcesAtsFeedbacks({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
266
295
|
}
|
|
267
296
|
/**
|
|
268
297
|
* Fetch all feedbacks across all pages into a single array.
|
|
@@ -293,8 +322,11 @@ export class AtsHiringStagesResource {
|
|
|
293
322
|
* @example for await (const item of client.ats.hiringStages.paginate()) { ... }
|
|
294
323
|
*/
|
|
295
324
|
paginate(options) {
|
|
296
|
-
const { maxItems, ...rest } = options ?? {};
|
|
297
|
-
return paginate(
|
|
325
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
326
|
+
return paginate(
|
|
327
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
328
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
329
|
+
(params) => getApi20261001ResourcesAtsHiringStages({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
298
330
|
}
|
|
299
331
|
/**
|
|
300
332
|
* Fetch all hiring_stages across all pages into a single array.
|
|
@@ -319,8 +351,11 @@ export class AtsJobPostingsResource {
|
|
|
319
351
|
* @example for await (const item of client.ats.jobPostings.paginate()) { ... }
|
|
320
352
|
*/
|
|
321
353
|
paginate(options) {
|
|
322
|
-
const { maxItems, ...rest } = options ?? {};
|
|
323
|
-
return paginate(
|
|
354
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
355
|
+
return paginate(
|
|
356
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
357
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
358
|
+
(params) => getApi20261001ResourcesAtsJobPostings({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
324
359
|
}
|
|
325
360
|
/**
|
|
326
361
|
* Fetch all job_postings across all pages into a single array.
|
|
@@ -353,8 +388,11 @@ export class AtsMessagesResource {
|
|
|
353
388
|
* @example for await (const item of client.ats.messages.paginate()) { ... }
|
|
354
389
|
*/
|
|
355
390
|
paginate(options) {
|
|
356
|
-
const { maxItems, ...rest } = options ?? {};
|
|
357
|
-
return paginate(
|
|
391
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
392
|
+
return paginate(
|
|
393
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
394
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
395
|
+
(params) => getApi20261001ResourcesAtsMessages({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
358
396
|
}
|
|
359
397
|
/**
|
|
360
398
|
* Fetch all messages across all pages into a single array.
|
|
@@ -381,8 +419,11 @@ export class AtsQuestionsResource {
|
|
|
381
419
|
* @example for await (const item of client.ats.questions.paginate()) { ... }
|
|
382
420
|
*/
|
|
383
421
|
paginate(options) {
|
|
384
|
-
const { maxItems, ...rest } = options ?? {};
|
|
385
|
-
return paginate(
|
|
422
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
423
|
+
return paginate(
|
|
424
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
425
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
426
|
+
(params) => getApi20261001ResourcesAtsQuestions({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
386
427
|
}
|
|
387
428
|
/**
|
|
388
429
|
* Fetch all questions across all pages into a single array.
|
|
@@ -413,8 +454,11 @@ export class AtsRejectionReasonsResource {
|
|
|
413
454
|
* @example for await (const item of client.ats.rejectionReasons.paginate()) { ... }
|
|
414
455
|
*/
|
|
415
456
|
paginate(options) {
|
|
416
|
-
const { maxItems, ...rest } = options ?? {};
|
|
417
|
-
return paginate(
|
|
457
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
458
|
+
return paginate(
|
|
459
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
460
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
461
|
+
(params) => getApi20261001ResourcesAtsRejectionReasons({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
418
462
|
}
|
|
419
463
|
/**
|
|
420
464
|
* Fetch all rejection_reasons across all pages into a single array.
|
|
@@ -439,8 +483,11 @@ export class AttendanceBreakConfigurationsResource {
|
|
|
439
483
|
* @example for await (const item of client.attendance.breakConfigurations.paginate()) { ... }
|
|
440
484
|
*/
|
|
441
485
|
paginate(options) {
|
|
442
|
-
const { maxItems, ...rest } = options ?? {};
|
|
443
|
-
return paginate(
|
|
486
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
487
|
+
return paginate(
|
|
488
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
489
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
490
|
+
(params) => getApi20261001ResourcesAttendanceBreakConfigurations({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
444
491
|
}
|
|
445
492
|
/**
|
|
446
493
|
* Fetch all break_configurations across all pages into a single array.
|
|
@@ -469,8 +516,11 @@ export class AttendanceEditTimesheetRequestsResource {
|
|
|
469
516
|
* @example for await (const item of client.attendance.editTimesheetRequests.paginate()) { ... }
|
|
470
517
|
*/
|
|
471
518
|
paginate(options) {
|
|
472
|
-
const { maxItems, ...rest } = options ?? {};
|
|
473
|
-
return paginate(
|
|
519
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
520
|
+
return paginate(
|
|
521
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
522
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
523
|
+
(params) => getApi20261001ResourcesAttendanceEditTimesheetRequests({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
474
524
|
}
|
|
475
525
|
/**
|
|
476
526
|
* Fetch all edit_timesheet_requests across all pages into a single array.
|
|
@@ -501,8 +551,11 @@ export class AttendanceEstimatedTimesResource {
|
|
|
501
551
|
* @example for await (const item of client.attendance.estimatedTimes.paginate()) { ... }
|
|
502
552
|
*/
|
|
503
553
|
paginate(options) {
|
|
504
|
-
const { maxItems, ...rest } = options ?? {};
|
|
505
|
-
return paginate(
|
|
554
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
555
|
+
return paginate(
|
|
556
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
557
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
558
|
+
(params) => getApi20261001ResourcesAttendanceEstimatedTimes({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
506
559
|
}
|
|
507
560
|
/**
|
|
508
561
|
* Fetch all estimated_times across all pages into a single array.
|
|
@@ -525,8 +578,11 @@ export class AttendanceOpenShiftsResource {
|
|
|
525
578
|
* @example for await (const item of client.attendance.openShifts.paginate()) { ... }
|
|
526
579
|
*/
|
|
527
580
|
paginate(options) {
|
|
528
|
-
const { maxItems, ...rest } = options ?? {};
|
|
529
|
-
return paginate(
|
|
581
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
582
|
+
return paginate(
|
|
583
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
584
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
585
|
+
(params) => getApi20261001ResourcesAttendanceOpenShifts({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
530
586
|
}
|
|
531
587
|
/**
|
|
532
588
|
* Fetch all open_shifts across all pages into a single array.
|
|
@@ -549,8 +605,11 @@ export class AttendanceOvertimeRequestsResource {
|
|
|
549
605
|
* @example for await (const item of client.attendance.overtimeRequests.paginate()) { ... }
|
|
550
606
|
*/
|
|
551
607
|
paginate(options) {
|
|
552
|
-
const { maxItems, ...rest } = options ?? {};
|
|
553
|
-
return paginate(
|
|
608
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
609
|
+
return paginate(
|
|
610
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
611
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
612
|
+
(params) => getApi20261001ResourcesAttendanceOvertimeRequests({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
554
613
|
}
|
|
555
614
|
/**
|
|
556
615
|
* Fetch all overtime_requests across all pages into a single array.
|
|
@@ -585,8 +644,11 @@ export class AttendanceReviewsResource {
|
|
|
585
644
|
* @example for await (const item of client.attendance.reviews.paginate()) { ... }
|
|
586
645
|
*/
|
|
587
646
|
paginate(options) {
|
|
588
|
-
const { maxItems, ...rest } = options ?? {};
|
|
589
|
-
return paginate(
|
|
647
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
648
|
+
return paginate(
|
|
649
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
650
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
651
|
+
(params) => getApi20261001ResourcesAttendanceReviews({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
590
652
|
}
|
|
591
653
|
/**
|
|
592
654
|
* Fetch all reviews across all pages into a single array.
|
|
@@ -613,8 +675,11 @@ export class AttendanceShiftsResource {
|
|
|
613
675
|
* @example for await (const item of client.attendance.shifts.paginate()) { ... }
|
|
614
676
|
*/
|
|
615
677
|
paginate(options) {
|
|
616
|
-
const { maxItems, ...rest } = options ?? {};
|
|
617
|
-
return paginate(
|
|
678
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
679
|
+
return paginate(
|
|
680
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
681
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
682
|
+
(params) => getApi20261001ResourcesAttendanceShifts({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
618
683
|
}
|
|
619
684
|
/**
|
|
620
685
|
* Fetch all shifts across all pages into a single array.
|
|
@@ -657,8 +722,11 @@ export class AttendanceWorkedTimesResource {
|
|
|
657
722
|
* @example for await (const item of client.attendance.workedTimes.paginate()) { ... }
|
|
658
723
|
*/
|
|
659
724
|
paginate(options) {
|
|
660
|
-
const { maxItems, ...rest } = options ?? {};
|
|
661
|
-
return paginate(
|
|
725
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
726
|
+
return paginate(
|
|
727
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
728
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
729
|
+
(params) => getApi20261001ResourcesAttendanceWorkedTimes({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
662
730
|
}
|
|
663
731
|
/**
|
|
664
732
|
* Fetch all worked_times across all pages into a single array.
|
|
@@ -683,8 +751,11 @@ export class BankingBankAccountsResource {
|
|
|
683
751
|
* @example for await (const item of client.banking.bankAccounts.paginate()) { ... }
|
|
684
752
|
*/
|
|
685
753
|
paginate(options) {
|
|
686
|
-
const { maxItems, ...rest } = options ?? {};
|
|
687
|
-
return paginate(
|
|
754
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
755
|
+
return paginate(
|
|
756
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
757
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
758
|
+
(params) => getApi20261001ResourcesBankingBankAccounts({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
688
759
|
}
|
|
689
760
|
/**
|
|
690
761
|
* Fetch all bank_accounts across all pages into a single array.
|
|
@@ -711,8 +782,11 @@ export class BankingCardPaymentsResource {
|
|
|
711
782
|
* @example for await (const item of client.banking.cardPayments.paginate()) { ... }
|
|
712
783
|
*/
|
|
713
784
|
paginate(options) {
|
|
714
|
-
const { maxItems, ...rest } = options ?? {};
|
|
715
|
-
return paginate(
|
|
785
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
786
|
+
return paginate(
|
|
787
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
788
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
789
|
+
(params) => getApi20261001ResourcesBankingCardPayments({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
716
790
|
}
|
|
717
791
|
/**
|
|
718
792
|
* Fetch all card_payments across all pages into a single array.
|
|
@@ -737,8 +811,11 @@ export class BankingTransactionsResource {
|
|
|
737
811
|
* @example for await (const item of client.banking.transactions.paginate()) { ... }
|
|
738
812
|
*/
|
|
739
813
|
paginate(options) {
|
|
740
|
-
const { maxItems, ...rest } = options ?? {};
|
|
741
|
-
return paginate(
|
|
814
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
815
|
+
return paginate(
|
|
816
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
817
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
818
|
+
(params) => getApi20261001ResourcesBankingTransactions({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
742
819
|
}
|
|
743
820
|
/**
|
|
744
821
|
* Fetch all transactions across all pages into a single array.
|
|
@@ -763,8 +840,11 @@ export class BookkeepersManagementIncidencesResource {
|
|
|
763
840
|
* @example for await (const item of client.bookkeepersManagement.incidences.paginate()) { ... }
|
|
764
841
|
*/
|
|
765
842
|
paginate(options) {
|
|
766
|
-
const { maxItems, ...rest } = options ?? {};
|
|
767
|
-
return paginate(
|
|
843
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
844
|
+
return paginate(
|
|
845
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
846
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
847
|
+
(params) => getApi20261001ResourcesBookkeepersManagementIncidences({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
768
848
|
}
|
|
769
849
|
/**
|
|
770
850
|
* Fetch all incidences across all pages into a single array.
|
|
@@ -791,8 +871,11 @@ export class CompaniesLegalEntitiesResource {
|
|
|
791
871
|
* @example for await (const item of client.companies.legalEntities.paginate()) { ... }
|
|
792
872
|
*/
|
|
793
873
|
paginate(options) {
|
|
794
|
-
const { maxItems, ...rest } = options ?? {};
|
|
795
|
-
return paginate(
|
|
874
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
875
|
+
return paginate(
|
|
876
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
877
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
878
|
+
(params) => getApi20261001ResourcesCompaniesLegalEntities({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
796
879
|
}
|
|
797
880
|
/**
|
|
798
881
|
* Fetch all legal_entities across all pages into a single array.
|
|
@@ -819,8 +902,11 @@ export class CompensationsAdditionalCompensationsResource {
|
|
|
819
902
|
* @example for await (const item of client.compensations.additionalCompensations.paginate()) { ... }
|
|
820
903
|
*/
|
|
821
904
|
paginate(options) {
|
|
822
|
-
const { maxItems, ...rest } = options ?? {};
|
|
823
|
-
return paginate(
|
|
905
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
906
|
+
return paginate(
|
|
907
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
908
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
909
|
+
(params) => getApi20261001ResourcesCompensationsAdditionalCompensations({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
824
910
|
}
|
|
825
911
|
/**
|
|
826
912
|
* Fetch all additional_compensations across all pages into a single array.
|
|
@@ -851,8 +937,11 @@ export class CompensationsConceptsResource {
|
|
|
851
937
|
* @example for await (const item of client.compensations.concepts.paginate()) { ... }
|
|
852
938
|
*/
|
|
853
939
|
paginate(options) {
|
|
854
|
-
const { maxItems, ...rest } = options ?? {};
|
|
855
|
-
return paginate(
|
|
940
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
941
|
+
return paginate(
|
|
942
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
943
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
944
|
+
(params) => getApi20261001ResourcesCompensationsConcepts({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
856
945
|
}
|
|
857
946
|
/**
|
|
858
947
|
* Fetch all concepts across all pages into a single array.
|
|
@@ -881,8 +970,11 @@ export class CompensationsCyclesResource {
|
|
|
881
970
|
* @example for await (const item of client.compensations.cycles.paginate()) { ... }
|
|
882
971
|
*/
|
|
883
972
|
paginate(options) {
|
|
884
|
-
const { maxItems, ...rest } = options ?? {};
|
|
885
|
-
return paginate(
|
|
973
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
974
|
+
return paginate(
|
|
975
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
976
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
977
|
+
(params) => getApi20261001ResourcesCompensationsCycles({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
886
978
|
}
|
|
887
979
|
/**
|
|
888
980
|
* Fetch all cycles across all pages into a single array.
|
|
@@ -907,8 +999,11 @@ export class CompensationsEmployeesCompensationsResource {
|
|
|
907
999
|
* @example for await (const item of client.compensations.employeesCompensations.paginate()) { ... }
|
|
908
1000
|
*/
|
|
909
1001
|
paginate(options) {
|
|
910
|
-
const { maxItems, ...rest } = options ?? {};
|
|
911
|
-
return paginate(
|
|
1002
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1003
|
+
return paginate(
|
|
1004
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1005
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1006
|
+
(params) => getApi20261001ResourcesCompensationsEmployeesCompensations({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
912
1007
|
}
|
|
913
1008
|
/**
|
|
914
1009
|
* Fetch all employees_compensations across all pages into a single array.
|
|
@@ -939,8 +1034,11 @@ export class CompensationsPayrollResultsResource {
|
|
|
939
1034
|
* @example for await (const item of client.compensations.payrollResults.paginate()) { ... }
|
|
940
1035
|
*/
|
|
941
1036
|
paginate(options) {
|
|
942
|
-
const { maxItems, ...rest } = options ?? {};
|
|
943
|
-
return paginate(
|
|
1037
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1038
|
+
return paginate(
|
|
1039
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1040
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1041
|
+
(params) => getApi20261001ResourcesCompensationsPayrollResults({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
944
1042
|
}
|
|
945
1043
|
/**
|
|
946
1044
|
* Fetch all payroll_results across all pages into a single array.
|
|
@@ -967,8 +1065,11 @@ export class CompensationsPayrollRunEmployeesCompensationsResource {
|
|
|
967
1065
|
* @example for await (const item of client.compensations.payrollRunEmployeesCompensations.paginate()) { ... }
|
|
968
1066
|
*/
|
|
969
1067
|
paginate(options) {
|
|
970
|
-
const { maxItems, ...rest } = options ?? {};
|
|
971
|
-
return paginate(
|
|
1068
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1069
|
+
return paginate(
|
|
1070
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1071
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1072
|
+
(params) => getApi20261001ResourcesCompensationsPayrollRunEmployeesCompensations({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
972
1073
|
}
|
|
973
1074
|
/**
|
|
974
1075
|
* Fetch all payroll_run_employees_compensations across all pages into a single array.
|
|
@@ -993,8 +1094,11 @@ export class CompensationsPayrollRunsResource {
|
|
|
993
1094
|
* @example for await (const item of client.compensations.payrollRuns.paginate()) { ... }
|
|
994
1095
|
*/
|
|
995
1096
|
paginate(options) {
|
|
996
|
-
const { maxItems, ...rest } = options ?? {};
|
|
997
|
-
return paginate(
|
|
1097
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1098
|
+
return paginate(
|
|
1099
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1100
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1101
|
+
(params) => getApi20261001ResourcesCompensationsPayrollRuns({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
998
1102
|
}
|
|
999
1103
|
/**
|
|
1000
1104
|
* Fetch all payroll_runs across all pages into a single array.
|
|
@@ -1019,8 +1123,11 @@ export class ContractsCompensationsResource {
|
|
|
1019
1123
|
* @example for await (const item of client.contracts.compensations.paginate()) { ... }
|
|
1020
1124
|
*/
|
|
1021
1125
|
paginate(options) {
|
|
1022
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1023
|
-
return paginate(
|
|
1126
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1127
|
+
return paginate(
|
|
1128
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1129
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1130
|
+
(params) => getApi20261001ResourcesContractsCompensations({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1024
1131
|
}
|
|
1025
1132
|
/**
|
|
1026
1133
|
* Fetch all compensations across all pages into a single array.
|
|
@@ -1051,8 +1158,11 @@ export class ContractsContractActivityPeriodsResource {
|
|
|
1051
1158
|
* @example for await (const item of client.contracts.contractActivityPeriods.paginate()) { ... }
|
|
1052
1159
|
*/
|
|
1053
1160
|
paginate(options) {
|
|
1054
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1055
|
-
return paginate(
|
|
1161
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1162
|
+
return paginate(
|
|
1163
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1164
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1165
|
+
(params) => getApi20261001ResourcesContractsContractActivityPeriods({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1056
1166
|
}
|
|
1057
1167
|
/**
|
|
1058
1168
|
* Fetch all contract_activity_periods across all pages into a single array.
|
|
@@ -1075,8 +1185,11 @@ export class ContractsContractTemplatesResource {
|
|
|
1075
1185
|
* @example for await (const item of client.contracts.contractTemplates.paginate()) { ... }
|
|
1076
1186
|
*/
|
|
1077
1187
|
paginate(options) {
|
|
1078
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1079
|
-
return paginate(
|
|
1188
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1189
|
+
return paginate(
|
|
1190
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1191
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1192
|
+
(params) => getApi20261001ResourcesContractsContractTemplates({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1080
1193
|
}
|
|
1081
1194
|
/**
|
|
1082
1195
|
* Fetch all contract_templates across all pages into a single array.
|
|
@@ -1101,8 +1214,11 @@ export class ContractsContractVersionHistoriesResource {
|
|
|
1101
1214
|
* @example for await (const item of client.contracts.contractVersionHistories.paginate()) { ... }
|
|
1102
1215
|
*/
|
|
1103
1216
|
paginate(options) {
|
|
1104
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1105
|
-
return paginate(
|
|
1217
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1218
|
+
return paginate(
|
|
1219
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1220
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1221
|
+
(params) => getApi20261001ResourcesContractsContractVersionHistories({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1106
1222
|
}
|
|
1107
1223
|
/**
|
|
1108
1224
|
* Fetch all contract_version_histories across all pages into a single array.
|
|
@@ -1127,8 +1243,11 @@ export class ContractsContractVersionMetaDataResource {
|
|
|
1127
1243
|
* @example for await (const item of client.contracts.contractVersionMetaData.paginate()) { ... }
|
|
1128
1244
|
*/
|
|
1129
1245
|
paginate(options) {
|
|
1130
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1131
|
-
return paginate(
|
|
1246
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1247
|
+
return paginate(
|
|
1248
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1249
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1250
|
+
(params) => getApi20261001ResourcesContractsContractVersionMetaData({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1132
1251
|
}
|
|
1133
1252
|
/**
|
|
1134
1253
|
* Fetch all contract_version_meta_data across all pages into a single array.
|
|
@@ -1151,8 +1270,11 @@ export class ContractsContractVersionsResource {
|
|
|
1151
1270
|
* @example for await (const item of client.contracts.contractVersions.paginate()) { ... }
|
|
1152
1271
|
*/
|
|
1153
1272
|
paginate(options) {
|
|
1154
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1155
|
-
return paginate(
|
|
1273
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1274
|
+
return paginate(
|
|
1275
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1276
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1277
|
+
(params) => getApi20261001ResourcesContractsContractVersions({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1156
1278
|
}
|
|
1157
1279
|
/**
|
|
1158
1280
|
* Fetch all contract_versions across all pages into a single array.
|
|
@@ -1183,8 +1305,11 @@ export class ContractsContractsResource {
|
|
|
1183
1305
|
* @example for await (const item of client.contracts.contracts.paginate()) { ... }
|
|
1184
1306
|
*/
|
|
1185
1307
|
paginate(options) {
|
|
1186
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1187
|
-
return paginate(
|
|
1308
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1309
|
+
return paginate(
|
|
1310
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1311
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1312
|
+
(params) => getApi20261001ResourcesContractsContracts({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1188
1313
|
}
|
|
1189
1314
|
/**
|
|
1190
1315
|
* Fetch all contracts across all pages into a single array.
|
|
@@ -1209,8 +1334,11 @@ export class ContractsFrenchContractTypesResource {
|
|
|
1209
1334
|
* @example for await (const item of client.contracts.frenchContractTypes.paginate()) { ... }
|
|
1210
1335
|
*/
|
|
1211
1336
|
paginate(options) {
|
|
1212
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1213
|
-
return paginate(
|
|
1337
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1338
|
+
return paginate(
|
|
1339
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1340
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1341
|
+
(params) => getApi20261001ResourcesContractsFrenchContractTypes({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1214
1342
|
}
|
|
1215
1343
|
/**
|
|
1216
1344
|
* Fetch all french_contract_types across all pages into a single array.
|
|
@@ -1235,8 +1363,11 @@ export class ContractsGermanContractTypesResource {
|
|
|
1235
1363
|
* @example for await (const item of client.contracts.germanContractTypes.paginate()) { ... }
|
|
1236
1364
|
*/
|
|
1237
1365
|
paginate(options) {
|
|
1238
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1239
|
-
return paginate(
|
|
1366
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1367
|
+
return paginate(
|
|
1368
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1369
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1370
|
+
(params) => getApi20261001ResourcesContractsGermanContractTypes({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1240
1371
|
}
|
|
1241
1372
|
/**
|
|
1242
1373
|
* Fetch all german_contract_types across all pages into a single array.
|
|
@@ -1270,8 +1401,11 @@ export class ContractsMaterializedTemplatesResource {
|
|
|
1270
1401
|
* @example for await (const item of client.contracts.materializedTemplates.paginate()) { ... }
|
|
1271
1402
|
*/
|
|
1272
1403
|
paginate(options) {
|
|
1273
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1274
|
-
return paginate(
|
|
1404
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1405
|
+
return paginate(
|
|
1406
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1407
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1408
|
+
(params) => getApi20261001ResourcesContractsMaterializedTemplates({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1275
1409
|
}
|
|
1276
1410
|
/**
|
|
1277
1411
|
* Fetch all materialized_templates across all pages into a single array.
|
|
@@ -1294,8 +1428,11 @@ export class ContractsPortugueseContractTypesResource {
|
|
|
1294
1428
|
* @example for await (const item of client.contracts.portugueseContractTypes.paginate()) { ... }
|
|
1295
1429
|
*/
|
|
1296
1430
|
paginate(options) {
|
|
1297
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1298
|
-
return paginate(
|
|
1431
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1432
|
+
return paginate(
|
|
1433
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1434
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1435
|
+
(params) => getApi20261001ResourcesContractsPortugueseContractTypes({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1299
1436
|
}
|
|
1300
1437
|
/**
|
|
1301
1438
|
* Fetch all portuguese_contract_types across all pages into a single array.
|
|
@@ -1320,8 +1457,11 @@ export class ContractsReferenceContractsResource {
|
|
|
1320
1457
|
* @example for await (const item of client.contracts.referenceContracts.paginate()) { ... }
|
|
1321
1458
|
*/
|
|
1322
1459
|
paginate(options) {
|
|
1323
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1324
|
-
return paginate(
|
|
1460
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1461
|
+
return paginate(
|
|
1462
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1463
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1464
|
+
(params) => getApi20261001ResourcesContractsReferenceContracts({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1325
1465
|
}
|
|
1326
1466
|
/**
|
|
1327
1467
|
* Fetch all reference_contracts across all pages into a single array.
|
|
@@ -1344,8 +1484,11 @@ export class ContractsSpanishContractTypesResource {
|
|
|
1344
1484
|
* @example for await (const item of client.contracts.spanishContractTypes.paginate()) { ... }
|
|
1345
1485
|
*/
|
|
1346
1486
|
paginate(options) {
|
|
1347
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1348
|
-
return paginate(
|
|
1487
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1488
|
+
return paginate(
|
|
1489
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1490
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1491
|
+
(params) => getApi20261001ResourcesContractsSpanishContractTypes({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1349
1492
|
}
|
|
1350
1493
|
/**
|
|
1351
1494
|
* Fetch all spanish_contract_types across all pages into a single array.
|
|
@@ -1372,8 +1515,11 @@ export class ContractsSpanishEducationLevelsResource {
|
|
|
1372
1515
|
* @example for await (const item of client.contracts.spanishEducationLevels.paginate()) { ... }
|
|
1373
1516
|
*/
|
|
1374
1517
|
paginate(options) {
|
|
1375
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1376
|
-
return paginate(
|
|
1518
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1519
|
+
return paginate(
|
|
1520
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1521
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1522
|
+
(params) => getApi20261001ResourcesContractsSpanishEducationLevels({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1377
1523
|
}
|
|
1378
1524
|
/**
|
|
1379
1525
|
* Fetch all spanish_education_levels across all pages into a single array.
|
|
@@ -1400,8 +1546,11 @@ export class ContractsSpanishProfessionalCategoriesResource {
|
|
|
1400
1546
|
* @example for await (const item of client.contracts.spanishProfessionalCategories.paginate()) { ... }
|
|
1401
1547
|
*/
|
|
1402
1548
|
paginate(options) {
|
|
1403
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1404
|
-
return paginate(
|
|
1549
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1550
|
+
return paginate(
|
|
1551
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1552
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1553
|
+
(params) => getApi20261001ResourcesContractsSpanishProfessionalCategories({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1405
1554
|
}
|
|
1406
1555
|
/**
|
|
1407
1556
|
* Fetch all spanish_professional_categories across all pages into a single array.
|
|
@@ -1428,8 +1577,11 @@ export class ContractsSpanishWorkingDayTypesResource {
|
|
|
1428
1577
|
* @example for await (const item of client.contracts.spanishWorkingDayTypes.paginate()) { ... }
|
|
1429
1578
|
*/
|
|
1430
1579
|
paginate(options) {
|
|
1431
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1432
|
-
return paginate(
|
|
1580
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1581
|
+
return paginate(
|
|
1582
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1583
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1584
|
+
(params) => getApi20261001ResourcesContractsSpanishWorkingDayTypes({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1433
1585
|
}
|
|
1434
1586
|
/**
|
|
1435
1587
|
* Fetch all spanish_working_day_types across all pages into a single array.
|
|
@@ -1456,8 +1608,11 @@ export class ContractsTaxonomiesResource {
|
|
|
1456
1608
|
* @example for await (const item of client.contracts.taxonomies.paginate()) { ... }
|
|
1457
1609
|
*/
|
|
1458
1610
|
paginate(options) {
|
|
1459
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1460
|
-
return paginate(
|
|
1611
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1612
|
+
return paginate(
|
|
1613
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1614
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1615
|
+
(params) => getApi20261001ResourcesContractsTaxonomies({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1461
1616
|
}
|
|
1462
1617
|
/**
|
|
1463
1618
|
* Fetch all taxonomies across all pages into a single array.
|
|
@@ -1482,8 +1637,11 @@ export class CustomFieldsFieldsResource {
|
|
|
1482
1637
|
* @example for await (const item of client.customFields.fields.paginate()) { ... }
|
|
1483
1638
|
*/
|
|
1484
1639
|
paginate(options) {
|
|
1485
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1486
|
-
return paginate(
|
|
1640
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1641
|
+
return paginate(
|
|
1642
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1643
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1644
|
+
(params) => getApi20261001ResourcesCustomFieldsFields({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1487
1645
|
}
|
|
1488
1646
|
/**
|
|
1489
1647
|
* Fetch all fields across all pages into a single array.
|
|
@@ -1512,8 +1670,11 @@ export class CustomFieldsOptionsResource {
|
|
|
1512
1670
|
* @example for await (const item of client.customFields.options.paginate()) { ... }
|
|
1513
1671
|
*/
|
|
1514
1672
|
paginate(options) {
|
|
1515
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1516
|
-
return paginate(
|
|
1673
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1674
|
+
return paginate(
|
|
1675
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1676
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1677
|
+
(params) => getApi20261001ResourcesCustomFieldsOptions({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1517
1678
|
}
|
|
1518
1679
|
/**
|
|
1519
1680
|
* Fetch all options across all pages into a single array.
|
|
@@ -1540,8 +1701,11 @@ export class CustomFieldsResourceFieldsResource {
|
|
|
1540
1701
|
* @example for await (const item of client.customFields.resourceFields.paginate()) { ... }
|
|
1541
1702
|
*/
|
|
1542
1703
|
paginate(options) {
|
|
1543
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1544
|
-
return paginate(
|
|
1704
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1705
|
+
return paginate(
|
|
1706
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1707
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1708
|
+
(params) => getApi20261001ResourcesCustomFieldsResourceFields({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1545
1709
|
}
|
|
1546
1710
|
/**
|
|
1547
1711
|
* Fetch all resource_fields across all pages into a single array.
|
|
@@ -1568,8 +1732,11 @@ export class CustomFieldsValuesResource {
|
|
|
1568
1732
|
* @example for await (const item of client.customFields.values.paginate()) { ... }
|
|
1569
1733
|
*/
|
|
1570
1734
|
paginate(options) {
|
|
1571
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1572
|
-
return paginate(
|
|
1735
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1736
|
+
return paginate(
|
|
1737
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1738
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1739
|
+
(params) => getApi20261001ResourcesCustomFieldsValues({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1573
1740
|
}
|
|
1574
1741
|
/**
|
|
1575
1742
|
* Fetch all values across all pages into a single array.
|
|
@@ -1598,8 +1765,11 @@ export class CustomResourcesResourcesResource {
|
|
|
1598
1765
|
* @example for await (const item of client.customResources.resources.paginate()) { ... }
|
|
1599
1766
|
*/
|
|
1600
1767
|
paginate(options) {
|
|
1601
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1602
|
-
return paginate(
|
|
1768
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1769
|
+
return paginate(
|
|
1770
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1771
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1772
|
+
(params) => getApi20261001ResourcesCustomResourcesResources({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1603
1773
|
}
|
|
1604
1774
|
/**
|
|
1605
1775
|
* Fetch all resources across all pages into a single array.
|
|
@@ -1624,8 +1794,11 @@ export class CustomResourcesSchemasResource {
|
|
|
1624
1794
|
* @example for await (const item of client.customResources.schemas.paginate()) { ... }
|
|
1625
1795
|
*/
|
|
1626
1796
|
paginate(options) {
|
|
1627
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1628
|
-
return paginate(
|
|
1797
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1798
|
+
return paginate(
|
|
1799
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1800
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1801
|
+
(params) => getApi20261001ResourcesCustomResourcesSchemas({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1629
1802
|
}
|
|
1630
1803
|
/**
|
|
1631
1804
|
* Fetch all schemas across all pages into a single array.
|
|
@@ -1652,8 +1825,11 @@ export class CustomResourcesValuesResource {
|
|
|
1652
1825
|
* @example for await (const item of client.customResources.values.paginate()) { ... }
|
|
1653
1826
|
*/
|
|
1654
1827
|
paginate(options) {
|
|
1655
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1656
|
-
return paginate(
|
|
1828
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1829
|
+
return paginate(
|
|
1830
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1831
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1832
|
+
(params) => getApi20261001ResourcesCustomResourcesValues({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1657
1833
|
}
|
|
1658
1834
|
/**
|
|
1659
1835
|
* Fetch all values across all pages into a single array.
|
|
@@ -1680,8 +1856,11 @@ export class DocumentsDocumentsResource {
|
|
|
1680
1856
|
* @example for await (const item of client.documents.documents.paginate()) { ... }
|
|
1681
1857
|
*/
|
|
1682
1858
|
paginate(options) {
|
|
1683
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1684
|
-
return paginate(
|
|
1859
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1860
|
+
return paginate(
|
|
1861
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1862
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1863
|
+
(params) => getApi20261001ResourcesDocumentsDocuments({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1685
1864
|
}
|
|
1686
1865
|
/**
|
|
1687
1866
|
* Fetch all documents across all pages into a single array.
|
|
@@ -1725,8 +1904,11 @@ export class DocumentsFoldersResource {
|
|
|
1725
1904
|
* @example for await (const item of client.documents.folders.paginate()) { ... }
|
|
1726
1905
|
*/
|
|
1727
1906
|
paginate(options) {
|
|
1728
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1729
|
-
return paginate(
|
|
1907
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1908
|
+
return paginate(
|
|
1909
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1910
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1911
|
+
(params) => getApi20261001ResourcesDocumentsFolders({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1730
1912
|
}
|
|
1731
1913
|
/**
|
|
1732
1914
|
* Fetch all folders across all pages into a single array.
|
|
@@ -1755,8 +1937,11 @@ export class EmployeeUpdatesAbsencesResource {
|
|
|
1755
1937
|
* @example for await (const item of client.employeeUpdates.absences.paginate()) { ... }
|
|
1756
1938
|
*/
|
|
1757
1939
|
paginate(options) {
|
|
1758
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1759
|
-
return paginate(
|
|
1940
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1941
|
+
return paginate(
|
|
1942
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1943
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1944
|
+
(params) => getApi20261001ResourcesEmployeeUpdatesAbsences({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1760
1945
|
}
|
|
1761
1946
|
/**
|
|
1762
1947
|
* Fetch all absences across all pages into a single array.
|
|
@@ -1781,8 +1966,11 @@ export class EmployeeUpdatesContractChangesResource {
|
|
|
1781
1966
|
* @example for await (const item of client.employeeUpdates.contractChanges.paginate()) { ... }
|
|
1782
1967
|
*/
|
|
1783
1968
|
paginate(options) {
|
|
1784
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1785
|
-
return paginate(
|
|
1969
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1970
|
+
return paginate(
|
|
1971
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
1972
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1973
|
+
(params) => getApi20261001ResourcesEmployeeUpdatesContractChanges({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1786
1974
|
}
|
|
1787
1975
|
/**
|
|
1788
1976
|
* Fetch all contract_changes across all pages into a single array.
|
|
@@ -1807,8 +1995,11 @@ export class EmployeeUpdatesNewHiresResource {
|
|
|
1807
1995
|
* @example for await (const item of client.employeeUpdates.newHires.paginate()) { ... }
|
|
1808
1996
|
*/
|
|
1809
1997
|
paginate(options) {
|
|
1810
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1811
|
-
return paginate(
|
|
1998
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
1999
|
+
return paginate(
|
|
2000
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2001
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2002
|
+
(params) => getApi20261001ResourcesEmployeeUpdatesNewHires({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1812
2003
|
}
|
|
1813
2004
|
/**
|
|
1814
2005
|
* Fetch all new_hires across all pages into a single array.
|
|
@@ -1833,8 +2024,11 @@ export class EmployeeUpdatesPersonalChangesResource {
|
|
|
1833
2024
|
* @example for await (const item of client.employeeUpdates.personalChanges.paginate()) { ... }
|
|
1834
2025
|
*/
|
|
1835
2026
|
paginate(options) {
|
|
1836
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1837
|
-
return paginate(
|
|
2027
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2028
|
+
return paginate(
|
|
2029
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2030
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2031
|
+
(params) => getApi20261001ResourcesEmployeeUpdatesPersonalChanges({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1838
2032
|
}
|
|
1839
2033
|
/**
|
|
1840
2034
|
* Fetch all personal_changes across all pages into a single array.
|
|
@@ -1859,8 +2053,11 @@ export class EmployeeUpdatesSummariesResource {
|
|
|
1859
2053
|
* @example for await (const item of client.employeeUpdates.summaries.paginate()) { ... }
|
|
1860
2054
|
*/
|
|
1861
2055
|
paginate(options) {
|
|
1862
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1863
|
-
return paginate(
|
|
2056
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2057
|
+
return paginate(
|
|
2058
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2059
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2060
|
+
(params) => getApi20261001ResourcesEmployeeUpdatesSummaries({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1864
2061
|
}
|
|
1865
2062
|
/**
|
|
1866
2063
|
* Fetch all summaries across all pages into a single array.
|
|
@@ -1885,8 +2082,11 @@ export class EmployeeUpdatesTerminationsResource {
|
|
|
1885
2082
|
* @example for await (const item of client.employeeUpdates.terminations.paginate()) { ... }
|
|
1886
2083
|
*/
|
|
1887
2084
|
paginate(options) {
|
|
1888
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1889
|
-
return paginate(
|
|
2085
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2086
|
+
return paginate(
|
|
2087
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2088
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2089
|
+
(params) => getApi20261001ResourcesEmployeeUpdatesTerminations({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1890
2090
|
}
|
|
1891
2091
|
/**
|
|
1892
2092
|
* Fetch all terminations across all pages into a single array.
|
|
@@ -1911,8 +2111,11 @@ export class EmployeesEmployeesResource {
|
|
|
1911
2111
|
* @example for await (const item of client.employees.employees.paginate()) { ... }
|
|
1912
2112
|
*/
|
|
1913
2113
|
paginate(options) {
|
|
1914
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1915
|
-
return paginate(
|
|
2114
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2115
|
+
return paginate(
|
|
2116
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2117
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2118
|
+
(params) => getApi20261001ResourcesEmployeesEmployees({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1916
2119
|
}
|
|
1917
2120
|
/**
|
|
1918
2121
|
* Fetch all employees across all pages into a single array.
|
|
@@ -1949,8 +2152,11 @@ export class ExpensesExpensablesResource {
|
|
|
1949
2152
|
* @example for await (const item of client.expenses.expensables.paginate()) { ... }
|
|
1950
2153
|
*/
|
|
1951
2154
|
paginate(options) {
|
|
1952
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1953
|
-
return paginate(
|
|
2155
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2156
|
+
return paginate(
|
|
2157
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2158
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2159
|
+
(params) => getApi20261001ResourcesExpensesExpensables({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1954
2160
|
}
|
|
1955
2161
|
/**
|
|
1956
2162
|
* Fetch all expensables across all pages into a single array.
|
|
@@ -1979,8 +2185,11 @@ export class ExpensesExpensesResource {
|
|
|
1979
2185
|
* @example for await (const item of client.expenses.expenses.paginate()) { ... }
|
|
1980
2186
|
*/
|
|
1981
2187
|
paginate(options) {
|
|
1982
|
-
const { maxItems, ...rest } = options ?? {};
|
|
1983
|
-
return paginate(
|
|
2188
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2189
|
+
return paginate(
|
|
2190
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2191
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2192
|
+
(params) => getApi20261001ResourcesExpensesExpenses({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
1984
2193
|
}
|
|
1985
2194
|
/**
|
|
1986
2195
|
* Fetch all expenses across all pages into a single array.
|
|
@@ -2005,8 +2214,11 @@ export class ExpensesMileagesResource {
|
|
|
2005
2214
|
* @example for await (const item of client.expenses.mileages.paginate()) { ... }
|
|
2006
2215
|
*/
|
|
2007
2216
|
paginate(options) {
|
|
2008
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2009
|
-
return paginate(
|
|
2217
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2218
|
+
return paginate(
|
|
2219
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2220
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2221
|
+
(params) => getApi20261001ResourcesExpensesMileages({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2010
2222
|
}
|
|
2011
2223
|
/**
|
|
2012
2224
|
* Fetch all mileages across all pages into a single array.
|
|
@@ -2031,8 +2243,11 @@ export class ExpensesPerDiemsResource {
|
|
|
2031
2243
|
* @example for await (const item of client.expenses.perDiems.paginate()) { ... }
|
|
2032
2244
|
*/
|
|
2033
2245
|
paginate(options) {
|
|
2034
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2035
|
-
return paginate(
|
|
2246
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2247
|
+
return paginate(
|
|
2248
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2249
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2250
|
+
(params) => getApi20261001ResourcesExpensesPerDiems({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2036
2251
|
}
|
|
2037
2252
|
/**
|
|
2038
2253
|
* Fetch all per_diems across all pages into a single array.
|
|
@@ -2057,8 +2272,11 @@ export class FinanceAccountingSettingsResource {
|
|
|
2057
2272
|
* @example for await (const item of client.finance.accountingSettings.paginate()) { ... }
|
|
2058
2273
|
*/
|
|
2059
2274
|
paginate(options) {
|
|
2060
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2061
|
-
return paginate(
|
|
2275
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2276
|
+
return paginate(
|
|
2277
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2278
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2279
|
+
(params) => getApi20261001ResourcesFinanceAccountingSettings({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2062
2280
|
}
|
|
2063
2281
|
/**
|
|
2064
2282
|
* Fetch all accounting_settings across all pages into a single array.
|
|
@@ -2085,8 +2303,11 @@ export class FinanceAccountsResource {
|
|
|
2085
2303
|
* @example for await (const item of client.finance.accounts.paginate()) { ... }
|
|
2086
2304
|
*/
|
|
2087
2305
|
paginate(options) {
|
|
2088
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2089
|
-
return paginate(
|
|
2306
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2307
|
+
return paginate(
|
|
2308
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2309
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2310
|
+
(params) => getApi20261001ResourcesFinanceAccounts({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2090
2311
|
}
|
|
2091
2312
|
/**
|
|
2092
2313
|
* Fetch all accounts across all pages into a single array.
|
|
@@ -2115,8 +2336,11 @@ export class FinanceBudgetOptionsResource {
|
|
|
2115
2336
|
* @example for await (const item of client.finance.budgetOptions.paginate()) { ... }
|
|
2116
2337
|
*/
|
|
2117
2338
|
paginate(options) {
|
|
2118
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2119
|
-
return paginate(
|
|
2339
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2340
|
+
return paginate(
|
|
2341
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2342
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2343
|
+
(params) => getApi20261001ResourcesFinanceBudgetOptions({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2120
2344
|
}
|
|
2121
2345
|
/**
|
|
2122
2346
|
* Fetch all budget_options across all pages into a single array.
|
|
@@ -2141,8 +2365,11 @@ export class FinanceCategoriesResource {
|
|
|
2141
2365
|
* @example for await (const item of client.finance.categories.paginate()) { ... }
|
|
2142
2366
|
*/
|
|
2143
2367
|
paginate(options) {
|
|
2144
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2145
|
-
return paginate(
|
|
2368
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2369
|
+
return paginate(
|
|
2370
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2371
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2372
|
+
(params) => getApi20261001ResourcesFinanceCategories({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2146
2373
|
}
|
|
2147
2374
|
/**
|
|
2148
2375
|
* Fetch all categories across all pages into a single array.
|
|
@@ -2167,8 +2394,11 @@ export class FinanceContactsResource {
|
|
|
2167
2394
|
* @example for await (const item of client.finance.contacts.paginate()) { ... }
|
|
2168
2395
|
*/
|
|
2169
2396
|
paginate(options) {
|
|
2170
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2171
|
-
return paginate(
|
|
2397
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2398
|
+
return paginate(
|
|
2399
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2400
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2401
|
+
(params) => getApi20261001ResourcesFinanceContacts({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2172
2402
|
}
|
|
2173
2403
|
/**
|
|
2174
2404
|
* Fetch all contacts across all pages into a single array.
|
|
@@ -2197,8 +2427,11 @@ export class FinanceCostCenterMembershipsResource {
|
|
|
2197
2427
|
* @example for await (const item of client.finance.costCenterMemberships.paginate()) { ... }
|
|
2198
2428
|
*/
|
|
2199
2429
|
paginate(options) {
|
|
2200
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2201
|
-
return paginate(
|
|
2430
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2431
|
+
return paginate(
|
|
2432
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2433
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2434
|
+
(params) => getApi20261001ResourcesFinanceCostCenterMemberships({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2202
2435
|
}
|
|
2203
2436
|
/**
|
|
2204
2437
|
* Fetch all cost_center_memberships across all pages into a single array.
|
|
@@ -2223,8 +2456,11 @@ export class FinanceCostCentersResource {
|
|
|
2223
2456
|
* @example for await (const item of client.finance.costCenters.paginate()) { ... }
|
|
2224
2457
|
*/
|
|
2225
2458
|
paginate(options) {
|
|
2226
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2227
|
-
return paginate(
|
|
2459
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2460
|
+
return paginate(
|
|
2461
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2462
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2463
|
+
(params) => getApi20261001ResourcesFinanceCostCenters({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2228
2464
|
}
|
|
2229
2465
|
/**
|
|
2230
2466
|
* Fetch all cost_centers across all pages into a single array.
|
|
@@ -2255,8 +2491,11 @@ export class FinanceFinancialDocumentsResource {
|
|
|
2255
2491
|
* @example for await (const item of client.finance.financialDocuments.paginate()) { ... }
|
|
2256
2492
|
*/
|
|
2257
2493
|
paginate(options) {
|
|
2258
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2259
|
-
return paginate(
|
|
2494
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2495
|
+
return paginate(
|
|
2496
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2497
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2498
|
+
(params) => getApi20261001ResourcesFinanceFinancialDocuments({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2260
2499
|
}
|
|
2261
2500
|
/**
|
|
2262
2501
|
* Fetch all financial_documents across all pages into a single array.
|
|
@@ -2285,8 +2524,11 @@ export class FinanceJournalEntriesResource {
|
|
|
2285
2524
|
* @example for await (const item of client.finance.journalEntries.paginate()) { ... }
|
|
2286
2525
|
*/
|
|
2287
2526
|
paginate(options) {
|
|
2288
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2289
|
-
return paginate(
|
|
2527
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2528
|
+
return paginate(
|
|
2529
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2530
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2531
|
+
(params) => getApi20261001ResourcesFinanceJournalEntries({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2290
2532
|
}
|
|
2291
2533
|
/**
|
|
2292
2534
|
* Fetch all journal_entries across all pages into a single array.
|
|
@@ -2313,8 +2555,11 @@ export class FinanceJournalLinesResource {
|
|
|
2313
2555
|
* @example for await (const item of client.finance.journalLines.paginate()) { ... }
|
|
2314
2556
|
*/
|
|
2315
2557
|
paginate(options) {
|
|
2316
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2317
|
-
return paginate(
|
|
2558
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2559
|
+
return paginate(
|
|
2560
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2561
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2562
|
+
(params) => getApi20261001ResourcesFinanceJournalLines({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2318
2563
|
}
|
|
2319
2564
|
/**
|
|
2320
2565
|
* Fetch all journal_lines across all pages into a single array.
|
|
@@ -2339,8 +2584,11 @@ export class FinanceLedgerAccountResourcesResource {
|
|
|
2339
2584
|
* @example for await (const item of client.finance.ledgerAccountResources.paginate()) { ... }
|
|
2340
2585
|
*/
|
|
2341
2586
|
paginate(options) {
|
|
2342
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2343
|
-
return paginate(
|
|
2587
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2588
|
+
return paginate(
|
|
2589
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2590
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2591
|
+
(params) => getApi20261001ResourcesFinanceLedgerAccountResources({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2344
2592
|
}
|
|
2345
2593
|
/**
|
|
2346
2594
|
* Fetch all ledger_account_resources across all pages into a single array.
|
|
@@ -2367,8 +2615,11 @@ export class FinanceTaxRatesResource {
|
|
|
2367
2615
|
* @example for await (const item of client.finance.taxRates.paginate()) { ... }
|
|
2368
2616
|
*/
|
|
2369
2617
|
paginate(options) {
|
|
2370
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2371
|
-
return paginate(
|
|
2618
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2619
|
+
return paginate(
|
|
2620
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2621
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2622
|
+
(params) => getApi20261001ResourcesFinanceTaxRates({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2372
2623
|
}
|
|
2373
2624
|
/**
|
|
2374
2625
|
* Fetch all tax_rates across all pages into a single array.
|
|
@@ -2397,8 +2648,11 @@ export class FinanceTaxTypesResource {
|
|
|
2397
2648
|
* @example for await (const item of client.finance.taxTypes.paginate()) { ... }
|
|
2398
2649
|
*/
|
|
2399
2650
|
paginate(options) {
|
|
2400
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2401
|
-
return paginate(
|
|
2651
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2652
|
+
return paginate(
|
|
2653
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2654
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2655
|
+
(params) => getApi20261001ResourcesFinanceTaxTypes({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2402
2656
|
}
|
|
2403
2657
|
/**
|
|
2404
2658
|
* Fetch all tax_types across all pages into a single array.
|
|
@@ -2427,8 +2681,11 @@ export class HolidaysCompanyHolidaysResource {
|
|
|
2427
2681
|
* @example for await (const item of client.holidays.companyHolidays.paginate()) { ... }
|
|
2428
2682
|
*/
|
|
2429
2683
|
paginate(options) {
|
|
2430
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2431
|
-
return paginate(
|
|
2684
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2685
|
+
return paginate(
|
|
2686
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2687
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2688
|
+
(params) => getApi20261001ResourcesHolidaysCompanyHolidays({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2432
2689
|
}
|
|
2433
2690
|
/**
|
|
2434
2691
|
* Fetch all company_holidays across all pages into a single array.
|
|
@@ -2462,8 +2719,11 @@ export class IntegrationsSyncRunsResource {
|
|
|
2462
2719
|
* @example for await (const item of client.integrations.syncRuns.paginate()) { ... }
|
|
2463
2720
|
*/
|
|
2464
2721
|
paginate(options) {
|
|
2465
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2466
|
-
return paginate(
|
|
2722
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2723
|
+
return paginate(
|
|
2724
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2725
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2726
|
+
(params) => getApi20261001ResourcesIntegrationsSyncRuns({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2467
2727
|
}
|
|
2468
2728
|
/**
|
|
2469
2729
|
* Fetch all sync_runs across all pages into a single array.
|
|
@@ -2490,8 +2750,11 @@ export class IntegrationsSyncableStatesResource {
|
|
|
2490
2750
|
* @example for await (const item of client.integrations.syncableStates.paginate()) { ... }
|
|
2491
2751
|
*/
|
|
2492
2752
|
paginate(options) {
|
|
2493
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2494
|
-
return paginate(
|
|
2753
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2754
|
+
return paginate(
|
|
2755
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2756
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2757
|
+
(params) => getApi20261001ResourcesIntegrationsSyncableStates({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2495
2758
|
}
|
|
2496
2759
|
/**
|
|
2497
2760
|
* Fetch all syncable_states across all pages into a single array.
|
|
@@ -2516,8 +2779,11 @@ export class IntegrationsSyncableSyncRunsResource {
|
|
|
2516
2779
|
* @example for await (const item of client.integrations.syncableSyncRuns.paginate()) { ... }
|
|
2517
2780
|
*/
|
|
2518
2781
|
paginate(options) {
|
|
2519
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2520
|
-
return paginate(
|
|
2782
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2783
|
+
return paginate(
|
|
2784
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2785
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2786
|
+
(params) => getApi20261001ResourcesIntegrationsSyncableSyncRuns({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2521
2787
|
}
|
|
2522
2788
|
/**
|
|
2523
2789
|
* Fetch all syncable_sync_runs across all pages into a single array.
|
|
@@ -2546,8 +2812,11 @@ export class ItManagementAssetCategoriesResource {
|
|
|
2546
2812
|
* @example for await (const item of client.itManagement.assetCategories.paginate()) { ... }
|
|
2547
2813
|
*/
|
|
2548
2814
|
paginate(options) {
|
|
2549
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2550
|
-
return paginate(
|
|
2815
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2816
|
+
return paginate(
|
|
2817
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2818
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2819
|
+
(params) => getApi20261001ResourcesItManagementAssetCategories({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2551
2820
|
}
|
|
2552
2821
|
/**
|
|
2553
2822
|
* Fetch all asset_categories across all pages into a single array.
|
|
@@ -2572,8 +2841,11 @@ export class ItManagementItAssetModelsResource {
|
|
|
2572
2841
|
* @example for await (const item of client.itManagement.itAssetModels.paginate()) { ... }
|
|
2573
2842
|
*/
|
|
2574
2843
|
paginate(options) {
|
|
2575
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2576
|
-
return paginate(
|
|
2844
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2845
|
+
return paginate(
|
|
2846
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2847
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2848
|
+
(params) => getApi20261001ResourcesItManagementItAssetModels({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2577
2849
|
}
|
|
2578
2850
|
/**
|
|
2579
2851
|
* Fetch all it_asset_models across all pages into a single array.
|
|
@@ -2602,8 +2874,11 @@ export class ItManagementItAssetsResource {
|
|
|
2602
2874
|
* @example for await (const item of client.itManagement.itAssets.paginate()) { ... }
|
|
2603
2875
|
*/
|
|
2604
2876
|
paginate(options) {
|
|
2605
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2606
|
-
return paginate(
|
|
2877
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2878
|
+
return paginate(
|
|
2879
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2880
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2881
|
+
(params) => getApi20261001ResourcesItManagementItAssets({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2607
2882
|
}
|
|
2608
2883
|
/**
|
|
2609
2884
|
* Fetch all it_assets across all pages into a single array.
|
|
@@ -2634,8 +2909,11 @@ export class JobCatalogLevelsResource {
|
|
|
2634
2909
|
* @example for await (const item of client.jobCatalog.levels.paginate()) { ... }
|
|
2635
2910
|
*/
|
|
2636
2911
|
paginate(options) {
|
|
2637
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2638
|
-
return paginate(
|
|
2912
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2913
|
+
return paginate(
|
|
2914
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2915
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2916
|
+
(params) => getApi20261001ResourcesJobCatalogLevels({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2639
2917
|
}
|
|
2640
2918
|
/**
|
|
2641
2919
|
* Fetch all levels across all pages into a single array.
|
|
@@ -2660,8 +2938,11 @@ export class JobCatalogNodeAttributesResource {
|
|
|
2660
2938
|
* @example for await (const item of client.jobCatalog.nodeAttributes.paginate()) { ... }
|
|
2661
2939
|
*/
|
|
2662
2940
|
paginate(options) {
|
|
2663
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2664
|
-
return paginate(
|
|
2941
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2942
|
+
return paginate(
|
|
2943
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2944
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2945
|
+
(params) => getApi20261001ResourcesJobCatalogNodeAttributes({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2665
2946
|
}
|
|
2666
2947
|
/**
|
|
2667
2948
|
* Fetch all node_attributes across all pages into a single array.
|
|
@@ -2684,8 +2965,11 @@ export class JobCatalogRolesResource {
|
|
|
2684
2965
|
* @example for await (const item of client.jobCatalog.roles.paginate()) { ... }
|
|
2685
2966
|
*/
|
|
2686
2967
|
paginate(options) {
|
|
2687
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2688
|
-
return paginate(
|
|
2968
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2969
|
+
return paginate(
|
|
2970
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
2971
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2972
|
+
(params) => getApi20261001ResourcesJobCatalogRoles({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2689
2973
|
}
|
|
2690
2974
|
/**
|
|
2691
2975
|
* Fetch all roles across all pages into a single array.
|
|
@@ -2710,8 +2994,11 @@ export class JobCatalogTreeNodesResource {
|
|
|
2710
2994
|
* @example for await (const item of client.jobCatalog.treeNodes.paginate()) { ... }
|
|
2711
2995
|
*/
|
|
2712
2996
|
paginate(options) {
|
|
2713
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2714
|
-
return paginate(
|
|
2997
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
2998
|
+
return paginate(
|
|
2999
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3000
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3001
|
+
(params) => getApi20261001ResourcesJobCatalogTreeNodes({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2715
3002
|
}
|
|
2716
3003
|
/**
|
|
2717
3004
|
* Fetch all tree_nodes across all pages into a single array.
|
|
@@ -2734,8 +3021,11 @@ export class LocationsLocationsResource {
|
|
|
2734
3021
|
* @example for await (const item of client.locations.locations.paginate()) { ... }
|
|
2735
3022
|
*/
|
|
2736
3023
|
paginate(options) {
|
|
2737
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2738
|
-
return paginate(
|
|
3024
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3025
|
+
return paginate(
|
|
3026
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3027
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3028
|
+
(params) => getApi20261001ResourcesLocationsLocations({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2739
3029
|
}
|
|
2740
3030
|
/**
|
|
2741
3031
|
* Fetch all locations across all pages into a single array.
|
|
@@ -2766,8 +3056,11 @@ export class LocationsWorkAreasResource {
|
|
|
2766
3056
|
* @example for await (const item of client.locations.workAreas.paginate()) { ... }
|
|
2767
3057
|
*/
|
|
2768
3058
|
paginate(options) {
|
|
2769
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2770
|
-
return paginate(
|
|
3059
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3060
|
+
return paginate(
|
|
3061
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3062
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3063
|
+
(params) => getApi20261001ResourcesLocationsWorkAreas({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2771
3064
|
}
|
|
2772
3065
|
/**
|
|
2773
3066
|
* Fetch all work_areas across all pages into a single array.
|
|
@@ -2800,8 +3093,11 @@ export class MarketplaceInstallationSettingsResource {
|
|
|
2800
3093
|
* @example for await (const item of client.marketplace.installationSettings.paginate()) { ... }
|
|
2801
3094
|
*/
|
|
2802
3095
|
paginate(options) {
|
|
2803
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2804
|
-
return paginate(
|
|
3096
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3097
|
+
return paginate(
|
|
3098
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3099
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3100
|
+
(params) => getApi20261001ResourcesMarketplaceInstallationSettings({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2805
3101
|
}
|
|
2806
3102
|
/**
|
|
2807
3103
|
* Fetch all installation_settings across all pages into a single array.
|
|
@@ -2833,8 +3129,11 @@ export class PayrollFamilySituationsResource {
|
|
|
2833
3129
|
* @example for await (const item of client.payroll.familySituations.paginate()) { ... }
|
|
2834
3130
|
*/
|
|
2835
3131
|
paginate(options) {
|
|
2836
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2837
|
-
return paginate(
|
|
3132
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3133
|
+
return paginate(
|
|
3134
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3135
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3136
|
+
(params) => getApi20261001ResourcesPayrollFamilySituations({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2838
3137
|
}
|
|
2839
3138
|
/**
|
|
2840
3139
|
* Fetch all family_situations across all pages into a single array.
|
|
@@ -2870,8 +3169,11 @@ export class PayrollSupplementsResource {
|
|
|
2870
3169
|
* @example for await (const item of client.payroll.supplements.paginate()) { ... }
|
|
2871
3170
|
*/
|
|
2872
3171
|
paginate(options) {
|
|
2873
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2874
|
-
return paginate(
|
|
3172
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3173
|
+
return paginate(
|
|
3174
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3175
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3176
|
+
(params) => getApi20261001ResourcesPayrollSupplements({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2875
3177
|
}
|
|
2876
3178
|
/**
|
|
2877
3179
|
* Fetch all supplements across all pages into a single array.
|
|
@@ -2902,8 +3204,11 @@ export class PayrollEmployeesGermanEmployeeDataResource {
|
|
|
2902
3204
|
* @example for await (const item of client.payrollEmployees.germanEmployeeData.paginate()) { ... }
|
|
2903
3205
|
*/
|
|
2904
3206
|
paginate(options) {
|
|
2905
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2906
|
-
return paginate(
|
|
3207
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3208
|
+
return paginate(
|
|
3209
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3210
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3211
|
+
(params) => getApi20261001ResourcesPayrollEmployeesGermanEmployeeData({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2907
3212
|
}
|
|
2908
3213
|
/**
|
|
2909
3214
|
* Fetch all german_employee_data across all pages into a single array.
|
|
@@ -2932,8 +3237,11 @@ export class PayrollEmployeesIdentifiersResource {
|
|
|
2932
3237
|
* @example for await (const item of client.payrollEmployees.identifiers.paginate()) { ... }
|
|
2933
3238
|
*/
|
|
2934
3239
|
paginate(options) {
|
|
2935
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2936
|
-
return paginate(
|
|
3240
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3241
|
+
return paginate(
|
|
3242
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3243
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3244
|
+
(params) => getApi20261001ResourcesPayrollEmployeesIdentifiers({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2937
3245
|
}
|
|
2938
3246
|
/**
|
|
2939
3247
|
* Fetch all identifiers across all pages into a single array.
|
|
@@ -2964,8 +3272,11 @@ export class PayrollIntegrationsBaseCodesResource {
|
|
|
2964
3272
|
* @example for await (const item of client.payrollIntegrationsBase.codes.paginate()) { ... }
|
|
2965
3273
|
*/
|
|
2966
3274
|
paginate(options) {
|
|
2967
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2968
|
-
return paginate(
|
|
3275
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3276
|
+
return paginate(
|
|
3277
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3278
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3279
|
+
(params) => getApi20261001ResourcesPayrollIntegrationsBaseCodes({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2969
3280
|
}
|
|
2970
3281
|
/**
|
|
2971
3282
|
* Fetch all codes across all pages into a single array.
|
|
@@ -2994,8 +3305,11 @@ export class PerformanceAgreementsResource {
|
|
|
2994
3305
|
* @example for await (const item of client.performance.agreements.paginate()) { ... }
|
|
2995
3306
|
*/
|
|
2996
3307
|
paginate(options) {
|
|
2997
|
-
const { maxItems, ...rest } = options ?? {};
|
|
2998
|
-
return paginate(
|
|
3308
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3309
|
+
return paginate(
|
|
3310
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3311
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3312
|
+
(params) => getApi20261001ResourcesPerformanceAgreements({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
2999
3313
|
}
|
|
3000
3314
|
/**
|
|
3001
3315
|
* Fetch all agreements across all pages into a single array.
|
|
@@ -3024,8 +3338,11 @@ export class PerformanceCompanyEmployeeScoreScalesResource {
|
|
|
3024
3338
|
* @example for await (const item of client.performance.companyEmployeeScoreScales.paginate()) { ... }
|
|
3025
3339
|
*/
|
|
3026
3340
|
paginate(options) {
|
|
3027
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3028
|
-
return paginate(
|
|
3341
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3342
|
+
return paginate(
|
|
3343
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3344
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3345
|
+
(params) => getApi20261001ResourcesPerformanceCompanyEmployeeScoreScales({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3029
3346
|
}
|
|
3030
3347
|
/**
|
|
3031
3348
|
* Fetch all company_employee_score_scales across all pages into a single array.
|
|
@@ -3052,8 +3369,11 @@ export class PerformanceEmployeeScoreScalesResource {
|
|
|
3052
3369
|
* @example for await (const item of client.performance.employeeScoreScales.paginate()) { ... }
|
|
3053
3370
|
*/
|
|
3054
3371
|
paginate(options) {
|
|
3055
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3056
|
-
return paginate(
|
|
3372
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3373
|
+
return paginate(
|
|
3374
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3375
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3376
|
+
(params) => getApi20261001ResourcesPerformanceEmployeeScoreScales({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3057
3377
|
}
|
|
3058
3378
|
/**
|
|
3059
3379
|
* Fetch all employee_score_scales across all pages into a single array.
|
|
@@ -3078,8 +3398,11 @@ export class PerformanceReviewEvaluationAnswersResource {
|
|
|
3078
3398
|
* @example for await (const item of client.performance.reviewEvaluationAnswers.paginate()) { ... }
|
|
3079
3399
|
*/
|
|
3080
3400
|
paginate(options) {
|
|
3081
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3082
|
-
return paginate(
|
|
3401
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3402
|
+
return paginate(
|
|
3403
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3404
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3405
|
+
(params) => getApi20261001ResourcesPerformanceReviewEvaluationAnswers({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3083
3406
|
}
|
|
3084
3407
|
/**
|
|
3085
3408
|
* Fetch all review_evaluation_answers across all pages into a single array.
|
|
@@ -3102,8 +3425,11 @@ export class PerformanceReviewEvaluationScoresResource {
|
|
|
3102
3425
|
* @example for await (const item of client.performance.reviewEvaluationScores.paginate()) { ... }
|
|
3103
3426
|
*/
|
|
3104
3427
|
paginate(options) {
|
|
3105
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3106
|
-
return paginate(
|
|
3428
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3429
|
+
return paginate(
|
|
3430
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3431
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3432
|
+
(params) => getApi20261001ResourcesPerformanceReviewEvaluationScores({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3107
3433
|
}
|
|
3108
3434
|
/**
|
|
3109
3435
|
* Fetch all review_evaluation_scores across all pages into a single array.
|
|
@@ -3128,8 +3454,11 @@ export class PerformanceReviewEvaluationsResource {
|
|
|
3128
3454
|
* @example for await (const item of client.performance.reviewEvaluations.paginate()) { ... }
|
|
3129
3455
|
*/
|
|
3130
3456
|
paginate(options) {
|
|
3131
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3132
|
-
return paginate(
|
|
3457
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3458
|
+
return paginate(
|
|
3459
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3460
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3461
|
+
(params) => getApi20261001ResourcesPerformanceReviewEvaluations({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3133
3462
|
}
|
|
3134
3463
|
/**
|
|
3135
3464
|
* Fetch all review_evaluations across all pages into a single array.
|
|
@@ -3156,8 +3485,11 @@ export class PerformanceReviewOwnersResource {
|
|
|
3156
3485
|
* @example for await (const item of client.performance.reviewOwners.paginate()) { ... }
|
|
3157
3486
|
*/
|
|
3158
3487
|
paginate(options) {
|
|
3159
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3160
|
-
return paginate(
|
|
3488
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3489
|
+
return paginate(
|
|
3490
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3491
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3492
|
+
(params) => getApi20261001ResourcesPerformanceReviewOwners({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3161
3493
|
}
|
|
3162
3494
|
/**
|
|
3163
3495
|
* Fetch all review_owners across all pages into a single array.
|
|
@@ -3184,8 +3516,11 @@ export class PerformanceReviewProcessCustomTemplatesResource {
|
|
|
3184
3516
|
* @example for await (const item of client.performance.reviewProcessCustomTemplates.paginate()) { ... }
|
|
3185
3517
|
*/
|
|
3186
3518
|
paginate(options) {
|
|
3187
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3188
|
-
return paginate(
|
|
3519
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3520
|
+
return paginate(
|
|
3521
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3522
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3523
|
+
(params) => getApi20261001ResourcesPerformanceReviewProcessCustomTemplates({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3189
3524
|
}
|
|
3190
3525
|
/**
|
|
3191
3526
|
* Fetch all review_process_custom_templates across all pages into a single array.
|
|
@@ -3210,8 +3545,11 @@ export class PerformanceReviewProcessEstimatedTargetsResource {
|
|
|
3210
3545
|
* @example for await (const item of client.performance.reviewProcessEstimatedTargets.paginate()) { ... }
|
|
3211
3546
|
*/
|
|
3212
3547
|
paginate(options) {
|
|
3213
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3214
|
-
return paginate(
|
|
3548
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3549
|
+
return paginate(
|
|
3550
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3551
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3552
|
+
(params) => getApi20261001ResourcesPerformanceReviewProcessEstimatedTargets({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3215
3553
|
}
|
|
3216
3554
|
/**
|
|
3217
3555
|
* Fetch all review_process_estimated_targets across all pages into a single array.
|
|
@@ -3234,8 +3572,11 @@ export class PerformanceReviewProcessTargetsResource {
|
|
|
3234
3572
|
* @example for await (const item of client.performance.reviewProcessTargets.paginate()) { ... }
|
|
3235
3573
|
*/
|
|
3236
3574
|
paginate(options) {
|
|
3237
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3238
|
-
return paginate(
|
|
3575
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3576
|
+
return paginate(
|
|
3577
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3578
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3579
|
+
(params) => getApi20261001ResourcesPerformanceReviewProcessTargets({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3239
3580
|
}
|
|
3240
3581
|
/**
|
|
3241
3582
|
* Fetch all review_process_targets across all pages into a single array.
|
|
@@ -3268,8 +3609,11 @@ export class PerformanceReviewProcessesResource {
|
|
|
3268
3609
|
* @example for await (const item of client.performance.reviewProcesses.paginate()) { ... }
|
|
3269
3610
|
*/
|
|
3270
3611
|
paginate(options) {
|
|
3271
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3272
|
-
return paginate(
|
|
3612
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3613
|
+
return paginate(
|
|
3614
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3615
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3616
|
+
(params) => getApi20261001ResourcesPerformanceReviewProcesses({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3273
3617
|
}
|
|
3274
3618
|
/**
|
|
3275
3619
|
* Fetch all review_processes across all pages into a single array.
|
|
@@ -3332,8 +3676,11 @@ export class PerformanceReviewQuestionnaireByStrategiesResource {
|
|
|
3332
3676
|
* @example for await (const item of client.performance.reviewQuestionnaireByStrategies.paginate()) { ... }
|
|
3333
3677
|
*/
|
|
3334
3678
|
paginate(options) {
|
|
3335
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3336
|
-
return paginate(
|
|
3679
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3680
|
+
return paginate(
|
|
3681
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3682
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3683
|
+
(params) => getApi20261001ResourcesPerformanceReviewQuestionnaireByStrategies({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3337
3684
|
}
|
|
3338
3685
|
/**
|
|
3339
3686
|
* Fetch all review_questionnaire_by_strategies across all pages into a single array.
|
|
@@ -3362,8 +3709,11 @@ export class PerformanceReviewVisibilitySettingsResource {
|
|
|
3362
3709
|
* @example for await (const item of client.performance.reviewVisibilitySettings.paginate()) { ... }
|
|
3363
3710
|
*/
|
|
3364
3711
|
paginate(options) {
|
|
3365
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3366
|
-
return paginate(
|
|
3712
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3713
|
+
return paginate(
|
|
3714
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3715
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3716
|
+
(params) => getApi20261001ResourcesPerformanceReviewVisibilitySettings({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3367
3717
|
}
|
|
3368
3718
|
/**
|
|
3369
3719
|
* Fetch all review_visibility_settings across all pages into a single array.
|
|
@@ -3388,8 +3738,11 @@ export class PerformanceTargetManagersResource {
|
|
|
3388
3738
|
* @example for await (const item of client.performance.targetManagers.paginate()) { ... }
|
|
3389
3739
|
*/
|
|
3390
3740
|
paginate(options) {
|
|
3391
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3392
|
-
return paginate(
|
|
3741
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3742
|
+
return paginate(
|
|
3743
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3744
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3745
|
+
(params) => getApi20261001ResourcesPerformanceTargetManagers({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3393
3746
|
}
|
|
3394
3747
|
/**
|
|
3395
3748
|
* Fetch all target_managers across all pages into a single array.
|
|
@@ -3414,8 +3767,11 @@ export class PostsCommentsResource {
|
|
|
3414
3767
|
* @example for await (const item of client.posts.comments.paginate()) { ... }
|
|
3415
3768
|
*/
|
|
3416
3769
|
paginate(options) {
|
|
3417
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3418
|
-
return paginate(
|
|
3770
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3771
|
+
return paginate(
|
|
3772
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3773
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3774
|
+
(params) => getApi20261001ResourcesPostsComments({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3419
3775
|
}
|
|
3420
3776
|
/**
|
|
3421
3777
|
* Fetch all comments across all pages into a single array.
|
|
@@ -3446,8 +3802,11 @@ export class PostsGroupsResource {
|
|
|
3446
3802
|
* @example for await (const item of client.posts.groups.paginate()) { ... }
|
|
3447
3803
|
*/
|
|
3448
3804
|
paginate(options) {
|
|
3449
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3450
|
-
return paginate(
|
|
3805
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3806
|
+
return paginate(
|
|
3807
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3808
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3809
|
+
(params) => getApi20261001ResourcesPostsGroups({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3451
3810
|
}
|
|
3452
3811
|
/**
|
|
3453
3812
|
* Fetch all groups across all pages into a single array.
|
|
@@ -3480,8 +3839,11 @@ export class PostsPostsResource {
|
|
|
3480
3839
|
* @example for await (const item of client.posts.posts.paginate()) { ... }
|
|
3481
3840
|
*/
|
|
3482
3841
|
paginate(options) {
|
|
3483
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3484
|
-
return paginate(
|
|
3842
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3843
|
+
return paginate(
|
|
3844
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3845
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3846
|
+
(params) => getApi20261001ResourcesPostsPosts({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3485
3847
|
}
|
|
3486
3848
|
/**
|
|
3487
3849
|
* Fetch all posts across all pages into a single array.
|
|
@@ -3521,8 +3883,11 @@ export class ProcessesProcessesResource {
|
|
|
3521
3883
|
* @example for await (const item of client.processes.processes.paginate()) { ... }
|
|
3522
3884
|
*/
|
|
3523
3885
|
paginate(options) {
|
|
3524
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3525
|
-
return paginate(
|
|
3886
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3887
|
+
return paginate(
|
|
3888
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3889
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3890
|
+
(params) => getApi20261001ResourcesProcessesProcesses({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3526
3891
|
}
|
|
3527
3892
|
/**
|
|
3528
3893
|
* Fetch all processes across all pages into a single array.
|
|
@@ -3547,8 +3912,11 @@ export class ProcurementPoFieldValuesResource {
|
|
|
3547
3912
|
* @example for await (const item of client.procurement.poFieldValues.paginate()) { ... }
|
|
3548
3913
|
*/
|
|
3549
3914
|
paginate(options) {
|
|
3550
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3551
|
-
return paginate(
|
|
3915
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3916
|
+
return paginate(
|
|
3917
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3918
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3919
|
+
(params) => getApi20261001ResourcesProcurementPoFieldValues({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3552
3920
|
}
|
|
3553
3921
|
/**
|
|
3554
3922
|
* Fetch all po_field_values across all pages into a single array.
|
|
@@ -3573,8 +3941,11 @@ export class ProcurementPoLineItemsResource {
|
|
|
3573
3941
|
* @example for await (const item of client.procurement.poLineItems.paginate()) { ... }
|
|
3574
3942
|
*/
|
|
3575
3943
|
paginate(options) {
|
|
3576
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3577
|
-
return paginate(
|
|
3944
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3945
|
+
return paginate(
|
|
3946
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3947
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3948
|
+
(params) => getApi20261001ResourcesProcurementPoLineItems({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3578
3949
|
}
|
|
3579
3950
|
/**
|
|
3580
3951
|
* Fetch all po_line_items across all pages into a single array.
|
|
@@ -3599,8 +3970,11 @@ export class ProcurementPoTemplateFieldDefinitionsResource {
|
|
|
3599
3970
|
* @example for await (const item of client.procurement.poTemplateFieldDefinitions.paginate()) { ... }
|
|
3600
3971
|
*/
|
|
3601
3972
|
paginate(options) {
|
|
3602
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3603
|
-
return paginate(
|
|
3973
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
3974
|
+
return paginate(
|
|
3975
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
3976
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3977
|
+
(params) => getApi20261001ResourcesProcurementPoTemplateFieldDefinitions({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3604
3978
|
}
|
|
3605
3979
|
/**
|
|
3606
3980
|
* Fetch all po_template_field_definitions across all pages into a single array.
|
|
@@ -3625,8 +3999,11 @@ export class ProcurementPoTemplateVersionsResource {
|
|
|
3625
3999
|
* @example for await (const item of client.procurement.poTemplateVersions.paginate()) { ... }
|
|
3626
4000
|
*/
|
|
3627
4001
|
paginate(options) {
|
|
3628
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3629
|
-
return paginate(
|
|
4002
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4003
|
+
return paginate(
|
|
4004
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4005
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4006
|
+
(params) => getApi20261001ResourcesProcurementPoTemplateVersions({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3630
4007
|
}
|
|
3631
4008
|
/**
|
|
3632
4009
|
* Fetch all po_template_versions across all pages into a single array.
|
|
@@ -3651,8 +4028,11 @@ export class ProcurementPoTemplatesResource {
|
|
|
3651
4028
|
* @example for await (const item of client.procurement.poTemplates.paginate()) { ... }
|
|
3652
4029
|
*/
|
|
3653
4030
|
paginate(options) {
|
|
3654
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3655
|
-
return paginate(
|
|
4031
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4032
|
+
return paginate(
|
|
4033
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4034
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4035
|
+
(params) => getApi20261001ResourcesProcurementPoTemplates({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3656
4036
|
}
|
|
3657
4037
|
/**
|
|
3658
4038
|
* Fetch all po_templates across all pages into a single array.
|
|
@@ -3677,8 +4057,11 @@ export class ProcurementPurchaseOrdersResource {
|
|
|
3677
4057
|
* @example for await (const item of client.procurement.purchaseOrders.paginate()) { ... }
|
|
3678
4058
|
*/
|
|
3679
4059
|
paginate(options) {
|
|
3680
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3681
|
-
return paginate(
|
|
4060
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4061
|
+
return paginate(
|
|
4062
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4063
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4064
|
+
(params) => getApi20261001ResourcesProcurementPurchaseOrders({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3682
4065
|
}
|
|
3683
4066
|
/**
|
|
3684
4067
|
* Fetch all purchase_orders across all pages into a single array.
|
|
@@ -3707,8 +4090,11 @@ export class ProcurementPurchaseRequestsResource {
|
|
|
3707
4090
|
* @example for await (const item of client.procurement.purchaseRequests.paginate()) { ... }
|
|
3708
4091
|
*/
|
|
3709
4092
|
paginate(options) {
|
|
3710
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3711
|
-
return paginate(
|
|
4093
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4094
|
+
return paginate(
|
|
4095
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4096
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4097
|
+
(params) => getApi20261001ResourcesProcurementPurchaseRequests({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3712
4098
|
}
|
|
3713
4099
|
/**
|
|
3714
4100
|
* Fetch all purchase_requests across all pages into a single array.
|
|
@@ -3733,8 +4119,11 @@ export class ProcurementTypesResource {
|
|
|
3733
4119
|
* @example for await (const item of client.procurement.types.paginate()) { ... }
|
|
3734
4120
|
*/
|
|
3735
4121
|
paginate(options) {
|
|
3736
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3737
|
-
return paginate(
|
|
4122
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4123
|
+
return paginate(
|
|
4124
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4125
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4126
|
+
(params) => getApi20261001ResourcesProcurementTypes({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3738
4127
|
}
|
|
3739
4128
|
/**
|
|
3740
4129
|
* Fetch all types across all pages into a single array.
|
|
@@ -3759,8 +4148,11 @@ export class ProjectManagementBudgetStrategiesResource {
|
|
|
3759
4148
|
* @example for await (const item of client.projectManagement.budgetStrategies.paginate()) { ... }
|
|
3760
4149
|
*/
|
|
3761
4150
|
paginate(options) {
|
|
3762
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3763
|
-
return paginate(
|
|
4151
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4152
|
+
return paginate(
|
|
4153
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4154
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4155
|
+
(params) => getApi20261001ResourcesProjectManagementBudgetStrategies({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3764
4156
|
}
|
|
3765
4157
|
/**
|
|
3766
4158
|
* Fetch all budget_strategies across all pages into a single array.
|
|
@@ -3791,8 +4183,11 @@ export class ProjectManagementExpenseRecordsResource {
|
|
|
3791
4183
|
* @example for await (const item of client.projectManagement.expenseRecords.paginate()) { ... }
|
|
3792
4184
|
*/
|
|
3793
4185
|
paginate(options) {
|
|
3794
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3795
|
-
return paginate(
|
|
4186
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4187
|
+
return paginate(
|
|
4188
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4189
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4190
|
+
(params) => getApi20261001ResourcesProjectManagementExpenseRecords({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3796
4191
|
}
|
|
3797
4192
|
/**
|
|
3798
4193
|
* Fetch all expense_records across all pages into a single array.
|
|
@@ -3817,8 +4212,11 @@ export class ProjectManagementExportableExpensesResource {
|
|
|
3817
4212
|
* @example for await (const item of client.projectManagement.exportableExpenses.paginate()) { ... }
|
|
3818
4213
|
*/
|
|
3819
4214
|
paginate(options) {
|
|
3820
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3821
|
-
return paginate(
|
|
4215
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4216
|
+
return paginate(
|
|
4217
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4218
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4219
|
+
(params) => getApi20261001ResourcesProjectManagementExportableExpenses({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3822
4220
|
}
|
|
3823
4221
|
/**
|
|
3824
4222
|
* Fetch all exportable_expenses across all pages into a single array.
|
|
@@ -3841,8 +4239,11 @@ export class ProjectManagementImputableProjectsResource {
|
|
|
3841
4239
|
* @example for await (const item of client.projectManagement.imputableProjects.paginate()) { ... }
|
|
3842
4240
|
*/
|
|
3843
4241
|
paginate(options) {
|
|
3844
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3845
|
-
return paginate(
|
|
4242
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4243
|
+
return paginate(
|
|
4244
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4245
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4246
|
+
(params) => getApi20261001ResourcesProjectManagementImputableProjects({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3846
4247
|
}
|
|
3847
4248
|
/**
|
|
3848
4249
|
* Fetch all imputable_projects across all pages into a single array.
|
|
@@ -3867,8 +4268,11 @@ export class ProjectManagementPlannedRecordsResource {
|
|
|
3867
4268
|
* @example for await (const item of client.projectManagement.plannedRecords.paginate()) { ... }
|
|
3868
4269
|
*/
|
|
3869
4270
|
paginate(options) {
|
|
3870
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3871
|
-
return paginate(
|
|
4271
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4272
|
+
return paginate(
|
|
4273
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4274
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4275
|
+
(params) => getApi20261001ResourcesProjectManagementPlannedRecords({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3872
4276
|
}
|
|
3873
4277
|
/**
|
|
3874
4278
|
* Fetch all planned_records across all pages into a single array.
|
|
@@ -3899,8 +4303,11 @@ export class ProjectManagementProjectTasksResource {
|
|
|
3899
4303
|
* @example for await (const item of client.projectManagement.projectTasks.paginate()) { ... }
|
|
3900
4304
|
*/
|
|
3901
4305
|
paginate(options) {
|
|
3902
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3903
|
-
return paginate(
|
|
4306
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4307
|
+
return paginate(
|
|
4308
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4309
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4310
|
+
(params) => getApi20261001ResourcesProjectManagementProjectTasks({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3904
4311
|
}
|
|
3905
4312
|
/**
|
|
3906
4313
|
* Fetch all project_tasks across all pages into a single array.
|
|
@@ -3933,8 +4340,11 @@ export class ProjectManagementProjectWorkersResource {
|
|
|
3933
4340
|
* @example for await (const item of client.projectManagement.projectWorkers.paginate()) { ... }
|
|
3934
4341
|
*/
|
|
3935
4342
|
paginate(options) {
|
|
3936
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3937
|
-
return paginate(
|
|
4343
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4344
|
+
return paginate(
|
|
4345
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4346
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4347
|
+
(params) => getApi20261001ResourcesProjectManagementProjectWorkers({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3938
4348
|
}
|
|
3939
4349
|
/**
|
|
3940
4350
|
* Fetch all project_workers across all pages into a single array.
|
|
@@ -3967,8 +4377,11 @@ export class ProjectManagementProjectsResource {
|
|
|
3967
4377
|
* @example for await (const item of client.projectManagement.projects.paginate()) { ... }
|
|
3968
4378
|
*/
|
|
3969
4379
|
paginate(options) {
|
|
3970
|
-
const { maxItems, ...rest } = options ?? {};
|
|
3971
|
-
return paginate(
|
|
4380
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4381
|
+
return paginate(
|
|
4382
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4383
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4384
|
+
(params) => getApi20261001ResourcesProjectManagementProjects({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
3972
4385
|
}
|
|
3973
4386
|
/**
|
|
3974
4387
|
* Fetch all projects across all pages into a single array.
|
|
@@ -4007,8 +4420,11 @@ export class ProjectManagementRatesResource {
|
|
|
4007
4420
|
* @example for await (const item of client.projectManagement.rates.paginate()) { ... }
|
|
4008
4421
|
*/
|
|
4009
4422
|
paginate(options) {
|
|
4010
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4011
|
-
return paginate(
|
|
4423
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4424
|
+
return paginate(
|
|
4425
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4426
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4427
|
+
(params) => getApi20261001ResourcesProjectManagementRates({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4012
4428
|
}
|
|
4013
4429
|
/**
|
|
4014
4430
|
* Fetch all rates across all pages into a single array.
|
|
@@ -4033,8 +4449,11 @@ export class ProjectManagementSubprojectsResource {
|
|
|
4033
4449
|
* @example for await (const item of client.projectManagement.subprojects.paginate()) { ... }
|
|
4034
4450
|
*/
|
|
4035
4451
|
paginate(options) {
|
|
4036
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4037
|
-
return paginate(
|
|
4452
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4453
|
+
return paginate(
|
|
4454
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4455
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4456
|
+
(params) => getApi20261001ResourcesProjectManagementSubprojects({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4038
4457
|
}
|
|
4039
4458
|
/**
|
|
4040
4459
|
* Fetch all subprojects across all pages into a single array.
|
|
@@ -4067,8 +4486,11 @@ export class ProjectManagementTimeRecordsResource {
|
|
|
4067
4486
|
* @example for await (const item of client.projectManagement.timeRecords.paginate()) { ... }
|
|
4068
4487
|
*/
|
|
4069
4488
|
paginate(options) {
|
|
4070
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4071
|
-
return paginate(
|
|
4489
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4490
|
+
return paginate(
|
|
4491
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4492
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4493
|
+
(params) => getApi20261001ResourcesProjectManagementTimeRecords({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4072
4494
|
}
|
|
4073
4495
|
/**
|
|
4074
4496
|
* Fetch all time_records across all pages into a single array.
|
|
@@ -4105,8 +4527,11 @@ export class ShiftManagementShiftsResource {
|
|
|
4105
4527
|
* @example for await (const item of client.shiftManagement.shifts.paginate()) { ... }
|
|
4106
4528
|
*/
|
|
4107
4529
|
paginate(options) {
|
|
4108
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4109
|
-
return paginate(
|
|
4530
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4531
|
+
return paginate(
|
|
4532
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4533
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4534
|
+
(params) => getApi20261001ResourcesShiftManagementShifts({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4110
4535
|
}
|
|
4111
4536
|
/**
|
|
4112
4537
|
* Fetch all shifts across all pages into a single array.
|
|
@@ -4139,8 +4564,11 @@ export class TasksTaskFilesResource {
|
|
|
4139
4564
|
* @example for await (const item of client.tasks.taskFiles.paginate()) { ... }
|
|
4140
4565
|
*/
|
|
4141
4566
|
paginate(options) {
|
|
4142
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4143
|
-
return paginate(
|
|
4567
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4568
|
+
return paginate(
|
|
4569
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4570
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4571
|
+
(params) => getApi20261001ResourcesTasksTaskFiles({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4144
4572
|
}
|
|
4145
4573
|
/**
|
|
4146
4574
|
* Fetch all task_files across all pages into a single array.
|
|
@@ -4169,8 +4597,11 @@ export class TasksTasksResource {
|
|
|
4169
4597
|
* @example for await (const item of client.tasks.tasks.paginate()) { ... }
|
|
4170
4598
|
*/
|
|
4171
4599
|
paginate(options) {
|
|
4172
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4173
|
-
return paginate(
|
|
4600
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4601
|
+
return paginate(
|
|
4602
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4603
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4604
|
+
(params) => getApi20261001ResourcesTasksTasks({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4174
4605
|
}
|
|
4175
4606
|
/**
|
|
4176
4607
|
* Fetch all tasks across all pages into a single array.
|
|
@@ -4211,8 +4642,11 @@ export class TeamsMembershipsResource {
|
|
|
4211
4642
|
* @example for await (const item of client.teams.memberships.paginate()) { ... }
|
|
4212
4643
|
*/
|
|
4213
4644
|
paginate(options) {
|
|
4214
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4215
|
-
return paginate(
|
|
4645
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4646
|
+
return paginate(
|
|
4647
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4648
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4649
|
+
(params) => getApi20261001ResourcesTeamsMemberships({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4216
4650
|
}
|
|
4217
4651
|
/**
|
|
4218
4652
|
* Fetch all memberships across all pages into a single array.
|
|
@@ -4245,8 +4679,11 @@ export class TeamsTeamsResource {
|
|
|
4245
4679
|
* @example for await (const item of client.teams.teams.paginate()) { ... }
|
|
4246
4680
|
*/
|
|
4247
4681
|
paginate(options) {
|
|
4248
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4249
|
-
return paginate(
|
|
4682
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4683
|
+
return paginate(
|
|
4684
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4685
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4686
|
+
(params) => getApi20261001ResourcesTeamsTeams({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4250
4687
|
}
|
|
4251
4688
|
/**
|
|
4252
4689
|
* Fetch all teams across all pages into a single array.
|
|
@@ -4279,8 +4716,11 @@ export class TimePlanningPlannedBreaksResource {
|
|
|
4279
4716
|
* @example for await (const item of client.timePlanning.plannedBreaks.paginate()) { ... }
|
|
4280
4717
|
*/
|
|
4281
4718
|
paginate(options) {
|
|
4282
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4283
|
-
return paginate(
|
|
4719
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4720
|
+
return paginate(
|
|
4721
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4722
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4723
|
+
(params) => getApi20261001ResourcesTimePlanningPlannedBreaks({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4284
4724
|
}
|
|
4285
4725
|
/**
|
|
4286
4726
|
* Fetch all planned_breaks across all pages into a single array.
|
|
@@ -4307,8 +4747,11 @@ export class TimePlanningPlanningVersionsResource {
|
|
|
4307
4747
|
* @example for await (const item of client.timePlanning.planningVersions.paginate()) { ... }
|
|
4308
4748
|
*/
|
|
4309
4749
|
paginate(options) {
|
|
4310
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4311
|
-
return paginate(
|
|
4750
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4751
|
+
return paginate(
|
|
4752
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4753
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4754
|
+
(params) => getApi20261001ResourcesTimePlanningPlanningVersions({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4312
4755
|
}
|
|
4313
4756
|
/**
|
|
4314
4757
|
* Fetch all planning_versions across all pages into a single array.
|
|
@@ -4339,8 +4782,11 @@ export class TimeSettingsBreakConfigurationsResource {
|
|
|
4339
4782
|
* @example for await (const item of client.timeSettings.breakConfigurations.paginate()) { ... }
|
|
4340
4783
|
*/
|
|
4341
4784
|
paginate(options) {
|
|
4342
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4343
|
-
return paginate(
|
|
4785
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4786
|
+
return paginate(
|
|
4787
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4788
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4789
|
+
(params) => getApi20261001ResourcesTimeSettingsBreakConfigurations({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4344
4790
|
}
|
|
4345
4791
|
/**
|
|
4346
4792
|
* Fetch all break_configurations across all pages into a single array.
|
|
@@ -4369,8 +4815,11 @@ export class TimeSettingsSplitCustomTimeRangeCategoriesResource {
|
|
|
4369
4815
|
* @example for await (const item of client.timeSettings.splitCustomTimeRangeCategories.paginate()) { ... }
|
|
4370
4816
|
*/
|
|
4371
4817
|
paginate(options) {
|
|
4372
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4373
|
-
return paginate(
|
|
4818
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4819
|
+
return paginate(
|
|
4820
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4821
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4822
|
+
(params) => getApi20261001ResourcesTimeSettingsSplitCustomTimeRangeCategories({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4374
4823
|
}
|
|
4375
4824
|
/**
|
|
4376
4825
|
* Fetch all split_custom_time_range_categories across all pages into a single array.
|
|
@@ -4395,8 +4844,11 @@ export class TimeoffAllowanceIncidencesResource {
|
|
|
4395
4844
|
* @example for await (const item of client.timeoff.allowanceIncidences.paginate()) { ... }
|
|
4396
4845
|
*/
|
|
4397
4846
|
paginate(options) {
|
|
4398
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4399
|
-
return paginate(
|
|
4847
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4848
|
+
return paginate(
|
|
4849
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4850
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4851
|
+
(params) => getApi20261001ResourcesTimeoffAllowanceIncidences({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4400
4852
|
}
|
|
4401
4853
|
/**
|
|
4402
4854
|
* Fetch all allowance_incidences across all pages into a single array.
|
|
@@ -4427,8 +4879,11 @@ export class TimeoffAllowanceStatsResource {
|
|
|
4427
4879
|
* @example for await (const item of client.timeoff.allowanceStats.paginate()) { ... }
|
|
4428
4880
|
*/
|
|
4429
4881
|
paginate(options) {
|
|
4430
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4431
|
-
return paginate(
|
|
4882
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4883
|
+
return paginate(
|
|
4884
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4885
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4886
|
+
(params) => getApi20261001ResourcesTimeoffAllowanceStats({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4432
4887
|
}
|
|
4433
4888
|
/**
|
|
4434
4889
|
* Fetch all allowance_stats across all pages into a single array.
|
|
@@ -4453,8 +4908,11 @@ export class TimeoffAllowancesResource {
|
|
|
4453
4908
|
* @example for await (const item of client.timeoff.allowances.paginate()) { ... }
|
|
4454
4909
|
*/
|
|
4455
4910
|
paginate(options) {
|
|
4456
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4457
|
-
return paginate(
|
|
4911
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4912
|
+
return paginate(
|
|
4913
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4914
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4915
|
+
(params) => getApi20261001ResourcesTimeoffAllowances({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4458
4916
|
}
|
|
4459
4917
|
/**
|
|
4460
4918
|
* Fetch all allowances across all pages into a single array.
|
|
@@ -4487,8 +4945,11 @@ export class TimeoffBlockedPeriodsResource {
|
|
|
4487
4945
|
* @example for await (const item of client.timeoff.blockedPeriods.paginate()) { ... }
|
|
4488
4946
|
*/
|
|
4489
4947
|
paginate(options) {
|
|
4490
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4491
|
-
return paginate(
|
|
4948
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4949
|
+
return paginate(
|
|
4950
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4951
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4952
|
+
(params) => getApi20261001ResourcesTimeoffBlockedPeriods({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4492
4953
|
}
|
|
4493
4954
|
/**
|
|
4494
4955
|
* Fetch all blocked_periods across all pages into a single array.
|
|
@@ -4519,8 +4980,11 @@ export class TimeoffFrenchLeaveDayCountsResource {
|
|
|
4519
4980
|
* @example for await (const item of client.timeoff.frenchLeaveDayCounts.paginate()) { ... }
|
|
4520
4981
|
*/
|
|
4521
4982
|
paginate(options) {
|
|
4522
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4523
|
-
return paginate(
|
|
4983
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
4984
|
+
return paginate(
|
|
4985
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
4986
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4987
|
+
(params) => getApi20261001ResourcesTimeoffFrenchLeaveDayCounts({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4524
4988
|
}
|
|
4525
4989
|
/**
|
|
4526
4990
|
* Fetch all french_leave_day_counts across all pages into a single array.
|
|
@@ -4543,8 +5007,11 @@ export class TimeoffLeaveTypesResource {
|
|
|
4543
5007
|
* @example for await (const item of client.timeoff.leaveTypes.paginate()) { ... }
|
|
4544
5008
|
*/
|
|
4545
5009
|
paginate(options) {
|
|
4546
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4547
|
-
return paginate(
|
|
5010
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5011
|
+
return paginate(
|
|
5012
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5013
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5014
|
+
(params) => getApi20261001ResourcesTimeoffLeaveTypes({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4548
5015
|
}
|
|
4549
5016
|
/**
|
|
4550
5017
|
* Fetch all leave_types across all pages into a single array.
|
|
@@ -4573,8 +5040,11 @@ export class TimeoffLeavesResource {
|
|
|
4573
5040
|
* @example for await (const item of client.timeoff.leaves.paginate()) { ... }
|
|
4574
5041
|
*/
|
|
4575
5042
|
paginate(options) {
|
|
4576
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4577
|
-
return paginate(
|
|
5043
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5044
|
+
return paginate(
|
|
5045
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5046
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5047
|
+
(params) => getApi20261001ResourcesTimeoffLeaves({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4578
5048
|
}
|
|
4579
5049
|
/**
|
|
4580
5050
|
* Fetch all leaves across all pages into a single array.
|
|
@@ -4613,8 +5083,11 @@ export class TimeoffPoliciesResource {
|
|
|
4613
5083
|
* @example for await (const item of client.timeoff.policies.paginate()) { ... }
|
|
4614
5084
|
*/
|
|
4615
5085
|
paginate(options) {
|
|
4616
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4617
|
-
return paginate(
|
|
5086
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5087
|
+
return paginate(
|
|
5088
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5089
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5090
|
+
(params) => getApi20261001ResourcesTimeoffPolicies({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4618
5091
|
}
|
|
4619
5092
|
/**
|
|
4620
5093
|
* Fetch all policies across all pages into a single array.
|
|
@@ -4645,8 +5118,11 @@ export class TimeoffPolicyAssignmentsResource {
|
|
|
4645
5118
|
* @example for await (const item of client.timeoff.policyAssignments.paginate()) { ... }
|
|
4646
5119
|
*/
|
|
4647
5120
|
paginate(options) {
|
|
4648
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4649
|
-
return paginate(
|
|
5121
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5122
|
+
return paginate(
|
|
5123
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5124
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5125
|
+
(params) => getApi20261001ResourcesTimeoffPolicyAssignments({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4650
5126
|
}
|
|
4651
5127
|
/**
|
|
4652
5128
|
* Fetch all policy_assignments across all pages into a single array.
|
|
@@ -4677,8 +5153,11 @@ export class TimeoffPolicyTimelinesResource {
|
|
|
4677
5153
|
* @example for await (const item of client.timeoff.policyTimelines.paginate()) { ... }
|
|
4678
5154
|
*/
|
|
4679
5155
|
paginate(options) {
|
|
4680
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4681
|
-
return paginate(
|
|
5156
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5157
|
+
return paginate(
|
|
5158
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5159
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5160
|
+
(params) => getApi20261001ResourcesTimeoffPolicyTimelines({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4682
5161
|
}
|
|
4683
5162
|
/**
|
|
4684
5163
|
* Fetch all policy_timelines across all pages into a single array.
|
|
@@ -4701,8 +5180,11 @@ export class TrainingsCategoriesResource {
|
|
|
4701
5180
|
* @example for await (const item of client.trainings.categories.paginate()) { ... }
|
|
4702
5181
|
*/
|
|
4703
5182
|
paginate(options) {
|
|
4704
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4705
|
-
return paginate(
|
|
5183
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5184
|
+
return paginate(
|
|
5185
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5186
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5187
|
+
(params) => getApi20261001ResourcesTrainingsCategories({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4706
5188
|
}
|
|
4707
5189
|
/**
|
|
4708
5190
|
* Fetch all categories across all pages into a single array.
|
|
@@ -4731,8 +5213,11 @@ export class TrainingsSessionAccessMembershipsResource {
|
|
|
4731
5213
|
* @example for await (const item of client.trainings.sessionAccessMemberships.paginate()) { ... }
|
|
4732
5214
|
*/
|
|
4733
5215
|
paginate(options) {
|
|
4734
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4735
|
-
return paginate(
|
|
5216
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5217
|
+
return paginate(
|
|
5218
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5219
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5220
|
+
(params) => getApi20261001ResourcesTrainingsSessionAccessMemberships({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4736
5221
|
}
|
|
4737
5222
|
/**
|
|
4738
5223
|
* Fetch all session_access_memberships across all pages into a single array.
|
|
@@ -4761,8 +5246,11 @@ export class TrainingsSessionAttendancesResource {
|
|
|
4761
5246
|
* @example for await (const item of client.trainings.sessionAttendances.paginate()) { ... }
|
|
4762
5247
|
*/
|
|
4763
5248
|
paginate(options) {
|
|
4764
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4765
|
-
return paginate(
|
|
5249
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5250
|
+
return paginate(
|
|
5251
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5252
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5253
|
+
(params) => getApi20261001ResourcesTrainingsSessionAttendances({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4766
5254
|
}
|
|
4767
5255
|
/**
|
|
4768
5256
|
* Fetch all session_attendances across all pages into a single array.
|
|
@@ -4789,8 +5277,11 @@ export class TrainingsSessionsResource {
|
|
|
4789
5277
|
* @example for await (const item of client.trainings.sessions.paginate()) { ... }
|
|
4790
5278
|
*/
|
|
4791
5279
|
paginate(options) {
|
|
4792
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4793
|
-
return paginate(
|
|
5280
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5281
|
+
return paginate(
|
|
5282
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5283
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5284
|
+
(params) => getApi20261001ResourcesTrainingsSessions({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4794
5285
|
}
|
|
4795
5286
|
/**
|
|
4796
5287
|
* Fetch all sessions across all pages into a single array.
|
|
@@ -4821,8 +5312,11 @@ export class TrainingsTrainingClassesResource {
|
|
|
4821
5312
|
* @example for await (const item of client.trainings.trainingClasses.paginate()) { ... }
|
|
4822
5313
|
*/
|
|
4823
5314
|
paginate(options) {
|
|
4824
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4825
|
-
return paginate(
|
|
5315
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5316
|
+
return paginate(
|
|
5317
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5318
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5319
|
+
(params) => getApi20261001ResourcesTrainingsTrainingClasses({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4826
5320
|
}
|
|
4827
5321
|
/**
|
|
4828
5322
|
* Fetch all training_classes across all pages into a single array.
|
|
@@ -4853,8 +5347,11 @@ export class TrainingsTrainingMembershipsResource {
|
|
|
4853
5347
|
* @example for await (const item of client.trainings.trainingMemberships.paginate()) { ... }
|
|
4854
5348
|
*/
|
|
4855
5349
|
paginate(options) {
|
|
4856
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4857
|
-
return paginate(
|
|
5350
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5351
|
+
return paginate(
|
|
5352
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5353
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5354
|
+
(params) => getApi20261001ResourcesTrainingsTrainingMemberships({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4858
5355
|
}
|
|
4859
5356
|
/**
|
|
4860
5357
|
* Fetch all training_memberships across all pages into a single array.
|
|
@@ -4885,8 +5382,11 @@ export class TrainingsTrainingsResource {
|
|
|
4885
5382
|
* @example for await (const item of client.trainings.trainings.paginate()) { ... }
|
|
4886
5383
|
*/
|
|
4887
5384
|
paginate(options) {
|
|
4888
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4889
|
-
return paginate(
|
|
5385
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5386
|
+
return paginate(
|
|
5387
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5388
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5389
|
+
(params) => getApi20261001ResourcesTrainingsTrainings({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4890
5390
|
}
|
|
4891
5391
|
/**
|
|
4892
5392
|
* Fetch all trainings across all pages into a single array.
|
|
@@ -4923,8 +5423,11 @@ export class WorkScheduleDayConfigurationsResource {
|
|
|
4923
5423
|
* @example for await (const item of client.workSchedule.dayConfigurations.paginate()) { ... }
|
|
4924
5424
|
*/
|
|
4925
5425
|
paginate(options) {
|
|
4926
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4927
|
-
return paginate(
|
|
5426
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5427
|
+
return paginate(
|
|
5428
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5429
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5430
|
+
(params) => getApi20261001ResourcesWorkScheduleDayConfigurations({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4928
5431
|
}
|
|
4929
5432
|
/**
|
|
4930
5433
|
* Fetch all day_configurations across all pages into a single array.
|
|
@@ -4951,8 +5454,11 @@ export class WorkScheduleOverlapPeriodsResource {
|
|
|
4951
5454
|
* @example for await (const item of client.workSchedule.overlapPeriods.paginate()) { ... }
|
|
4952
5455
|
*/
|
|
4953
5456
|
paginate(options) {
|
|
4954
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4955
|
-
return paginate(
|
|
5457
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5458
|
+
return paginate(
|
|
5459
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5460
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5461
|
+
(params) => getApi20261001ResourcesWorkScheduleOverlapPeriods({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4956
5462
|
}
|
|
4957
5463
|
/**
|
|
4958
5464
|
* Fetch all overlap_periods across all pages into a single array.
|
|
@@ -4983,8 +5489,11 @@ export class WorkScheduleSchedulesResource {
|
|
|
4983
5489
|
* @example for await (const item of client.workSchedule.schedules.paginate()) { ... }
|
|
4984
5490
|
*/
|
|
4985
5491
|
paginate(options) {
|
|
4986
|
-
const { maxItems, ...rest } = options ?? {};
|
|
4987
|
-
return paginate(
|
|
5492
|
+
const { maxItems, limit, ...rest } = options ?? {};
|
|
5493
|
+
return paginate(
|
|
5494
|
+
// `limit`/`after_id` work at runtime but are absent from the spec's query type.
|
|
5495
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5496
|
+
(params) => getApi20261001ResourcesWorkScheduleSchedules({ client: this._client, ...rest, query: { ...rest.query, ...params } }), { maxItems, limit });
|
|
4988
5497
|
}
|
|
4989
5498
|
/**
|
|
4990
5499
|
* Fetch all schedules across all pages into a single array.
|
|
@@ -5549,14 +6058,16 @@ export class WorkScheduleNamespace {
|
|
|
5549
6058
|
*
|
|
5550
6059
|
* @example
|
|
5551
6060
|
* ```ts
|
|
5552
|
-
* import { FactorialClient } from "@factorialco/api-client";
|
|
6061
|
+
* import { FactorialApiError, FactorialClient } from "@factorialco/api-client";
|
|
5553
6062
|
*
|
|
5554
6063
|
* const client = new FactorialClient({
|
|
5555
6064
|
* apiKey: process.env.FACTORIAL_API_KEY,
|
|
5556
6065
|
* });
|
|
5557
6066
|
*
|
|
5558
6067
|
* // List employees (single page, max 100)
|
|
5559
|
-
* const { data } = await client.employees.employees.list(
|
|
6068
|
+
* const { data } = await client.employees.employees.list({
|
|
6069
|
+
* query: { only_active: true, only_managers: false },
|
|
6070
|
+
* });
|
|
5560
6071
|
*
|
|
5561
6072
|
* // Stream all employees across all pages (cursor pagination)
|
|
5562
6073
|
* for await (const employee of client.employees.employees.paginate()) {
|
|
@@ -5565,6 +6076,14 @@ export class WorkScheduleNamespace {
|
|
|
5565
6076
|
*
|
|
5566
6077
|
* // Collect all into an array (with optional safety cap)
|
|
5567
6078
|
* const all = await client.employees.employees.all({ maxItems: 500 });
|
|
6079
|
+
*
|
|
6080
|
+
* // Any non-2xx response throws a FactorialApiError
|
|
6081
|
+
* try {
|
|
6082
|
+
* await client.employees.employees.get({ path: { id: "1" } });
|
|
6083
|
+
* } catch (err) {
|
|
6084
|
+
* if (err instanceof FactorialApiError) console.error(err.status, err.url, err.body);
|
|
6085
|
+
* else throw err; // transport failure
|
|
6086
|
+
* }
|
|
5568
6087
|
* ```
|
|
5569
6088
|
*/
|
|
5570
6089
|
export class FactorialClient {
|
|
@@ -5677,10 +6196,13 @@ export class FactorialClient {
|
|
|
5677
6196
|
const client = createClient(createConfig({
|
|
5678
6197
|
baseUrl: resolvedBaseUrl,
|
|
5679
6198
|
throwOnError: true,
|
|
5680
|
-
|
|
5681
|
-
auth: auth,
|
|
6199
|
+
auth,
|
|
5682
6200
|
...rest,
|
|
5683
6201
|
}));
|
|
6202
|
+
// Turn every non-2xx response into a FactorialApiError carrying the status,
|
|
6203
|
+
// method, URL and parsed body. Transport failures (no Response) pass through
|
|
6204
|
+
// untouched, e.g. a fetch TypeError for a DNS or connection error.
|
|
6205
|
+
client.interceptors.error.use((error, response, request) => toFactorialApiError(error, response, request));
|
|
5684
6206
|
this.apiPublic = new ApiPublicNamespace(client);
|
|
5685
6207
|
this.approvals = new ApprovalsNamespace(client);
|
|
5686
6208
|
this.ats = new AtsNamespace(client);
|