@digital8/task-dashboard-ts-sdk 0.0.0-stage → 0.0.1
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/.openapi-generator/FILES +197 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +45 -2
- package/dist/apis/AllocationDaysApi.d.ts +63 -0
- package/dist/apis/AllocationDaysApi.js +304 -0
- package/dist/apis/AllocationsApi.d.ts +85 -0
- package/dist/apis/AllocationsApi.js +415 -0
- package/dist/apis/AuthApi.d.ts +78 -0
- package/dist/apis/AuthApi.js +374 -0
- package/dist/apis/BudgetEntriesApi.d.ts +40 -0
- package/dist/apis/BudgetEntriesApi.js +190 -0
- package/dist/apis/ClientsApi.d.ts +85 -0
- package/dist/apis/ClientsApi.js +415 -0
- package/dist/apis/PeopleApi.d.ts +96 -0
- package/dist/apis/PeopleApi.js +471 -0
- package/dist/apis/ProjectJobsApi.d.ts +143 -0
- package/dist/apis/ProjectJobsApi.js +701 -0
- package/dist/apis/ProjectsApi.d.ts +193 -0
- package/dist/apis/ProjectsApi.js +937 -0
- package/dist/apis/PublicHolidaysApi.d.ts +29 -0
- package/dist/apis/PublicHolidaysApi.js +135 -0
- package/dist/apis/ReportsApi.d.ts +53 -0
- package/dist/apis/ReportsApi.js +251 -0
- package/dist/apis/ScheduleApi.d.ts +29 -0
- package/dist/apis/ScheduleApi.js +135 -0
- package/dist/apis/SettingsApi.d.ts +37 -0
- package/dist/apis/SettingsApi.js +187 -0
- package/dist/apis/TasksApi.d.ts +74 -0
- package/dist/apis/TasksApi.js +359 -0
- package/dist/apis/TimeEntriesApi.d.ts +85 -0
- package/dist/apis/TimeEntriesApi.js +415 -0
- package/dist/apis/TimeOffApi.d.ts +85 -0
- package/dist/apis/TimeOffApi.js +415 -0
- package/dist/apis/TimeOffDaysApi.d.ts +63 -0
- package/dist/apis/TimeOffDaysApi.js +304 -0
- package/dist/apis/index.d.ts +16 -0
- package/dist/apis/index.js +34 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AllocationDayResource.d.ts +62 -0
- package/dist/models/AllocationDayResource.js +71 -0
- package/dist/models/AllocationDayResourceArrayResponse.d.ts +33 -0
- package/dist/models/AllocationDayResourceArrayResponse.js +52 -0
- package/dist/models/AllocationListResource.d.ts +76 -0
- package/dist/models/AllocationListResource.js +81 -0
- package/dist/models/AllocationListResourceArrayResponse.d.ts +33 -0
- package/dist/models/AllocationListResourceArrayResponse.js +52 -0
- package/dist/models/AllocationLiteResource.d.ts +62 -0
- package/dist/models/AllocationLiteResource.js +71 -0
- package/dist/models/AllocationLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/AllocationLiteResourceArrayResponse.js +52 -0
- package/dist/models/AllocationResource.d.ts +94 -0
- package/dist/models/AllocationResource.js +93 -0
- package/dist/models/AllocationResourceArrayResponse.d.ts +33 -0
- package/dist/models/AllocationResourceArrayResponse.js +52 -0
- package/dist/models/AttachBudgetEntriesToProjectJobRequest.d.ts +33 -0
- package/dist/models/AttachBudgetEntriesToProjectJobRequest.js +52 -0
- package/dist/models/AttachBudgetEntriesToProjectRequest.d.ts +33 -0
- package/dist/models/AttachBudgetEntriesToProjectRequest.js +52 -0
- package/dist/models/AttachClickupListsToProjectRequest.d.ts +33 -0
- package/dist/models/AttachClickupListsToProjectRequest.js +52 -0
- package/dist/models/AttachTasksToProjectRequest.d.ts +33 -0
- package/dist/models/AttachTasksToProjectRequest.js +52 -0
- package/dist/models/AustralianState.d.ts +31 -0
- package/dist/models/AustralianState.js +57 -0
- package/dist/models/BudgetEntryResource.d.ts +74 -0
- package/dist/models/BudgetEntryResource.js +79 -0
- package/dist/models/BudgetEntryResourceArrayResponse.d.ts +33 -0
- package/dist/models/BudgetEntryResourceArrayResponse.js +52 -0
- package/dist/models/BudgetType.d.ts +25 -0
- package/dist/models/BudgetType.js +51 -0
- package/dist/models/BudgetUsageResource.d.ts +129 -0
- package/dist/models/BudgetUsageResource.js +116 -0
- package/dist/models/BudgetUsageResourceArrayResponse.d.ts +33 -0
- package/dist/models/BudgetUsageResourceArrayResponse.js +52 -0
- package/dist/models/CapacityDayResource.d.ts +62 -0
- package/dist/models/CapacityDayResource.js +71 -0
- package/dist/models/CapacityDayResourceArrayResponse.d.ts +33 -0
- package/dist/models/CapacityDayResourceArrayResponse.js +52 -0
- package/dist/models/ChangePasswordRequest.d.ts +38 -0
- package/dist/models/ChangePasswordRequest.js +55 -0
- package/dist/models/ClickupListResource.d.ts +44 -0
- package/dist/models/ClickupListResource.js +59 -0
- package/dist/models/ClickupListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ClickupListResourceArrayResponse.js +52 -0
- package/dist/models/ClientListResource.d.ts +56 -0
- package/dist/models/ClientListResource.js +67 -0
- package/dist/models/ClientListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ClientListResourceArrayResponse.js +52 -0
- package/dist/models/ClientLiteResource.d.ts +44 -0
- package/dist/models/ClientLiteResource.js +59 -0
- package/dist/models/ClientLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ClientLiteResourceArrayResponse.js +52 -0
- package/dist/models/ClientReportResource.d.ts +70 -0
- package/dist/models/ClientReportResource.js +77 -0
- package/dist/models/ClientReportResourceArrayResponse.d.ts +33 -0
- package/dist/models/ClientReportResourceArrayResponse.js +52 -0
- package/dist/models/ClientReportRowResource.d.ts +71 -0
- package/dist/models/ClientReportRowResource.js +78 -0
- package/dist/models/ClientReportRowResourceArrayResponse.d.ts +33 -0
- package/dist/models/ClientReportRowResourceArrayResponse.js +52 -0
- package/dist/models/ClientResource.d.ts +56 -0
- package/dist/models/ClientResource.js +67 -0
- package/dist/models/ClientResourceArrayResponse.d.ts +33 -0
- package/dist/models/ClientResourceArrayResponse.js +52 -0
- package/dist/models/CreateAllocationRequest.d.ts +68 -0
- package/dist/models/CreateAllocationRequest.js +70 -0
- package/dist/models/CreateClientRequest.d.ts +38 -0
- package/dist/models/CreateClientRequest.js +53 -0
- package/dist/models/CreatePersonRequest.d.ts +82 -0
- package/dist/models/CreatePersonRequest.js +77 -0
- package/dist/models/CreatePersonRequestUser.d.ts +45 -0
- package/dist/models/CreatePersonRequestUser.js +54 -0
- package/dist/models/CreateProjectJobRequest.d.ts +70 -0
- package/dist/models/CreateProjectJobRequest.js +69 -0
- package/dist/models/CreateProjectRequest.d.ts +91 -0
- package/dist/models/CreateProjectRequest.js +78 -0
- package/dist/models/CreateProjectRequestBudgetEntriesInner.d.ts +44 -0
- package/dist/models/CreateProjectRequestBudgetEntriesInner.js +57 -0
- package/dist/models/CreateProjectRequestClickupListsInner.d.ts +38 -0
- package/dist/models/CreateProjectRequestClickupListsInner.js +55 -0
- package/dist/models/CreateProjectRequestTasksInner.d.ts +38 -0
- package/dist/models/CreateProjectRequestTasksInner.js +53 -0
- package/dist/models/CreateTaskRequest.d.ts +56 -0
- package/dist/models/CreateTaskRequest.js +61 -0
- package/dist/models/CreateTimeEntryRequest.d.ts +74 -0
- package/dist/models/CreateTimeEntryRequest.js +71 -0
- package/dist/models/CreateTimeOffRequest.d.ts +69 -0
- package/dist/models/CreateTimeOffRequest.js +67 -0
- package/dist/models/CurrentUserResource.d.ts +52 -0
- package/dist/models/CurrentUserResource.js +65 -0
- package/dist/models/CurrentUserResourceArrayResponse.d.ts +33 -0
- package/dist/models/CurrentUserResourceArrayResponse.js +52 -0
- package/dist/models/DetachBudgetEntriesFromProjectJobRequest.d.ts +32 -0
- package/dist/models/DetachBudgetEntriesFromProjectJobRequest.js +51 -0
- package/dist/models/DetachBudgetEntriesFromProjectRequest.d.ts +32 -0
- package/dist/models/DetachBudgetEntriesFromProjectRequest.js +51 -0
- package/dist/models/DetachClickupListsFromProjectRequest.d.ts +32 -0
- package/dist/models/DetachClickupListsFromProjectRequest.js +51 -0
- package/dist/models/DetachTasksFromProjectRequest.d.ts +38 -0
- package/dist/models/DetachTasksFromProjectRequest.js +53 -0
- package/dist/models/GenericResponse.d.ts +32 -0
- package/dist/models/GenericResponse.js +51 -0
- package/dist/models/GetClientReportRequest.d.ts +38 -0
- package/dist/models/GetClientReportRequest.js +55 -0
- package/dist/models/GetPeopleReportRequest.d.ts +44 -0
- package/dist/models/GetPeopleReportRequest.js +57 -0
- package/dist/models/GetProjectReportRequest.d.ts +38 -0
- package/dist/models/GetProjectReportRequest.js +51 -0
- package/dist/models/GetScheduleCapacityRequest.d.ts +44 -0
- package/dist/models/GetScheduleCapacityRequest.js +57 -0
- package/dist/models/JobReportResource.d.ts +47 -0
- package/dist/models/JobReportResource.js +62 -0
- package/dist/models/JobReportResourceArrayResponse.d.ts +33 -0
- package/dist/models/JobReportResourceArrayResponse.js +52 -0
- package/dist/models/LoginRequest.d.ts +38 -0
- package/dist/models/LoginRequest.js +55 -0
- package/dist/models/PaginatedAllocationDayResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedAllocationDayResourceResponse.js +57 -0
- package/dist/models/PaginatedAllocationListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedAllocationListResourceResponse.js +57 -0
- package/dist/models/PaginatedBudgetEntryResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBudgetEntryResourceResponse.js +57 -0
- package/dist/models/PaginatedClientListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedClientListResourceResponse.js +57 -0
- package/dist/models/PaginatedPersonListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedPersonListResourceResponse.js +57 -0
- package/dist/models/PaginatedProjectJobListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProjectJobListResourceResponse.js +57 -0
- package/dist/models/PaginatedProjectListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProjectListResourceResponse.js +57 -0
- package/dist/models/PaginatedTaskListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTaskListResourceResponse.js +57 -0
- package/dist/models/PaginatedTimeEntryListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTimeEntryListResourceResponse.js +57 -0
- package/dist/models/PaginatedTimeOffDayResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTimeOffDayResourceResponse.js +57 -0
- package/dist/models/PaginatedTimeOffListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTimeOffListResourceResponse.js +57 -0
- package/dist/models/PagingMetadata.d.ts +68 -0
- package/dist/models/PagingMetadata.js +75 -0
- package/dist/models/PersonListResource.d.ts +100 -0
- package/dist/models/PersonListResource.js +97 -0
- package/dist/models/PersonListResourceArrayResponse.d.ts +33 -0
- package/dist/models/PersonListResourceArrayResponse.js +52 -0
- package/dist/models/PersonLiteResource.d.ts +51 -0
- package/dist/models/PersonLiteResource.js +64 -0
- package/dist/models/PersonLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/PersonLiteResourceArrayResponse.js +52 -0
- package/dist/models/PersonReportProjectResource.d.ts +58 -0
- package/dist/models/PersonReportProjectResource.js +69 -0
- package/dist/models/PersonReportProjectResourceArrayResponse.d.ts +33 -0
- package/dist/models/PersonReportProjectResourceArrayResponse.js +52 -0
- package/dist/models/PersonReportResource.d.ts +70 -0
- package/dist/models/PersonReportResource.js +77 -0
- package/dist/models/PersonReportResourceArrayResponse.d.ts +33 -0
- package/dist/models/PersonReportResourceArrayResponse.js +52 -0
- package/dist/models/PersonResource.d.ts +106 -0
- package/dist/models/PersonResource.js +101 -0
- package/dist/models/PersonResourceArrayResponse.d.ts +33 -0
- package/dist/models/PersonResourceArrayResponse.js +52 -0
- package/dist/models/PersonType.d.ts +25 -0
- package/dist/models/PersonType.js +51 -0
- package/dist/models/ProjectJobListResource.d.ts +102 -0
- package/dist/models/ProjectJobListResource.js +99 -0
- package/dist/models/ProjectJobListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProjectJobListResourceArrayResponse.js +52 -0
- package/dist/models/ProjectJobLiteResource.d.ts +63 -0
- package/dist/models/ProjectJobLiteResource.js +72 -0
- package/dist/models/ProjectJobLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProjectJobLiteResourceArrayResponse.js +52 -0
- package/dist/models/ProjectJobResource.d.ts +102 -0
- package/dist/models/ProjectJobResource.js +99 -0
- package/dist/models/ProjectJobResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProjectJobResourceArrayResponse.js +52 -0
- package/dist/models/ProjectJobStatus.d.ts +25 -0
- package/dist/models/ProjectJobStatus.js +51 -0
- package/dist/models/ProjectListResource.d.ts +95 -0
- package/dist/models/ProjectListResource.js +94 -0
- package/dist/models/ProjectListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProjectListResourceArrayResponse.js +52 -0
- package/dist/models/ProjectLiteResource.d.ts +57 -0
- package/dist/models/ProjectLiteResource.js +68 -0
- package/dist/models/ProjectLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProjectLiteResourceArrayResponse.js +52 -0
- package/dist/models/ProjectReportResource.d.ts +61 -0
- package/dist/models/ProjectReportResource.js +72 -0
- package/dist/models/ProjectReportResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProjectReportResourceArrayResponse.js +52 -0
- package/dist/models/ProjectResource.d.ts +109 -0
- package/dist/models/ProjectResource.js +104 -0
- package/dist/models/ProjectResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProjectResourceArrayResponse.js +52 -0
- package/dist/models/ProjectTaskResource.d.ts +56 -0
- package/dist/models/ProjectTaskResource.js +67 -0
- package/dist/models/ProjectTaskResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProjectTaskResourceArrayResponse.js +52 -0
- package/dist/models/ProjectType.d.ts +26 -0
- package/dist/models/ProjectType.js +52 -0
- package/dist/models/PublicHolidayResource.d.ts +50 -0
- package/dist/models/PublicHolidayResource.js +63 -0
- package/dist/models/PublicHolidayResourceArrayResponse.d.ts +33 -0
- package/dist/models/PublicHolidayResourceArrayResponse.js +52 -0
- package/dist/models/RateSource.d.ts +27 -0
- package/dist/models/RateSource.js +53 -0
- package/dist/models/ResetPasswordRequest.d.ts +44 -0
- package/dist/models/ResetPasswordRequest.js +59 -0
- package/dist/models/SearchAllAllocationDaysRequest.d.ts +107 -0
- package/dist/models/SearchAllAllocationDaysRequest.js +87 -0
- package/dist/models/SearchAllAllocationsRequest.d.ts +90 -0
- package/dist/models/SearchAllAllocationsRequest.js +78 -0
- package/dist/models/SearchAllBudgetEntriesRequest.d.ts +86 -0
- package/dist/models/SearchAllBudgetEntriesRequest.js +81 -0
- package/dist/models/SearchAllClientsRequest.d.ts +84 -0
- package/dist/models/SearchAllClientsRequest.js +76 -0
- package/dist/models/SearchAllPeopleRequest.d.ts +93 -0
- package/dist/models/SearchAllPeopleRequest.js +81 -0
- package/dist/models/SearchAllProjectJobsRequest.d.ts +99 -0
- package/dist/models/SearchAllProjectJobsRequest.js +83 -0
- package/dist/models/SearchAllProjectsRequest.d.ts +104 -0
- package/dist/models/SearchAllProjectsRequest.js +84 -0
- package/dist/models/SearchAllPublicHolidaysRequest.d.ts +89 -0
- package/dist/models/SearchAllPublicHolidaysRequest.js +77 -0
- package/dist/models/SearchAllTasksRequest.d.ts +96 -0
- package/dist/models/SearchAllTasksRequest.js +80 -0
- package/dist/models/SearchAllTimeEntriesRequest.d.ts +115 -0
- package/dist/models/SearchAllTimeEntriesRequest.js +87 -0
- package/dist/models/SearchAllTimeOffDaysRequest.d.ts +101 -0
- package/dist/models/SearchAllTimeOffDaysRequest.js +85 -0
- package/dist/models/SearchAllTimeOffRequest.d.ts +90 -0
- package/dist/models/SearchAllTimeOffRequest.js +78 -0
- package/dist/models/SearchAllocationDaysRequest.d.ts +119 -0
- package/dist/models/SearchAllocationDaysRequest.js +87 -0
- package/dist/models/SearchAllocationsRequest.d.ts +102 -0
- package/dist/models/SearchAllocationsRequest.js +82 -0
- package/dist/models/SearchBudgetEntriesRequest.d.ts +98 -0
- package/dist/models/SearchBudgetEntriesRequest.js +85 -0
- package/dist/models/SearchClientsRequest.d.ts +96 -0
- package/dist/models/SearchClientsRequest.js +80 -0
- package/dist/models/SearchPeopleRequest.d.ts +105 -0
- package/dist/models/SearchPeopleRequest.js +85 -0
- package/dist/models/SearchProjectJobsRequest.d.ts +111 -0
- package/dist/models/SearchProjectJobsRequest.js +87 -0
- package/dist/models/SearchProjectsRequest.d.ts +116 -0
- package/dist/models/SearchProjectsRequest.js +88 -0
- package/dist/models/SearchTasksRequest.d.ts +108 -0
- package/dist/models/SearchTasksRequest.js +84 -0
- package/dist/models/SearchTimeEntriesRequest.d.ts +127 -0
- package/dist/models/SearchTimeEntriesRequest.js +91 -0
- package/dist/models/SearchTimeOffDaysRequest.d.ts +113 -0
- package/dist/models/SearchTimeOffDaysRequest.js +85 -0
- package/dist/models/SearchTimeOffRequest.d.ts +102 -0
- package/dist/models/SearchTimeOffRequest.js +82 -0
- package/dist/models/SendForgotPasswordLinkRequest.d.ts +32 -0
- package/dist/models/SendForgotPasswordLinkRequest.js +51 -0
- package/dist/models/SettingsResource.d.ts +32 -0
- package/dist/models/SettingsResource.js +51 -0
- package/dist/models/SettingsResourceArrayResponse.d.ts +33 -0
- package/dist/models/SettingsResourceArrayResponse.js +52 -0
- package/dist/models/TaskListResource.d.ts +74 -0
- package/dist/models/TaskListResource.js +79 -0
- package/dist/models/TaskListResourceArrayResponse.d.ts +33 -0
- package/dist/models/TaskListResourceArrayResponse.js +52 -0
- package/dist/models/TaskLiteResource.d.ts +50 -0
- package/dist/models/TaskLiteResource.js +63 -0
- package/dist/models/TaskLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/TaskLiteResourceArrayResponse.js +52 -0
- package/dist/models/TaskResource.d.ts +74 -0
- package/dist/models/TaskResource.js +79 -0
- package/dist/models/TaskResourceArrayResponse.d.ts +33 -0
- package/dist/models/TaskResourceArrayResponse.js +52 -0
- package/dist/models/TimeEntryListResource.d.ts +96 -0
- package/dist/models/TimeEntryListResource.js +95 -0
- package/dist/models/TimeEntryListResourceArrayResponse.d.ts +33 -0
- package/dist/models/TimeEntryListResourceArrayResponse.js +52 -0
- package/dist/models/TimeEntryLiteResource.d.ts +68 -0
- package/dist/models/TimeEntryLiteResource.js +75 -0
- package/dist/models/TimeEntryLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/TimeEntryLiteResourceArrayResponse.js +52 -0
- package/dist/models/TimeEntryResource.d.ts +102 -0
- package/dist/models/TimeEntryResource.js +99 -0
- package/dist/models/TimeEntryResourceArrayResponse.d.ts +33 -0
- package/dist/models/TimeEntryResourceArrayResponse.js +52 -0
- package/dist/models/TimeOffDayResource.d.ts +56 -0
- package/dist/models/TimeOffDayResource.js +67 -0
- package/dist/models/TimeOffDayResourceArrayResponse.d.ts +33 -0
- package/dist/models/TimeOffDayResourceArrayResponse.js +52 -0
- package/dist/models/TimeOffListResource.d.ts +76 -0
- package/dist/models/TimeOffListResource.js +81 -0
- package/dist/models/TimeOffListResourceArrayResponse.d.ts +33 -0
- package/dist/models/TimeOffListResourceArrayResponse.js +52 -0
- package/dist/models/TimeOffLiteResource.d.ts +69 -0
- package/dist/models/TimeOffLiteResource.js +76 -0
- package/dist/models/TimeOffLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/TimeOffLiteResourceArrayResponse.js +52 -0
- package/dist/models/TimeOffResource.d.ts +94 -0
- package/dist/models/TimeOffResource.js +93 -0
- package/dist/models/TimeOffResourceArrayResponse.d.ts +33 -0
- package/dist/models/TimeOffResourceArrayResponse.js +52 -0
- package/dist/models/TimeOffType.d.ts +25 -0
- package/dist/models/TimeOffType.js +51 -0
- package/dist/models/UpdateAllocationDayRequest.d.ts +50 -0
- package/dist/models/UpdateAllocationDayRequest.js +55 -0
- package/dist/models/UpdateAllocationRequest.d.ts +68 -0
- package/dist/models/UpdateAllocationRequest.js +62 -0
- package/dist/models/UpdateClientRequest.d.ts +38 -0
- package/dist/models/UpdateClientRequest.js +51 -0
- package/dist/models/UpdatePersonRequest.d.ts +82 -0
- package/dist/models/UpdatePersonRequest.js +67 -0
- package/dist/models/UpdateProjectBudgetEntryRequest.d.ts +50 -0
- package/dist/models/UpdateProjectBudgetEntryRequest.js +59 -0
- package/dist/models/UpdateProjectClickupListRequest.d.ts +38 -0
- package/dist/models/UpdateProjectClickupListRequest.js +55 -0
- package/dist/models/UpdateProjectJobBudgetEntryRequest.d.ts +50 -0
- package/dist/models/UpdateProjectJobBudgetEntryRequest.js +59 -0
- package/dist/models/UpdateProjectJobRequest.d.ts +51 -0
- package/dist/models/UpdateProjectJobRequest.js +56 -0
- package/dist/models/UpdateProjectRequest.d.ts +64 -0
- package/dist/models/UpdateProjectRequest.js +61 -0
- package/dist/models/UpdateProjectTaskRateRequest.d.ts +38 -0
- package/dist/models/UpdateProjectTaskRateRequest.js +53 -0
- package/dist/models/UpdateSettingsRequest.d.ts +32 -0
- package/dist/models/UpdateSettingsRequest.js +49 -0
- package/dist/models/UpdateTaskRequest.d.ts +56 -0
- package/dist/models/UpdateTaskRequest.js +57 -0
- package/dist/models/UpdateTimeEntryRequest.d.ts +74 -0
- package/dist/models/UpdateTimeEntryRequest.js +63 -0
- package/dist/models/UpdateTimeOffDayRequest.d.ts +38 -0
- package/dist/models/UpdateTimeOffDayRequest.js +51 -0
- package/dist/models/UpdateTimeOffRequest.d.ts +63 -0
- package/dist/models/UpdateTimeOffRequest.js +61 -0
- package/dist/models/UserAuthTokenResource.d.ts +39 -0
- package/dist/models/UserAuthTokenResource.js +56 -0
- package/dist/models/UserAuthTokenResourceArrayResponse.d.ts +33 -0
- package/dist/models/UserAuthTokenResourceArrayResponse.js +52 -0
- package/dist/models/UserResource.d.ts +45 -0
- package/dist/models/UserResource.js +60 -0
- package/dist/models/UserResourceArrayResponse.d.ts +33 -0
- package/dist/models/UserResourceArrayResponse.js +52 -0
- package/dist/models/UserRole.d.ts +25 -0
- package/dist/models/UserRole.js +51 -0
- package/dist/models/index.d.ts +171 -0
- package/dist/models/index.js +189 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +564 -0
- package/package.json +17 -4
- package/src/apis/AllocationDaysApi.ts +238 -0
- package/src/apis/AllocationsApi.ts +334 -0
- package/src/apis/AuthApi.ts +274 -0
- package/src/apis/BudgetEntriesApi.ts +127 -0
- package/src/apis/ClientsApi.ts +334 -0
- package/src/apis/PeopleApi.ts +383 -0
- package/src/apis/ProjectJobsApi.ts +600 -0
- package/src/apis/ProjectsApi.ts +838 -0
- package/src/apis/PublicHolidaysApi.ts +77 -0
- package/src/apis/ReportsApi.ts +195 -0
- package/src/apis/ScheduleApi.ts +77 -0
- package/src/apis/SettingsApi.ts +114 -0
- package/src/apis/TasksApi.ts +282 -0
- package/src/apis/TimeEntriesApi.ts +334 -0
- package/src/apis/TimeOffApi.ts +334 -0
- package/src/apis/TimeOffDaysApi.ts +238 -0
- package/src/apis/index.ts +18 -0
- package/src/index.ts +5 -0
- package/src/models/AllocationDayResource.ts +111 -0
- package/src/models/AllocationDayResourceArrayResponse.ts +74 -0
- package/src/models/AllocationListResource.ts +144 -0
- package/src/models/AllocationListResourceArrayResponse.ts +74 -0
- package/src/models/AllocationLiteResource.ts +111 -0
- package/src/models/AllocationLiteResourceArrayResponse.ts +74 -0
- package/src/models/AllocationResource.ts +171 -0
- package/src/models/AllocationResourceArrayResponse.ts +74 -0
- package/src/models/AttachBudgetEntriesToProjectJobRequest.ts +74 -0
- package/src/models/AttachBudgetEntriesToProjectRequest.ts +74 -0
- package/src/models/AttachClickupListsToProjectRequest.ts +74 -0
- package/src/models/AttachTasksToProjectRequest.ts +74 -0
- package/src/models/AustralianState.ts +59 -0
- package/src/models/BudgetEntryResource.ts +129 -0
- package/src/models/BudgetEntryResourceArrayResponse.ts +74 -0
- package/src/models/BudgetType.ts +53 -0
- package/src/models/BudgetUsageResource.ts +220 -0
- package/src/models/BudgetUsageResourceArrayResponse.ts +74 -0
- package/src/models/CapacityDayResource.ts +111 -0
- package/src/models/CapacityDayResourceArrayResponse.ts +74 -0
- package/src/models/ChangePasswordRequest.ts +75 -0
- package/src/models/ClickupListResource.ts +84 -0
- package/src/models/ClickupListResourceArrayResponse.ts +74 -0
- package/src/models/ClientListResource.ts +102 -0
- package/src/models/ClientListResourceArrayResponse.ts +74 -0
- package/src/models/ClientLiteResource.ts +84 -0
- package/src/models/ClientLiteResourceArrayResponse.ts +74 -0
- package/src/models/ClientReportResource.ts +135 -0
- package/src/models/ClientReportResourceArrayResponse.ts +74 -0
- package/src/models/ClientReportRowResource.ts +142 -0
- package/src/models/ClientReportRowResourceArrayResponse.ts +74 -0
- package/src/models/ClientResource.ts +102 -0
- package/src/models/ClientResourceArrayResponse.ts +74 -0
- package/src/models/CreateAllocationRequest.ts +117 -0
- package/src/models/CreateClientRequest.ts +74 -0
- package/src/models/CreatePersonRequest.ts +151 -0
- package/src/models/CreatePersonRequestUser.ts +91 -0
- package/src/models/CreateProjectJobRequest.ts +133 -0
- package/src/models/CreateProjectRequest.ts +178 -0
- package/src/models/CreateProjectRequestBudgetEntriesInner.ts +83 -0
- package/src/models/CreateProjectRequestClickupListsInner.ts +75 -0
- package/src/models/CreateProjectRequestTasksInner.ts +74 -0
- package/src/models/CreateTaskRequest.ts +99 -0
- package/src/models/CreateTimeEntryRequest.ts +125 -0
- package/src/models/CreateTimeOffRequest.ts +125 -0
- package/src/models/CurrentUserResource.ts +110 -0
- package/src/models/CurrentUserResourceArrayResponse.ts +74 -0
- package/src/models/DetachBudgetEntriesFromProjectJobRequest.ts +66 -0
- package/src/models/DetachBudgetEntriesFromProjectRequest.ts +66 -0
- package/src/models/DetachClickupListsFromProjectRequest.ts +66 -0
- package/src/models/DetachTasksFromProjectRequest.ts +74 -0
- package/src/models/GenericResponse.ts +66 -0
- package/src/models/GetClientReportRequest.ts +75 -0
- package/src/models/GetPeopleReportRequest.ts +83 -0
- package/src/models/GetProjectReportRequest.ts +73 -0
- package/src/models/GetScheduleCapacityRequest.ts +83 -0
- package/src/models/JobReportResource.ts +106 -0
- package/src/models/JobReportResourceArrayResponse.ts +74 -0
- package/src/models/LoginRequest.ts +75 -0
- package/src/models/PaginatedAllocationDayResourceResponse.ts +90 -0
- package/src/models/PaginatedAllocationListResourceResponse.ts +90 -0
- package/src/models/PaginatedBudgetEntryResourceResponse.ts +90 -0
- package/src/models/PaginatedClientListResourceResponse.ts +90 -0
- package/src/models/PaginatedPersonListResourceResponse.ts +90 -0
- package/src/models/PaginatedProjectJobListResourceResponse.ts +90 -0
- package/src/models/PaginatedProjectListResourceResponse.ts +90 -0
- package/src/models/PaginatedTaskListResourceResponse.ts +90 -0
- package/src/models/PaginatedTimeEntryListResourceResponse.ts +90 -0
- package/src/models/PaginatedTimeOffDayResourceResponse.ts +90 -0
- package/src/models/PaginatedTimeOffListResourceResponse.ts +90 -0
- package/src/models/PagingMetadata.ts +120 -0
- package/src/models/PersonListResource.ts +182 -0
- package/src/models/PersonListResourceArrayResponse.ts +74 -0
- package/src/models/PersonLiteResource.ts +103 -0
- package/src/models/PersonLiteResourceArrayResponse.ts +74 -0
- package/src/models/PersonReportProjectResource.ts +117 -0
- package/src/models/PersonReportProjectResourceArrayResponse.ts +74 -0
- package/src/models/PersonReportResource.ts +135 -0
- package/src/models/PersonReportResourceArrayResponse.ts +74 -0
- package/src/models/PersonResource.ts +191 -0
- package/src/models/PersonResourceArrayResponse.ts +74 -0
- package/src/models/PersonType.ts +53 -0
- package/src/models/ProjectJobListResource.ts +196 -0
- package/src/models/ProjectJobListResourceArrayResponse.ts +74 -0
- package/src/models/ProjectJobLiteResource.ts +121 -0
- package/src/models/ProjectJobLiteResourceArrayResponse.ts +74 -0
- package/src/models/ProjectJobResource.ts +196 -0
- package/src/models/ProjectJobResourceArrayResponse.ts +74 -0
- package/src/models/ProjectJobStatus.ts +53 -0
- package/src/models/ProjectListResource.ts +180 -0
- package/src/models/ProjectListResourceArrayResponse.ts +74 -0
- package/src/models/ProjectLiteResource.ts +112 -0
- package/src/models/ProjectLiteResourceArrayResponse.ts +74 -0
- package/src/models/ProjectReportResource.ts +140 -0
- package/src/models/ProjectReportResourceArrayResponse.ts +74 -0
- package/src/models/ProjectResource.ts +212 -0
- package/src/models/ProjectResourceArrayResponse.ts +74 -0
- package/src/models/ProjectTaskResource.ts +102 -0
- package/src/models/ProjectTaskResourceArrayResponse.ts +74 -0
- package/src/models/ProjectType.ts +54 -0
- package/src/models/PublicHolidayResource.ts +93 -0
- package/src/models/PublicHolidayResourceArrayResponse.ts +74 -0
- package/src/models/RateSource.ts +55 -0
- package/src/models/ResetPasswordRequest.ts +84 -0
- package/src/models/SearchAllAllocationDaysRequest.ts +166 -0
- package/src/models/SearchAllAllocationsRequest.ts +141 -0
- package/src/models/SearchAllBudgetEntriesRequest.ts +134 -0
- package/src/models/SearchAllClientsRequest.ts +133 -0
- package/src/models/SearchAllPeopleRequest.ts +144 -0
- package/src/models/SearchAllProjectJobsRequest.ts +152 -0
- package/src/models/SearchAllProjectsRequest.ts +159 -0
- package/src/models/SearchAllPublicHolidaysRequest.ts +140 -0
- package/src/models/SearchAllTasksRequest.ts +149 -0
- package/src/models/SearchAllTimeEntriesRequest.ts +174 -0
- package/src/models/SearchAllTimeOffDaysRequest.ts +158 -0
- package/src/models/SearchAllTimeOffRequest.ts +141 -0
- package/src/models/SearchAllocationDaysRequest.ts +180 -0
- package/src/models/SearchAllocationsRequest.ts +157 -0
- package/src/models/SearchBudgetEntriesRequest.ts +150 -0
- package/src/models/SearchClientsRequest.ts +149 -0
- package/src/models/SearchPeopleRequest.ts +160 -0
- package/src/models/SearchProjectJobsRequest.ts +168 -0
- package/src/models/SearchProjectsRequest.ts +175 -0
- package/src/models/SearchTasksRequest.ts +165 -0
- package/src/models/SearchTimeEntriesRequest.ts +190 -0
- package/src/models/SearchTimeOffDaysRequest.ts +172 -0
- package/src/models/SearchTimeOffRequest.ts +157 -0
- package/src/models/SendForgotPasswordLinkRequest.ts +66 -0
- package/src/models/SettingsResource.ts +66 -0
- package/src/models/SettingsResourceArrayResponse.ts +74 -0
- package/src/models/TaskListResource.ts +129 -0
- package/src/models/TaskListResourceArrayResponse.ts +74 -0
- package/src/models/TaskLiteResource.ts +93 -0
- package/src/models/TaskLiteResourceArrayResponse.ts +74 -0
- package/src/models/TaskResource.ts +129 -0
- package/src/models/TaskResourceArrayResponse.ts +74 -0
- package/src/models/TimeEntryListResource.ts +185 -0
- package/src/models/TimeEntryListResourceArrayResponse.ts +74 -0
- package/src/models/TimeEntryLiteResource.ts +120 -0
- package/src/models/TimeEntryLiteResourceArrayResponse.ts +74 -0
- package/src/models/TimeEntryResource.ts +194 -0
- package/src/models/TimeEntryResourceArrayResponse.ts +74 -0
- package/src/models/TimeOffDayResource.ts +102 -0
- package/src/models/TimeOffDayResourceArrayResponse.ts +74 -0
- package/src/models/TimeOffListResource.ts +146 -0
- package/src/models/TimeOffListResourceArrayResponse.ts +74 -0
- package/src/models/TimeOffLiteResource.ts +130 -0
- package/src/models/TimeOffLiteResourceArrayResponse.ts +74 -0
- package/src/models/TimeOffResource.ts +173 -0
- package/src/models/TimeOffResourceArrayResponse.ts +74 -0
- package/src/models/TimeOffType.ts +53 -0
- package/src/models/UpdateAllocationDayRequest.ts +89 -0
- package/src/models/UpdateAllocationRequest.ts +113 -0
- package/src/models/UpdateClientRequest.ts +73 -0
- package/src/models/UpdatePersonRequest.ts +146 -0
- package/src/models/UpdateProjectBudgetEntryRequest.ts +91 -0
- package/src/models/UpdateProjectClickupListRequest.ts +75 -0
- package/src/models/UpdateProjectJobBudgetEntryRequest.ts +91 -0
- package/src/models/UpdateProjectJobRequest.ts +99 -0
- package/src/models/UpdateProjectRequest.ts +122 -0
- package/src/models/UpdateProjectTaskRateRequest.ts +74 -0
- package/src/models/UpdateSettingsRequest.ts +65 -0
- package/src/models/UpdateTaskRequest.ts +97 -0
- package/src/models/UpdateTimeEntryRequest.ts +121 -0
- package/src/models/UpdateTimeOffDayRequest.ts +73 -0
- package/src/models/UpdateTimeOffRequest.ts +115 -0
- package/src/models/UserAuthTokenResource.ts +83 -0
- package/src/models/UserAuthTokenResourceArrayResponse.ts +74 -0
- package/src/models/UserResource.ts +94 -0
- package/src/models/UserResourceArrayResponse.ts +74 -0
- package/src/models/UserRole.ts +53 -0
- package/src/models/index.ts +173 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Laravel API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AllocationDayResource
|
|
20
|
+
*/
|
|
21
|
+
export interface AllocationDayResource {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof AllocationDayResource
|
|
26
|
+
*/
|
|
27
|
+
id: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof AllocationDayResource
|
|
32
|
+
*/
|
|
33
|
+
allocationId: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof AllocationDayResource
|
|
38
|
+
*/
|
|
39
|
+
personId: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof AllocationDayResource
|
|
44
|
+
*/
|
|
45
|
+
projectId: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Date}
|
|
49
|
+
* @memberof AllocationDayResource
|
|
50
|
+
*/
|
|
51
|
+
date: Date;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof AllocationDayResource
|
|
56
|
+
*/
|
|
57
|
+
hours: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the AllocationDayResource interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfAllocationDayResource(value: object): value is AllocationDayResource {
|
|
64
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
65
|
+
if (!('allocationId' in value) || value['allocationId'] === undefined) return false;
|
|
66
|
+
if (!('personId' in value) || value['personId'] === undefined) return false;
|
|
67
|
+
if (!('projectId' in value) || value['projectId'] === undefined) return false;
|
|
68
|
+
if (!('date' in value) || value['date'] === undefined) return false;
|
|
69
|
+
if (!('hours' in value) || value['hours'] === undefined) return false;
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function AllocationDayResourceFromJSON(json: any): AllocationDayResource {
|
|
74
|
+
return AllocationDayResourceFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function AllocationDayResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllocationDayResource {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'id': json['id'],
|
|
84
|
+
'allocationId': json['allocationId'],
|
|
85
|
+
'personId': json['personId'],
|
|
86
|
+
'projectId': json['projectId'],
|
|
87
|
+
'date': (new Date(json['date'])),
|
|
88
|
+
'hours': json['hours'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function AllocationDayResourceToJSON(json: any): AllocationDayResource {
|
|
93
|
+
return AllocationDayResourceToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function AllocationDayResourceToJSONTyped(value?: AllocationDayResource | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'id': value['id'],
|
|
104
|
+
'allocationId': value['allocationId'],
|
|
105
|
+
'personId': value['personId'],
|
|
106
|
+
'projectId': value['projectId'],
|
|
107
|
+
'date': ((value['date']).toISOString()),
|
|
108
|
+
'hours': value['hours'],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Laravel API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AllocationDayResource } from './AllocationDayResource';
|
|
17
|
+
import {
|
|
18
|
+
AllocationDayResourceFromJSON,
|
|
19
|
+
AllocationDayResourceFromJSONTyped,
|
|
20
|
+
AllocationDayResourceToJSON,
|
|
21
|
+
AllocationDayResourceToJSONTyped,
|
|
22
|
+
} from './AllocationDayResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AllocationDayResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface AllocationDayResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<AllocationDayResource>}
|
|
33
|
+
* @memberof AllocationDayResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data: Array<AllocationDayResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AllocationDayResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfAllocationDayResourceArrayResponse(value: object): value is AllocationDayResourceArrayResponse {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function AllocationDayResourceArrayResponseFromJSON(json: any): AllocationDayResourceArrayResponse {
|
|
47
|
+
return AllocationDayResourceArrayResponseFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function AllocationDayResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllocationDayResourceArrayResponse {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': ((json['data'] as Array<any>).map(AllocationDayResourceFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function AllocationDayResourceArrayResponseToJSON(json: any): AllocationDayResourceArrayResponse {
|
|
61
|
+
return AllocationDayResourceArrayResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function AllocationDayResourceArrayResponseToJSONTyped(value?: AllocationDayResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'data': ((value['data'] as Array<any>).map(AllocationDayResourceToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Laravel API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ProjectLiteResource } from './ProjectLiteResource';
|
|
17
|
+
import {
|
|
18
|
+
ProjectLiteResourceFromJSON,
|
|
19
|
+
ProjectLiteResourceFromJSONTyped,
|
|
20
|
+
ProjectLiteResourceToJSON,
|
|
21
|
+
ProjectLiteResourceToJSONTyped,
|
|
22
|
+
} from './ProjectLiteResource';
|
|
23
|
+
import type { PersonLiteResource } from './PersonLiteResource';
|
|
24
|
+
import {
|
|
25
|
+
PersonLiteResourceFromJSON,
|
|
26
|
+
PersonLiteResourceFromJSONTyped,
|
|
27
|
+
PersonLiteResourceToJSON,
|
|
28
|
+
PersonLiteResourceToJSONTyped,
|
|
29
|
+
} from './PersonLiteResource';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface AllocationListResource
|
|
35
|
+
*/
|
|
36
|
+
export interface AllocationListResource {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof AllocationListResource
|
|
41
|
+
*/
|
|
42
|
+
id: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {PersonLiteResource}
|
|
46
|
+
* @memberof AllocationListResource
|
|
47
|
+
*/
|
|
48
|
+
person: PersonLiteResource;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {ProjectLiteResource}
|
|
52
|
+
* @memberof AllocationListResource
|
|
53
|
+
*/
|
|
54
|
+
project: ProjectLiteResource;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof AllocationListResource
|
|
59
|
+
*/
|
|
60
|
+
startsOn: Date;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Date}
|
|
64
|
+
* @memberof AllocationListResource
|
|
65
|
+
*/
|
|
66
|
+
endsOn: Date | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof AllocationListResource
|
|
71
|
+
*/
|
|
72
|
+
hoursPerDay: number;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof AllocationListResource
|
|
77
|
+
*/
|
|
78
|
+
rrule: string | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof AllocationListResource
|
|
83
|
+
*/
|
|
84
|
+
notes: string | null;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Check if a given object implements the AllocationListResource interface.
|
|
89
|
+
*/
|
|
90
|
+
export function instanceOfAllocationListResource(value: object): value is AllocationListResource {
|
|
91
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
92
|
+
if (!('person' in value) || value['person'] === undefined) return false;
|
|
93
|
+
if (!('project' in value) || value['project'] === undefined) return false;
|
|
94
|
+
if (!('startsOn' in value) || value['startsOn'] === undefined) return false;
|
|
95
|
+
if (!('endsOn' in value) || value['endsOn'] === undefined) return false;
|
|
96
|
+
if (!('hoursPerDay' in value) || value['hoursPerDay'] === undefined) return false;
|
|
97
|
+
if (!('rrule' in value) || value['rrule'] === undefined) return false;
|
|
98
|
+
if (!('notes' in value) || value['notes'] === undefined) return false;
|
|
99
|
+
return true;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function AllocationListResourceFromJSON(json: any): AllocationListResource {
|
|
103
|
+
return AllocationListResourceFromJSONTyped(json, false);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function AllocationListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllocationListResource {
|
|
107
|
+
if (json == null) {
|
|
108
|
+
return json;
|
|
109
|
+
}
|
|
110
|
+
return {
|
|
111
|
+
|
|
112
|
+
'id': json['id'],
|
|
113
|
+
'person': PersonLiteResourceFromJSON(json['person']),
|
|
114
|
+
'project': ProjectLiteResourceFromJSON(json['project']),
|
|
115
|
+
'startsOn': (new Date(json['startsOn'])),
|
|
116
|
+
'endsOn': (json['endsOn'] == null ? null : new Date(json['endsOn'])),
|
|
117
|
+
'hoursPerDay': json['hoursPerDay'],
|
|
118
|
+
'rrule': json['rrule'],
|
|
119
|
+
'notes': json['notes'],
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function AllocationListResourceToJSON(json: any): AllocationListResource {
|
|
124
|
+
return AllocationListResourceToJSONTyped(json, false);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export function AllocationListResourceToJSONTyped(value?: AllocationListResource | null, ignoreDiscriminator: boolean = false): any {
|
|
128
|
+
if (value == null) {
|
|
129
|
+
return value;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
return {
|
|
133
|
+
|
|
134
|
+
'id': value['id'],
|
|
135
|
+
'person': PersonLiteResourceToJSON(value['person']),
|
|
136
|
+
'project': ProjectLiteResourceToJSON(value['project']),
|
|
137
|
+
'startsOn': ((value['startsOn']).toISOString()),
|
|
138
|
+
'endsOn': ((value['endsOn'] as any).toISOString()),
|
|
139
|
+
'hoursPerDay': value['hoursPerDay'],
|
|
140
|
+
'rrule': value['rrule'],
|
|
141
|
+
'notes': value['notes'],
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Laravel API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AllocationListResource } from './AllocationListResource';
|
|
17
|
+
import {
|
|
18
|
+
AllocationListResourceFromJSON,
|
|
19
|
+
AllocationListResourceFromJSONTyped,
|
|
20
|
+
AllocationListResourceToJSON,
|
|
21
|
+
AllocationListResourceToJSONTyped,
|
|
22
|
+
} from './AllocationListResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AllocationListResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface AllocationListResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<AllocationListResource>}
|
|
33
|
+
* @memberof AllocationListResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data: Array<AllocationListResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AllocationListResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfAllocationListResourceArrayResponse(value: object): value is AllocationListResourceArrayResponse {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function AllocationListResourceArrayResponseFromJSON(json: any): AllocationListResourceArrayResponse {
|
|
47
|
+
return AllocationListResourceArrayResponseFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function AllocationListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllocationListResourceArrayResponse {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': ((json['data'] as Array<any>).map(AllocationListResourceFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function AllocationListResourceArrayResponseToJSON(json: any): AllocationListResourceArrayResponse {
|
|
61
|
+
return AllocationListResourceArrayResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function AllocationListResourceArrayResponseToJSONTyped(value?: AllocationListResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'data': ((value['data'] as Array<any>).map(AllocationListResourceToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Laravel API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AllocationLiteResource
|
|
20
|
+
*/
|
|
21
|
+
export interface AllocationLiteResource {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof AllocationLiteResource
|
|
26
|
+
*/
|
|
27
|
+
id: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof AllocationLiteResource
|
|
32
|
+
*/
|
|
33
|
+
personId: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof AllocationLiteResource
|
|
38
|
+
*/
|
|
39
|
+
projectId: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof AllocationLiteResource
|
|
44
|
+
*/
|
|
45
|
+
startsOn: Date;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Date}
|
|
49
|
+
* @memberof AllocationLiteResource
|
|
50
|
+
*/
|
|
51
|
+
endsOn: Date | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof AllocationLiteResource
|
|
56
|
+
*/
|
|
57
|
+
rrule: string | null;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the AllocationLiteResource interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfAllocationLiteResource(value: object): value is AllocationLiteResource {
|
|
64
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
65
|
+
if (!('personId' in value) || value['personId'] === undefined) return false;
|
|
66
|
+
if (!('projectId' in value) || value['projectId'] === undefined) return false;
|
|
67
|
+
if (!('startsOn' in value) || value['startsOn'] === undefined) return false;
|
|
68
|
+
if (!('endsOn' in value) || value['endsOn'] === undefined) return false;
|
|
69
|
+
if (!('rrule' in value) || value['rrule'] === undefined) return false;
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function AllocationLiteResourceFromJSON(json: any): AllocationLiteResource {
|
|
74
|
+
return AllocationLiteResourceFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function AllocationLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllocationLiteResource {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'id': json['id'],
|
|
84
|
+
'personId': json['personId'],
|
|
85
|
+
'projectId': json['projectId'],
|
|
86
|
+
'startsOn': (new Date(json['startsOn'])),
|
|
87
|
+
'endsOn': (json['endsOn'] == null ? null : new Date(json['endsOn'])),
|
|
88
|
+
'rrule': json['rrule'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function AllocationLiteResourceToJSON(json: any): AllocationLiteResource {
|
|
93
|
+
return AllocationLiteResourceToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function AllocationLiteResourceToJSONTyped(value?: AllocationLiteResource | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'id': value['id'],
|
|
104
|
+
'personId': value['personId'],
|
|
105
|
+
'projectId': value['projectId'],
|
|
106
|
+
'startsOn': ((value['startsOn']).toISOString()),
|
|
107
|
+
'endsOn': ((value['endsOn'] as any).toISOString()),
|
|
108
|
+
'rrule': value['rrule'],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Laravel API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AllocationLiteResource } from './AllocationLiteResource';
|
|
17
|
+
import {
|
|
18
|
+
AllocationLiteResourceFromJSON,
|
|
19
|
+
AllocationLiteResourceFromJSONTyped,
|
|
20
|
+
AllocationLiteResourceToJSON,
|
|
21
|
+
AllocationLiteResourceToJSONTyped,
|
|
22
|
+
} from './AllocationLiteResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AllocationLiteResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface AllocationLiteResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<AllocationLiteResource>}
|
|
33
|
+
* @memberof AllocationLiteResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data: Array<AllocationLiteResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AllocationLiteResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfAllocationLiteResourceArrayResponse(value: object): value is AllocationLiteResourceArrayResponse {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function AllocationLiteResourceArrayResponseFromJSON(json: any): AllocationLiteResourceArrayResponse {
|
|
47
|
+
return AllocationLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function AllocationLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllocationLiteResourceArrayResponse {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': ((json['data'] as Array<any>).map(AllocationLiteResourceFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function AllocationLiteResourceArrayResponseToJSON(json: any): AllocationLiteResourceArrayResponse {
|
|
61
|
+
return AllocationLiteResourceArrayResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function AllocationLiteResourceArrayResponseToJSONTyped(value?: AllocationLiteResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'data': ((value['data'] as Array<any>).map(AllocationLiteResourceToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|