@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,121 @@
|
|
|
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 { ProjectJobStatus } from './ProjectJobStatus';
|
|
17
|
+
import {
|
|
18
|
+
ProjectJobStatusFromJSON,
|
|
19
|
+
ProjectJobStatusFromJSONTyped,
|
|
20
|
+
ProjectJobStatusToJSON,
|
|
21
|
+
ProjectJobStatusToJSONTyped,
|
|
22
|
+
} from './ProjectJobStatus';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ProjectJobLiteResource
|
|
28
|
+
*/
|
|
29
|
+
export interface ProjectJobLiteResource {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ProjectJobLiteResource
|
|
34
|
+
*/
|
|
35
|
+
id: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ProjectJobLiteResource
|
|
40
|
+
*/
|
|
41
|
+
projectId: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ProjectJobLiteResource
|
|
46
|
+
*/
|
|
47
|
+
clientId: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ProjectJobLiteResource
|
|
52
|
+
*/
|
|
53
|
+
name: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ProjectJobLiteResource
|
|
58
|
+
*/
|
|
59
|
+
clickupTaskId: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {ProjectJobStatus}
|
|
63
|
+
* @memberof ProjectJobLiteResource
|
|
64
|
+
*/
|
|
65
|
+
status: ProjectJobStatus;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the ProjectJobLiteResource interface.
|
|
72
|
+
*/
|
|
73
|
+
export function instanceOfProjectJobLiteResource(value: object): value is ProjectJobLiteResource {
|
|
74
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
75
|
+
if (!('projectId' in value) || value['projectId'] === undefined) return false;
|
|
76
|
+
if (!('clientId' in value) || value['clientId'] === undefined) return false;
|
|
77
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
78
|
+
if (!('clickupTaskId' in value) || value['clickupTaskId'] === undefined) return false;
|
|
79
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ProjectJobLiteResourceFromJSON(json: any): ProjectJobLiteResource {
|
|
84
|
+
return ProjectJobLiteResourceFromJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ProjectJobLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectJobLiteResource {
|
|
88
|
+
if (json == null) {
|
|
89
|
+
return json;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
|
|
93
|
+
'id': json['id'],
|
|
94
|
+
'projectId': json['projectId'],
|
|
95
|
+
'clientId': json['clientId'],
|
|
96
|
+
'name': json['name'],
|
|
97
|
+
'clickupTaskId': json['clickupTaskId'],
|
|
98
|
+
'status': ProjectJobStatusFromJSON(json['status']),
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function ProjectJobLiteResourceToJSON(json: any): ProjectJobLiteResource {
|
|
103
|
+
return ProjectJobLiteResourceToJSONTyped(json, false);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function ProjectJobLiteResourceToJSONTyped(value?: ProjectJobLiteResource | null, ignoreDiscriminator: boolean = false): any {
|
|
107
|
+
if (value == null) {
|
|
108
|
+
return value;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
return {
|
|
112
|
+
|
|
113
|
+
'id': value['id'],
|
|
114
|
+
'projectId': value['projectId'],
|
|
115
|
+
'clientId': value['clientId'],
|
|
116
|
+
'name': value['name'],
|
|
117
|
+
'clickupTaskId': value['clickupTaskId'],
|
|
118
|
+
'status': ProjectJobStatusToJSON(value['status']),
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
@@ -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 { ProjectJobLiteResource } from './ProjectJobLiteResource';
|
|
17
|
+
import {
|
|
18
|
+
ProjectJobLiteResourceFromJSON,
|
|
19
|
+
ProjectJobLiteResourceFromJSONTyped,
|
|
20
|
+
ProjectJobLiteResourceToJSON,
|
|
21
|
+
ProjectJobLiteResourceToJSONTyped,
|
|
22
|
+
} from './ProjectJobLiteResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ProjectJobLiteResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface ProjectJobLiteResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<ProjectJobLiteResource>}
|
|
33
|
+
* @memberof ProjectJobLiteResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data: Array<ProjectJobLiteResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ProjectJobLiteResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfProjectJobLiteResourceArrayResponse(value: object): value is ProjectJobLiteResourceArrayResponse {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function ProjectJobLiteResourceArrayResponseFromJSON(json: any): ProjectJobLiteResourceArrayResponse {
|
|
47
|
+
return ProjectJobLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function ProjectJobLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectJobLiteResourceArrayResponse {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': ((json['data'] as Array<any>).map(ProjectJobLiteResourceFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ProjectJobLiteResourceArrayResponseToJSON(json: any): ProjectJobLiteResourceArrayResponse {
|
|
61
|
+
return ProjectJobLiteResourceArrayResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ProjectJobLiteResourceArrayResponseToJSONTyped(value?: ProjectJobLiteResourceArrayResponse | 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(ProjectJobLiteResourceToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,196 @@
|
|
|
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 { ProjectJobStatus } from './ProjectJobStatus';
|
|
17
|
+
import {
|
|
18
|
+
ProjectJobStatusFromJSON,
|
|
19
|
+
ProjectJobStatusFromJSONTyped,
|
|
20
|
+
ProjectJobStatusToJSON,
|
|
21
|
+
ProjectJobStatusToJSONTyped,
|
|
22
|
+
} from './ProjectJobStatus';
|
|
23
|
+
import type { ClientLiteResource } from './ClientLiteResource';
|
|
24
|
+
import {
|
|
25
|
+
ClientLiteResourceFromJSON,
|
|
26
|
+
ClientLiteResourceFromJSONTyped,
|
|
27
|
+
ClientLiteResourceToJSON,
|
|
28
|
+
ClientLiteResourceToJSONTyped,
|
|
29
|
+
} from './ClientLiteResource';
|
|
30
|
+
import type { ProjectLiteResource } from './ProjectLiteResource';
|
|
31
|
+
import {
|
|
32
|
+
ProjectLiteResourceFromJSON,
|
|
33
|
+
ProjectLiteResourceFromJSONTyped,
|
|
34
|
+
ProjectLiteResourceToJSON,
|
|
35
|
+
ProjectLiteResourceToJSONTyped,
|
|
36
|
+
} from './ProjectLiteResource';
|
|
37
|
+
import type { BudgetType } from './BudgetType';
|
|
38
|
+
import {
|
|
39
|
+
BudgetTypeFromJSON,
|
|
40
|
+
BudgetTypeFromJSONTyped,
|
|
41
|
+
BudgetTypeToJSON,
|
|
42
|
+
BudgetTypeToJSONTyped,
|
|
43
|
+
} from './BudgetType';
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @interface ProjectJobResource
|
|
49
|
+
*/
|
|
50
|
+
export interface ProjectJobResource {
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {number}
|
|
54
|
+
* @memberof ProjectJobResource
|
|
55
|
+
*/
|
|
56
|
+
id: number;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {ProjectLiteResource}
|
|
60
|
+
* @memberof ProjectJobResource
|
|
61
|
+
*/
|
|
62
|
+
project: ProjectLiteResource;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {ClientLiteResource}
|
|
66
|
+
* @memberof ProjectJobResource
|
|
67
|
+
*/
|
|
68
|
+
client: ClientLiteResource;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof ProjectJobResource
|
|
73
|
+
*/
|
|
74
|
+
name: string;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof ProjectJobResource
|
|
79
|
+
*/
|
|
80
|
+
clickupTaskId: string | null;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {ProjectJobStatus}
|
|
84
|
+
* @memberof ProjectJobResource
|
|
85
|
+
*/
|
|
86
|
+
status: ProjectJobStatus;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {BudgetType}
|
|
90
|
+
* @memberof ProjectJobResource
|
|
91
|
+
*/
|
|
92
|
+
budgetType: BudgetType;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {number}
|
|
96
|
+
* @memberof ProjectJobResource
|
|
97
|
+
*/
|
|
98
|
+
budgetAlertPercent: number;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {Date}
|
|
102
|
+
* @memberof ProjectJobResource
|
|
103
|
+
*/
|
|
104
|
+
completedAt: Date | null;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {number}
|
|
108
|
+
* @memberof ProjectJobResource
|
|
109
|
+
*/
|
|
110
|
+
budget: number | null;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {Date}
|
|
114
|
+
* @memberof ProjectJobResource
|
|
115
|
+
*/
|
|
116
|
+
createdAt: Date;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {Date}
|
|
120
|
+
* @memberof ProjectJobResource
|
|
121
|
+
*/
|
|
122
|
+
updatedAt: Date;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Check if a given object implements the ProjectJobResource interface.
|
|
129
|
+
*/
|
|
130
|
+
export function instanceOfProjectJobResource(value: object): value is ProjectJobResource {
|
|
131
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
132
|
+
if (!('project' in value) || value['project'] === undefined) return false;
|
|
133
|
+
if (!('client' in value) || value['client'] === undefined) return false;
|
|
134
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
135
|
+
if (!('clickupTaskId' in value) || value['clickupTaskId'] === undefined) return false;
|
|
136
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
137
|
+
if (!('budgetType' in value) || value['budgetType'] === undefined) return false;
|
|
138
|
+
if (!('budgetAlertPercent' in value) || value['budgetAlertPercent'] === undefined) return false;
|
|
139
|
+
if (!('completedAt' in value) || value['completedAt'] === undefined) return false;
|
|
140
|
+
if (!('budget' in value) || value['budget'] === undefined) return false;
|
|
141
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
142
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
143
|
+
return true;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export function ProjectJobResourceFromJSON(json: any): ProjectJobResource {
|
|
147
|
+
return ProjectJobResourceFromJSONTyped(json, false);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export function ProjectJobResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectJobResource {
|
|
151
|
+
if (json == null) {
|
|
152
|
+
return json;
|
|
153
|
+
}
|
|
154
|
+
return {
|
|
155
|
+
|
|
156
|
+
'id': json['id'],
|
|
157
|
+
'project': ProjectLiteResourceFromJSON(json['project']),
|
|
158
|
+
'client': ClientLiteResourceFromJSON(json['client']),
|
|
159
|
+
'name': json['name'],
|
|
160
|
+
'clickupTaskId': json['clickupTaskId'],
|
|
161
|
+
'status': ProjectJobStatusFromJSON(json['status']),
|
|
162
|
+
'budgetType': BudgetTypeFromJSON(json['budgetType']),
|
|
163
|
+
'budgetAlertPercent': json['budgetAlertPercent'],
|
|
164
|
+
'completedAt': (json['completedAt'] == null ? null : new Date(json['completedAt'])),
|
|
165
|
+
'budget': json['budget'],
|
|
166
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
167
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export function ProjectJobResourceToJSON(json: any): ProjectJobResource {
|
|
172
|
+
return ProjectJobResourceToJSONTyped(json, false);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export function ProjectJobResourceToJSONTyped(value?: ProjectJobResource | null, ignoreDiscriminator: boolean = false): any {
|
|
176
|
+
if (value == null) {
|
|
177
|
+
return value;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
return {
|
|
181
|
+
|
|
182
|
+
'id': value['id'],
|
|
183
|
+
'project': ProjectLiteResourceToJSON(value['project']),
|
|
184
|
+
'client': ClientLiteResourceToJSON(value['client']),
|
|
185
|
+
'name': value['name'],
|
|
186
|
+
'clickupTaskId': value['clickupTaskId'],
|
|
187
|
+
'status': ProjectJobStatusToJSON(value['status']),
|
|
188
|
+
'budgetType': BudgetTypeToJSON(value['budgetType']),
|
|
189
|
+
'budgetAlertPercent': value['budgetAlertPercent'],
|
|
190
|
+
'completedAt': ((value['completedAt'] as any).toISOString()),
|
|
191
|
+
'budget': value['budget'],
|
|
192
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
193
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
|
|
@@ -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 { ProjectJobResource } from './ProjectJobResource';
|
|
17
|
+
import {
|
|
18
|
+
ProjectJobResourceFromJSON,
|
|
19
|
+
ProjectJobResourceFromJSONTyped,
|
|
20
|
+
ProjectJobResourceToJSON,
|
|
21
|
+
ProjectJobResourceToJSONTyped,
|
|
22
|
+
} from './ProjectJobResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ProjectJobResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface ProjectJobResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<ProjectJobResource>}
|
|
33
|
+
* @memberof ProjectJobResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data: Array<ProjectJobResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ProjectJobResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfProjectJobResourceArrayResponse(value: object): value is ProjectJobResourceArrayResponse {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function ProjectJobResourceArrayResponseFromJSON(json: any): ProjectJobResourceArrayResponse {
|
|
47
|
+
return ProjectJobResourceArrayResponseFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function ProjectJobResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectJobResourceArrayResponse {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': ((json['data'] as Array<any>).map(ProjectJobResourceFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ProjectJobResourceArrayResponseToJSON(json: any): ProjectJobResourceArrayResponse {
|
|
61
|
+
return ProjectJobResourceArrayResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ProjectJobResourceArrayResponseToJSONTyped(value?: ProjectJobResourceArrayResponse | 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(ProjectJobResourceToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const ProjectJobStatus = {
|
|
21
|
+
Open: 'open',
|
|
22
|
+
Completed: 'completed'
|
|
23
|
+
} as const;
|
|
24
|
+
export type ProjectJobStatus = typeof ProjectJobStatus[keyof typeof ProjectJobStatus];
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export function instanceOfProjectJobStatus(value: any): boolean {
|
|
28
|
+
for (const key in ProjectJobStatus) {
|
|
29
|
+
if (Object.prototype.hasOwnProperty.call(ProjectJobStatus, key)) {
|
|
30
|
+
if (ProjectJobStatus[key as keyof typeof ProjectJobStatus] === value) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ProjectJobStatusFromJSON(json: any): ProjectJobStatus {
|
|
39
|
+
return ProjectJobStatusFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ProjectJobStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectJobStatus {
|
|
43
|
+
return json as ProjectJobStatus;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function ProjectJobStatusToJSON(value?: ProjectJobStatus | null): any {
|
|
47
|
+
return value as any;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function ProjectJobStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ProjectJobStatus {
|
|
51
|
+
return value as ProjectJobStatus;
|
|
52
|
+
}
|
|
53
|
+
|
|
@@ -0,0 +1,180 @@
|
|
|
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 { ProjectType } from './ProjectType';
|
|
17
|
+
import {
|
|
18
|
+
ProjectTypeFromJSON,
|
|
19
|
+
ProjectTypeFromJSONTyped,
|
|
20
|
+
ProjectTypeToJSON,
|
|
21
|
+
ProjectTypeToJSONTyped,
|
|
22
|
+
} from './ProjectType';
|
|
23
|
+
import type { ClientLiteResource } from './ClientLiteResource';
|
|
24
|
+
import {
|
|
25
|
+
ClientLiteResourceFromJSON,
|
|
26
|
+
ClientLiteResourceFromJSONTyped,
|
|
27
|
+
ClientLiteResourceToJSON,
|
|
28
|
+
ClientLiteResourceToJSONTyped,
|
|
29
|
+
} from './ClientLiteResource';
|
|
30
|
+
import type { BudgetType } from './BudgetType';
|
|
31
|
+
import {
|
|
32
|
+
BudgetTypeFromJSON,
|
|
33
|
+
BudgetTypeFromJSONTyped,
|
|
34
|
+
BudgetTypeToJSON,
|
|
35
|
+
BudgetTypeToJSONTyped,
|
|
36
|
+
} from './BudgetType';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface ProjectListResource
|
|
42
|
+
*/
|
|
43
|
+
export interface ProjectListResource {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof ProjectListResource
|
|
48
|
+
*/
|
|
49
|
+
id: number;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {ClientLiteResource}
|
|
53
|
+
* @memberof ProjectListResource
|
|
54
|
+
*/
|
|
55
|
+
client: ClientLiteResource;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ProjectListResource
|
|
60
|
+
*/
|
|
61
|
+
name: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {ProjectType}
|
|
65
|
+
* @memberof ProjectListResource
|
|
66
|
+
*/
|
|
67
|
+
type: ProjectType;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {BudgetType}
|
|
71
|
+
* @memberof ProjectListResource
|
|
72
|
+
*/
|
|
73
|
+
budgetType: BudgetType | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof ProjectListResource
|
|
78
|
+
*/
|
|
79
|
+
budgetAlertPercent: number;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {number}
|
|
83
|
+
* @memberof ProjectListResource
|
|
84
|
+
*/
|
|
85
|
+
billableRate: number | null;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof ProjectListResource
|
|
90
|
+
*/
|
|
91
|
+
isActive: boolean;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {number}
|
|
95
|
+
* @memberof ProjectListResource
|
|
96
|
+
*/
|
|
97
|
+
budget: number | null;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {Date}
|
|
101
|
+
* @memberof ProjectListResource
|
|
102
|
+
*/
|
|
103
|
+
createdAt: Date;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {Date}
|
|
107
|
+
* @memberof ProjectListResource
|
|
108
|
+
*/
|
|
109
|
+
updatedAt: Date;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Check if a given object implements the ProjectListResource interface.
|
|
116
|
+
*/
|
|
117
|
+
export function instanceOfProjectListResource(value: object): value is ProjectListResource {
|
|
118
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
119
|
+
if (!('client' in value) || value['client'] === undefined) return false;
|
|
120
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
121
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
122
|
+
if (!('budgetType' in value) || value['budgetType'] === undefined) return false;
|
|
123
|
+
if (!('budgetAlertPercent' in value) || value['budgetAlertPercent'] === undefined) return false;
|
|
124
|
+
if (!('billableRate' in value) || value['billableRate'] === undefined) return false;
|
|
125
|
+
if (!('isActive' in value) || value['isActive'] === undefined) return false;
|
|
126
|
+
if (!('budget' in value) || value['budget'] === undefined) return false;
|
|
127
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
128
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
129
|
+
return true;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function ProjectListResourceFromJSON(json: any): ProjectListResource {
|
|
133
|
+
return ProjectListResourceFromJSONTyped(json, false);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export function ProjectListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectListResource {
|
|
137
|
+
if (json == null) {
|
|
138
|
+
return json;
|
|
139
|
+
}
|
|
140
|
+
return {
|
|
141
|
+
|
|
142
|
+
'id': json['id'],
|
|
143
|
+
'client': ClientLiteResourceFromJSON(json['client']),
|
|
144
|
+
'name': json['name'],
|
|
145
|
+
'type': ProjectTypeFromJSON(json['type']),
|
|
146
|
+
'budgetType': BudgetTypeFromJSON(json['budgetType']),
|
|
147
|
+
'budgetAlertPercent': json['budgetAlertPercent'],
|
|
148
|
+
'billableRate': json['billableRate'],
|
|
149
|
+
'isActive': json['isActive'],
|
|
150
|
+
'budget': json['budget'],
|
|
151
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
152
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export function ProjectListResourceToJSON(json: any): ProjectListResource {
|
|
157
|
+
return ProjectListResourceToJSONTyped(json, false);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export function ProjectListResourceToJSONTyped(value?: ProjectListResource | null, ignoreDiscriminator: boolean = false): any {
|
|
161
|
+
if (value == null) {
|
|
162
|
+
return value;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
return {
|
|
166
|
+
|
|
167
|
+
'id': value['id'],
|
|
168
|
+
'client': ClientLiteResourceToJSON(value['client']),
|
|
169
|
+
'name': value['name'],
|
|
170
|
+
'type': ProjectTypeToJSON(value['type']),
|
|
171
|
+
'budgetType': BudgetTypeToJSON(value['budgetType']),
|
|
172
|
+
'budgetAlertPercent': value['budgetAlertPercent'],
|
|
173
|
+
'billableRate': value['billableRate'],
|
|
174
|
+
'isActive': value['isActive'],
|
|
175
|
+
'budget': value['budget'],
|
|
176
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
177
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
|