@dsptch-work/api-client 0.1.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/LICENSE +21 -0
- package/README.md +130 -0
- package/dist/gen/client/client.gen.d.ts +2 -0
- package/dist/gen/client/client.gen.js +216 -0
- package/dist/gen/client/index.d.ts +8 -0
- package/dist/gen/client/index.js +6 -0
- package/dist/gen/client/types.gen.d.ts +120 -0
- package/dist/gen/client/types.gen.js +2 -0
- package/dist/gen/client/utils.gen.d.ts +37 -0
- package/dist/gen/client/utils.gen.js +228 -0
- package/dist/gen/client.gen.d.ts +12 -0
- package/dist/gen/client.gen.js +3 -0
- package/dist/gen/core/auth.gen.d.ts +18 -0
- package/dist/gen/core/auth.gen.js +14 -0
- package/dist/gen/core/bodySerializer.gen.d.ts +25 -0
- package/dist/gen/core/bodySerializer.gen.js +57 -0
- package/dist/gen/core/params.gen.d.ts +43 -0
- package/dist/gen/core/params.gen.js +100 -0
- package/dist/gen/core/pathSerializer.gen.d.ts +33 -0
- package/dist/gen/core/pathSerializer.gen.js +106 -0
- package/dist/gen/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/gen/core/queryKeySerializer.gen.js +92 -0
- package/dist/gen/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/gen/core/serverSentEvents.gen.js +132 -0
- package/dist/gen/core/types.gen.d.ts +78 -0
- package/dist/gen/core/types.gen.js +2 -0
- package/dist/gen/core/utils.gen.d.ts +19 -0
- package/dist/gen/core/utils.gen.js +87 -0
- package/dist/gen/index.d.ts +2 -0
- package/dist/gen/index.js +2 -0
- package/dist/gen/sdk.gen.d.ts +2686 -0
- package/dist/gen/sdk.gen.js +4719 -0
- package/dist/gen/types.gen.d.ts +16974 -0
- package/dist/gen/types.gen.js +2 -0
- package/dist/gen/zod.gen.d.ts +16833 -0
- package/dist/gen/zod.gen.js +6478 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -0
- package/dist/pagination.d.ts +36 -0
- package/dist/pagination.js +60 -0
- package/package.json +63 -0
|
@@ -0,0 +1,2686 @@
|
|
|
1
|
+
import type { Client, Options as Options2, TDataShape } from './client/index.js';
|
|
2
|
+
import type { AddUserRolesData, AddUserRolesErrors, AddUserRolesResponses, AddUsersToGroupData, AddUsersToGroupErrors, AddUsersToGroupResponses, AdjustProductInventoryData, AdjustProductInventoryErrors, AdjustProductInventoryResponses, CancelTimecodeScheduledChangesData, CancelTimecodeScheduledChangesErrors, CancelTimecodeScheduledChangesResponses, CancelTimecodeScheduledTerminationData, CancelTimecodeScheduledTerminationErrors, CancelTimecodeScheduledTerminationResponses, CancelUserCompanyScheduledChangeData, CancelUserCompanyScheduledChangeErrors, CancelUserCompanyScheduledChangeResponses, CancelUserCompanyScheduledTerminationData, CancelUserCompanyScheduledTerminationErrors, CancelUserCompanyScheduledTerminationResponses, CreateApprenticeData, CreateApprenticeErrors, CreateApprenticeResponses, CreateAttestationConfigData, CreateAttestationConfigErrors, CreateAttestationConfigResponses, CreateAttributeData, CreateAttributeErrors, CreateAttributeResponses, CreateCategoryData, CreateCategoryErrors, CreateCategoryResponses, CreateCertificationData, CreateCertificationErrors, CreateCertificationResponses, CreateCompanyData, CreateCompanyErrors, CreateCompanyResponses, CreateCompanyUserDetailData, CreateCompanyUserDetailErrors, CreateCompanyUserDetailResponses, CreateCompletionData, CreateCompletionErrors, CreateCompletionResponses, CreateCustomFieldConfigData, CreateCustomFieldConfigErrors, CreateCustomFieldConfigResponses, CreateDepartmentData, CreateDepartmentErrors, CreateDepartmentResponses, CreateDirectUploadData, CreateDirectUploadErrors, CreateDirectUploadResponses, CreateDocumentData, CreateDocumentErrors, CreateDocumentResponses, CreateEmployerData, CreateEmployerErrors, CreateEmployerResponses, CreateFormAssignmentTaskData, CreateFormAssignmentTaskErrors, CreateFormAssignmentTaskResponses, CreateFormAssignmentTriggerData, CreateFormAssignmentTriggerErrors, CreateFormAssignmentTriggerResponses, CreateFringeBenefitPlanData, CreateFringeBenefitPlanErrors, CreateFringeBenefitPlanResponses, CreateGroupData, CreateGroupErrors, CreateGroupResponses, CreateHolidayData, CreateHolidayErrors, CreateHolidayResponses, CreateItemData, CreateItemErrors, CreateItemFormAssignmentTaskData, CreateItemFormAssignmentTaskErrors, CreateItemFormAssignmentTaskResponses, CreateItemResponses, CreateJobData, CreateJobErrors, CreateJobResponses, CreateJobScopePriceData, CreateJobScopePriceErrors, CreateJobScopePriceResponses, CreateJobTradeData, CreateJobTradeErrors, CreateJobTradeResponses, CreateManagerTimeCardApprovalData, CreateManagerTimeCardApprovalErrors, CreateManagerTimeCardApprovalResponses, CreateManagerTimeEntryApprovalData, CreateManagerTimeEntryApprovalErrors, CreateManagerTimeEntryApprovalResponses, CreateOccupationData, CreateOccupationErrors, CreateOccupationResponses, CreatePackageData, CreatePackageErrors, CreatePackageResponses, CreatePayrollRunData, CreatePayrollRunErrors, CreatePayrollRunResponses, CreatePaystubData, CreatePaystubErrors, CreatePaystubLineItemData, CreatePaystubLineItemErrors, CreatePaystubLineItemResponses, CreatePaystubResponses, CreatePerDiemData, CreatePerDiemErrors, CreatePerDiemResponses, CreatePeriodData, CreatePeriodErrors, CreatePeriodResponses, CreatePositionData, CreatePositionErrors, CreatePositionFunctionData, CreatePositionFunctionErrors, CreatePositionFunctionResponses, CreatePositionResponses, CreateProductData, CreateProductErrors, CreateProductResponses, CreateProgramData, CreateProgramErrors, CreateProgramResponses, CreateProjectData, CreateProjectErrors, CreateProjectResponses, CreateProjectTradeData, CreateProjectTradeErrors, CreateProjectTradeResponses, CreateRateRuleData, CreateRateRuleErrors, CreateRateRuleResponses, CreateScheduledTerminationData, CreateScheduledTerminationErrors, CreateScheduledTerminationResponses, CreateServiceEventData, CreateServiceEventErrors, CreateServiceEventResponses, CreateServiceScheduleData, CreateServiceScheduleErrors, CreateServiceScheduleResponses, CreateServiceScheduleTemplateData, CreateServiceScheduleTemplateErrors, CreateServiceScheduleTemplateResponses, CreateSiteData, CreateSiteErrors, CreateSiteResponses, CreateTimeCardPerDiemData, CreateTimeCardPerDiemErrors, CreateTimeCardPerDiemResponses, CreateTimecodeData, CreateTimecodeErrors, CreateTimecodeResponses, CreateTimeEntryData, CreateTimeEntryErrors, CreateTimeEntryResponses, CreateTransferData, CreateTransferErrors, CreateTransferResponses, CreateUserCertificationData, CreateUserCertificationErrors, CreateUserCertificationResponses, CreateUserCompanyScheduledChangeData, CreateUserCompanyScheduledChangeErrors, CreateUserCompanyScheduledChangeResponses, CreateUserData, CreateUserErrors, CreateUserResponses, CreateVendorData, CreateVendorErrors, CreateVendorResponses, CreateWageDeterminationData, CreateWageDeterminationErrors, CreateWageDeterminationResponses, CreateWageScheduleData, CreateWageScheduleErrors, CreateWageScheduleResponses, CreateWorkerTimeCardApprovalData, CreateWorkerTimeCardApprovalErrors, CreateWorkerTimeCardApprovalResponses, DeleteAttestationConfigData, DeleteAttestationConfigErrors, DeleteAttestationConfigResponses, DeleteAttributeData, DeleteAttributeErrors, DeleteAttributeResponses, DeleteCategoryData, DeleteCategoryErrors, DeleteCategoryResponses, DeleteCertificationData, DeleteCertificationErrors, DeleteCertificationResponses, DeleteCompletionData, DeleteCompletionErrors, DeleteCompletionResponses, DeleteCustomFieldConfigData, DeleteCustomFieldConfigErrors, DeleteCustomFieldConfigResponses, DeleteDocumentData, DeleteDocumentErrors, DeleteDocumentResponses, DeleteEmployerData, DeleteEmployerErrors, DeleteEmployerResponses, DeleteFormAssignmentTriggerData, DeleteFormAssignmentTriggerErrors, DeleteFormAssignmentTriggerResponses, DeleteFringeBenefitPlanData, DeleteFringeBenefitPlanErrors, DeleteFringeBenefitPlanResponses, DeleteGroupData, DeleteGroupErrors, DeleteGroupResponses, DeleteHolidayData, DeleteHolidayErrors, DeleteHolidayResponses, DeleteItemData, DeleteItemErrors, DeleteItemResponses, DeleteJobScopePriceData, DeleteJobScopePriceErrors, DeleteJobScopePriceResponses, DeletePackageData, DeletePackageErrors, DeletePackageResponses, DeletePayrollRunData, DeletePayrollRunErrors, DeletePayrollRunResponses, DeletePaystubData, DeletePaystubErrors, DeletePaystubLineItemData, DeletePaystubLineItemErrors, DeletePaystubLineItemResponses, DeletePaystubResponses, DeletePerDiemData, DeletePerDiemErrors, DeletePerDiemResponses, DeletePositionFunctionData, DeletePositionFunctionErrors, DeletePositionFunctionResponses, DeleteProductData, DeleteProductErrors, DeleteProductResponses, DeleteServiceEventData, DeleteServiceEventErrors, DeleteServiceEventResponses, DeleteServiceScheduleData, DeleteServiceScheduleErrors, DeleteServiceScheduleResponses, DeleteServiceScheduleTemplateData, DeleteServiceScheduleTemplateErrors, DeleteServiceScheduleTemplateResponses, DeleteSiteData, DeleteSiteErrors, DeleteSiteResponses, DeleteTimeCardPerDiemData, DeleteTimeCardPerDiemErrors, DeleteTimeCardPerDiemResponses, DeleteTimeEntryData, DeleteTimeEntryErrors, DeleteTimeEntryResponses, DeleteUserCertificationData, DeleteUserCertificationErrors, DeleteUserCertificationResponses, DeleteUserRoleData, DeleteUserRoleErrors, DeleteUserRoleResponses, DeleteVendorData, DeleteVendorErrors, DeleteVendorResponses, DeleteWageDeterminationData, DeleteWageDeterminationErrors, DeleteWageDeterminationResponses, GetAssetsSiteData, GetAssetsSiteErrors, GetAssetsSiteResponses, GetAtlasSiteData, GetAtlasSiteErrors, GetAtlasSiteResponses, GetAttestationConfigData, GetAttestationConfigErrors, GetAttestationConfigResponses, GetAttributeData, GetAttributeErrors, GetAttributeResponses, GetCategoryData, GetCategoryErrors, GetCategoryResponses, GetCertificationData, GetCertificationErrors, GetCertificationResponses, GetCheckData, GetCheckErrors, GetCheckResponses, GetCompanyData, GetCompanyErrors, GetCompanyResponses, GetCompensationElementData, GetCompensationElementErrors, GetCompensationElementResponses, GetCompletionData, GetCompletionErrors, GetCompletionResponses, GetCustodyData, GetCustodyErrors, GetCustodyResponses, GetCustomFieldConfigData, GetCustomFieldConfigErrors, GetCustomFieldConfigResponses, GetDocumentData, GetDocumentErrors, GetDocumentResponses, GetEventData, GetEventErrors, GetEventResponses, GetExternalMapData, GetExternalMapErrors, GetExternalMapResponses, GetFeatureData, GetFeatureErrors, GetFeatureResponses, GetFormAssignmentTaskData, GetFormAssignmentTaskErrors, GetFormAssignmentTaskResponses, GetFormAssignmentTriggerData, GetFormAssignmentTriggerErrors, GetFormAssignmentTriggerResponses, GetFormSubmissionData, GetFormSubmissionErrors, GetFormSubmissionResponses, GetFringeBenefitPlanData, GetFringeBenefitPlanErrors, GetFringeBenefitPlanResponses, GetGroupData, GetGroupErrors, GetGroupResponses, GetInventoryData, GetInventoryErrors, GetInventoryResponses, GetItemData, GetItemErrors, GetItemResponses, GetJobData, GetJobErrors, GetJobResponses, GetJobScopePriceData, GetJobScopePriceErrors, GetJobScopePriceResponses, GetJobTimeCardDayData, GetJobTimeCardDayErrors, GetJobTimeCardDayResponses, GetJobWageDeterminationData, GetJobWageDeterminationErrors, GetJobWageDeterminationResponses, GetPackageData, GetPackageErrors, GetPackageResponses, GetPayPeriodConfigData, GetPayPeriodConfigErrors, GetPayPeriodConfigResponses, GetPayrollRunData, GetPayrollRunErrors, GetPayrollRunResponses, GetPaystubData, GetPaystubErrors, GetPaystubLineItemData, GetPaystubLineItemErrors, GetPaystubLineItemResponses, GetPaystubResponses, GetPerDiemData, GetPerDiemErrors, GetPerDiemResponses, GetPositionFunctionData, GetPositionFunctionErrors, GetPositionFunctionResponses, GetPriorPeriodAdjustmentData, GetPriorPeriodAdjustmentErrors, GetPriorPeriodAdjustmentResponses, GetProductData, GetProductErrors, GetProductResponses, GetProjectData, GetProjectErrors, GetProjectResponses, GetRateRuleData, GetRateRuleErrors, GetRateRuleResponses, GetServiceEventData, GetServiceEventErrors, GetServiceEventResponses, GetServiceScheduleData, GetServiceScheduleErrors, GetServiceScheduleResponses, GetServiceScheduleTemplateData, GetServiceScheduleTemplateErrors, GetServiceScheduleTemplateResponses, GetTimeCardActualData, GetTimeCardActualErrors, GetTimeCardActualResponses, GetTimeCardData, GetTimeCardErrors, GetTimeCardResponses, GetTimecodeData, GetTimecodeErrors, GetTimecodeResponses, GetTradeData, GetTradeErrors, GetTradeResponses, GetTransferData, GetTransferErrors, GetTransferResponses, GetUserCertificationData, GetUserCertificationErrors, GetUserCertificationResponses, GetUserData, GetUserErrors, GetUserResponses, GetVendorData, GetVendorErrors, GetVendorResponses, GetWageDeterminationData, GetWageDeterminationErrors, GetWageDeterminationResponses, ListApprenticesData, ListApprenticesErrors, ListApprenticesResponses, ListAssetsSitesData, ListAssetsSitesErrors, ListAssetsSitesResponses, ListAtlasSitesData, ListAtlasSitesErrors, ListAtlasSitesResponses, ListAttestationConfigsData, ListAttestationConfigsErrors, ListAttestationConfigsResponses, ListAttributesData, ListAttributesErrors, ListAttributesResponses, ListCategoriesData, ListCategoriesErrors, ListCategoriesResponses, ListCertificationsData, ListCertificationsErrors, ListCertificationsResponses, ListChecksData, ListChecksErrors, ListChecksResponses, ListCompaniesData, ListCompaniesErrors, ListCompaniesResponses, ListCompensationElementsData, ListCompensationElementsErrors, ListCompensationElementsResponses, ListCompletionsData, ListCompletionsErrors, ListCompletionsResponses, ListCustodiesData, ListCustodiesErrors, ListCustodiesResponses, ListCustomFieldConfigsData, ListCustomFieldConfigsErrors, ListCustomFieldConfigsResponses, ListDeltasData, ListDeltasErrors, ListDeltasResponses, ListDepartmentsData, ListDepartmentsErrors, ListDepartmentsResponses, ListDocumentsData, ListDocumentsErrors, ListDocumentsResponses, ListEmployersData, ListEmployersErrors, ListEmployersResponses, ListEventsData, ListEventsErrors, ListEventsResponses, ListExternalMapsData, ListExternalMapsErrors, ListExternalMapsResponses, ListFeaturesData, ListFeaturesErrors, ListFeaturesResponses, ListFormAssignmentTasksData, ListFormAssignmentTasksErrors, ListFormAssignmentTasksResponses, ListFormAssignmentTriggersData, ListFormAssignmentTriggersErrors, ListFormAssignmentTriggersResponses, ListFormDefinitionsData, ListFormDefinitionsErrors, ListFormDefinitionsResponses, ListFormSubmissionsData, ListFormSubmissionsErrors, ListFormSubmissionsResponses, ListFringeBenefitPlansData, ListFringeBenefitPlansErrors, ListFringeBenefitPlansResponses, ListGroupsData, ListGroupsErrors, ListGroupsResponses, ListGroupUsersData, ListGroupUsersErrors, ListGroupUsersResponses, ListHolidaysData, ListHolidaysErrors, ListHolidaysResponses, ListInventoriesData, ListInventoriesErrors, ListInventoriesResponses, ListItemsData, ListItemsErrors, ListItemsResponses, ListJobScopePricesData, ListJobScopePricesErrors, ListJobScopePricesResponses, ListJobsData, ListJobsErrors, ListJobsResponses, ListJobTimeCardDaysData, ListJobTimeCardDaysErrors, ListJobTimeCardDaysResponses, ListJobWageDeterminationsData, ListJobWageDeterminationsErrors, ListJobWageDeterminationsResponses, ListLaborRatesData, ListLaborRatesErrors, ListLaborRatesResponses, ListOccupationsData, ListOccupationsErrors, ListOccupationsResponses, ListPackagesData, ListPackagesErrors, ListPackagesResponses, ListPayPeriodConfigsData, ListPayPeriodConfigsErrors, ListPayPeriodConfigsResponses, ListPayPeriodsData, ListPayPeriodsErrors, ListPayPeriodsResponses, ListPayrollRunsData, ListPayrollRunsErrors, ListPayrollRunsResponses, ListPaystubLineItemsData, ListPaystubLineItemsErrors, ListPaystubLineItemsResponses, ListPaystubsData, ListPaystubsErrors, ListPaystubsResponses, ListPerDiemsData, ListPerDiemsErrors, ListPerDiemsResponses, ListPeriodsData, ListPeriodsErrors, ListPeriodsResponses, ListPositionFunctionsData, ListPositionFunctionsErrors, ListPositionFunctionsResponses, ListPositionsData, ListPositionsErrors, ListPositionsResponses, ListPriorPeriodAdjustmentsData, ListPriorPeriodAdjustmentsErrors, ListPriorPeriodAdjustmentsResponses, ListProductsData, ListProductsErrors, ListProductsResponses, ListProgramsData, ListProgramsErrors, ListProgramsResponses, ListProjectsData, ListProjectsErrors, ListProjectsResponses, ListPwaUserCountsByProjectByMonthsData, ListPwaUserCountsByProjectByMonthsErrors, ListPwaUserCountsByProjectByMonthsResponses, ListRateRulesData, ListRateRulesErrors, ListRateRulesResponses, ListServiceEventsData, ListServiceEventsErrors, ListServiceEventsResponses, ListServiceSchedulesData, ListServiceSchedulesErrors, ListServiceSchedulesResponses, ListServiceScheduleTemplatesData, ListServiceScheduleTemplatesErrors, ListServiceScheduleTemplatesResponses, ListTemplatesData, ListTemplatesErrors, ListTemplatesResponses, ListTimeCardActualsData, ListTimeCardActualsErrors, ListTimeCardActualsResponses, ListTimeCardPerDiemsData, ListTimeCardPerDiemsErrors, ListTimeCardPerDiemsResponses, ListTimeCardsData, ListTimeCardsErrors, ListTimeCardsResponses, ListTimecodeScheduledChangesData, ListTimecodeScheduledChangesErrors, ListTimecodeScheduledChangesResponses, ListTimecodesData, ListTimecodesErrors, ListTimecodesResponses, ListTimeEntriesData, ListTimeEntriesErrors, ListTimeEntriesResponses, ListTradesData, ListTradesErrors, ListTradesResponses, ListTransfersData, ListTransfersErrors, ListTransfersResponses, ListUserCertificationsData, ListUserCertificationsErrors, ListUserCertificationsResponses, ListUserCompanyScheduledChangesData, ListUserCompanyScheduledChangesErrors, ListUserCompanyScheduledChangesResponses, ListUserRolesData, ListUserRolesErrors, ListUserRolesResponses, ListUsersData, ListUsersErrors, ListUsersResponses, ListVendorsData, ListVendorsErrors, ListVendorsResponses, ListVersionsData, ListVersionsErrors, ListVersionsResponses, ListWageDeterminationsData, ListWageDeterminationsErrors, ListWageDeterminationsResponses, ListWageSchedulesData, ListWageSchedulesErrors, ListWageSchedulesResponses, ListWorkTypesData, ListWorkTypesErrors, ListWorkTypesResponses, RemoveUserFromCompanyData, RemoveUserFromCompanyErrors, RemoveUserFromCompanyResponses, RemoveUserFromGroupData, RemoveUserFromGroupErrors, RemoveUserFromGroupResponses, RestockProductData, RestockProductErrors, RestockProductResponses, RetireItemData, RetireItemErrors, RetireItemResponses, ScheduleTimecodeChangeData, ScheduleTimecodeChangeErrors, ScheduleTimecodeChangeResponses, SeedServiceScheduleTemplateData, SeedServiceScheduleTemplateErrors, SeedServiceScheduleTemplateResponses, SetTimeCardLockData, SetTimeCardLockErrors, SetTimeCardLockResponses, SyncServiceScheduleTemplateData, SyncServiceScheduleTemplateErrors, SyncServiceScheduleTemplateResponses, TerminateTimecodeData, TerminateTimecodeErrors, TerminateTimecodeResponses, UnretireItemData, UnretireItemErrors, UnretireItemResponses, UpdateAttributeData, UpdateAttributeErrors, UpdateAttributeResponses, UpdateCategoryData, UpdateCategoryErrors, UpdateCategoryResponses, UpdateCertificationData, UpdateCertificationErrors, UpdateCertificationResponses, UpdateCheckData, UpdateCheckErrors, UpdateCheckResponses, UpdateCompanyData, UpdateCompanyErrors, UpdateCompanyResponses, UpdateCompanyUserDetailData, UpdateCompanyUserDetailErrors, UpdateCompanyUserDetailResponses, UpdateCompletionData, UpdateCompletionErrors, UpdateCompletionResponses, UpdateCustomFieldConfigData, UpdateCustomFieldConfigErrors, UpdateCustomFieldConfigResponses, UpdateDepartmentData, UpdateDepartmentErrors, UpdateDepartmentResponses, UpdateDocumentData, UpdateDocumentErrors, UpdateDocumentResponses, UpdateEmployerData, UpdateEmployerErrors, UpdateEmployerResponses, UpdateFormAssignmentTaskData, UpdateFormAssignmentTaskErrors, UpdateFormAssignmentTaskResponses, UpdateFormAssignmentTriggerData, UpdateFormAssignmentTriggerErrors, UpdateFormAssignmentTriggerResponses, UpdateFringeBenefitPlanData, UpdateFringeBenefitPlanErrors, UpdateFringeBenefitPlanResponses, UpdateGroupData, UpdateGroupErrors, UpdateGroupResponses, UpdateHolidayData, UpdateHolidayErrors, UpdateHolidayResponses, UpdateItemData, UpdateItemErrors, UpdateItemResponses, UpdateJobData, UpdateJobErrors, UpdateJobResponses, UpdateJobScopePriceData, UpdateJobScopePriceErrors, UpdateJobScopePriceResponses, UpdateOccupationData, UpdateOccupationErrors, UpdateOccupationResponses, UpdatePackageData, UpdatePackageErrors, UpdatePackageResponses, UpdatePayrollRunData, UpdatePayrollRunErrors, UpdatePayrollRunResponses, UpdatePaystubData, UpdatePaystubErrors, UpdatePaystubLineItemData, UpdatePaystubLineItemErrors, UpdatePaystubLineItemResponses, UpdatePaystubResponses, UpdatePerDiemData, UpdatePerDiemErrors, UpdatePerDiemResponses, UpdatePeriodData, UpdatePeriodErrors, UpdatePeriodResponses, UpdatePositionData, UpdatePositionErrors, UpdatePositionFunctionData, UpdatePositionFunctionErrors, UpdatePositionFunctionResponses, UpdatePositionResponses, UpdateProductData, UpdateProductErrors, UpdateProductResponses, UpdateProgramData, UpdateProgramErrors, UpdateProgramResponses, UpdateProjectData, UpdateProjectErrors, UpdateProjectResponses, UpdateScheduledChangeData, UpdateScheduledChangeErrors, UpdateScheduledChangeResponses, UpdateServiceEventData, UpdateServiceEventErrors, UpdateServiceEventResponses, UpdateServiceScheduleData, UpdateServiceScheduleErrors, UpdateServiceScheduleResponses, UpdateServiceScheduleTemplateData, UpdateServiceScheduleTemplateErrors, UpdateServiceScheduleTemplateResponses, UpdateSiteData, UpdateSiteErrors, UpdateSiteResponses, UpdateTimeCardPerDiemData, UpdateTimeCardPerDiemErrors, UpdateTimeCardPerDiemResponses, UpdateTimecodeData, UpdateTimecodeErrors, UpdateTimecodeResponses, UpdateTimeEntryData, UpdateTimeEntryErrors, UpdateTimeEntryResponses, UpdateUserCertificationData, UpdateUserCertificationErrors, UpdateUserCertificationResponses, UpdateUserData, UpdateUserErrors, UpdateUserResponses, UpdateVendorData, UpdateVendorErrors, UpdateVendorResponses, UpdateWageScheduleData, UpdateWageScheduleErrors, UpdateWageScheduleResponses } from './types.gen.js';
|
|
3
|
+
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
|
+
/**
|
|
5
|
+
* You can provide a client instance returned by `createClient()` instead of
|
|
6
|
+
* individual options. This might be also useful if you want to implement a
|
|
7
|
+
* custom client.
|
|
8
|
+
*/
|
|
9
|
+
client?: Client;
|
|
10
|
+
/**
|
|
11
|
+
* You can pass arbitrary values through the `meta` object. This can be
|
|
12
|
+
* used to access values that aren't defined as part of the SDK function.
|
|
13
|
+
*/
|
|
14
|
+
meta?: Record<string, unknown>;
|
|
15
|
+
};
|
|
16
|
+
export declare class ApprenticeshipApprentices {
|
|
17
|
+
/**
|
|
18
|
+
* List apprenticeship apprentices
|
|
19
|
+
*
|
|
20
|
+
* **Required scope:**
|
|
21
|
+
*
|
|
22
|
+
* `apprenticeship.programs.apprentices:read`
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
static listApprentices<ThrowOnError extends boolean = false>(options: Options<ListApprenticesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListApprenticesResponses, ListApprenticesErrors, ThrowOnError, "fields">;
|
|
26
|
+
/**
|
|
27
|
+
* Create apprentice
|
|
28
|
+
*
|
|
29
|
+
* **Required scope:**
|
|
30
|
+
*
|
|
31
|
+
* `apprenticeship.programs.apprentices:create`
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
static createApprentice<ThrowOnError extends boolean = false>(options: Options<CreateApprenticeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateApprenticeResponses, CreateApprenticeErrors, ThrowOnError, "fields">;
|
|
35
|
+
}
|
|
36
|
+
export declare class ApprenticeshipOccupations {
|
|
37
|
+
/**
|
|
38
|
+
* List apprenticeship occupations
|
|
39
|
+
*
|
|
40
|
+
* **Required scope:**
|
|
41
|
+
*
|
|
42
|
+
* `apprenticeship.programs.occupations:read`
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
static listOccupations<ThrowOnError extends boolean = false>(options: Options<ListOccupationsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListOccupationsResponses, ListOccupationsErrors, ThrowOnError, "fields">;
|
|
46
|
+
/**
|
|
47
|
+
* Create apprenticeship occupation
|
|
48
|
+
*
|
|
49
|
+
* **Required scope:**
|
|
50
|
+
*
|
|
51
|
+
* `apprenticeship.programs.occupations:create`
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
static createOccupation<ThrowOnError extends boolean = false>(options: Options<CreateOccupationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateOccupationResponses, CreateOccupationErrors, ThrowOnError, "fields">;
|
|
55
|
+
/**
|
|
56
|
+
* Update apprenticeship occupation
|
|
57
|
+
*
|
|
58
|
+
* **Required scope:**
|
|
59
|
+
*
|
|
60
|
+
* `apprenticeship.programs.occupations:update`
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
static updateOccupation<ThrowOnError extends boolean = false>(options: Options<UpdateOccupationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateOccupationResponses, UpdateOccupationErrors, ThrowOnError, "fields">;
|
|
64
|
+
}
|
|
65
|
+
export declare class ApprenticeshipEmployers {
|
|
66
|
+
/**
|
|
67
|
+
* List apprenticeship employers
|
|
68
|
+
*
|
|
69
|
+
* **Required scope:**
|
|
70
|
+
*
|
|
71
|
+
* `apprenticeship.programs.employers:read`
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
static listEmployers<ThrowOnError extends boolean = false>(options: Options<ListEmployersData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListEmployersResponses, ListEmployersErrors, ThrowOnError, "fields">;
|
|
75
|
+
/**
|
|
76
|
+
* Create apprenticeship employer
|
|
77
|
+
*
|
|
78
|
+
* **Required scope:**
|
|
79
|
+
*
|
|
80
|
+
* `apprenticeship.programs.employers:create`
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
static createEmployer<ThrowOnError extends boolean = false>(options: Options<CreateEmployerData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateEmployerResponses, CreateEmployerErrors, ThrowOnError, "fields">;
|
|
84
|
+
/**
|
|
85
|
+
* Delete apprenticeship employer
|
|
86
|
+
*
|
|
87
|
+
* **Required scope:**
|
|
88
|
+
*
|
|
89
|
+
* `apprenticeship.programs.employers:delete`
|
|
90
|
+
*
|
|
91
|
+
*/
|
|
92
|
+
static deleteEmployer<ThrowOnError extends boolean = false>(options: Options<DeleteEmployerData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteEmployerResponses, DeleteEmployerErrors, ThrowOnError, "fields">;
|
|
93
|
+
/**
|
|
94
|
+
* Update apprenticeship employer
|
|
95
|
+
*
|
|
96
|
+
* **Required scope:**
|
|
97
|
+
*
|
|
98
|
+
* `apprenticeship.programs.employers:update`
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
static updateEmployer<ThrowOnError extends boolean = false>(options: Options<UpdateEmployerData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateEmployerResponses, UpdateEmployerErrors, ThrowOnError, "fields">;
|
|
102
|
+
}
|
|
103
|
+
export declare class ApprenticeshipPrograms {
|
|
104
|
+
/**
|
|
105
|
+
* List apprenticeship programs
|
|
106
|
+
*
|
|
107
|
+
* **Required scope:**
|
|
108
|
+
*
|
|
109
|
+
* `apprenticeship.programs:read`
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
static listPrograms<ThrowOnError extends boolean = false>(options?: Options<ListProgramsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListProgramsResponses, ListProgramsErrors, ThrowOnError, "fields">;
|
|
113
|
+
/**
|
|
114
|
+
* Create apprenticeship program
|
|
115
|
+
*
|
|
116
|
+
* **Required scope:**
|
|
117
|
+
*
|
|
118
|
+
* `apprenticeship.programs:create`
|
|
119
|
+
*
|
|
120
|
+
*/
|
|
121
|
+
static createProgram<ThrowOnError extends boolean = false>(options?: Options<CreateProgramData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateProgramResponses, CreateProgramErrors, ThrowOnError, "fields">;
|
|
122
|
+
/**
|
|
123
|
+
* Update apprenticeship program
|
|
124
|
+
*
|
|
125
|
+
* **Required scope:**
|
|
126
|
+
*
|
|
127
|
+
* `apprenticeship.programs:update`
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
static updateProgram<ThrowOnError extends boolean = false>(options: Options<UpdateProgramData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateProgramResponses, UpdateProgramErrors, ThrowOnError, "fields">;
|
|
131
|
+
}
|
|
132
|
+
export declare class ApprenticeshipWageSchedulePeriods {
|
|
133
|
+
/**
|
|
134
|
+
* List apprenticeship wage schedule periods
|
|
135
|
+
*
|
|
136
|
+
* **Required scope:**
|
|
137
|
+
*
|
|
138
|
+
* `apprenticeship.wage_schedules.periods:read`
|
|
139
|
+
*
|
|
140
|
+
*/
|
|
141
|
+
static listPeriods<ThrowOnError extends boolean = false>(options: Options<ListPeriodsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListPeriodsResponses, ListPeriodsErrors, ThrowOnError, "fields">;
|
|
142
|
+
/**
|
|
143
|
+
* Create apprenticeship wage schedule period
|
|
144
|
+
*
|
|
145
|
+
* **Required scope:**
|
|
146
|
+
*
|
|
147
|
+
* `apprenticeship.wage_schedules.periods:create`
|
|
148
|
+
*
|
|
149
|
+
*/
|
|
150
|
+
static createPeriod<ThrowOnError extends boolean = false>(options: Options<CreatePeriodData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreatePeriodResponses, CreatePeriodErrors, ThrowOnError, "fields">;
|
|
151
|
+
/**
|
|
152
|
+
* Update apprenticeship wage schedule period
|
|
153
|
+
*
|
|
154
|
+
* **Required scope:**
|
|
155
|
+
*
|
|
156
|
+
* `apprenticeship.wage_schedules.periods:update`
|
|
157
|
+
*
|
|
158
|
+
*/
|
|
159
|
+
static updatePeriod<ThrowOnError extends boolean = false>(options: Options<UpdatePeriodData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdatePeriodResponses, UpdatePeriodErrors, ThrowOnError, "fields">;
|
|
160
|
+
}
|
|
161
|
+
export declare class ApprenticeshipWageSchedules {
|
|
162
|
+
/**
|
|
163
|
+
* List apprenticeship wage schedules
|
|
164
|
+
*
|
|
165
|
+
* **Required scope:**
|
|
166
|
+
*
|
|
167
|
+
* `apprenticeship.occupations.wage_schedules:read`
|
|
168
|
+
*
|
|
169
|
+
*/
|
|
170
|
+
static listWageSchedules<ThrowOnError extends boolean = false>(options: Options<ListWageSchedulesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListWageSchedulesResponses, ListWageSchedulesErrors, ThrowOnError, "fields">;
|
|
171
|
+
/**
|
|
172
|
+
* Create apprenticeship wage schedule
|
|
173
|
+
*
|
|
174
|
+
* **Required scope:**
|
|
175
|
+
*
|
|
176
|
+
* `apprenticeship.occupations.wage_schedules:create`
|
|
177
|
+
*
|
|
178
|
+
*/
|
|
179
|
+
static createWageSchedule<ThrowOnError extends boolean = false>(options: Options<CreateWageScheduleData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateWageScheduleResponses, CreateWageScheduleErrors, ThrowOnError, "fields">;
|
|
180
|
+
/**
|
|
181
|
+
* Update apprenticeship wage schedule
|
|
182
|
+
*
|
|
183
|
+
* **Required scope:**
|
|
184
|
+
*
|
|
185
|
+
* `apprenticeship.occupations.wage_schedules:update`
|
|
186
|
+
*
|
|
187
|
+
*/
|
|
188
|
+
static updateWageSchedule<ThrowOnError extends boolean = false>(options: Options<UpdateWageScheduleData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateWageScheduleResponses, UpdateWageScheduleErrors, ThrowOnError, "fields">;
|
|
189
|
+
}
|
|
190
|
+
export declare class AssetsAttributes {
|
|
191
|
+
/**
|
|
192
|
+
* List Attributes
|
|
193
|
+
*
|
|
194
|
+
* **Required scope:**
|
|
195
|
+
*
|
|
196
|
+
* `assets.attributes:read`
|
|
197
|
+
*
|
|
198
|
+
*/
|
|
199
|
+
static listAttributes<ThrowOnError extends boolean = false>(options?: Options<ListAttributesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListAttributesResponses, ListAttributesErrors, ThrowOnError, "fields">;
|
|
200
|
+
/**
|
|
201
|
+
* Create Attribute
|
|
202
|
+
*
|
|
203
|
+
* **Required scope:**
|
|
204
|
+
*
|
|
205
|
+
* `assets.attributes:create`
|
|
206
|
+
*
|
|
207
|
+
*/
|
|
208
|
+
static createAttribute<ThrowOnError extends boolean = false>(options?: Options<CreateAttributeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateAttributeResponses, CreateAttributeErrors, ThrowOnError, "fields">;
|
|
209
|
+
/**
|
|
210
|
+
* Delete Attribute
|
|
211
|
+
*
|
|
212
|
+
* **Required scope:**
|
|
213
|
+
*
|
|
214
|
+
* `assets.attributes:delete`
|
|
215
|
+
*
|
|
216
|
+
*/
|
|
217
|
+
static deleteAttribute<ThrowOnError extends boolean = false>(options: Options<DeleteAttributeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteAttributeResponses, DeleteAttributeErrors, ThrowOnError, "fields">;
|
|
218
|
+
/**
|
|
219
|
+
* Get Attribute
|
|
220
|
+
*
|
|
221
|
+
* **Required scope:**
|
|
222
|
+
*
|
|
223
|
+
* `assets.attributes:read`
|
|
224
|
+
*
|
|
225
|
+
*/
|
|
226
|
+
static getAttribute<ThrowOnError extends boolean = false>(options: Options<GetAttributeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetAttributeResponses, GetAttributeErrors, ThrowOnError, "fields">;
|
|
227
|
+
/**
|
|
228
|
+
* Update Attribute
|
|
229
|
+
*
|
|
230
|
+
* **Required scope:**
|
|
231
|
+
*
|
|
232
|
+
* `assets.attributes:update`
|
|
233
|
+
*
|
|
234
|
+
*/
|
|
235
|
+
static updateAttribute<ThrowOnError extends boolean = false>(options: Options<UpdateAttributeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateAttributeResponses, UpdateAttributeErrors, ThrowOnError, "fields">;
|
|
236
|
+
}
|
|
237
|
+
export declare class AssetsCategories {
|
|
238
|
+
/**
|
|
239
|
+
* List Categories
|
|
240
|
+
*
|
|
241
|
+
* **Required scope:**
|
|
242
|
+
*
|
|
243
|
+
* `assets.categories:read`
|
|
244
|
+
*
|
|
245
|
+
*/
|
|
246
|
+
static listCategories<ThrowOnError extends boolean = false>(options?: Options<ListCategoriesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListCategoriesResponses, ListCategoriesErrors, ThrowOnError, "fields">;
|
|
247
|
+
/**
|
|
248
|
+
* Create Category
|
|
249
|
+
*
|
|
250
|
+
* **Required scope:**
|
|
251
|
+
*
|
|
252
|
+
* `assets.categories:create`
|
|
253
|
+
*
|
|
254
|
+
*/
|
|
255
|
+
static createCategory<ThrowOnError extends boolean = false>(options?: Options<CreateCategoryData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateCategoryResponses, CreateCategoryErrors, ThrowOnError, "fields">;
|
|
256
|
+
/**
|
|
257
|
+
* Delete Category
|
|
258
|
+
*
|
|
259
|
+
* **Required scope:**
|
|
260
|
+
*
|
|
261
|
+
* `assets.categories:delete`
|
|
262
|
+
*
|
|
263
|
+
*/
|
|
264
|
+
static deleteCategory<ThrowOnError extends boolean = false>(options: Options<DeleteCategoryData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteCategoryResponses, DeleteCategoryErrors, ThrowOnError, "fields">;
|
|
265
|
+
/**
|
|
266
|
+
* Get Category
|
|
267
|
+
*
|
|
268
|
+
* **Required scope:**
|
|
269
|
+
*
|
|
270
|
+
* `assets.categories:read`
|
|
271
|
+
*
|
|
272
|
+
*/
|
|
273
|
+
static getCategory<ThrowOnError extends boolean = false>(options: Options<GetCategoryData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetCategoryResponses, GetCategoryErrors, ThrowOnError, "fields">;
|
|
274
|
+
/**
|
|
275
|
+
* Update Category
|
|
276
|
+
*
|
|
277
|
+
* **Required scope:**
|
|
278
|
+
*
|
|
279
|
+
* `assets.categories:update`
|
|
280
|
+
*
|
|
281
|
+
*/
|
|
282
|
+
static updateCategory<ThrowOnError extends boolean = false>(options: Options<UpdateCategoryData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateCategoryResponses, UpdateCategoryErrors, ThrowOnError, "fields">;
|
|
283
|
+
}
|
|
284
|
+
export declare class AssetsCustodies {
|
|
285
|
+
/**
|
|
286
|
+
* List custodies
|
|
287
|
+
*
|
|
288
|
+
* **Required scope:**
|
|
289
|
+
*
|
|
290
|
+
* `assets.custodies:read`
|
|
291
|
+
*
|
|
292
|
+
*/
|
|
293
|
+
static listCustodies<ThrowOnError extends boolean = false>(options?: Options<ListCustodiesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListCustodiesResponses, ListCustodiesErrors, ThrowOnError, "fields">;
|
|
294
|
+
/**
|
|
295
|
+
* Show custody
|
|
296
|
+
*
|
|
297
|
+
* **Required scope:**
|
|
298
|
+
*
|
|
299
|
+
* `assets.custodies:read`
|
|
300
|
+
*
|
|
301
|
+
*/
|
|
302
|
+
static getCustody<ThrowOnError extends boolean = false>(options: Options<GetCustodyData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetCustodyResponses, GetCustodyErrors, ThrowOnError, "fields">;
|
|
303
|
+
}
|
|
304
|
+
export declare class AssetsEvents {
|
|
305
|
+
/**
|
|
306
|
+
* List events
|
|
307
|
+
*
|
|
308
|
+
* **Required scope:**
|
|
309
|
+
*
|
|
310
|
+
* `assets.events:read`
|
|
311
|
+
*
|
|
312
|
+
*/
|
|
313
|
+
static listEvents<ThrowOnError extends boolean = false>(options?: Options<ListEventsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListEventsResponses, ListEventsErrors, ThrowOnError, "fields">;
|
|
314
|
+
/**
|
|
315
|
+
* Show event
|
|
316
|
+
*
|
|
317
|
+
* **Required scope:**
|
|
318
|
+
*
|
|
319
|
+
* `assets.events:read`
|
|
320
|
+
*
|
|
321
|
+
*/
|
|
322
|
+
static getEvent<ThrowOnError extends boolean = false>(options: Options<GetEventData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetEventResponses, GetEventErrors, ThrowOnError, "fields">;
|
|
323
|
+
}
|
|
324
|
+
export declare class AssetsFormAssignmentTriggers {
|
|
325
|
+
/**
|
|
326
|
+
* List form assignment triggers
|
|
327
|
+
*
|
|
328
|
+
* **Required scope:**
|
|
329
|
+
*
|
|
330
|
+
* `assets.form_assignment_triggers:read`
|
|
331
|
+
*
|
|
332
|
+
*/
|
|
333
|
+
static listFormAssignmentTriggers<ThrowOnError extends boolean = false>(options?: Options<ListFormAssignmentTriggersData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListFormAssignmentTriggersResponses, ListFormAssignmentTriggersErrors, ThrowOnError, "fields">;
|
|
334
|
+
/**
|
|
335
|
+
* Create Form Assignment Trigger
|
|
336
|
+
*
|
|
337
|
+
* **Required scope:**
|
|
338
|
+
*
|
|
339
|
+
* `assets.form_assignment_triggers:create`
|
|
340
|
+
*
|
|
341
|
+
*/
|
|
342
|
+
static createFormAssignmentTrigger<ThrowOnError extends boolean = false>(options: Options<CreateFormAssignmentTriggerData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateFormAssignmentTriggerResponses, CreateFormAssignmentTriggerErrors, ThrowOnError, "fields">;
|
|
343
|
+
/**
|
|
344
|
+
* Delete Form Assignment Trigger
|
|
345
|
+
*
|
|
346
|
+
* **Required scope:**
|
|
347
|
+
*
|
|
348
|
+
* `assets.form_assignment_triggers:delete`
|
|
349
|
+
*
|
|
350
|
+
*/
|
|
351
|
+
static deleteFormAssignmentTrigger<ThrowOnError extends boolean = false>(options: Options<DeleteFormAssignmentTriggerData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteFormAssignmentTriggerResponses, DeleteFormAssignmentTriggerErrors, ThrowOnError, "fields">;
|
|
352
|
+
/**
|
|
353
|
+
* Show form assignment trigger
|
|
354
|
+
*
|
|
355
|
+
* **Required scope:**
|
|
356
|
+
*
|
|
357
|
+
* `assets.form_assignment_triggers:read`
|
|
358
|
+
*
|
|
359
|
+
*/
|
|
360
|
+
static getFormAssignmentTrigger<ThrowOnError extends boolean = false>(options: Options<GetFormAssignmentTriggerData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetFormAssignmentTriggerResponses, GetFormAssignmentTriggerErrors, ThrowOnError, "fields">;
|
|
361
|
+
/**
|
|
362
|
+
* Update Form Assignment Trigger
|
|
363
|
+
*
|
|
364
|
+
* **Required scope:**
|
|
365
|
+
*
|
|
366
|
+
* `assets.form_assignment_triggers:update`
|
|
367
|
+
*
|
|
368
|
+
*/
|
|
369
|
+
static updateFormAssignmentTrigger<ThrowOnError extends boolean = false>(options: Options<UpdateFormAssignmentTriggerData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateFormAssignmentTriggerResponses, UpdateFormAssignmentTriggerErrors, ThrowOnError, "fields">;
|
|
370
|
+
}
|
|
371
|
+
export declare class AssetsInventories {
|
|
372
|
+
/**
|
|
373
|
+
* List inventories
|
|
374
|
+
*
|
|
375
|
+
* **Required scope:**
|
|
376
|
+
*
|
|
377
|
+
* `assets.inventories:read`
|
|
378
|
+
*
|
|
379
|
+
*/
|
|
380
|
+
static listInventories<ThrowOnError extends boolean = false>(options?: Options<ListInventoriesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListInventoriesResponses, ListInventoriesErrors, ThrowOnError, "fields">;
|
|
381
|
+
/**
|
|
382
|
+
* Show inventory
|
|
383
|
+
*
|
|
384
|
+
* **Required scope:**
|
|
385
|
+
*
|
|
386
|
+
* `assets.inventories:read`
|
|
387
|
+
*
|
|
388
|
+
*/
|
|
389
|
+
static getInventory<ThrowOnError extends boolean = false>(options: Options<GetInventoryData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetInventoryResponses, GetInventoryErrors, ThrowOnError, "fields">;
|
|
390
|
+
}
|
|
391
|
+
export declare class AssetsItems {
|
|
392
|
+
/**
|
|
393
|
+
* List items
|
|
394
|
+
*
|
|
395
|
+
* **Required scope:**
|
|
396
|
+
*
|
|
397
|
+
* `assets.items:read`
|
|
398
|
+
*
|
|
399
|
+
*/
|
|
400
|
+
static listItems<ThrowOnError extends boolean = false>(options?: Options<ListItemsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListItemsResponses, ListItemsErrors, ThrowOnError, "fields">;
|
|
401
|
+
/**
|
|
402
|
+
* Create item (serial)
|
|
403
|
+
*
|
|
404
|
+
* **Required scope:**
|
|
405
|
+
*
|
|
406
|
+
* `assets.items:create`
|
|
407
|
+
*
|
|
408
|
+
*/
|
|
409
|
+
static createItem<ThrowOnError extends boolean = false>(options: Options<CreateItemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateItemResponses, CreateItemErrors, ThrowOnError, "fields">;
|
|
410
|
+
/**
|
|
411
|
+
* Delete item
|
|
412
|
+
*
|
|
413
|
+
* **Required scope:**
|
|
414
|
+
*
|
|
415
|
+
* `assets.items:delete`
|
|
416
|
+
*
|
|
417
|
+
*/
|
|
418
|
+
static deleteItem<ThrowOnError extends boolean = false>(options: Options<DeleteItemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteItemResponses, DeleteItemErrors, ThrowOnError, "fields">;
|
|
419
|
+
/**
|
|
420
|
+
* Show item
|
|
421
|
+
*
|
|
422
|
+
* **Required scope:**
|
|
423
|
+
*
|
|
424
|
+
* `assets.items:read`
|
|
425
|
+
*
|
|
426
|
+
*/
|
|
427
|
+
static getItem<ThrowOnError extends boolean = false>(options: Options<GetItemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetItemResponses, GetItemErrors, ThrowOnError, "fields">;
|
|
428
|
+
/**
|
|
429
|
+
* Update item
|
|
430
|
+
*
|
|
431
|
+
* **Required scope:**
|
|
432
|
+
*
|
|
433
|
+
* `assets.items:update`
|
|
434
|
+
*
|
|
435
|
+
*/
|
|
436
|
+
static updateItem<ThrowOnError extends boolean = false>(options: Options<UpdateItemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateItemResponses, UpdateItemErrors, ThrowOnError, "fields">;
|
|
437
|
+
/**
|
|
438
|
+
* Unretire item
|
|
439
|
+
*
|
|
440
|
+
* **Required scope:**
|
|
441
|
+
*
|
|
442
|
+
* `assets.items.retirements:delete`
|
|
443
|
+
*
|
|
444
|
+
*/
|
|
445
|
+
static unretireItem<ThrowOnError extends boolean = false>(options: Options<UnretireItemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UnretireItemResponses, UnretireItemErrors, ThrowOnError, "fields">;
|
|
446
|
+
/**
|
|
447
|
+
* Retire item
|
|
448
|
+
*
|
|
449
|
+
* **Required scope:**
|
|
450
|
+
*
|
|
451
|
+
* `assets.items.retirements:create`
|
|
452
|
+
*
|
|
453
|
+
*/
|
|
454
|
+
static retireItem<ThrowOnError extends boolean = false>(options: Options<RetireItemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<RetireItemResponses, RetireItemErrors, ThrowOnError, "fields">;
|
|
455
|
+
/**
|
|
456
|
+
* List service schedules
|
|
457
|
+
*
|
|
458
|
+
* **Required scope:**
|
|
459
|
+
*
|
|
460
|
+
* `assets.items.service_schedules:read`
|
|
461
|
+
*
|
|
462
|
+
*/
|
|
463
|
+
static listServiceSchedules<ThrowOnError extends boolean = false>(options: Options<ListServiceSchedulesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListServiceSchedulesResponses, ListServiceSchedulesErrors, ThrowOnError, "fields">;
|
|
464
|
+
/**
|
|
465
|
+
* Create service schedule
|
|
466
|
+
*
|
|
467
|
+
* **Required scope:**
|
|
468
|
+
*
|
|
469
|
+
* `assets.items.service_schedules:create`
|
|
470
|
+
*
|
|
471
|
+
*/
|
|
472
|
+
static createServiceSchedule<ThrowOnError extends boolean = false>(options: Options<CreateServiceScheduleData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateServiceScheduleResponses, CreateServiceScheduleErrors, ThrowOnError, "fields">;
|
|
473
|
+
/**
|
|
474
|
+
* Delete service schedule
|
|
475
|
+
*
|
|
476
|
+
* **Required scope:**
|
|
477
|
+
*
|
|
478
|
+
* `assets.items.service_schedules:delete`
|
|
479
|
+
*
|
|
480
|
+
*/
|
|
481
|
+
static deleteServiceSchedule<ThrowOnError extends boolean = false>(options: Options<DeleteServiceScheduleData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteServiceScheduleResponses, DeleteServiceScheduleErrors, ThrowOnError, "fields">;
|
|
482
|
+
/**
|
|
483
|
+
* Show service schedule
|
|
484
|
+
*
|
|
485
|
+
* **Required scope:**
|
|
486
|
+
*
|
|
487
|
+
* `assets.items.service_schedules:read`
|
|
488
|
+
*
|
|
489
|
+
*/
|
|
490
|
+
static getServiceSchedule<ThrowOnError extends boolean = false>(options: Options<GetServiceScheduleData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetServiceScheduleResponses, GetServiceScheduleErrors, ThrowOnError, "fields">;
|
|
491
|
+
/**
|
|
492
|
+
* Update service schedule
|
|
493
|
+
*
|
|
494
|
+
* **Required scope:**
|
|
495
|
+
*
|
|
496
|
+
* `assets.items.service_schedules:update`
|
|
497
|
+
*
|
|
498
|
+
*/
|
|
499
|
+
static updateServiceSchedule<ThrowOnError extends boolean = false>(options: Options<UpdateServiceScheduleData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateServiceScheduleResponses, UpdateServiceScheduleErrors, ThrowOnError, "fields">;
|
|
500
|
+
/**
|
|
501
|
+
* List service events
|
|
502
|
+
*
|
|
503
|
+
* **Required scope:**
|
|
504
|
+
*
|
|
505
|
+
* `assets.items.service_events:read`
|
|
506
|
+
*
|
|
507
|
+
*/
|
|
508
|
+
static listServiceEvents<ThrowOnError extends boolean = false>(options: Options<ListServiceEventsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListServiceEventsResponses, ListServiceEventsErrors, ThrowOnError, "fields">;
|
|
509
|
+
/**
|
|
510
|
+
* Create service event
|
|
511
|
+
*
|
|
512
|
+
* **Required scope:**
|
|
513
|
+
*
|
|
514
|
+
* `assets.items.service_events:create`
|
|
515
|
+
*
|
|
516
|
+
*/
|
|
517
|
+
static createServiceEvent<ThrowOnError extends boolean = false>(options: Options<CreateServiceEventData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateServiceEventResponses, CreateServiceEventErrors, ThrowOnError, "fields">;
|
|
518
|
+
/**
|
|
519
|
+
* Delete service event
|
|
520
|
+
*
|
|
521
|
+
* **Required scope:**
|
|
522
|
+
*
|
|
523
|
+
* `assets.items.service_events:delete`
|
|
524
|
+
*
|
|
525
|
+
*/
|
|
526
|
+
static deleteServiceEvent<ThrowOnError extends boolean = false>(options: Options<DeleteServiceEventData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteServiceEventResponses, DeleteServiceEventErrors, ThrowOnError, "fields">;
|
|
527
|
+
/**
|
|
528
|
+
* Show service event
|
|
529
|
+
*
|
|
530
|
+
* **Required scope:**
|
|
531
|
+
*
|
|
532
|
+
* `assets.items.service_events:read`
|
|
533
|
+
*
|
|
534
|
+
*/
|
|
535
|
+
static getServiceEvent<ThrowOnError extends boolean = false>(options: Options<GetServiceEventData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetServiceEventResponses, GetServiceEventErrors, ThrowOnError, "fields">;
|
|
536
|
+
/**
|
|
537
|
+
* Update service event
|
|
538
|
+
*
|
|
539
|
+
* **Required scope:**
|
|
540
|
+
*
|
|
541
|
+
* `assets.items.service_events:update`
|
|
542
|
+
*
|
|
543
|
+
*/
|
|
544
|
+
static updateServiceEvent<ThrowOnError extends boolean = false>(options: Options<UpdateServiceEventData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateServiceEventResponses, UpdateServiceEventErrors, ThrowOnError, "fields">;
|
|
545
|
+
/**
|
|
546
|
+
* List form assignments
|
|
547
|
+
*
|
|
548
|
+
* **Required scope:**
|
|
549
|
+
*
|
|
550
|
+
* `assets.items.form_assignment_tasks:read`
|
|
551
|
+
*
|
|
552
|
+
*/
|
|
553
|
+
static listFormAssignmentTasks<ThrowOnError extends boolean = false>(options: Options<ListFormAssignmentTasksData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListFormAssignmentTasksResponses, ListFormAssignmentTasksErrors, ThrowOnError, "fields">;
|
|
554
|
+
/**
|
|
555
|
+
* Create form assignment
|
|
556
|
+
*
|
|
557
|
+
* **Required scope:**
|
|
558
|
+
*
|
|
559
|
+
* `assets.items.form_assignment_tasks:create`
|
|
560
|
+
*
|
|
561
|
+
*/
|
|
562
|
+
static createItemFormAssignmentTask<ThrowOnError extends boolean = false>(options: Options<CreateItemFormAssignmentTaskData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateItemFormAssignmentTaskResponses, CreateItemFormAssignmentTaskErrors, ThrowOnError, "fields">;
|
|
563
|
+
/**
|
|
564
|
+
* Show form assignment
|
|
565
|
+
*
|
|
566
|
+
* **Required scope:**
|
|
567
|
+
*
|
|
568
|
+
* `assets.items.form_assignment_tasks:read`
|
|
569
|
+
*
|
|
570
|
+
*/
|
|
571
|
+
static getFormAssignmentTask<ThrowOnError extends boolean = false>(options: Options<GetFormAssignmentTaskData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetFormAssignmentTaskResponses, GetFormAssignmentTaskErrors, ThrowOnError, "fields">;
|
|
572
|
+
/**
|
|
573
|
+
* Update form assignment
|
|
574
|
+
*
|
|
575
|
+
* **Required scope:**
|
|
576
|
+
*
|
|
577
|
+
* `assets.items.form_assignment_tasks:update`
|
|
578
|
+
*
|
|
579
|
+
*/
|
|
580
|
+
static updateFormAssignmentTask<ThrowOnError extends boolean = false>(options: Options<UpdateFormAssignmentTaskData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateFormAssignmentTaskResponses, UpdateFormAssignmentTaskErrors, ThrowOnError, "fields">;
|
|
581
|
+
/**
|
|
582
|
+
* List documents
|
|
583
|
+
*
|
|
584
|
+
* **Required scope:**
|
|
585
|
+
*
|
|
586
|
+
* `assets.items.documents:read`
|
|
587
|
+
*
|
|
588
|
+
*/
|
|
589
|
+
static listDocuments<ThrowOnError extends boolean = false>(options: Options<ListDocumentsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListDocumentsResponses, ListDocumentsErrors, ThrowOnError, "fields">;
|
|
590
|
+
/**
|
|
591
|
+
* Create document
|
|
592
|
+
*
|
|
593
|
+
* **Required scope:**
|
|
594
|
+
*
|
|
595
|
+
* `assets.items.documents:create`
|
|
596
|
+
*
|
|
597
|
+
*/
|
|
598
|
+
static createDocument<ThrowOnError extends boolean = false>(options: Options<CreateDocumentData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateDocumentResponses, CreateDocumentErrors, ThrowOnError, "fields">;
|
|
599
|
+
/**
|
|
600
|
+
* Delete document
|
|
601
|
+
*
|
|
602
|
+
* **Required scope:**
|
|
603
|
+
*
|
|
604
|
+
* `assets.items.documents:delete`
|
|
605
|
+
*
|
|
606
|
+
*/
|
|
607
|
+
static deleteDocument<ThrowOnError extends boolean = false>(options: Options<DeleteDocumentData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteDocumentResponses, DeleteDocumentErrors, ThrowOnError, "fields">;
|
|
608
|
+
/**
|
|
609
|
+
* Show document
|
|
610
|
+
*
|
|
611
|
+
* **Required scope:**
|
|
612
|
+
*
|
|
613
|
+
* `assets.items.documents:read`
|
|
614
|
+
*
|
|
615
|
+
*/
|
|
616
|
+
static getDocument<ThrowOnError extends boolean = false>(options: Options<GetDocumentData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetDocumentResponses, GetDocumentErrors, ThrowOnError, "fields">;
|
|
617
|
+
/**
|
|
618
|
+
* Update document
|
|
619
|
+
*
|
|
620
|
+
* **Required scope:**
|
|
621
|
+
*
|
|
622
|
+
* `assets.items.documents:update`
|
|
623
|
+
*
|
|
624
|
+
*/
|
|
625
|
+
static updateDocument<ThrowOnError extends boolean = false>(options: Options<UpdateDocumentData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateDocumentResponses, UpdateDocumentErrors, ThrowOnError, "fields">;
|
|
626
|
+
/**
|
|
627
|
+
* List document versions
|
|
628
|
+
*
|
|
629
|
+
* **Required scope:**
|
|
630
|
+
*
|
|
631
|
+
* `assets.items.documents.versions:read`
|
|
632
|
+
*
|
|
633
|
+
*/
|
|
634
|
+
static listVersions<ThrowOnError extends boolean = false>(options: Options<ListVersionsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListVersionsResponses, ListVersionsErrors, ThrowOnError, "fields">;
|
|
635
|
+
}
|
|
636
|
+
export declare class AssetsProducts {
|
|
637
|
+
/**
|
|
638
|
+
* List products
|
|
639
|
+
*
|
|
640
|
+
* **Required scope:**
|
|
641
|
+
*
|
|
642
|
+
* `assets.products:read`
|
|
643
|
+
*
|
|
644
|
+
*/
|
|
645
|
+
static listProducts<ThrowOnError extends boolean = false>(options?: Options<ListProductsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListProductsResponses, ListProductsErrors, ThrowOnError, "fields">;
|
|
646
|
+
/**
|
|
647
|
+
* Create Product
|
|
648
|
+
*
|
|
649
|
+
* **Required scope:**
|
|
650
|
+
*
|
|
651
|
+
* `assets.products:create`
|
|
652
|
+
*
|
|
653
|
+
*/
|
|
654
|
+
static createProduct<ThrowOnError extends boolean = false>(options: Options<CreateProductData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateProductResponses, CreateProductErrors, ThrowOnError, "fields">;
|
|
655
|
+
/**
|
|
656
|
+
* Delete Product
|
|
657
|
+
*
|
|
658
|
+
* **Required scope:**
|
|
659
|
+
*
|
|
660
|
+
* `assets.products:delete`
|
|
661
|
+
*
|
|
662
|
+
*/
|
|
663
|
+
static deleteProduct<ThrowOnError extends boolean = false>(options: Options<DeleteProductData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteProductResponses, DeleteProductErrors, ThrowOnError, "fields">;
|
|
664
|
+
/**
|
|
665
|
+
* Show product
|
|
666
|
+
*
|
|
667
|
+
* **Required scope:**
|
|
668
|
+
*
|
|
669
|
+
* `assets.products:read`
|
|
670
|
+
*
|
|
671
|
+
*/
|
|
672
|
+
static getProduct<ThrowOnError extends boolean = false>(options: Options<GetProductData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetProductResponses, GetProductErrors, ThrowOnError, "fields">;
|
|
673
|
+
/**
|
|
674
|
+
* Update Product
|
|
675
|
+
*
|
|
676
|
+
* **Required scope:**
|
|
677
|
+
*
|
|
678
|
+
* `assets.products:update`
|
|
679
|
+
*
|
|
680
|
+
*/
|
|
681
|
+
static updateProduct<ThrowOnError extends boolean = false>(options: Options<UpdateProductData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateProductResponses, UpdateProductErrors, ThrowOnError, "fields">;
|
|
682
|
+
/**
|
|
683
|
+
* Adjust inventory on-hand count
|
|
684
|
+
*
|
|
685
|
+
* **Required scope:**
|
|
686
|
+
*
|
|
687
|
+
* `assets.products.adjustments:create`
|
|
688
|
+
*
|
|
689
|
+
*/
|
|
690
|
+
static adjustProductInventory<ThrowOnError extends boolean = false>(options: Options<AdjustProductInventoryData, ThrowOnError>): import("./client/types.gen.js").RequestResult<AdjustProductInventoryResponses, AdjustProductInventoryErrors, ThrowOnError, "fields">;
|
|
691
|
+
/**
|
|
692
|
+
* Restock bulk product at site
|
|
693
|
+
*
|
|
694
|
+
* **Required scope:**
|
|
695
|
+
*
|
|
696
|
+
* `assets.products.restocks:create`
|
|
697
|
+
*
|
|
698
|
+
*/
|
|
699
|
+
static restockProduct<ThrowOnError extends boolean = false>(options: Options<RestockProductData, ThrowOnError>): import("./client/types.gen.js").RequestResult<RestockProductResponses, RestockProductErrors, ThrowOnError, "fields">;
|
|
700
|
+
/**
|
|
701
|
+
* List service schedule templates
|
|
702
|
+
*
|
|
703
|
+
* **Required scope:**
|
|
704
|
+
*
|
|
705
|
+
* `assets.products.service_schedule_templates:read`
|
|
706
|
+
*
|
|
707
|
+
*/
|
|
708
|
+
static listServiceScheduleTemplates<ThrowOnError extends boolean = false>(options: Options<ListServiceScheduleTemplatesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListServiceScheduleTemplatesResponses, ListServiceScheduleTemplatesErrors, ThrowOnError, "fields">;
|
|
709
|
+
/**
|
|
710
|
+
* Create service schedule template
|
|
711
|
+
*
|
|
712
|
+
* **Required scope:**
|
|
713
|
+
*
|
|
714
|
+
* `assets.products.service_schedule_templates:create`
|
|
715
|
+
*
|
|
716
|
+
*/
|
|
717
|
+
static createServiceScheduleTemplate<ThrowOnError extends boolean = false>(options: Options<CreateServiceScheduleTemplateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateServiceScheduleTemplateResponses, CreateServiceScheduleTemplateErrors, ThrowOnError, "fields">;
|
|
718
|
+
/**
|
|
719
|
+
* Delete service schedule template
|
|
720
|
+
*
|
|
721
|
+
* **Required scope:**
|
|
722
|
+
*
|
|
723
|
+
* `assets.products.service_schedule_templates:delete`
|
|
724
|
+
*
|
|
725
|
+
*/
|
|
726
|
+
static deleteServiceScheduleTemplate<ThrowOnError extends boolean = false>(options: Options<DeleteServiceScheduleTemplateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteServiceScheduleTemplateResponses, DeleteServiceScheduleTemplateErrors, ThrowOnError, "fields">;
|
|
727
|
+
/**
|
|
728
|
+
* Show service schedule template
|
|
729
|
+
*
|
|
730
|
+
* **Required scope:**
|
|
731
|
+
*
|
|
732
|
+
* `assets.products.service_schedule_templates:read`
|
|
733
|
+
*
|
|
734
|
+
*/
|
|
735
|
+
static getServiceScheduleTemplate<ThrowOnError extends boolean = false>(options: Options<GetServiceScheduleTemplateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetServiceScheduleTemplateResponses, GetServiceScheduleTemplateErrors, ThrowOnError, "fields">;
|
|
736
|
+
/**
|
|
737
|
+
* Update service schedule template
|
|
738
|
+
*
|
|
739
|
+
* **Required scope:**
|
|
740
|
+
*
|
|
741
|
+
* `assets.products.service_schedule_templates:update`
|
|
742
|
+
*
|
|
743
|
+
*/
|
|
744
|
+
static updateServiceScheduleTemplate<ThrowOnError extends boolean = false>(options: Options<UpdateServiceScheduleTemplateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateServiceScheduleTemplateResponses, UpdateServiceScheduleTemplateErrors, ThrowOnError, "fields">;
|
|
745
|
+
/**
|
|
746
|
+
* Seed template schedules onto items
|
|
747
|
+
*
|
|
748
|
+
* **Required scope:**
|
|
749
|
+
*
|
|
750
|
+
* `assets.products.service_schedule_templates.seeds:create`
|
|
751
|
+
*
|
|
752
|
+
*/
|
|
753
|
+
static seedServiceScheduleTemplate<ThrowOnError extends boolean = false>(options: Options<SeedServiceScheduleTemplateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SeedServiceScheduleTemplateResponses, SeedServiceScheduleTemplateErrors, ThrowOnError, "fields">;
|
|
754
|
+
/**
|
|
755
|
+
* Sync blocked schedules to template cadence
|
|
756
|
+
*
|
|
757
|
+
* **Required scope:**
|
|
758
|
+
*
|
|
759
|
+
* `assets.products.service_schedule_templates.syncs:create`
|
|
760
|
+
*
|
|
761
|
+
*/
|
|
762
|
+
static syncServiceScheduleTemplate<ThrowOnError extends boolean = false>(options: Options<SyncServiceScheduleTemplateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SyncServiceScheduleTemplateResponses, SyncServiceScheduleTemplateErrors, ThrowOnError, "fields">;
|
|
763
|
+
}
|
|
764
|
+
export declare class AssetsSites {
|
|
765
|
+
/**
|
|
766
|
+
* List sites
|
|
767
|
+
*
|
|
768
|
+
* **Required scope:**
|
|
769
|
+
*
|
|
770
|
+
* `assets.sites:read`
|
|
771
|
+
*
|
|
772
|
+
*/
|
|
773
|
+
static listAssetsSites<ThrowOnError extends boolean = false>(options?: Options<ListAssetsSitesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListAssetsSitesResponses, ListAssetsSitesErrors, ThrowOnError, "fields">;
|
|
774
|
+
/**
|
|
775
|
+
* Create Site
|
|
776
|
+
*
|
|
777
|
+
* **Required scope:**
|
|
778
|
+
*
|
|
779
|
+
* `assets.sites:create`
|
|
780
|
+
*
|
|
781
|
+
*/
|
|
782
|
+
static createSite<ThrowOnError extends boolean = false>(options: Options<CreateSiteData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateSiteResponses, CreateSiteErrors, ThrowOnError, "fields">;
|
|
783
|
+
/**
|
|
784
|
+
* Delete Site
|
|
785
|
+
*
|
|
786
|
+
* **Required scope:**
|
|
787
|
+
*
|
|
788
|
+
* `assets.sites:delete`
|
|
789
|
+
*
|
|
790
|
+
*/
|
|
791
|
+
static deleteSite<ThrowOnError extends boolean = false>(options: Options<DeleteSiteData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteSiteResponses, DeleteSiteErrors, ThrowOnError, "fields">;
|
|
792
|
+
/**
|
|
793
|
+
* Show site
|
|
794
|
+
*
|
|
795
|
+
* **Required scope:**
|
|
796
|
+
*
|
|
797
|
+
* `assets.sites:read`
|
|
798
|
+
*
|
|
799
|
+
*/
|
|
800
|
+
static getAssetsSite<ThrowOnError extends boolean = false>(options: Options<GetAssetsSiteData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetAssetsSiteResponses, GetAssetsSiteErrors, ThrowOnError, "fields">;
|
|
801
|
+
/**
|
|
802
|
+
* Update Site
|
|
803
|
+
*
|
|
804
|
+
* **Required scope:**
|
|
805
|
+
*
|
|
806
|
+
* `assets.sites:update`
|
|
807
|
+
*
|
|
808
|
+
*/
|
|
809
|
+
static updateSite<ThrowOnError extends boolean = false>(options: Options<UpdateSiteData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateSiteResponses, UpdateSiteErrors, ThrowOnError, "fields">;
|
|
810
|
+
}
|
|
811
|
+
export declare class AssetsTransfers {
|
|
812
|
+
/**
|
|
813
|
+
* List transfers
|
|
814
|
+
*
|
|
815
|
+
* **Required scope:**
|
|
816
|
+
*
|
|
817
|
+
* `assets.transfers:read`
|
|
818
|
+
*
|
|
819
|
+
*/
|
|
820
|
+
static listTransfers<ThrowOnError extends boolean = false>(options?: Options<ListTransfersData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListTransfersResponses, ListTransfersErrors, ThrowOnError, "fields">;
|
|
821
|
+
/**
|
|
822
|
+
* Create transfer (site-to-site)
|
|
823
|
+
*
|
|
824
|
+
* **Required scope:**
|
|
825
|
+
*
|
|
826
|
+
* `assets.transfers:create`
|
|
827
|
+
*
|
|
828
|
+
*/
|
|
829
|
+
static createTransfer<ThrowOnError extends boolean = false>(options: Options<CreateTransferData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateTransferResponses, CreateTransferErrors, ThrowOnError, "fields">;
|
|
830
|
+
/**
|
|
831
|
+
* Show transfer
|
|
832
|
+
*
|
|
833
|
+
* **Required scope:**
|
|
834
|
+
*
|
|
835
|
+
* `assets.transfers:read`
|
|
836
|
+
*
|
|
837
|
+
*/
|
|
838
|
+
static getTransfer<ThrowOnError extends boolean = false>(options: Options<GetTransferData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetTransferResponses, GetTransferErrors, ThrowOnError, "fields">;
|
|
839
|
+
}
|
|
840
|
+
export declare class AssetsVendors {
|
|
841
|
+
/**
|
|
842
|
+
* List vendors
|
|
843
|
+
*
|
|
844
|
+
* **Required scope:**
|
|
845
|
+
*
|
|
846
|
+
* `assets.vendors:read`
|
|
847
|
+
*
|
|
848
|
+
*/
|
|
849
|
+
static listVendors<ThrowOnError extends boolean = false>(options?: Options<ListVendorsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListVendorsResponses, ListVendorsErrors, ThrowOnError, "fields">;
|
|
850
|
+
/**
|
|
851
|
+
* Create vendor
|
|
852
|
+
*
|
|
853
|
+
* **Required scope:**
|
|
854
|
+
*
|
|
855
|
+
* `assets.vendors:create`
|
|
856
|
+
*
|
|
857
|
+
*/
|
|
858
|
+
static createVendor<ThrowOnError extends boolean = false>(options: Options<CreateVendorData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateVendorResponses, CreateVendorErrors, ThrowOnError, "fields">;
|
|
859
|
+
/**
|
|
860
|
+
* Delete vendor
|
|
861
|
+
*
|
|
862
|
+
* **Required scope:**
|
|
863
|
+
*
|
|
864
|
+
* `assets.vendors:delete`
|
|
865
|
+
*
|
|
866
|
+
*/
|
|
867
|
+
static deleteVendor<ThrowOnError extends boolean = false>(options: Options<DeleteVendorData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteVendorResponses, DeleteVendorErrors, ThrowOnError, "fields">;
|
|
868
|
+
/**
|
|
869
|
+
* Show vendor
|
|
870
|
+
*
|
|
871
|
+
* **Required scope:**
|
|
872
|
+
*
|
|
873
|
+
* `assets.vendors:read`
|
|
874
|
+
*
|
|
875
|
+
*/
|
|
876
|
+
static getVendor<ThrowOnError extends boolean = false>(options: Options<GetVendorData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetVendorResponses, GetVendorErrors, ThrowOnError, "fields">;
|
|
877
|
+
/**
|
|
878
|
+
* Update vendor
|
|
879
|
+
*
|
|
880
|
+
* **Required scope:**
|
|
881
|
+
*
|
|
882
|
+
* `assets.vendors:update`
|
|
883
|
+
*
|
|
884
|
+
*/
|
|
885
|
+
static updateVendor<ThrowOnError extends boolean = false>(options: Options<UpdateVendorData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateVendorResponses, UpdateVendorErrors, ThrowOnError, "fields">;
|
|
886
|
+
}
|
|
887
|
+
export declare class AtlasFeatures {
|
|
888
|
+
/**
|
|
889
|
+
* List features
|
|
890
|
+
*
|
|
891
|
+
* **Required scope:**
|
|
892
|
+
*
|
|
893
|
+
* `atlas.features:read`
|
|
894
|
+
*
|
|
895
|
+
*/
|
|
896
|
+
static listFeatures<ThrowOnError extends boolean = false>(options?: Options<ListFeaturesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListFeaturesResponses, ListFeaturesErrors, ThrowOnError, "fields">;
|
|
897
|
+
/**
|
|
898
|
+
* Show feature
|
|
899
|
+
*
|
|
900
|
+
* **Required scope:**
|
|
901
|
+
*
|
|
902
|
+
* `atlas.features:read`
|
|
903
|
+
*
|
|
904
|
+
*/
|
|
905
|
+
static getFeature<ThrowOnError extends boolean = false>(options: Options<GetFeatureData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetFeatureResponses, GetFeatureErrors, ThrowOnError, "fields">;
|
|
906
|
+
}
|
|
907
|
+
export declare class AtlasSites {
|
|
908
|
+
/**
|
|
909
|
+
* List sites
|
|
910
|
+
*
|
|
911
|
+
* **Required scope:**
|
|
912
|
+
*
|
|
913
|
+
* `atlas.sites:read`
|
|
914
|
+
*
|
|
915
|
+
*/
|
|
916
|
+
static listAtlasSites<ThrowOnError extends boolean = false>(options?: Options<ListAtlasSitesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListAtlasSitesResponses, ListAtlasSitesErrors, ThrowOnError, "fields">;
|
|
917
|
+
/**
|
|
918
|
+
* Show site
|
|
919
|
+
*
|
|
920
|
+
* **Required scope:**
|
|
921
|
+
*
|
|
922
|
+
* `atlas.sites:read`
|
|
923
|
+
*
|
|
924
|
+
*/
|
|
925
|
+
static getAtlasSite<ThrowOnError extends boolean = false>(options: Options<GetAtlasSiteData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetAtlasSiteResponses, GetAtlasSiteErrors, ThrowOnError, "fields">;
|
|
926
|
+
}
|
|
927
|
+
export declare class Billing {
|
|
928
|
+
/**
|
|
929
|
+
* List PWA user counts
|
|
930
|
+
*
|
|
931
|
+
* **Required scope:**
|
|
932
|
+
*
|
|
933
|
+
* `billing.pwa_user_counts_by_project_by_months:read`
|
|
934
|
+
*
|
|
935
|
+
*/
|
|
936
|
+
static listPwaUserCountsByProjectByMonths<ThrowOnError extends boolean = false>(options?: Options<ListPwaUserCountsByProjectByMonthsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListPwaUserCountsByProjectByMonthsResponses, ListPwaUserCountsByProjectByMonthsErrors, ThrowOnError, "fields">;
|
|
937
|
+
}
|
|
938
|
+
export declare class CertificationPackages {
|
|
939
|
+
/**
|
|
940
|
+
* List certification packages
|
|
941
|
+
*
|
|
942
|
+
* **Required scope:**
|
|
943
|
+
*
|
|
944
|
+
* `certifications.packages:read`
|
|
945
|
+
*
|
|
946
|
+
*/
|
|
947
|
+
static listPackages<ThrowOnError extends boolean = false>(options?: Options<ListPackagesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListPackagesResponses, ListPackagesErrors, ThrowOnError, "fields">;
|
|
948
|
+
/**
|
|
949
|
+
* Create certification package
|
|
950
|
+
*
|
|
951
|
+
* **Required scope:**
|
|
952
|
+
*
|
|
953
|
+
* `certifications.packages:create`
|
|
954
|
+
*
|
|
955
|
+
*/
|
|
956
|
+
static createPackage<ThrowOnError extends boolean = false>(options?: Options<CreatePackageData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreatePackageResponses, CreatePackageErrors, ThrowOnError, "fields">;
|
|
957
|
+
/**
|
|
958
|
+
* Delete certification package
|
|
959
|
+
*
|
|
960
|
+
* **Required scope:**
|
|
961
|
+
*
|
|
962
|
+
* `certifications.packages:delete`
|
|
963
|
+
*
|
|
964
|
+
*/
|
|
965
|
+
static deletePackage<ThrowOnError extends boolean = false>(options: Options<DeletePackageData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeletePackageResponses, DeletePackageErrors, ThrowOnError, "fields">;
|
|
966
|
+
/**
|
|
967
|
+
* Show certification package
|
|
968
|
+
*
|
|
969
|
+
* **Required scope:**
|
|
970
|
+
*
|
|
971
|
+
* `certifications.packages:read`
|
|
972
|
+
*
|
|
973
|
+
*/
|
|
974
|
+
static getPackage<ThrowOnError extends boolean = false>(options: Options<GetPackageData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetPackageResponses, GetPackageErrors, ThrowOnError, "fields">;
|
|
975
|
+
/**
|
|
976
|
+
* Update certification package
|
|
977
|
+
*
|
|
978
|
+
* **Required scope:**
|
|
979
|
+
*
|
|
980
|
+
* `certifications.packages:update`
|
|
981
|
+
*
|
|
982
|
+
*/
|
|
983
|
+
static updatePackage<ThrowOnError extends boolean = false>(options: Options<UpdatePackageData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdatePackageResponses, UpdatePackageErrors, ThrowOnError, "fields">;
|
|
984
|
+
}
|
|
985
|
+
export declare class UserCertifications {
|
|
986
|
+
/**
|
|
987
|
+
* List user certifications
|
|
988
|
+
*
|
|
989
|
+
* **Required scope:**
|
|
990
|
+
*
|
|
991
|
+
* `certifications.user_certifications:read`
|
|
992
|
+
*
|
|
993
|
+
*/
|
|
994
|
+
static listUserCertifications<ThrowOnError extends boolean = false>(options?: Options<ListUserCertificationsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListUserCertificationsResponses, ListUserCertificationsErrors, ThrowOnError, "fields">;
|
|
995
|
+
/**
|
|
996
|
+
* Create user certification
|
|
997
|
+
*
|
|
998
|
+
* **Required scope:**
|
|
999
|
+
*
|
|
1000
|
+
* `certifications.user_certifications:create`
|
|
1001
|
+
*
|
|
1002
|
+
*/
|
|
1003
|
+
static createUserCertification<ThrowOnError extends boolean = false>(options?: Options<CreateUserCertificationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateUserCertificationResponses, CreateUserCertificationErrors, ThrowOnError, "fields">;
|
|
1004
|
+
/**
|
|
1005
|
+
* Delete user certification
|
|
1006
|
+
*
|
|
1007
|
+
* **Required scope:**
|
|
1008
|
+
*
|
|
1009
|
+
* `certifications.user_certifications:delete`
|
|
1010
|
+
*
|
|
1011
|
+
*/
|
|
1012
|
+
static deleteUserCertification<ThrowOnError extends boolean = false>(options: Options<DeleteUserCertificationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteUserCertificationResponses, DeleteUserCertificationErrors, ThrowOnError, "fields">;
|
|
1013
|
+
/**
|
|
1014
|
+
* Show user certification
|
|
1015
|
+
*
|
|
1016
|
+
* **Required scope:**
|
|
1017
|
+
*
|
|
1018
|
+
* `certifications.user_certifications:read`
|
|
1019
|
+
*
|
|
1020
|
+
*/
|
|
1021
|
+
static getUserCertification<ThrowOnError extends boolean = false>(options: Options<GetUserCertificationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetUserCertificationResponses, GetUserCertificationErrors, ThrowOnError, "fields">;
|
|
1022
|
+
/**
|
|
1023
|
+
* Update user certification
|
|
1024
|
+
*
|
|
1025
|
+
* **Required scope:**
|
|
1026
|
+
*
|
|
1027
|
+
* `certifications.user_certifications:update`
|
|
1028
|
+
*
|
|
1029
|
+
*/
|
|
1030
|
+
static updateUserCertification<ThrowOnError extends boolean = false>(options: Options<UpdateUserCertificationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateUserCertificationResponses, UpdateUserCertificationErrors, ThrowOnError, "fields">;
|
|
1031
|
+
}
|
|
1032
|
+
export declare class Certifications {
|
|
1033
|
+
/**
|
|
1034
|
+
* List certifications
|
|
1035
|
+
*
|
|
1036
|
+
* **Required scope:**
|
|
1037
|
+
*
|
|
1038
|
+
* `certifications:read`
|
|
1039
|
+
*
|
|
1040
|
+
*/
|
|
1041
|
+
static listCertifications<ThrowOnError extends boolean = false>(options?: Options<ListCertificationsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListCertificationsResponses, ListCertificationsErrors, ThrowOnError, "fields">;
|
|
1042
|
+
/**
|
|
1043
|
+
* Create certification
|
|
1044
|
+
*
|
|
1045
|
+
* **Required scope:**
|
|
1046
|
+
*
|
|
1047
|
+
* `certifications:create`
|
|
1048
|
+
*
|
|
1049
|
+
*/
|
|
1050
|
+
static createCertification<ThrowOnError extends boolean = false>(options?: Options<CreateCertificationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateCertificationResponses, CreateCertificationErrors, ThrowOnError, "fields">;
|
|
1051
|
+
/**
|
|
1052
|
+
* Delete certification
|
|
1053
|
+
*
|
|
1054
|
+
* **Required scope:**
|
|
1055
|
+
*
|
|
1056
|
+
* `certifications:delete`
|
|
1057
|
+
*
|
|
1058
|
+
*/
|
|
1059
|
+
static deleteCertification<ThrowOnError extends boolean = false>(options: Options<DeleteCertificationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteCertificationResponses, DeleteCertificationErrors, ThrowOnError, "fields">;
|
|
1060
|
+
/**
|
|
1061
|
+
* Show certification
|
|
1062
|
+
*
|
|
1063
|
+
* **Required scope:**
|
|
1064
|
+
*
|
|
1065
|
+
* `certifications:read`
|
|
1066
|
+
*
|
|
1067
|
+
*/
|
|
1068
|
+
static getCertification<ThrowOnError extends boolean = false>(options: Options<GetCertificationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetCertificationResponses, GetCertificationErrors, ThrowOnError, "fields">;
|
|
1069
|
+
/**
|
|
1070
|
+
* Update certification
|
|
1071
|
+
*
|
|
1072
|
+
* **Required scope:**
|
|
1073
|
+
*
|
|
1074
|
+
* `certifications:update`
|
|
1075
|
+
*
|
|
1076
|
+
*/
|
|
1077
|
+
static updateCertification<ThrowOnError extends boolean = false>(options: Options<UpdateCertificationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateCertificationResponses, UpdateCertificationErrors, ThrowOnError, "fields">;
|
|
1078
|
+
}
|
|
1079
|
+
export declare class CompaniesDepartments {
|
|
1080
|
+
/**
|
|
1081
|
+
* List departments
|
|
1082
|
+
*
|
|
1083
|
+
* **Required scope:**
|
|
1084
|
+
*
|
|
1085
|
+
* `companies.departments:read`
|
|
1086
|
+
*
|
|
1087
|
+
*/
|
|
1088
|
+
static listDepartments<ThrowOnError extends boolean = false>(options?: Options<ListDepartmentsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListDepartmentsResponses, ListDepartmentsErrors, ThrowOnError, "fields">;
|
|
1089
|
+
/**
|
|
1090
|
+
* Create department
|
|
1091
|
+
*
|
|
1092
|
+
* **Required scope:**
|
|
1093
|
+
*
|
|
1094
|
+
* `companies.departments:create`
|
|
1095
|
+
*
|
|
1096
|
+
*/
|
|
1097
|
+
static createDepartment<ThrowOnError extends boolean = false>(options: Options<CreateDepartmentData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateDepartmentResponses, CreateDepartmentErrors, ThrowOnError, "fields">;
|
|
1098
|
+
/**
|
|
1099
|
+
* Update department
|
|
1100
|
+
*
|
|
1101
|
+
* **Required scope:**
|
|
1102
|
+
*
|
|
1103
|
+
* `companies.departments:update`
|
|
1104
|
+
*
|
|
1105
|
+
*/
|
|
1106
|
+
static updateDepartment<ThrowOnError extends boolean = false>(options: Options<UpdateDepartmentData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateDepartmentResponses, UpdateDepartmentErrors, ThrowOnError, "fields">;
|
|
1107
|
+
}
|
|
1108
|
+
export declare class Companies {
|
|
1109
|
+
/**
|
|
1110
|
+
* List Companies
|
|
1111
|
+
*
|
|
1112
|
+
* **Required scope:**
|
|
1113
|
+
*
|
|
1114
|
+
* `companies:read`
|
|
1115
|
+
*
|
|
1116
|
+
*/
|
|
1117
|
+
static listCompanies<ThrowOnError extends boolean = false>(options?: Options<ListCompaniesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListCompaniesResponses, ListCompaniesErrors, ThrowOnError, "fields">;
|
|
1118
|
+
/**
|
|
1119
|
+
* Show Company
|
|
1120
|
+
*
|
|
1121
|
+
* **Required scope:**
|
|
1122
|
+
*
|
|
1123
|
+
* `companies:read`
|
|
1124
|
+
*
|
|
1125
|
+
*/
|
|
1126
|
+
static getCompany<ThrowOnError extends boolean = false>(options: Options<GetCompanyData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetCompanyResponses, GetCompanyErrors, ThrowOnError, "fields">;
|
|
1127
|
+
}
|
|
1128
|
+
export declare class ComplianceChecks {
|
|
1129
|
+
/**
|
|
1130
|
+
* List compliance checks
|
|
1131
|
+
*
|
|
1132
|
+
* **Required scope:**
|
|
1133
|
+
*
|
|
1134
|
+
* `compliance.checks:read`
|
|
1135
|
+
*
|
|
1136
|
+
*/
|
|
1137
|
+
static listChecks<ThrowOnError extends boolean = false>(options?: Options<ListChecksData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListChecksResponses, ListChecksErrors, ThrowOnError, "fields">;
|
|
1138
|
+
/**
|
|
1139
|
+
* Show compliance check
|
|
1140
|
+
*
|
|
1141
|
+
* **Required scope:**
|
|
1142
|
+
*
|
|
1143
|
+
* `compliance.checks:read`
|
|
1144
|
+
*
|
|
1145
|
+
*/
|
|
1146
|
+
static getCheck<ThrowOnError extends boolean = false>(options: Options<GetCheckData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetCheckResponses, GetCheckErrors, ThrowOnError, "fields">;
|
|
1147
|
+
/**
|
|
1148
|
+
* Update compliance check
|
|
1149
|
+
*
|
|
1150
|
+
* **Required scope:**
|
|
1151
|
+
*
|
|
1152
|
+
* `compliance.checks:update`
|
|
1153
|
+
*
|
|
1154
|
+
*/
|
|
1155
|
+
static updateCheck<ThrowOnError extends boolean = false>(options: Options<UpdateCheckData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateCheckResponses, UpdateCheckErrors, ThrowOnError, "fields">;
|
|
1156
|
+
}
|
|
1157
|
+
export declare class CustomFieldConfigurations {
|
|
1158
|
+
/**
|
|
1159
|
+
* List custom field configurations
|
|
1160
|
+
*
|
|
1161
|
+
* **Required scope:**
|
|
1162
|
+
*
|
|
1163
|
+
* `custom_field_configs:read`
|
|
1164
|
+
*
|
|
1165
|
+
*/
|
|
1166
|
+
static listCustomFieldConfigs<ThrowOnError extends boolean = false>(options?: Options<ListCustomFieldConfigsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListCustomFieldConfigsResponses, ListCustomFieldConfigsErrors, ThrowOnError, "fields">;
|
|
1167
|
+
/**
|
|
1168
|
+
* Create custom field configuration
|
|
1169
|
+
*
|
|
1170
|
+
* **Required scope:**
|
|
1171
|
+
*
|
|
1172
|
+
* `custom_field_configs:create`
|
|
1173
|
+
*
|
|
1174
|
+
*/
|
|
1175
|
+
static createCustomFieldConfig<ThrowOnError extends boolean = false>(options?: Options<CreateCustomFieldConfigData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateCustomFieldConfigResponses, CreateCustomFieldConfigErrors, ThrowOnError, "fields">;
|
|
1176
|
+
/**
|
|
1177
|
+
* Delete custom field configuration
|
|
1178
|
+
*
|
|
1179
|
+
* **Required scope:**
|
|
1180
|
+
*
|
|
1181
|
+
* `custom_field_configs:delete`
|
|
1182
|
+
*
|
|
1183
|
+
*/
|
|
1184
|
+
static deleteCustomFieldConfig<ThrowOnError extends boolean = false>(options: Options<DeleteCustomFieldConfigData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteCustomFieldConfigResponses, DeleteCustomFieldConfigErrors, ThrowOnError, "fields">;
|
|
1185
|
+
/**
|
|
1186
|
+
* Show custom field configuration
|
|
1187
|
+
*
|
|
1188
|
+
* **Required scope:**
|
|
1189
|
+
*
|
|
1190
|
+
* `custom_field_configs:read`
|
|
1191
|
+
*
|
|
1192
|
+
*/
|
|
1193
|
+
static getCustomFieldConfig<ThrowOnError extends boolean = false>(options: Options<GetCustomFieldConfigData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetCustomFieldConfigResponses, GetCustomFieldConfigErrors, ThrowOnError, "fields">;
|
|
1194
|
+
/**
|
|
1195
|
+
* Update custom field configuration
|
|
1196
|
+
*
|
|
1197
|
+
* **Required scope:**
|
|
1198
|
+
*
|
|
1199
|
+
* `custom_field_configs:update`
|
|
1200
|
+
*
|
|
1201
|
+
*/
|
|
1202
|
+
static updateCustomFieldConfig<ThrowOnError extends boolean = false>(options: Options<UpdateCustomFieldConfigData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateCustomFieldConfigResponses, UpdateCustomFieldConfigErrors, ThrowOnError, "fields">;
|
|
1203
|
+
}
|
|
1204
|
+
export declare class DirectUploads {
|
|
1205
|
+
/**
|
|
1206
|
+
* Create direct upload
|
|
1207
|
+
*
|
|
1208
|
+
* **Required scope:**
|
|
1209
|
+
*
|
|
1210
|
+
* `direct_uploads:create`
|
|
1211
|
+
*
|
|
1212
|
+
*/
|
|
1213
|
+
static createDirectUpload<ThrowOnError extends boolean = false>(options: Options<CreateDirectUploadData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateDirectUploadResponses, CreateDirectUploadErrors, ThrowOnError, "fields">;
|
|
1214
|
+
}
|
|
1215
|
+
export declare class Forms {
|
|
1216
|
+
/**
|
|
1217
|
+
* List form definitions
|
|
1218
|
+
*
|
|
1219
|
+
* **Required scope:**
|
|
1220
|
+
*
|
|
1221
|
+
* `form_definitions:read`
|
|
1222
|
+
*
|
|
1223
|
+
*/
|
|
1224
|
+
static listFormDefinitions<ThrowOnError extends boolean = false>(options?: Options<ListFormDefinitionsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListFormDefinitionsResponses, ListFormDefinitionsErrors, ThrowOnError, "fields">;
|
|
1225
|
+
/**
|
|
1226
|
+
* List form submissions
|
|
1227
|
+
*
|
|
1228
|
+
* **Required scope:**
|
|
1229
|
+
*
|
|
1230
|
+
* `form_submissions:read`
|
|
1231
|
+
*
|
|
1232
|
+
*/
|
|
1233
|
+
static listFormSubmissions<ThrowOnError extends boolean = false>(options?: Options<ListFormSubmissionsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListFormSubmissionsResponses, ListFormSubmissionsErrors, ThrowOnError, "fields">;
|
|
1234
|
+
/**
|
|
1235
|
+
* Show form submission
|
|
1236
|
+
*
|
|
1237
|
+
* **Required scope:**
|
|
1238
|
+
*
|
|
1239
|
+
* `form_submissions:read`
|
|
1240
|
+
*
|
|
1241
|
+
*/
|
|
1242
|
+
static getFormSubmission<ThrowOnError extends boolean = false>(options: Options<GetFormSubmissionData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetFormSubmissionResponses, GetFormSubmissionErrors, ThrowOnError, "fields">;
|
|
1243
|
+
}
|
|
1244
|
+
export declare class Groups {
|
|
1245
|
+
/**
|
|
1246
|
+
* List users in group
|
|
1247
|
+
*
|
|
1248
|
+
* **Required scope:**
|
|
1249
|
+
*
|
|
1250
|
+
* `groups.users:read`
|
|
1251
|
+
*
|
|
1252
|
+
*/
|
|
1253
|
+
static listGroupUsers<ThrowOnError extends boolean = false>(options: Options<ListGroupUsersData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListGroupUsersResponses, ListGroupUsersErrors, ThrowOnError, "fields">;
|
|
1254
|
+
/**
|
|
1255
|
+
* Add users to group
|
|
1256
|
+
*
|
|
1257
|
+
* **Required scope:**
|
|
1258
|
+
*
|
|
1259
|
+
* `groups.users:create`
|
|
1260
|
+
*
|
|
1261
|
+
*/
|
|
1262
|
+
static addUsersToGroup<ThrowOnError extends boolean = false>(options: Options<AddUsersToGroupData, ThrowOnError>): import("./client/types.gen.js").RequestResult<AddUsersToGroupResponses, AddUsersToGroupErrors, ThrowOnError, "fields">;
|
|
1263
|
+
/**
|
|
1264
|
+
* Remove user from group
|
|
1265
|
+
*
|
|
1266
|
+
* **Required scope:**
|
|
1267
|
+
*
|
|
1268
|
+
* `groups.users:delete`
|
|
1269
|
+
*
|
|
1270
|
+
*/
|
|
1271
|
+
static removeUserFromGroup<ThrowOnError extends boolean = false>(options: Options<RemoveUserFromGroupData, ThrowOnError>): import("./client/types.gen.js").RequestResult<RemoveUserFromGroupResponses, RemoveUserFromGroupErrors, ThrowOnError, "fields">;
|
|
1272
|
+
/**
|
|
1273
|
+
* List groups
|
|
1274
|
+
*
|
|
1275
|
+
* **Required scope:**
|
|
1276
|
+
*
|
|
1277
|
+
* `groups:read`
|
|
1278
|
+
*
|
|
1279
|
+
*/
|
|
1280
|
+
static listGroups<ThrowOnError extends boolean = false>(options?: Options<ListGroupsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListGroupsResponses, ListGroupsErrors, ThrowOnError, "fields">;
|
|
1281
|
+
/**
|
|
1282
|
+
* Create group
|
|
1283
|
+
*
|
|
1284
|
+
* **Required scope:**
|
|
1285
|
+
*
|
|
1286
|
+
* `groups:create`
|
|
1287
|
+
*
|
|
1288
|
+
*/
|
|
1289
|
+
static createGroup<ThrowOnError extends boolean = false>(options?: Options<CreateGroupData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateGroupResponses, CreateGroupErrors, ThrowOnError, "fields">;
|
|
1290
|
+
/**
|
|
1291
|
+
* Delete group
|
|
1292
|
+
*
|
|
1293
|
+
* **Required scope:**
|
|
1294
|
+
*
|
|
1295
|
+
* `groups:delete`
|
|
1296
|
+
*
|
|
1297
|
+
*/
|
|
1298
|
+
static deleteGroup<ThrowOnError extends boolean = false>(options: Options<DeleteGroupData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteGroupResponses, DeleteGroupErrors, ThrowOnError, "fields">;
|
|
1299
|
+
/**
|
|
1300
|
+
* Show group
|
|
1301
|
+
*
|
|
1302
|
+
* **Required scope:**
|
|
1303
|
+
*
|
|
1304
|
+
* `groups:read`
|
|
1305
|
+
*
|
|
1306
|
+
*/
|
|
1307
|
+
static getGroup<ThrowOnError extends boolean = false>(options: Options<GetGroupData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetGroupResponses, GetGroupErrors, ThrowOnError, "fields">;
|
|
1308
|
+
/**
|
|
1309
|
+
* Update group
|
|
1310
|
+
*
|
|
1311
|
+
* **Required scope:**
|
|
1312
|
+
*
|
|
1313
|
+
* `groups:update`
|
|
1314
|
+
*
|
|
1315
|
+
*/
|
|
1316
|
+
static updateGroup<ThrowOnError extends boolean = false>(options: Options<UpdateGroupData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateGroupResponses, UpdateGroupErrors, ThrowOnError, "fields">;
|
|
1317
|
+
}
|
|
1318
|
+
export declare class ProductionJobScopePrices {
|
|
1319
|
+
/**
|
|
1320
|
+
* List production job scope prices
|
|
1321
|
+
*
|
|
1322
|
+
* **Required scope:**
|
|
1323
|
+
*
|
|
1324
|
+
* `jobs.production.job_scope_prices:read`
|
|
1325
|
+
*
|
|
1326
|
+
*/
|
|
1327
|
+
static listJobScopePrices<ThrowOnError extends boolean = false>(options: Options<ListJobScopePricesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListJobScopePricesResponses, ListJobScopePricesErrors, ThrowOnError, "fields">;
|
|
1328
|
+
/**
|
|
1329
|
+
* Create production job scope price
|
|
1330
|
+
*
|
|
1331
|
+
* **Required scope:**
|
|
1332
|
+
*
|
|
1333
|
+
* `jobs.production.job_scope_prices:create`
|
|
1334
|
+
*
|
|
1335
|
+
*/
|
|
1336
|
+
static createJobScopePrice<ThrowOnError extends boolean = false>(options: Options<CreateJobScopePriceData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateJobScopePriceResponses, CreateJobScopePriceErrors, ThrowOnError, "fields">;
|
|
1337
|
+
/**
|
|
1338
|
+
* Delete production job scope price
|
|
1339
|
+
*
|
|
1340
|
+
* **Required scope:**
|
|
1341
|
+
*
|
|
1342
|
+
* `jobs.production.job_scope_prices:delete`
|
|
1343
|
+
*
|
|
1344
|
+
*/
|
|
1345
|
+
static deleteJobScopePrice<ThrowOnError extends boolean = false>(options: Options<DeleteJobScopePriceData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteJobScopePriceResponses, DeleteJobScopePriceErrors, ThrowOnError, "fields">;
|
|
1346
|
+
/**
|
|
1347
|
+
* Show production job scope price
|
|
1348
|
+
*
|
|
1349
|
+
* **Required scope:**
|
|
1350
|
+
*
|
|
1351
|
+
* `jobs.production.job_scope_prices:read`
|
|
1352
|
+
*
|
|
1353
|
+
*/
|
|
1354
|
+
static getJobScopePrice<ThrowOnError extends boolean = false>(options: Options<GetJobScopePriceData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetJobScopePriceResponses, GetJobScopePriceErrors, ThrowOnError, "fields">;
|
|
1355
|
+
/**
|
|
1356
|
+
* Update production job scope price
|
|
1357
|
+
*
|
|
1358
|
+
* **Required scope:**
|
|
1359
|
+
*
|
|
1360
|
+
* `jobs.production.job_scope_prices:update`
|
|
1361
|
+
*
|
|
1362
|
+
*/
|
|
1363
|
+
static updateJobScopePrice<ThrowOnError extends boolean = false>(options: Options<UpdateJobScopePriceData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateJobScopePriceResponses, UpdateJobScopePriceErrors, ThrowOnError, "fields">;
|
|
1364
|
+
}
|
|
1365
|
+
export declare class PwaTrades {
|
|
1366
|
+
/**
|
|
1367
|
+
* Create Job Trade
|
|
1368
|
+
*
|
|
1369
|
+
* **Required scope:**
|
|
1370
|
+
*
|
|
1371
|
+
* `jobs.pwa.trades:create`
|
|
1372
|
+
*
|
|
1373
|
+
*/
|
|
1374
|
+
static createJobTrade<ThrowOnError extends boolean = false>(options: Options<CreateJobTradeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateJobTradeResponses, CreateJobTradeErrors, ThrowOnError, "fields">;
|
|
1375
|
+
/**
|
|
1376
|
+
* Create Project Trade
|
|
1377
|
+
*
|
|
1378
|
+
* **Required scope:**
|
|
1379
|
+
*
|
|
1380
|
+
* `projects.pwa.trades:create`
|
|
1381
|
+
*
|
|
1382
|
+
*/
|
|
1383
|
+
static createProjectTrade<ThrowOnError extends boolean = false>(options: Options<CreateProjectTradeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateProjectTradeResponses, CreateProjectTradeErrors, ThrowOnError, "fields">;
|
|
1384
|
+
/**
|
|
1385
|
+
* List trades
|
|
1386
|
+
*
|
|
1387
|
+
* **Required scope:**
|
|
1388
|
+
*
|
|
1389
|
+
* `pwa.trades:read`
|
|
1390
|
+
*
|
|
1391
|
+
*/
|
|
1392
|
+
static listTrades<ThrowOnError extends boolean = false>(options?: Options<ListTradesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListTradesResponses, ListTradesErrors, ThrowOnError, "fields">;
|
|
1393
|
+
/**
|
|
1394
|
+
* Show trade
|
|
1395
|
+
*
|
|
1396
|
+
* **Required scope:**
|
|
1397
|
+
*
|
|
1398
|
+
* `pwa.trades:read`
|
|
1399
|
+
*
|
|
1400
|
+
*/
|
|
1401
|
+
static getTrade<ThrowOnError extends boolean = false>(options: Options<GetTradeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetTradeResponses, GetTradeErrors, ThrowOnError, "fields">;
|
|
1402
|
+
}
|
|
1403
|
+
export declare class JobWageDeterminationRateRules {
|
|
1404
|
+
/**
|
|
1405
|
+
* List rate rules
|
|
1406
|
+
*
|
|
1407
|
+
* **Required scope:**
|
|
1408
|
+
*
|
|
1409
|
+
* `jobs.pwa.wage_determinations.rate_rules:read`
|
|
1410
|
+
*
|
|
1411
|
+
*/
|
|
1412
|
+
static listRateRules<ThrowOnError extends boolean = false>(options: Options<ListRateRulesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListRateRulesResponses, ListRateRulesErrors, ThrowOnError, "fields">;
|
|
1413
|
+
/**
|
|
1414
|
+
* Create rate rule
|
|
1415
|
+
*
|
|
1416
|
+
* **Required scope:**
|
|
1417
|
+
*
|
|
1418
|
+
* `jobs.pwa.wage_determinations.rate_rules:create`
|
|
1419
|
+
*
|
|
1420
|
+
*/
|
|
1421
|
+
static createRateRule<ThrowOnError extends boolean = false>(options: Options<CreateRateRuleData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateRateRuleResponses, CreateRateRuleErrors, ThrowOnError, "fields">;
|
|
1422
|
+
/**
|
|
1423
|
+
* Show rate rule
|
|
1424
|
+
*
|
|
1425
|
+
* **Required scope:**
|
|
1426
|
+
*
|
|
1427
|
+
* `jobs.pwa.wage_determinations.rate_rules:read`
|
|
1428
|
+
*
|
|
1429
|
+
*/
|
|
1430
|
+
static getRateRule<ThrowOnError extends boolean = false>(options: Options<GetRateRuleData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetRateRuleResponses, GetRateRuleErrors, ThrowOnError, "fields">;
|
|
1431
|
+
}
|
|
1432
|
+
export declare class JobWageDeterminations {
|
|
1433
|
+
/**
|
|
1434
|
+
* List job wage determinations
|
|
1435
|
+
*
|
|
1436
|
+
* **Required scope:**
|
|
1437
|
+
*
|
|
1438
|
+
* `jobs.wage_determinations:read`
|
|
1439
|
+
*
|
|
1440
|
+
*/
|
|
1441
|
+
static listJobWageDeterminations<ThrowOnError extends boolean = false>(options: Options<ListJobWageDeterminationsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListJobWageDeterminationsResponses, ListJobWageDeterminationsErrors, ThrowOnError, "fields">;
|
|
1442
|
+
/**
|
|
1443
|
+
* Create job wage determination
|
|
1444
|
+
*
|
|
1445
|
+
* **Required scope:**
|
|
1446
|
+
*
|
|
1447
|
+
* `jobs.wage_determinations:create`
|
|
1448
|
+
*
|
|
1449
|
+
*/
|
|
1450
|
+
static createWageDetermination<ThrowOnError extends boolean = false>(options: Options<CreateWageDeterminationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateWageDeterminationResponses, CreateWageDeterminationErrors, ThrowOnError, "fields">;
|
|
1451
|
+
/**
|
|
1452
|
+
* Delete job wage determination
|
|
1453
|
+
*
|
|
1454
|
+
* **Required scope:**
|
|
1455
|
+
*
|
|
1456
|
+
* `jobs.wage_determinations:delete`
|
|
1457
|
+
*
|
|
1458
|
+
*/
|
|
1459
|
+
static deleteWageDetermination<ThrowOnError extends boolean = false>(options: Options<DeleteWageDeterminationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteWageDeterminationResponses, DeleteWageDeterminationErrors, ThrowOnError, "fields">;
|
|
1460
|
+
/**
|
|
1461
|
+
* Show job wage determination
|
|
1462
|
+
*
|
|
1463
|
+
* **Required scope:**
|
|
1464
|
+
*
|
|
1465
|
+
* `jobs.wage_determinations:read`
|
|
1466
|
+
*
|
|
1467
|
+
*/
|
|
1468
|
+
static getJobWageDetermination<ThrowOnError extends boolean = false>(options: Options<GetJobWageDeterminationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetJobWageDeterminationResponses, GetJobWageDeterminationErrors, ThrowOnError, "fields">;
|
|
1469
|
+
}
|
|
1470
|
+
export declare class Jobs {
|
|
1471
|
+
/**
|
|
1472
|
+
* List jobs
|
|
1473
|
+
*
|
|
1474
|
+
* **Required scope:**
|
|
1475
|
+
*
|
|
1476
|
+
* `jobs:read`
|
|
1477
|
+
*
|
|
1478
|
+
*/
|
|
1479
|
+
static listJobs<ThrowOnError extends boolean = false>(options?: Options<ListJobsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListJobsResponses, ListJobsErrors, ThrowOnError, "fields">;
|
|
1480
|
+
/**
|
|
1481
|
+
* Create job
|
|
1482
|
+
*
|
|
1483
|
+
* **Required scope:**
|
|
1484
|
+
*
|
|
1485
|
+
* `jobs:create`
|
|
1486
|
+
*
|
|
1487
|
+
*/
|
|
1488
|
+
static createJob<ThrowOnError extends boolean = false>(options: Options<CreateJobData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateJobResponses, CreateJobErrors, ThrowOnError, "fields">;
|
|
1489
|
+
/**
|
|
1490
|
+
* Show job
|
|
1491
|
+
*
|
|
1492
|
+
* **Required scope:**
|
|
1493
|
+
*
|
|
1494
|
+
* `jobs:read`
|
|
1495
|
+
*
|
|
1496
|
+
*/
|
|
1497
|
+
static getJob<ThrowOnError extends boolean = false>(options: Options<GetJobData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetJobResponses, GetJobErrors, ThrowOnError, "fields">;
|
|
1498
|
+
/**
|
|
1499
|
+
* Update job
|
|
1500
|
+
*
|
|
1501
|
+
* **Required scope:**
|
|
1502
|
+
*
|
|
1503
|
+
* `jobs:update`
|
|
1504
|
+
*
|
|
1505
|
+
*/
|
|
1506
|
+
static updateJob<ThrowOnError extends boolean = false>(options: Options<UpdateJobData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateJobResponses, UpdateJobErrors, ThrowOnError, "fields">;
|
|
1507
|
+
/**
|
|
1508
|
+
* List positions for job
|
|
1509
|
+
*
|
|
1510
|
+
* **Required scope:**
|
|
1511
|
+
*
|
|
1512
|
+
* `jobs.positions:read`
|
|
1513
|
+
*
|
|
1514
|
+
*/
|
|
1515
|
+
static listPositions<ThrowOnError extends boolean = false>(options: Options<ListPositionsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListPositionsResponses, ListPositionsErrors, ThrowOnError, "fields">;
|
|
1516
|
+
/**
|
|
1517
|
+
* Create position for job
|
|
1518
|
+
*
|
|
1519
|
+
* **Required scope:**
|
|
1520
|
+
*
|
|
1521
|
+
* `jobs.positions:create`
|
|
1522
|
+
*
|
|
1523
|
+
*/
|
|
1524
|
+
static createPosition<ThrowOnError extends boolean = false>(options: Options<CreatePositionData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreatePositionResponses, CreatePositionErrors, ThrowOnError, "fields">;
|
|
1525
|
+
/**
|
|
1526
|
+
* Update position on job
|
|
1527
|
+
*
|
|
1528
|
+
* **Required scope:**
|
|
1529
|
+
*
|
|
1530
|
+
* `jobs.positions:update`
|
|
1531
|
+
*
|
|
1532
|
+
*/
|
|
1533
|
+
static updatePosition<ThrowOnError extends boolean = false>(options: Options<UpdatePositionData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdatePositionResponses, UpdatePositionErrors, ThrowOnError, "fields">;
|
|
1534
|
+
/**
|
|
1535
|
+
* List job templates
|
|
1536
|
+
*
|
|
1537
|
+
* **Required scope:**
|
|
1538
|
+
*
|
|
1539
|
+
* `jobs.templates:read`
|
|
1540
|
+
*
|
|
1541
|
+
*/
|
|
1542
|
+
static listTemplates<ThrowOnError extends boolean = false>(options?: Options<ListTemplatesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListTemplatesResponses, ListTemplatesErrors, ThrowOnError, "fields">;
|
|
1543
|
+
}
|
|
1544
|
+
export declare class PayPeriods {
|
|
1545
|
+
/**
|
|
1546
|
+
* List pay periods
|
|
1547
|
+
*
|
|
1548
|
+
* **Required scope:**
|
|
1549
|
+
*
|
|
1550
|
+
* `pay_periods:read`
|
|
1551
|
+
*
|
|
1552
|
+
*/
|
|
1553
|
+
static listPayPeriods<ThrowOnError extends boolean = false>(options?: Options<ListPayPeriodsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListPayPeriodsResponses, ListPayPeriodsErrors, ThrowOnError, "fields">;
|
|
1554
|
+
}
|
|
1555
|
+
export declare class CompensationElements {
|
|
1556
|
+
/**
|
|
1557
|
+
* List compensation elements
|
|
1558
|
+
*
|
|
1559
|
+
* **Required scope:**
|
|
1560
|
+
*
|
|
1561
|
+
* `payrolls.compensation_elements:read`
|
|
1562
|
+
*
|
|
1563
|
+
*/
|
|
1564
|
+
static listCompensationElements<ThrowOnError extends boolean = false>(options?: Options<ListCompensationElementsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListCompensationElementsResponses, ListCompensationElementsErrors, ThrowOnError, "fields">;
|
|
1565
|
+
/**
|
|
1566
|
+
* Show compensation element
|
|
1567
|
+
*
|
|
1568
|
+
* **Required scope:**
|
|
1569
|
+
*
|
|
1570
|
+
* `payrolls.compensation_elements:read`
|
|
1571
|
+
*
|
|
1572
|
+
*/
|
|
1573
|
+
static getCompensationElement<ThrowOnError extends boolean = false>(options: Options<GetCompensationElementData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetCompensationElementResponses, GetCompensationElementErrors, ThrowOnError, "fields">;
|
|
1574
|
+
}
|
|
1575
|
+
export declare class ExternalMaps {
|
|
1576
|
+
/**
|
|
1577
|
+
* List external maps
|
|
1578
|
+
*
|
|
1579
|
+
* **Required scope:**
|
|
1580
|
+
*
|
|
1581
|
+
* `payrolls.external_maps:read`
|
|
1582
|
+
*
|
|
1583
|
+
*/
|
|
1584
|
+
static listExternalMaps<ThrowOnError extends boolean = false>(options?: Options<ListExternalMapsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListExternalMapsResponses, ListExternalMapsErrors, ThrowOnError, "fields">;
|
|
1585
|
+
/**
|
|
1586
|
+
* Show external map
|
|
1587
|
+
*
|
|
1588
|
+
* **Required scope:**
|
|
1589
|
+
*
|
|
1590
|
+
* `payrolls.external_maps:read`
|
|
1591
|
+
*
|
|
1592
|
+
*/
|
|
1593
|
+
static getExternalMap<ThrowOnError extends boolean = false>(options: Options<GetExternalMapData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetExternalMapResponses, GetExternalMapErrors, ThrowOnError, "fields">;
|
|
1594
|
+
}
|
|
1595
|
+
export declare class FringeBenefitPlans {
|
|
1596
|
+
/**
|
|
1597
|
+
* List fringe benefit plans
|
|
1598
|
+
*
|
|
1599
|
+
* **Required scope:**
|
|
1600
|
+
*
|
|
1601
|
+
* `payrolls.fringe_benefit_plans:read`
|
|
1602
|
+
*
|
|
1603
|
+
*/
|
|
1604
|
+
static listFringeBenefitPlans<ThrowOnError extends boolean = false>(options?: Options<ListFringeBenefitPlansData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListFringeBenefitPlansResponses, ListFringeBenefitPlansErrors, ThrowOnError, "fields">;
|
|
1605
|
+
/**
|
|
1606
|
+
* Create fringe benefit plan
|
|
1607
|
+
*
|
|
1608
|
+
* **Required scope:**
|
|
1609
|
+
*
|
|
1610
|
+
* `payrolls.fringe_benefit_plans:create`
|
|
1611
|
+
*
|
|
1612
|
+
*/
|
|
1613
|
+
static createFringeBenefitPlan<ThrowOnError extends boolean = false>(options?: Options<CreateFringeBenefitPlanData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateFringeBenefitPlanResponses, CreateFringeBenefitPlanErrors, ThrowOnError, "fields">;
|
|
1614
|
+
/**
|
|
1615
|
+
* Delete fringe benefit plan
|
|
1616
|
+
*
|
|
1617
|
+
* **Required scope:**
|
|
1618
|
+
*
|
|
1619
|
+
* `payrolls.fringe_benefit_plans:delete`
|
|
1620
|
+
*
|
|
1621
|
+
*/
|
|
1622
|
+
static deleteFringeBenefitPlan<ThrowOnError extends boolean = false>(options: Options<DeleteFringeBenefitPlanData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteFringeBenefitPlanResponses, DeleteFringeBenefitPlanErrors, ThrowOnError, "fields">;
|
|
1623
|
+
/**
|
|
1624
|
+
* Show fringe benefit plan
|
|
1625
|
+
*
|
|
1626
|
+
* **Required scope:**
|
|
1627
|
+
*
|
|
1628
|
+
* `payrolls.fringe_benefit_plans:read`
|
|
1629
|
+
*
|
|
1630
|
+
*/
|
|
1631
|
+
static getFringeBenefitPlan<ThrowOnError extends boolean = false>(options: Options<GetFringeBenefitPlanData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetFringeBenefitPlanResponses, GetFringeBenefitPlanErrors, ThrowOnError, "fields">;
|
|
1632
|
+
/**
|
|
1633
|
+
* Update fringe benefit plan
|
|
1634
|
+
*
|
|
1635
|
+
* **Required scope:**
|
|
1636
|
+
*
|
|
1637
|
+
* `payrolls.fringe_benefit_plans:update`
|
|
1638
|
+
*
|
|
1639
|
+
*/
|
|
1640
|
+
static updateFringeBenefitPlan<ThrowOnError extends boolean = false>(options: Options<UpdateFringeBenefitPlanData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateFringeBenefitPlanResponses, UpdateFringeBenefitPlanErrors, ThrowOnError, "fields">;
|
|
1641
|
+
}
|
|
1642
|
+
export declare class PayrollRuns {
|
|
1643
|
+
/**
|
|
1644
|
+
* List payroll runs
|
|
1645
|
+
*
|
|
1646
|
+
* **Required scope:**
|
|
1647
|
+
*
|
|
1648
|
+
* `payrolls.payroll_runs:read`
|
|
1649
|
+
*
|
|
1650
|
+
*/
|
|
1651
|
+
static listPayrollRuns<ThrowOnError extends boolean = false>(options?: Options<ListPayrollRunsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListPayrollRunsResponses, ListPayrollRunsErrors, ThrowOnError, "fields">;
|
|
1652
|
+
/**
|
|
1653
|
+
* Create payroll run
|
|
1654
|
+
*
|
|
1655
|
+
* **Required scope:**
|
|
1656
|
+
*
|
|
1657
|
+
* `payrolls.payroll_runs:create`
|
|
1658
|
+
*
|
|
1659
|
+
*/
|
|
1660
|
+
static createPayrollRun<ThrowOnError extends boolean = false>(options?: Options<CreatePayrollRunData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreatePayrollRunResponses, CreatePayrollRunErrors, ThrowOnError, "fields">;
|
|
1661
|
+
/**
|
|
1662
|
+
* Delete payroll run
|
|
1663
|
+
*
|
|
1664
|
+
* **Required scope:**
|
|
1665
|
+
*
|
|
1666
|
+
* `payrolls.payroll_runs:delete`
|
|
1667
|
+
*
|
|
1668
|
+
*/
|
|
1669
|
+
static deletePayrollRun<ThrowOnError extends boolean = false>(options: Options<DeletePayrollRunData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeletePayrollRunResponses, DeletePayrollRunErrors, ThrowOnError, "fields">;
|
|
1670
|
+
/**
|
|
1671
|
+
* Show payroll run
|
|
1672
|
+
*
|
|
1673
|
+
* **Required scope:**
|
|
1674
|
+
*
|
|
1675
|
+
* `payrolls.payroll_runs:read`
|
|
1676
|
+
*
|
|
1677
|
+
*/
|
|
1678
|
+
static getPayrollRun<ThrowOnError extends boolean = false>(options: Options<GetPayrollRunData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetPayrollRunResponses, GetPayrollRunErrors, ThrowOnError, "fields">;
|
|
1679
|
+
/**
|
|
1680
|
+
* Update payroll run
|
|
1681
|
+
*
|
|
1682
|
+
* **Required scope:**
|
|
1683
|
+
*
|
|
1684
|
+
* `payrolls.payroll_runs:update`
|
|
1685
|
+
*
|
|
1686
|
+
*/
|
|
1687
|
+
static updatePayrollRun<ThrowOnError extends boolean = false>(options: Options<UpdatePayrollRunData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdatePayrollRunResponses, UpdatePayrollRunErrors, ThrowOnError, "fields">;
|
|
1688
|
+
}
|
|
1689
|
+
export declare class PaystubLineItems {
|
|
1690
|
+
/**
|
|
1691
|
+
* List paystub line items
|
|
1692
|
+
*
|
|
1693
|
+
* **Required scope:**
|
|
1694
|
+
*
|
|
1695
|
+
* `paystub_line_items:read`
|
|
1696
|
+
*
|
|
1697
|
+
*/
|
|
1698
|
+
static listPaystubLineItems<ThrowOnError extends boolean = false>(options?: Options<ListPaystubLineItemsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListPaystubLineItemsResponses, ListPaystubLineItemsErrors, ThrowOnError, "fields">;
|
|
1699
|
+
/**
|
|
1700
|
+
* Create paystub line item
|
|
1701
|
+
*
|
|
1702
|
+
* **Required scope:**
|
|
1703
|
+
*
|
|
1704
|
+
* `paystub_line_items:create`
|
|
1705
|
+
*
|
|
1706
|
+
*/
|
|
1707
|
+
static createPaystubLineItem<ThrowOnError extends boolean = false>(options?: Options<CreatePaystubLineItemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreatePaystubLineItemResponses, CreatePaystubLineItemErrors, ThrowOnError, "fields">;
|
|
1708
|
+
/**
|
|
1709
|
+
* Delete paystub line item
|
|
1710
|
+
*
|
|
1711
|
+
* **Required scope:**
|
|
1712
|
+
*
|
|
1713
|
+
* `paystub_line_items:delete`
|
|
1714
|
+
*
|
|
1715
|
+
*/
|
|
1716
|
+
static deletePaystubLineItem<ThrowOnError extends boolean = false>(options: Options<DeletePaystubLineItemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeletePaystubLineItemResponses, DeletePaystubLineItemErrors, ThrowOnError, "fields">;
|
|
1717
|
+
/**
|
|
1718
|
+
* Show paystub line item
|
|
1719
|
+
*
|
|
1720
|
+
* **Required scope:**
|
|
1721
|
+
*
|
|
1722
|
+
* `paystub_line_items:read`
|
|
1723
|
+
*
|
|
1724
|
+
*/
|
|
1725
|
+
static getPaystubLineItem<ThrowOnError extends boolean = false>(options: Options<GetPaystubLineItemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetPaystubLineItemResponses, GetPaystubLineItemErrors, ThrowOnError, "fields">;
|
|
1726
|
+
/**
|
|
1727
|
+
* Update paystub line item
|
|
1728
|
+
*
|
|
1729
|
+
* **Required scope:**
|
|
1730
|
+
*
|
|
1731
|
+
* `paystub_line_items:update`
|
|
1732
|
+
*
|
|
1733
|
+
*/
|
|
1734
|
+
static updatePaystubLineItem<ThrowOnError extends boolean = false>(options: Options<UpdatePaystubLineItemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdatePaystubLineItemResponses, UpdatePaystubLineItemErrors, ThrowOnError, "fields">;
|
|
1735
|
+
}
|
|
1736
|
+
export declare class Paystubs {
|
|
1737
|
+
/**
|
|
1738
|
+
* List paystubs
|
|
1739
|
+
*
|
|
1740
|
+
* **Required scope:**
|
|
1741
|
+
*
|
|
1742
|
+
* `paystubs:read`
|
|
1743
|
+
*
|
|
1744
|
+
*/
|
|
1745
|
+
static listPaystubs<ThrowOnError extends boolean = false>(options?: Options<ListPaystubsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListPaystubsResponses, ListPaystubsErrors, ThrowOnError, "fields">;
|
|
1746
|
+
/**
|
|
1747
|
+
* Create paystub
|
|
1748
|
+
*
|
|
1749
|
+
* **Required scope:**
|
|
1750
|
+
*
|
|
1751
|
+
* `paystubs:create`
|
|
1752
|
+
*
|
|
1753
|
+
*/
|
|
1754
|
+
static createPaystub<ThrowOnError extends boolean = false>(options: Options<CreatePaystubData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreatePaystubResponses, CreatePaystubErrors, ThrowOnError, "fields">;
|
|
1755
|
+
/**
|
|
1756
|
+
* Delete paystub
|
|
1757
|
+
*
|
|
1758
|
+
* **Required scope:**
|
|
1759
|
+
*
|
|
1760
|
+
* `paystubs:delete`
|
|
1761
|
+
*
|
|
1762
|
+
*/
|
|
1763
|
+
static deletePaystub<ThrowOnError extends boolean = false>(options: Options<DeletePaystubData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeletePaystubResponses, DeletePaystubErrors, ThrowOnError, "fields">;
|
|
1764
|
+
/**
|
|
1765
|
+
* Show paystub
|
|
1766
|
+
*
|
|
1767
|
+
* **Required scope:**
|
|
1768
|
+
*
|
|
1769
|
+
* `paystubs:read`
|
|
1770
|
+
*
|
|
1771
|
+
*/
|
|
1772
|
+
static getPaystub<ThrowOnError extends boolean = false>(options: Options<GetPaystubData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetPaystubResponses, GetPaystubErrors, ThrowOnError, "fields">;
|
|
1773
|
+
/**
|
|
1774
|
+
* Update paystub
|
|
1775
|
+
*
|
|
1776
|
+
* **Required scope:**
|
|
1777
|
+
*
|
|
1778
|
+
* `paystubs:update`
|
|
1779
|
+
*
|
|
1780
|
+
*/
|
|
1781
|
+
static updatePaystub<ThrowOnError extends boolean = false>(options: Options<UpdatePaystubData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdatePaystubResponses, UpdatePaystubErrors, ThrowOnError, "fields">;
|
|
1782
|
+
}
|
|
1783
|
+
export declare class PerDiems {
|
|
1784
|
+
/**
|
|
1785
|
+
* List per diems
|
|
1786
|
+
*
|
|
1787
|
+
* List the per diems configured for the company — the named daily allowances
|
|
1788
|
+
* (meals, lodging, travel) available to attach to workers' time. Returned newest
|
|
1789
|
+
* first; narrow the results with the `filter[...]` query parameters.
|
|
1790
|
+
*
|
|
1791
|
+
*
|
|
1792
|
+
* **Required scope:**
|
|
1793
|
+
*
|
|
1794
|
+
* `per_diems:read`
|
|
1795
|
+
*
|
|
1796
|
+
*/
|
|
1797
|
+
static listPerDiems<ThrowOnError extends boolean = false>(options?: Options<ListPerDiemsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListPerDiemsResponses, ListPerDiemsErrors, ThrowOnError, "fields">;
|
|
1798
|
+
/**
|
|
1799
|
+
* Create per diem
|
|
1800
|
+
*
|
|
1801
|
+
* Create a per diem for the company. `name`, `currency`, and `rate_cents` are
|
|
1802
|
+
* required; the created per diem is returned.
|
|
1803
|
+
*
|
|
1804
|
+
*
|
|
1805
|
+
* **Required scope:**
|
|
1806
|
+
*
|
|
1807
|
+
* `per_diems:create`
|
|
1808
|
+
*
|
|
1809
|
+
*/
|
|
1810
|
+
static createPerDiem<ThrowOnError extends boolean = false>(options?: Options<CreatePerDiemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreatePerDiemResponses, CreatePerDiemErrors, ThrowOnError, "fields">;
|
|
1811
|
+
/**
|
|
1812
|
+
* Delete per diem
|
|
1813
|
+
*
|
|
1814
|
+
* Permanently remove a per diem, for undoing one created in error. The removed
|
|
1815
|
+
* rate is returned. A per diem already applied to a time card cannot be removed
|
|
1816
|
+
* (`422`); deactivate it instead with `PATCH is_active: false`, which retires it
|
|
1817
|
+
* while time-card history keeps its reference.
|
|
1818
|
+
*
|
|
1819
|
+
*
|
|
1820
|
+
* **Required scope:**
|
|
1821
|
+
*
|
|
1822
|
+
* `per_diems:delete`
|
|
1823
|
+
*
|
|
1824
|
+
*/
|
|
1825
|
+
static deletePerDiem<ThrowOnError extends boolean = false>(options: Options<DeletePerDiemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeletePerDiemResponses, DeletePerDiemErrors, ThrowOnError, "fields">;
|
|
1826
|
+
/**
|
|
1827
|
+
* Show per diem
|
|
1828
|
+
*
|
|
1829
|
+
* Fetch a single per diem by id.
|
|
1830
|
+
*
|
|
1831
|
+
* **Required scope:**
|
|
1832
|
+
*
|
|
1833
|
+
* `per_diems:read`
|
|
1834
|
+
*
|
|
1835
|
+
*/
|
|
1836
|
+
static getPerDiem<ThrowOnError extends boolean = false>(options: Options<GetPerDiemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetPerDiemResponses, GetPerDiemErrors, ThrowOnError, "fields">;
|
|
1837
|
+
/**
|
|
1838
|
+
* Update per diem
|
|
1839
|
+
*
|
|
1840
|
+
* Update a per diem. Only the supplied fields change; the updated per diem is
|
|
1841
|
+
* returned.
|
|
1842
|
+
*
|
|
1843
|
+
*
|
|
1844
|
+
* **Required scope:**
|
|
1845
|
+
*
|
|
1846
|
+
* `per_diems:update`
|
|
1847
|
+
*
|
|
1848
|
+
*/
|
|
1849
|
+
static updatePerDiem<ThrowOnError extends boolean = false>(options: Options<UpdatePerDiemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdatePerDiemResponses, UpdatePerDiemErrors, ThrowOnError, "fields">;
|
|
1850
|
+
}
|
|
1851
|
+
export declare class PositionFunctions {
|
|
1852
|
+
/**
|
|
1853
|
+
* List position functions
|
|
1854
|
+
*
|
|
1855
|
+
* **Required scope:**
|
|
1856
|
+
*
|
|
1857
|
+
* `position_functions:read`
|
|
1858
|
+
*
|
|
1859
|
+
*/
|
|
1860
|
+
static listPositionFunctions<ThrowOnError extends boolean = false>(options?: Options<ListPositionFunctionsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListPositionFunctionsResponses, ListPositionFunctionsErrors, ThrowOnError, "fields">;
|
|
1861
|
+
/**
|
|
1862
|
+
* Create position function
|
|
1863
|
+
*
|
|
1864
|
+
* **Required scope:**
|
|
1865
|
+
*
|
|
1866
|
+
* `position_functions:create`
|
|
1867
|
+
*
|
|
1868
|
+
*/
|
|
1869
|
+
static createPositionFunction<ThrowOnError extends boolean = false>(options?: Options<CreatePositionFunctionData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreatePositionFunctionResponses, CreatePositionFunctionErrors, ThrowOnError, "fields">;
|
|
1870
|
+
/**
|
|
1871
|
+
* Delete position function
|
|
1872
|
+
*
|
|
1873
|
+
* **Required scope:**
|
|
1874
|
+
*
|
|
1875
|
+
* `position_functions:delete`
|
|
1876
|
+
*
|
|
1877
|
+
*/
|
|
1878
|
+
static deletePositionFunction<ThrowOnError extends boolean = false>(options: Options<DeletePositionFunctionData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeletePositionFunctionResponses, DeletePositionFunctionErrors, ThrowOnError, "fields">;
|
|
1879
|
+
/**
|
|
1880
|
+
* Show position function
|
|
1881
|
+
*
|
|
1882
|
+
* **Required scope:**
|
|
1883
|
+
*
|
|
1884
|
+
* `position_functions:read`
|
|
1885
|
+
*
|
|
1886
|
+
*/
|
|
1887
|
+
static getPositionFunction<ThrowOnError extends boolean = false>(options: Options<GetPositionFunctionData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetPositionFunctionResponses, GetPositionFunctionErrors, ThrowOnError, "fields">;
|
|
1888
|
+
/**
|
|
1889
|
+
* Update position function
|
|
1890
|
+
*
|
|
1891
|
+
* **Required scope:**
|
|
1892
|
+
*
|
|
1893
|
+
* `position_functions:update`
|
|
1894
|
+
*
|
|
1895
|
+
*/
|
|
1896
|
+
static updatePositionFunction<ThrowOnError extends boolean = false>(options: Options<UpdatePositionFunctionData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdatePositionFunctionResponses, UpdatePositionFunctionErrors, ThrowOnError, "fields">;
|
|
1897
|
+
}
|
|
1898
|
+
export declare class ProductionCompletions {
|
|
1899
|
+
/**
|
|
1900
|
+
* List production completions
|
|
1901
|
+
*
|
|
1902
|
+
* **Required scope:**
|
|
1903
|
+
*
|
|
1904
|
+
* `production.completions:read`
|
|
1905
|
+
*
|
|
1906
|
+
*/
|
|
1907
|
+
static listCompletions<ThrowOnError extends boolean = false>(options?: Options<ListCompletionsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListCompletionsResponses, ListCompletionsErrors, ThrowOnError, "fields">;
|
|
1908
|
+
/**
|
|
1909
|
+
* Create Production Completion
|
|
1910
|
+
*
|
|
1911
|
+
* **Required scope:**
|
|
1912
|
+
*
|
|
1913
|
+
* `production.completions:create`
|
|
1914
|
+
*
|
|
1915
|
+
*/
|
|
1916
|
+
static createCompletion<ThrowOnError extends boolean = false>(options?: Options<CreateCompletionData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateCompletionResponses, CreateCompletionErrors, ThrowOnError, "fields">;
|
|
1917
|
+
/**
|
|
1918
|
+
* Destroy Production Completion
|
|
1919
|
+
*
|
|
1920
|
+
* **Required scope:**
|
|
1921
|
+
*
|
|
1922
|
+
* `production.completions:delete`
|
|
1923
|
+
*
|
|
1924
|
+
*/
|
|
1925
|
+
static deleteCompletion<ThrowOnError extends boolean = false>(options: Options<DeleteCompletionData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteCompletionResponses, DeleteCompletionErrors, ThrowOnError, "fields">;
|
|
1926
|
+
/**
|
|
1927
|
+
* Show production completion
|
|
1928
|
+
*
|
|
1929
|
+
* **Required scope:**
|
|
1930
|
+
*
|
|
1931
|
+
* `production.completions:read`
|
|
1932
|
+
*
|
|
1933
|
+
*/
|
|
1934
|
+
static getCompletion<ThrowOnError extends boolean = false>(options: Options<GetCompletionData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetCompletionResponses, GetCompletionErrors, ThrowOnError, "fields">;
|
|
1935
|
+
/**
|
|
1936
|
+
* Update Production Completion
|
|
1937
|
+
*
|
|
1938
|
+
* **Required scope:**
|
|
1939
|
+
*
|
|
1940
|
+
* `production.completions:update`
|
|
1941
|
+
*
|
|
1942
|
+
*/
|
|
1943
|
+
static updateCompletion<ThrowOnError extends boolean = false>(options: Options<UpdateCompletionData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateCompletionResponses, UpdateCompletionErrors, ThrowOnError, "fields">;
|
|
1944
|
+
}
|
|
1945
|
+
export declare class Projects {
|
|
1946
|
+
/**
|
|
1947
|
+
* List projects
|
|
1948
|
+
*
|
|
1949
|
+
* List the company's projects — the top-level containers that organize jobs into
|
|
1950
|
+
* federal and regional PWA compliance scopes. Returned oldest first (ordered by
|
|
1951
|
+
* creation time, then id) and scoped to the API key's company, so projects owned
|
|
1952
|
+
* by other companies are excluded. Narrow with the `filter[...]` query parameters
|
|
1953
|
+
* and the `created_at`/`updated_at` time filters; results are paginated.
|
|
1954
|
+
*
|
|
1955
|
+
*
|
|
1956
|
+
* **Required scope:**
|
|
1957
|
+
*
|
|
1958
|
+
* `projects:read`
|
|
1959
|
+
*
|
|
1960
|
+
*/
|
|
1961
|
+
static listProjects<ThrowOnError extends boolean = false>(options?: Options<ListProjectsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListProjectsResponses, ListProjectsErrors, ThrowOnError, "fields">;
|
|
1962
|
+
/**
|
|
1963
|
+
* Create project
|
|
1964
|
+
*
|
|
1965
|
+
* Create a project owned by the API key's company (owned_by_company_id is set
|
|
1966
|
+
* automatically from the key). Requires `name`, and `created_by_user_id` must
|
|
1967
|
+
* reference a member of the owning company. `budget_currency` defaults to USD;
|
|
1968
|
+
* when `federal_pwa_mode` is `none`, `asset_owner` is forced to false and the
|
|
1969
|
+
* federal-PWA-only fields (administrator name/email/phone, budget, and the
|
|
1970
|
+
* prevailing-wage lock-in / beginning-of-construction / placed-in-service dates)
|
|
1971
|
+
* are dropped. Returns 201 with the created project; a duplicate name within the
|
|
1972
|
+
* company, a creator outside the owning company, end_date before start_date, an
|
|
1973
|
+
* unknown PWA mode, an unparseable date, or a regional mode without a region each
|
|
1974
|
+
* return 422.
|
|
1975
|
+
*
|
|
1976
|
+
*
|
|
1977
|
+
* **Required scope:**
|
|
1978
|
+
*
|
|
1979
|
+
* `projects:create`
|
|
1980
|
+
*
|
|
1981
|
+
*/
|
|
1982
|
+
static createProject<ThrowOnError extends boolean = false>(options: Options<CreateProjectData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateProjectResponses, CreateProjectErrors, ThrowOnError, "fields">;
|
|
1983
|
+
/**
|
|
1984
|
+
* Show project
|
|
1985
|
+
*
|
|
1986
|
+
* Fetch a single project by id. Scoped to the API key's company — a project owned
|
|
1987
|
+
* by another company, or an unknown id, returns 404.
|
|
1988
|
+
*
|
|
1989
|
+
*
|
|
1990
|
+
* **Required scope:**
|
|
1991
|
+
*
|
|
1992
|
+
* `projects:read`
|
|
1993
|
+
*
|
|
1994
|
+
*/
|
|
1995
|
+
static getProject<ThrowOnError extends boolean = false>(options: Options<GetProjectData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetProjectResponses, GetProjectErrors, ThrowOnError, "fields">;
|
|
1996
|
+
/**
|
|
1997
|
+
* Update project
|
|
1998
|
+
*
|
|
1999
|
+
* Update a project's attributes. `name` cannot be blanked, and
|
|
2000
|
+
* `created_by_user_id` is immutable — any request that sets, changes, or clears it
|
|
2001
|
+
* returns 422. Switching `federal_pwa_mode` to `none` forces `asset_owner` false
|
|
2002
|
+
* and drops the federal-PWA-only params (previously persisted values are left
|
|
2003
|
+
* untouched); `budget_currency` defaults to USD when blank. A project owned by
|
|
2004
|
+
* another company returns 403; an unknown id returns 404.
|
|
2005
|
+
*
|
|
2006
|
+
*
|
|
2007
|
+
* **Required scope:**
|
|
2008
|
+
*
|
|
2009
|
+
* `projects:update`
|
|
2010
|
+
*
|
|
2011
|
+
*/
|
|
2012
|
+
static updateProject<ThrowOnError extends boolean = false>(options: Options<UpdateProjectData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateProjectResponses, UpdateProjectErrors, ThrowOnError, "fields">;
|
|
2013
|
+
}
|
|
2014
|
+
export declare class Users {
|
|
2015
|
+
/**
|
|
2016
|
+
* Create PWA company user details
|
|
2017
|
+
*
|
|
2018
|
+
* **Required scope:**
|
|
2019
|
+
*
|
|
2020
|
+
* `pwa.company_user_details:create`
|
|
2021
|
+
*
|
|
2022
|
+
*/
|
|
2023
|
+
static createCompanyUserDetail<ThrowOnError extends boolean = false>(options: Options<CreateCompanyUserDetailData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateCompanyUserDetailResponses, CreateCompanyUserDetailErrors, ThrowOnError, "fields">;
|
|
2024
|
+
/**
|
|
2025
|
+
* Update PWA company user details
|
|
2026
|
+
*
|
|
2027
|
+
* **Required scope:**
|
|
2028
|
+
*
|
|
2029
|
+
* `pwa.company_user_details:update`
|
|
2030
|
+
*
|
|
2031
|
+
*/
|
|
2032
|
+
static updateCompanyUserDetail<ThrowOnError extends boolean = false>(options: Options<UpdateCompanyUserDetailData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateCompanyUserDetailResponses, UpdateCompanyUserDetailErrors, ThrowOnError, "fields">;
|
|
2033
|
+
/**
|
|
2034
|
+
* List scheduled compensation changes for user's employment
|
|
2035
|
+
*
|
|
2036
|
+
* **Required scope:**
|
|
2037
|
+
*
|
|
2038
|
+
* `users.companies.scheduled_changes:read`
|
|
2039
|
+
*
|
|
2040
|
+
*/
|
|
2041
|
+
static listUserCompanyScheduledChanges<ThrowOnError extends boolean = false>(options: Options<ListUserCompanyScheduledChangesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListUserCompanyScheduledChangesResponses, ListUserCompanyScheduledChangesErrors, ThrowOnError, "fields">;
|
|
2042
|
+
/**
|
|
2043
|
+
* Create scheduled change to user's employment information
|
|
2044
|
+
*
|
|
2045
|
+
* **Required scope:**
|
|
2046
|
+
*
|
|
2047
|
+
* `users.companies.scheduled_changes:create`
|
|
2048
|
+
*
|
|
2049
|
+
*/
|
|
2050
|
+
static createUserCompanyScheduledChange<ThrowOnError extends boolean = false>(options: Options<CreateUserCompanyScheduledChangeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateUserCompanyScheduledChangeResponses, CreateUserCompanyScheduledChangeErrors, ThrowOnError, "fields">;
|
|
2051
|
+
/**
|
|
2052
|
+
* Cancel scheduled compensation change (removes the future version from the timeline)
|
|
2053
|
+
*
|
|
2054
|
+
* **Required scope:**
|
|
2055
|
+
*
|
|
2056
|
+
* `users.companies.scheduled_changes:delete`
|
|
2057
|
+
*
|
|
2058
|
+
*/
|
|
2059
|
+
static cancelUserCompanyScheduledChange<ThrowOnError extends boolean = false>(options: Options<CancelUserCompanyScheduledChangeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CancelUserCompanyScheduledChangeResponses, CancelUserCompanyScheduledChangeErrors, ThrowOnError, "fields">;
|
|
2060
|
+
/**
|
|
2061
|
+
* Update scheduled compensation change
|
|
2062
|
+
*
|
|
2063
|
+
* **Required scope:**
|
|
2064
|
+
*
|
|
2065
|
+
* `users.companies.scheduled_changes:update`
|
|
2066
|
+
*
|
|
2067
|
+
*/
|
|
2068
|
+
static updateScheduledChange<ThrowOnError extends boolean = false>(options: Options<UpdateScheduledChangeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateScheduledChangeResponses, UpdateScheduledChangeErrors, ThrowOnError, "fields">;
|
|
2069
|
+
/**
|
|
2070
|
+
* Create scheduled termination to user's employment
|
|
2071
|
+
*
|
|
2072
|
+
* **Required scope:**
|
|
2073
|
+
*
|
|
2074
|
+
* `users.companies.scheduled_termination:create`
|
|
2075
|
+
*
|
|
2076
|
+
*/
|
|
2077
|
+
static createScheduledTermination<ThrowOnError extends boolean = false>(options: Options<CreateScheduledTerminationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateScheduledTerminationResponses, CreateScheduledTerminationErrors, ThrowOnError, "fields">;
|
|
2078
|
+
/**
|
|
2079
|
+
* Cancel scheduled termination (restores open-ended employment)
|
|
2080
|
+
*
|
|
2081
|
+
* **Required scope:**
|
|
2082
|
+
*
|
|
2083
|
+
* `users.companies.scheduled_termination:delete`
|
|
2084
|
+
*
|
|
2085
|
+
*/
|
|
2086
|
+
static cancelUserCompanyScheduledTermination<ThrowOnError extends boolean = false>(options: Options<CancelUserCompanyScheduledTerminationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CancelUserCompanyScheduledTerminationResponses, CancelUserCompanyScheduledTerminationErrors, ThrowOnError, "fields">;
|
|
2087
|
+
/**
|
|
2088
|
+
* Create employment for existing user
|
|
2089
|
+
*
|
|
2090
|
+
* **Required scope:**
|
|
2091
|
+
*
|
|
2092
|
+
* `users.companies:create`
|
|
2093
|
+
*
|
|
2094
|
+
*/
|
|
2095
|
+
static createCompany<ThrowOnError extends boolean = false>(options: Options<CreateCompanyData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateCompanyResponses, CreateCompanyErrors, ThrowOnError, "fields">;
|
|
2096
|
+
/**
|
|
2097
|
+
* Remove employment entirely (retroactive, irreversible)
|
|
2098
|
+
*
|
|
2099
|
+
* **Required scope:**
|
|
2100
|
+
*
|
|
2101
|
+
* `users.companies:delete`
|
|
2102
|
+
*
|
|
2103
|
+
*/
|
|
2104
|
+
static removeUserFromCompany<ThrowOnError extends boolean = false>(options: Options<RemoveUserFromCompanyData, ThrowOnError>): import("./client/types.gen.js").RequestResult<RemoveUserFromCompanyResponses, RemoveUserFromCompanyErrors, ThrowOnError, "fields">;
|
|
2105
|
+
/**
|
|
2106
|
+
* Update user's employment information
|
|
2107
|
+
*
|
|
2108
|
+
* **Required scope:**
|
|
2109
|
+
*
|
|
2110
|
+
* `users.companies:update`
|
|
2111
|
+
*
|
|
2112
|
+
*/
|
|
2113
|
+
static updateCompany<ThrowOnError extends boolean = false>(options: Options<UpdateCompanyData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateCompanyResponses, UpdateCompanyErrors, ThrowOnError, "fields">;
|
|
2114
|
+
/**
|
|
2115
|
+
* List users
|
|
2116
|
+
*
|
|
2117
|
+
* **Required scope:**
|
|
2118
|
+
*
|
|
2119
|
+
* `users:read`
|
|
2120
|
+
*
|
|
2121
|
+
*/
|
|
2122
|
+
static listUsers<ThrowOnError extends boolean = false>(options?: Options<ListUsersData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListUsersResponses, ListUsersErrors, ThrowOnError, "fields">;
|
|
2123
|
+
/**
|
|
2124
|
+
* Create user
|
|
2125
|
+
*
|
|
2126
|
+
* **Required scope:**
|
|
2127
|
+
*
|
|
2128
|
+
* `users:create`
|
|
2129
|
+
*
|
|
2130
|
+
*/
|
|
2131
|
+
static createUser<ThrowOnError extends boolean = false>(options: Options<CreateUserData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateUserResponses, CreateUserErrors, ThrowOnError, "fields">;
|
|
2132
|
+
/**
|
|
2133
|
+
* Show user
|
|
2134
|
+
*
|
|
2135
|
+
* **Required scope:**
|
|
2136
|
+
*
|
|
2137
|
+
* `users:read`
|
|
2138
|
+
*
|
|
2139
|
+
*/
|
|
2140
|
+
static getUser<ThrowOnError extends boolean = false>(options: Options<GetUserData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetUserResponses, GetUserErrors, ThrowOnError, "fields">;
|
|
2141
|
+
/**
|
|
2142
|
+
* Update user
|
|
2143
|
+
*
|
|
2144
|
+
* **Required scope:**
|
|
2145
|
+
*
|
|
2146
|
+
* `users:update`
|
|
2147
|
+
*
|
|
2148
|
+
*/
|
|
2149
|
+
static updateUser<ThrowOnError extends boolean = false>(options: Options<UpdateUserData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateUserResponses, UpdateUserErrors, ThrowOnError, "fields">;
|
|
2150
|
+
}
|
|
2151
|
+
export declare class Tasks {
|
|
2152
|
+
/**
|
|
2153
|
+
* Create form assignment task
|
|
2154
|
+
*
|
|
2155
|
+
* **Required scope:**
|
|
2156
|
+
*
|
|
2157
|
+
* `tasks.form_assignment_tasks:create`
|
|
2158
|
+
*
|
|
2159
|
+
*/
|
|
2160
|
+
static createFormAssignmentTask<ThrowOnError extends boolean = false>(options?: Options<CreateFormAssignmentTaskData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateFormAssignmentTaskResponses, CreateFormAssignmentTaskErrors, ThrowOnError, "fields">;
|
|
2161
|
+
}
|
|
2162
|
+
export declare class TimeCards {
|
|
2163
|
+
/**
|
|
2164
|
+
* Lock or unlock time card
|
|
2165
|
+
*
|
|
2166
|
+
* **Required scope:**
|
|
2167
|
+
*
|
|
2168
|
+
* `time_cards.locks:update`
|
|
2169
|
+
*
|
|
2170
|
+
*/
|
|
2171
|
+
static setTimeCardLock<ThrowOnError extends boolean = false>(options: Options<SetTimeCardLockData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SetTimeCardLockResponses, SetTimeCardLockErrors, ThrowOnError, "fields">;
|
|
2172
|
+
/**
|
|
2173
|
+
* Create manager time card approval
|
|
2174
|
+
*
|
|
2175
|
+
* **Required scope:**
|
|
2176
|
+
*
|
|
2177
|
+
* `time_cards.manager_time_card_approvals:create`
|
|
2178
|
+
*
|
|
2179
|
+
*/
|
|
2180
|
+
static createManagerTimeCardApproval<ThrowOnError extends boolean = false>(options: Options<CreateManagerTimeCardApprovalData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateManagerTimeCardApprovalResponses, CreateManagerTimeCardApprovalErrors, ThrowOnError, "fields">;
|
|
2181
|
+
/**
|
|
2182
|
+
* List time card per diems
|
|
2183
|
+
*
|
|
2184
|
+
* **Required scope:**
|
|
2185
|
+
*
|
|
2186
|
+
* `time_cards.per_diems:read`
|
|
2187
|
+
*
|
|
2188
|
+
*/
|
|
2189
|
+
static listTimeCardPerDiems<ThrowOnError extends boolean = false>(options: Options<ListTimeCardPerDiemsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListTimeCardPerDiemsResponses, ListTimeCardPerDiemsErrors, ThrowOnError, "fields">;
|
|
2190
|
+
/**
|
|
2191
|
+
* Create time card per diem
|
|
2192
|
+
*
|
|
2193
|
+
* **Required scope:**
|
|
2194
|
+
*
|
|
2195
|
+
* `time_cards.per_diems:create`
|
|
2196
|
+
*
|
|
2197
|
+
*/
|
|
2198
|
+
static createTimeCardPerDiem<ThrowOnError extends boolean = false>(options: Options<CreateTimeCardPerDiemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateTimeCardPerDiemResponses, CreateTimeCardPerDiemErrors, ThrowOnError, "fields">;
|
|
2199
|
+
/**
|
|
2200
|
+
* Delete time card per diem
|
|
2201
|
+
*
|
|
2202
|
+
* **Required scope:**
|
|
2203
|
+
*
|
|
2204
|
+
* `time_cards.per_diems:delete`
|
|
2205
|
+
*
|
|
2206
|
+
*/
|
|
2207
|
+
static deleteTimeCardPerDiem<ThrowOnError extends boolean = false>(options: Options<DeleteTimeCardPerDiemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteTimeCardPerDiemResponses, DeleteTimeCardPerDiemErrors, ThrowOnError, "fields">;
|
|
2208
|
+
/**
|
|
2209
|
+
* Update time card per diem
|
|
2210
|
+
*
|
|
2211
|
+
* **Required scope:**
|
|
2212
|
+
*
|
|
2213
|
+
* `time_cards.per_diems:update`
|
|
2214
|
+
*
|
|
2215
|
+
*/
|
|
2216
|
+
static updateTimeCardPerDiem<ThrowOnError extends boolean = false>(options: Options<UpdateTimeCardPerDiemData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateTimeCardPerDiemResponses, UpdateTimeCardPerDiemErrors, ThrowOnError, "fields">;
|
|
2217
|
+
/**
|
|
2218
|
+
* Create worker time card approval
|
|
2219
|
+
*
|
|
2220
|
+
* **Required scope:**
|
|
2221
|
+
*
|
|
2222
|
+
* `time_cards.worker_time_card_approvals:create`
|
|
2223
|
+
*
|
|
2224
|
+
*/
|
|
2225
|
+
static createWorkerTimeCardApproval<ThrowOnError extends boolean = false>(options: Options<CreateWorkerTimeCardApprovalData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateWorkerTimeCardApprovalResponses, CreateWorkerTimeCardApprovalErrors, ThrowOnError, "fields">;
|
|
2226
|
+
/**
|
|
2227
|
+
* List time cards
|
|
2228
|
+
*
|
|
2229
|
+
* **Required scope:**
|
|
2230
|
+
*
|
|
2231
|
+
* `time_cards:read`
|
|
2232
|
+
*
|
|
2233
|
+
*/
|
|
2234
|
+
static listTimeCards<ThrowOnError extends boolean = false>(options?: Options<ListTimeCardsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListTimeCardsResponses, ListTimeCardsErrors, ThrowOnError, "fields">;
|
|
2235
|
+
/**
|
|
2236
|
+
* Show time card
|
|
2237
|
+
*
|
|
2238
|
+
* **Required scope:**
|
|
2239
|
+
*
|
|
2240
|
+
* `time_cards:read`
|
|
2241
|
+
*
|
|
2242
|
+
*/
|
|
2243
|
+
static getTimeCard<ThrowOnError extends boolean = false>(options: Options<GetTimeCardData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetTimeCardResponses, GetTimeCardErrors, ThrowOnError, "fields">;
|
|
2244
|
+
}
|
|
2245
|
+
export declare class PriorPeriodAdjustments {
|
|
2246
|
+
/**
|
|
2247
|
+
* List prior period adjustments
|
|
2248
|
+
*
|
|
2249
|
+
* **Required scope:**
|
|
2250
|
+
*
|
|
2251
|
+
* `time_cards.prior_period_adjustments:read`
|
|
2252
|
+
*
|
|
2253
|
+
*/
|
|
2254
|
+
static listPriorPeriodAdjustments<ThrowOnError extends boolean = false>(options: Options<ListPriorPeriodAdjustmentsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListPriorPeriodAdjustmentsResponses, ListPriorPeriodAdjustmentsErrors, ThrowOnError, "fields">;
|
|
2255
|
+
/**
|
|
2256
|
+
* Show prior period adjustment
|
|
2257
|
+
*
|
|
2258
|
+
* **Required scope:**
|
|
2259
|
+
*
|
|
2260
|
+
* `time_cards.prior_period_adjustments:read`
|
|
2261
|
+
*
|
|
2262
|
+
*/
|
|
2263
|
+
static getPriorPeriodAdjustment<ThrowOnError extends boolean = false>(options: Options<GetPriorPeriodAdjustmentData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetPriorPeriodAdjustmentResponses, GetPriorPeriodAdjustmentErrors, ThrowOnError, "fields">;
|
|
2264
|
+
}
|
|
2265
|
+
export declare class TimeEntries {
|
|
2266
|
+
/**
|
|
2267
|
+
* List time entry versions
|
|
2268
|
+
*
|
|
2269
|
+
* **Required scope:**
|
|
2270
|
+
*
|
|
2271
|
+
* `time_entries.deltas:read`
|
|
2272
|
+
*
|
|
2273
|
+
*/
|
|
2274
|
+
static listDeltas<ThrowOnError extends boolean = false>(options?: Options<ListDeltasData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListDeltasResponses, ListDeltasErrors, ThrowOnError, "fields">;
|
|
2275
|
+
/**
|
|
2276
|
+
* List time entries
|
|
2277
|
+
*
|
|
2278
|
+
* List the company's time entries — each an atomic block of tracked work with
|
|
2279
|
+
* start/end times, an optional timecode classification, optional job, rate,
|
|
2280
|
+
* and approval status. Results are ordered by start_time then id (ascending)
|
|
2281
|
+
* and cursor-paginated. Narrow with filter[user_id], filter[job_id] (or
|
|
2282
|
+
* filter[job_id][null]=true for entries with no job), and
|
|
2283
|
+
* filter[time_card_id]; the controller also accepts gte/lte time-range
|
|
2284
|
+
* filters on start_time, end_time, created_at, and updated_at.
|
|
2285
|
+
*
|
|
2286
|
+
*
|
|
2287
|
+
* **Required scope:**
|
|
2288
|
+
*
|
|
2289
|
+
* `time_entries:read`
|
|
2290
|
+
*
|
|
2291
|
+
*/
|
|
2292
|
+
static listTimeEntries<ThrowOnError extends boolean = false>(options?: Options<ListTimeEntriesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListTimeEntriesResponses, ListTimeEntriesErrors, ThrowOnError, "fields">;
|
|
2293
|
+
/**
|
|
2294
|
+
* Create time entry
|
|
2295
|
+
*
|
|
2296
|
+
* Create a time entry. Required: time_card_id, start_time, and end_time;
|
|
2297
|
+
* user_id is derived server-side from the time card. Both start_time and
|
|
2298
|
+
* end_time must fall on a whole-minute boundary (nonzero seconds are
|
|
2299
|
+
* rejected); start_time must fall within the time card's pay period, and
|
|
2300
|
+
* end_time must be after start_time. Optional job_id (the worker must have a
|
|
2301
|
+
* Position covering that job at start_time), timecode_id (must be one of the
|
|
2302
|
+
* company's default timecodes), state, description, hourly_rate_cents (derived
|
|
2303
|
+
* from the position/user default when omitted), and feature_ids. Supplying
|
|
2304
|
+
* feature_ids — or setting feature_allocation_acknowledged true — satisfies a
|
|
2305
|
+
* job that requires a feature allocation.
|
|
2306
|
+
*
|
|
2307
|
+
*
|
|
2308
|
+
* **Required scope:**
|
|
2309
|
+
*
|
|
2310
|
+
* `time_entries:create`
|
|
2311
|
+
*
|
|
2312
|
+
*/
|
|
2313
|
+
static createTimeEntry<ThrowOnError extends boolean = false>(options: Options<CreateTimeEntryData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateTimeEntryResponses, CreateTimeEntryErrors, ThrowOnError, "fields">;
|
|
2314
|
+
/**
|
|
2315
|
+
* Delete time entry
|
|
2316
|
+
*
|
|
2317
|
+
* Hard-delete a time entry by id (the record is removed) and return its final
|
|
2318
|
+
* serialized representation. Destruction runs the model's after_destroy
|
|
2319
|
+
* cascade — recomputing the time card's rollups, uncategorized allocations,
|
|
2320
|
+
* PWA/actuals (when paystubs exist), and reassigning shifts. Returns 403 when
|
|
2321
|
+
* the entry belongs to another company, and 422 (RecordNotDestroyed) when its
|
|
2322
|
+
* time card is locked.
|
|
2323
|
+
*
|
|
2324
|
+
*
|
|
2325
|
+
* **Required scope:**
|
|
2326
|
+
*
|
|
2327
|
+
* `time_entries:delete`
|
|
2328
|
+
*
|
|
2329
|
+
*/
|
|
2330
|
+
static deleteTimeEntry<ThrowOnError extends boolean = false>(options: Options<DeleteTimeEntryData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteTimeEntryResponses, DeleteTimeEntryErrors, ThrowOnError, "fields">;
|
|
2331
|
+
/**
|
|
2332
|
+
* Update time entry
|
|
2333
|
+
*
|
|
2334
|
+
* Update an existing time entry by id; every field in the parameters is
|
|
2335
|
+
* optional and only supplied fields change. Authorization is re-checked after
|
|
2336
|
+
* attributes are assigned, so moving the entry to a time card in another
|
|
2337
|
+
* company is forbidden (403). If the change would push categorized allocation
|
|
2338
|
+
* minutes past the time card's worked minutes, the request returns 422 unless
|
|
2339
|
+
* confirm_allocation_conflict is sent true. The feature-allocation cap is
|
|
2340
|
+
* enforced, and because a persisted feature_ids= writes its join rows
|
|
2341
|
+
* immediately, a rejected save rolls them back within the enclosing
|
|
2342
|
+
* transaction.
|
|
2343
|
+
*
|
|
2344
|
+
*
|
|
2345
|
+
* **Required scope:**
|
|
2346
|
+
*
|
|
2347
|
+
* `time_entries:update`
|
|
2348
|
+
*
|
|
2349
|
+
*/
|
|
2350
|
+
static updateTimeEntry<ThrowOnError extends boolean = false>(options: Options<UpdateTimeEntryData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateTimeEntryResponses, UpdateTimeEntryErrors, ThrowOnError, "fields">;
|
|
2351
|
+
/**
|
|
2352
|
+
* Create manager time entry approval
|
|
2353
|
+
*
|
|
2354
|
+
* **Required scope:**
|
|
2355
|
+
*
|
|
2356
|
+
* `timekeeping.manager_time_entry_approvals:create`
|
|
2357
|
+
*
|
|
2358
|
+
*/
|
|
2359
|
+
static createManagerTimeEntryApproval<ThrowOnError extends boolean = false>(options: Options<CreateManagerTimeEntryApprovalData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateManagerTimeEntryApprovalResponses, CreateManagerTimeEntryApprovalErrors, ThrowOnError, "fields">;
|
|
2360
|
+
}
|
|
2361
|
+
export declare class Timecodes {
|
|
2362
|
+
/**
|
|
2363
|
+
* Cancel all scheduled changes
|
|
2364
|
+
*
|
|
2365
|
+
* **Required scope:**
|
|
2366
|
+
*
|
|
2367
|
+
* `timecodes.scheduled_changes:delete`
|
|
2368
|
+
*
|
|
2369
|
+
*/
|
|
2370
|
+
static cancelTimecodeScheduledChanges<ThrowOnError extends boolean = false>(options: Options<CancelTimecodeScheduledChangesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CancelTimecodeScheduledChangesResponses, CancelTimecodeScheduledChangesErrors, ThrowOnError, "fields">;
|
|
2371
|
+
/**
|
|
2372
|
+
* List scheduled changes for timecode
|
|
2373
|
+
*
|
|
2374
|
+
* **Required scope:**
|
|
2375
|
+
*
|
|
2376
|
+
* `timecodes.scheduled_changes:read`
|
|
2377
|
+
*
|
|
2378
|
+
*/
|
|
2379
|
+
static listTimecodeScheduledChanges<ThrowOnError extends boolean = false>(options: Options<ListTimecodeScheduledChangesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListTimecodeScheduledChangesResponses, ListTimecodeScheduledChangesErrors, ThrowOnError, "fields">;
|
|
2380
|
+
/**
|
|
2381
|
+
* Schedule future correction on timecode
|
|
2382
|
+
*
|
|
2383
|
+
* **Required scope:**
|
|
2384
|
+
*
|
|
2385
|
+
* `timecodes.scheduled_changes:create`
|
|
2386
|
+
*
|
|
2387
|
+
*/
|
|
2388
|
+
static scheduleTimecodeChange<ThrowOnError extends boolean = false>(options: Options<ScheduleTimecodeChangeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScheduleTimecodeChangeResponses, ScheduleTimecodeChangeErrors, ThrowOnError, "fields">;
|
|
2389
|
+
/**
|
|
2390
|
+
* Cancel scheduled termination on timecode
|
|
2391
|
+
*
|
|
2392
|
+
* **Required scope:**
|
|
2393
|
+
*
|
|
2394
|
+
* `timecodes.scheduled_terminations:delete`
|
|
2395
|
+
*
|
|
2396
|
+
*/
|
|
2397
|
+
static cancelTimecodeScheduledTermination<ThrowOnError extends boolean = false>(options: Options<CancelTimecodeScheduledTerminationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CancelTimecodeScheduledTerminationResponses, CancelTimecodeScheduledTerminationErrors, ThrowOnError, "fields">;
|
|
2398
|
+
/**
|
|
2399
|
+
* List timecodes
|
|
2400
|
+
*
|
|
2401
|
+
* List the company's timecodes — the work-type classifications that mark
|
|
2402
|
+
* tracked time as paid, overtime-eligible, billable, PWA-eligible, holiday,
|
|
2403
|
+
* PTO, or rest-and-recovery. Returned oldest first (ordered by creation time,
|
|
2404
|
+
* then id) and cursor-paginated; narrow with the `filter[created_at]` and
|
|
2405
|
+
* `filter[updated_at]` query parameters.
|
|
2406
|
+
*
|
|
2407
|
+
*
|
|
2408
|
+
* **Required scope:**
|
|
2409
|
+
*
|
|
2410
|
+
* `timecodes:read`
|
|
2411
|
+
*
|
|
2412
|
+
*/
|
|
2413
|
+
static listTimecodes<ThrowOnError extends boolean = false>(options?: Options<ListTimecodesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListTimecodesResponses, ListTimecodesErrors, ThrowOnError, "fields">;
|
|
2414
|
+
/**
|
|
2415
|
+
* Create timecode
|
|
2416
|
+
*
|
|
2417
|
+
* Create a timecode for the calling company; `name` is the only required
|
|
2418
|
+
* field, and omitted fields take their model/DB defaults. Its owning company
|
|
2419
|
+
* is set automatically from the API key, and an optional `effective_date`
|
|
2420
|
+
* sets the version's `valid_from` (defaulting to the request time). A timecode
|
|
2421
|
+
* marked `pwa: true` may not also be `restricted_to: non_job`.
|
|
2422
|
+
*
|
|
2423
|
+
*
|
|
2424
|
+
* **Required scope:**
|
|
2425
|
+
*
|
|
2426
|
+
* `timecodes:create`
|
|
2427
|
+
*
|
|
2428
|
+
*/
|
|
2429
|
+
static createTimecode<ThrowOnError extends boolean = false>(options: Options<CreateTimecodeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateTimecodeResponses, CreateTimecodeErrors, ThrowOnError, "fields">;
|
|
2430
|
+
/**
|
|
2431
|
+
* Terminate timecode
|
|
2432
|
+
*
|
|
2433
|
+
* Terminate a timecode by closing its valid-time range — a soft delete that
|
|
2434
|
+
* sets `valid_to` to the supplied `termination_date` (defaulting to today)
|
|
2435
|
+
* rather than removing the row, and returns the updated timecode. A
|
|
2436
|
+
* `termination_date` earlier than the timecode's `valid_from` returns 422.
|
|
2437
|
+
*
|
|
2438
|
+
*
|
|
2439
|
+
* **Required scope:**
|
|
2440
|
+
*
|
|
2441
|
+
* `timecodes:delete`
|
|
2442
|
+
*
|
|
2443
|
+
*/
|
|
2444
|
+
static terminateTimecode<ThrowOnError extends boolean = false>(options: Options<TerminateTimecodeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<TerminateTimecodeResponses, TerminateTimecodeErrors, ThrowOnError, "fields">;
|
|
2445
|
+
/**
|
|
2446
|
+
* Show timecode
|
|
2447
|
+
*
|
|
2448
|
+
* Fetch a single timecode by id.
|
|
2449
|
+
*
|
|
2450
|
+
* **Required scope:**
|
|
2451
|
+
*
|
|
2452
|
+
* `timecodes:read`
|
|
2453
|
+
*
|
|
2454
|
+
*/
|
|
2455
|
+
static getTimecode<ThrowOnError extends boolean = false>(options: Options<GetTimecodeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetTimecodeResponses, GetTimecodeErrors, ThrowOnError, "fields">;
|
|
2456
|
+
/**
|
|
2457
|
+
* Update timecode
|
|
2458
|
+
*
|
|
2459
|
+
* Update a timecode by applying a bitemporal correction to its
|
|
2460
|
+
* currently-effective version rather than mutating the row in place; `name`
|
|
2461
|
+
* must remain present, and only the fields sent in the body are changed
|
|
2462
|
+
* (omitted fields keep the current version's values). Changing rate-affecting
|
|
2463
|
+
* attributes (billable, overtime_eligible, unpaid, pwa, holiday, pto,
|
|
2464
|
+
* rest_and_recovery, incentive_pay_eligible) enqueues a background rate
|
|
2465
|
+
* re-sync. An `effective_date` in the body is not read here — the correction
|
|
2466
|
+
* takes effect at the record's existing `valid_from`.
|
|
2467
|
+
*
|
|
2468
|
+
*
|
|
2469
|
+
* **Required scope:**
|
|
2470
|
+
*
|
|
2471
|
+
* `timecodes:update`
|
|
2472
|
+
*
|
|
2473
|
+
*/
|
|
2474
|
+
static updateTimecode<ThrowOnError extends boolean = false>(options: Options<UpdateTimecodeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateTimecodeResponses, UpdateTimecodeErrors, ThrowOnError, "fields">;
|
|
2475
|
+
}
|
|
2476
|
+
export declare class JobTimeCardDays {
|
|
2477
|
+
/**
|
|
2478
|
+
* List job time card days
|
|
2479
|
+
*
|
|
2480
|
+
* **Required scope:**
|
|
2481
|
+
*
|
|
2482
|
+
* `timekeeping.job_time_card_days:read`
|
|
2483
|
+
*
|
|
2484
|
+
*/
|
|
2485
|
+
static listJobTimeCardDays<ThrowOnError extends boolean = false>(options?: Options<ListJobTimeCardDaysData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListJobTimeCardDaysResponses, ListJobTimeCardDaysErrors, ThrowOnError, "fields">;
|
|
2486
|
+
/**
|
|
2487
|
+
* Show job time card day
|
|
2488
|
+
*
|
|
2489
|
+
* **Required scope:**
|
|
2490
|
+
*
|
|
2491
|
+
* `timekeeping.job_time_card_days:read`
|
|
2492
|
+
*
|
|
2493
|
+
*/
|
|
2494
|
+
static getJobTimeCardDay<ThrowOnError extends boolean = false>(options: Options<GetJobTimeCardDayData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetJobTimeCardDayResponses, GetJobTimeCardDayErrors, ThrowOnError, "fields">;
|
|
2495
|
+
}
|
|
2496
|
+
export declare class AttestationConfigs {
|
|
2497
|
+
/**
|
|
2498
|
+
* List attestation configs
|
|
2499
|
+
*
|
|
2500
|
+
* **Required scope:**
|
|
2501
|
+
*
|
|
2502
|
+
* `timekeeping.pay_period_configs.attestation_configs:read`
|
|
2503
|
+
*
|
|
2504
|
+
*/
|
|
2505
|
+
static listAttestationConfigs<ThrowOnError extends boolean = false>(options: Options<ListAttestationConfigsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListAttestationConfigsResponses, ListAttestationConfigsErrors, ThrowOnError, "fields">;
|
|
2506
|
+
/**
|
|
2507
|
+
* Create attestation config
|
|
2508
|
+
*
|
|
2509
|
+
* **Required scope:**
|
|
2510
|
+
*
|
|
2511
|
+
* `timekeeping.pay_period_configs.attestation_configs:create`
|
|
2512
|
+
*
|
|
2513
|
+
*/
|
|
2514
|
+
static createAttestationConfig<ThrowOnError extends boolean = false>(options: Options<CreateAttestationConfigData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateAttestationConfigResponses, CreateAttestationConfigErrors, ThrowOnError, "fields">;
|
|
2515
|
+
/**
|
|
2516
|
+
* Delete attestation config
|
|
2517
|
+
*
|
|
2518
|
+
* **Required scope:**
|
|
2519
|
+
*
|
|
2520
|
+
* `timekeeping.pay_period_configs.attestation_configs:delete`
|
|
2521
|
+
*
|
|
2522
|
+
*/
|
|
2523
|
+
static deleteAttestationConfig<ThrowOnError extends boolean = false>(options: Options<DeleteAttestationConfigData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteAttestationConfigResponses, DeleteAttestationConfigErrors, ThrowOnError, "fields">;
|
|
2524
|
+
/**
|
|
2525
|
+
* Show attestation config
|
|
2526
|
+
*
|
|
2527
|
+
* **Required scope:**
|
|
2528
|
+
*
|
|
2529
|
+
* `timekeeping.pay_period_configs.attestation_configs:read`
|
|
2530
|
+
*
|
|
2531
|
+
*/
|
|
2532
|
+
static getAttestationConfig<ThrowOnError extends boolean = false>(options: Options<GetAttestationConfigData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetAttestationConfigResponses, GetAttestationConfigErrors, ThrowOnError, "fields">;
|
|
2533
|
+
}
|
|
2534
|
+
export declare class Holidays {
|
|
2535
|
+
/**
|
|
2536
|
+
* List holidays
|
|
2537
|
+
*
|
|
2538
|
+
* **Required scope:**
|
|
2539
|
+
*
|
|
2540
|
+
* `timekeeping.pay_period_configs.holidays:read`
|
|
2541
|
+
*
|
|
2542
|
+
*/
|
|
2543
|
+
static listHolidays<ThrowOnError extends boolean = false>(options: Options<ListHolidaysData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListHolidaysResponses, ListHolidaysErrors, ThrowOnError, "fields">;
|
|
2544
|
+
/**
|
|
2545
|
+
* Create holiday
|
|
2546
|
+
*
|
|
2547
|
+
* **Required scope:**
|
|
2548
|
+
*
|
|
2549
|
+
* `timekeeping.pay_period_configs.holidays:create`
|
|
2550
|
+
*
|
|
2551
|
+
*/
|
|
2552
|
+
static createHoliday<ThrowOnError extends boolean = false>(options: Options<CreateHolidayData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateHolidayResponses, CreateHolidayErrors, ThrowOnError, "fields">;
|
|
2553
|
+
/**
|
|
2554
|
+
* Delete holiday
|
|
2555
|
+
*
|
|
2556
|
+
* **Required scope:**
|
|
2557
|
+
*
|
|
2558
|
+
* `timekeeping.pay_period_configs.holidays:delete`
|
|
2559
|
+
*
|
|
2560
|
+
*/
|
|
2561
|
+
static deleteHoliday<ThrowOnError extends boolean = false>(options: Options<DeleteHolidayData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteHolidayResponses, DeleteHolidayErrors, ThrowOnError, "fields">;
|
|
2562
|
+
/**
|
|
2563
|
+
* Update holiday
|
|
2564
|
+
*
|
|
2565
|
+
* **Required scope:**
|
|
2566
|
+
*
|
|
2567
|
+
* `timekeeping.pay_period_configs.holidays:update`
|
|
2568
|
+
*
|
|
2569
|
+
*/
|
|
2570
|
+
static updateHoliday<ThrowOnError extends boolean = false>(options: Options<UpdateHolidayData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateHolidayResponses, UpdateHolidayErrors, ThrowOnError, "fields">;
|
|
2571
|
+
}
|
|
2572
|
+
export declare class PaySchedules {
|
|
2573
|
+
/**
|
|
2574
|
+
* List pay schedules
|
|
2575
|
+
*
|
|
2576
|
+
* **Required scope:**
|
|
2577
|
+
*
|
|
2578
|
+
* `timekeeping.pay_period_configs:read`
|
|
2579
|
+
*
|
|
2580
|
+
*/
|
|
2581
|
+
static listPayPeriodConfigs<ThrowOnError extends boolean = false>(options?: Options<ListPayPeriodConfigsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListPayPeriodConfigsResponses, ListPayPeriodConfigsErrors, ThrowOnError, "fields">;
|
|
2582
|
+
/**
|
|
2583
|
+
* Show pay schedule
|
|
2584
|
+
*
|
|
2585
|
+
* **Required scope:**
|
|
2586
|
+
*
|
|
2587
|
+
* `timekeeping.pay_period_configs:read`
|
|
2588
|
+
*
|
|
2589
|
+
*/
|
|
2590
|
+
static getPayPeriodConfig<ThrowOnError extends boolean = false>(options: Options<GetPayPeriodConfigData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetPayPeriodConfigResponses, GetPayPeriodConfigErrors, ThrowOnError, "fields">;
|
|
2591
|
+
}
|
|
2592
|
+
export declare class TimeCardActuals {
|
|
2593
|
+
/**
|
|
2594
|
+
* List time card actuals
|
|
2595
|
+
*
|
|
2596
|
+
* **Required scope:**
|
|
2597
|
+
*
|
|
2598
|
+
* `timekeeping.time_card_actuals:read`
|
|
2599
|
+
*
|
|
2600
|
+
*/
|
|
2601
|
+
static listTimeCardActuals<ThrowOnError extends boolean = false>(options?: Options<ListTimeCardActualsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListTimeCardActualsResponses, ListTimeCardActualsErrors, ThrowOnError, "fields">;
|
|
2602
|
+
/**
|
|
2603
|
+
* Show time card actuals
|
|
2604
|
+
*
|
|
2605
|
+
* **Required scope:**
|
|
2606
|
+
*
|
|
2607
|
+
* `timekeeping.time_card_actuals:read`
|
|
2608
|
+
*
|
|
2609
|
+
*/
|
|
2610
|
+
static getTimeCardActual<ThrowOnError extends boolean = false>(options: Options<GetTimeCardActualData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetTimeCardActualResponses, GetTimeCardActualErrors, ThrowOnError, "fields">;
|
|
2611
|
+
}
|
|
2612
|
+
export declare class UserRoles {
|
|
2613
|
+
/**
|
|
2614
|
+
* List user roles
|
|
2615
|
+
*
|
|
2616
|
+
* **Required scope:**
|
|
2617
|
+
*
|
|
2618
|
+
* `user_roles:read`
|
|
2619
|
+
*
|
|
2620
|
+
*/
|
|
2621
|
+
static listUserRoles<ThrowOnError extends boolean = false>(options?: Options<ListUserRolesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListUserRolesResponses, ListUserRolesErrors, ThrowOnError, "fields">;
|
|
2622
|
+
/**
|
|
2623
|
+
* Add roles to user
|
|
2624
|
+
*
|
|
2625
|
+
* **Required scope:**
|
|
2626
|
+
*
|
|
2627
|
+
* `user_roles:create`
|
|
2628
|
+
*
|
|
2629
|
+
*/
|
|
2630
|
+
static addUserRoles<ThrowOnError extends boolean = false>(options: Options<AddUserRolesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<AddUserRolesResponses, AddUserRolesErrors, ThrowOnError, "fields">;
|
|
2631
|
+
/**
|
|
2632
|
+
* Delete role
|
|
2633
|
+
*
|
|
2634
|
+
* **Required scope:**
|
|
2635
|
+
*
|
|
2636
|
+
* `user_roles:delete`
|
|
2637
|
+
*
|
|
2638
|
+
*/
|
|
2639
|
+
static deleteUserRole<ThrowOnError extends boolean = false>(options: Options<DeleteUserRoleData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteUserRoleResponses, DeleteUserRoleErrors, ThrowOnError, "fields">;
|
|
2640
|
+
}
|
|
2641
|
+
export declare class WageDeterminations {
|
|
2642
|
+
/**
|
|
2643
|
+
* List labor rates
|
|
2644
|
+
*
|
|
2645
|
+
* **Required scope:**
|
|
2646
|
+
*
|
|
2647
|
+
* `wage_determinations.labor_rates:read`
|
|
2648
|
+
*
|
|
2649
|
+
*/
|
|
2650
|
+
static listLaborRates<ThrowOnError extends boolean = false>(options: Options<ListLaborRatesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListLaborRatesResponses, ListLaborRatesErrors, ThrowOnError, "fields">;
|
|
2651
|
+
/**
|
|
2652
|
+
* List wage determinations
|
|
2653
|
+
*
|
|
2654
|
+
* **Required scope:**
|
|
2655
|
+
*
|
|
2656
|
+
* `wage_determinations:read`
|
|
2657
|
+
*
|
|
2658
|
+
*/
|
|
2659
|
+
static listWageDeterminations<ThrowOnError extends boolean = false>(options?: Options<ListWageDeterminationsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListWageDeterminationsResponses, ListWageDeterminationsErrors, ThrowOnError, "fields">;
|
|
2660
|
+
/**
|
|
2661
|
+
* Show wage determination
|
|
2662
|
+
*
|
|
2663
|
+
* **Required scope:**
|
|
2664
|
+
*
|
|
2665
|
+
* `wage_determinations:read`
|
|
2666
|
+
*
|
|
2667
|
+
*/
|
|
2668
|
+
static getWageDetermination<ThrowOnError extends boolean = false>(options: Options<GetWageDeterminationData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetWageDeterminationResponses, GetWageDeterminationErrors, ThrowOnError, "fields">;
|
|
2669
|
+
}
|
|
2670
|
+
export declare class WorkTypes {
|
|
2671
|
+
/**
|
|
2672
|
+
* List work types
|
|
2673
|
+
*
|
|
2674
|
+
* Lists the work types (job type categories) available to the
|
|
2675
|
+
* authenticated company: the shared global catalog (rows with no owning
|
|
2676
|
+
* company) plus the company's own company-specific entries. Returned
|
|
2677
|
+
* newest first and paginated with the `page[...]` cursor parameters.
|
|
2678
|
+
*
|
|
2679
|
+
*
|
|
2680
|
+
* **Required scope:**
|
|
2681
|
+
*
|
|
2682
|
+
* `work_types:read`
|
|
2683
|
+
*
|
|
2684
|
+
*/
|
|
2685
|
+
static listWorkTypes<ThrowOnError extends boolean = false>(options?: Options<ListWorkTypesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListWorkTypesResponses, ListWorkTypesErrors, ThrowOnError, "fields">;
|
|
2686
|
+
}
|