@prowodo/angular-client 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/prowodo-angular-client.mjs +10801 -0
- package/fesm2022/prowodo-angular-client.mjs.map +1 -0
- package/index.d.ts +8151 -0
- package/package.json +26 -28
- package/dist/api/api.d.ts +0 -50
- package/dist/api/api.d.ts.map +0 -1
- package/dist/api/api.js +0 -50
- package/dist/api/api.js.map +0 -1
- package/dist/api/api.service.d.ts +0 -1393
- package/dist/api/api.service.d.ts.map +0 -1
- package/dist/api/api.service.js +0 -3301
- package/dist/api/api.service.js.map +0 -1
- package/dist/api/api.serviceInterface.d.ts +0 -717
- package/dist/api/api.serviceInterface.d.ts.map +0 -1
- package/dist/api/api.serviceInterface.js +0 -2
- package/dist/api/api.serviceInterface.js.map +0 -1
- package/dist/api/apiTokenAuth.service.d.ts +0 -42
- package/dist/api/apiTokenAuth.service.d.ts.map +0 -1
- package/dist/api/apiTokenAuth.service.js +0 -125
- package/dist/api/apiTokenAuth.service.js.map +0 -1
- package/dist/api/apiTokenAuth.serviceInterface.d.ts +0 -30
- package/dist/api/apiTokenAuth.serviceInterface.d.ts.map +0 -1
- package/dist/api/apiTokenAuth.serviceInterface.js +0 -2
- package/dist/api/apiTokenAuth.serviceInterface.js.map +0 -1
- package/dist/api/companies.service.d.ts +0 -238
- package/dist/api/companies.service.d.ts.map +0 -1
- package/dist/api/companies.service.js +0 -521
- package/dist/api/companies.service.js.map +0 -1
- package/dist/api/companies.serviceInterface.d.ts +0 -120
- package/dist/api/companies.serviceInterface.d.ts.map +0 -1
- package/dist/api/companies.serviceInterface.js +0 -2
- package/dist/api/companies.serviceInterface.js.map +0 -1
- package/dist/api/companyUsers.service.d.ts +0 -165
- package/dist/api/companyUsers.service.d.ts.map +0 -1
- package/dist/api/companyUsers.service.js +0 -383
- package/dist/api/companyUsers.service.js.map +0 -1
- package/dist/api/companyUsers.serviceInterface.d.ts +0 -91
- package/dist/api/companyUsers.serviceInterface.d.ts.map +0 -1
- package/dist/api/companyUsers.serviceInterface.js +0 -2
- package/dist/api/companyUsers.serviceInterface.js.map +0 -1
- package/dist/api/dayResumes.service.d.ts +0 -141
- package/dist/api/dayResumes.service.d.ts.map +0 -1
- package/dist/api/dayResumes.service.js +0 -360
- package/dist/api/dayResumes.service.js.map +0 -1
- package/dist/api/dayResumes.serviceInterface.d.ts +0 -92
- package/dist/api/dayResumes.serviceInterface.d.ts.map +0 -1
- package/dist/api/dayResumes.serviceInterface.js +0 -2
- package/dist/api/dayResumes.serviceInterface.js.map +0 -1
- package/dist/api/notification.service.d.ts +0 -274
- package/dist/api/notification.service.d.ts.map +0 -1
- package/dist/api/notification.service.js +0 -640
- package/dist/api/notification.service.js.map +0 -1
- package/dist/api/notification.serviceInterface.d.ts +0 -141
- package/dist/api/notification.serviceInterface.d.ts.map +0 -1
- package/dist/api/notification.serviceInterface.js +0 -2
- package/dist/api/notification.serviceInterface.js.map +0 -1
- package/dist/api/personalSchedule.service.d.ts +0 -333
- package/dist/api/personalSchedule.service.d.ts.map +0 -1
- package/dist/api/personalSchedule.service.js +0 -771
- package/dist/api/personalSchedule.service.js.map +0 -1
- package/dist/api/personalSchedule.serviceInterface.d.ts +0 -186
- package/dist/api/personalSchedule.serviceInterface.d.ts.map +0 -1
- package/dist/api/personalSchedule.serviceInterface.js +0 -2
- package/dist/api/personalSchedule.serviceInterface.js.map +0 -1
- package/dist/api/projects.service.d.ts +0 -234
- package/dist/api/projects.service.d.ts.map +0 -1
- package/dist/api/projects.service.js +0 -566
- package/dist/api/projects.service.js.map +0 -1
- package/dist/api/projects.serviceInterface.d.ts +0 -129
- package/dist/api/projects.serviceInterface.d.ts.map +0 -1
- package/dist/api/projects.serviceInterface.js +0 -2
- package/dist/api/projects.serviceInterface.js.map +0 -1
- package/dist/api/scrum.service.d.ts +0 -287
- package/dist/api/scrum.service.d.ts.map +0 -1
- package/dist/api/scrum.service.js +0 -614
- package/dist/api/scrum.service.js.map +0 -1
- package/dist/api/scrum.serviceInterface.d.ts +0 -146
- package/dist/api/scrum.serviceInterface.d.ts.map +0 -1
- package/dist/api/scrum.serviceInterface.js +0 -2
- package/dist/api/scrum.serviceInterface.js.map +0 -1
- package/dist/api/taskAssignements.service.d.ts +0 -165
- package/dist/api/taskAssignements.service.d.ts.map +0 -1
- package/dist/api/taskAssignements.service.js +0 -383
- package/dist/api/taskAssignements.service.js.map +0 -1
- package/dist/api/taskAssignements.serviceInterface.d.ts +0 -91
- package/dist/api/taskAssignements.serviceInterface.d.ts.map +0 -1
- package/dist/api/taskAssignements.serviceInterface.js +0 -2
- package/dist/api/taskAssignements.serviceInterface.js.map +0 -1
- package/dist/api/taskAttachments.service.d.ts +0 -165
- package/dist/api/taskAttachments.service.d.ts.map +0 -1
- package/dist/api/taskAttachments.service.js +0 -557
- package/dist/api/taskAttachments.service.js.map +0 -1
- package/dist/api/taskAttachments.serviceInterface.d.ts +0 -118
- package/dist/api/taskAttachments.serviceInterface.d.ts.map +0 -1
- package/dist/api/taskAttachments.serviceInterface.js +0 -2
- package/dist/api/taskAttachments.serviceInterface.js.map +0 -1
- package/dist/api/taskComments.service.d.ts +0 -165
- package/dist/api/taskComments.service.d.ts.map +0 -1
- package/dist/api/taskComments.service.js +0 -383
- package/dist/api/taskComments.service.js.map +0 -1
- package/dist/api/taskComments.serviceInterface.d.ts +0 -91
- package/dist/api/taskComments.serviceInterface.d.ts.map +0 -1
- package/dist/api/taskComments.serviceInterface.js +0 -2
- package/dist/api/taskComments.serviceInterface.js.map +0 -1
- package/dist/api/taskTag.service.d.ts +0 -165
- package/dist/api/taskTag.service.d.ts.map +0 -1
- package/dist/api/taskTag.service.js +0 -387
- package/dist/api/taskTag.service.js.map +0 -1
- package/dist/api/taskTag.serviceInterface.d.ts +0 -93
- package/dist/api/taskTag.serviceInterface.d.ts.map +0 -1
- package/dist/api/taskTag.serviceInterface.js +0 -2
- package/dist/api/taskTag.serviceInterface.js.map +0 -1
- package/dist/api/teams.service.d.ts +0 -213
- package/dist/api/teams.service.d.ts.map +0 -1
- package/dist/api/teams.service.js +0 -501
- package/dist/api/teams.service.js.map +0 -1
- package/dist/api/teams.serviceInterface.d.ts +0 -116
- package/dist/api/teams.serviceInterface.d.ts.map +0 -1
- package/dist/api/teams.serviceInterface.js +0 -2
- package/dist/api/teams.serviceInterface.js.map +0 -1
- package/dist/api/users.service.d.ts +0 -43
- package/dist/api/users.service.d.ts.map +0 -1
- package/dist/api/users.service.js +0 -87
- package/dist/api/users.service.js.map +0 -1
- package/dist/api/users.serviceInterface.d.ts +0 -24
- package/dist/api/users.serviceInterface.d.ts.map +0 -1
- package/dist/api/users.serviceInterface.js +0 -2
- package/dist/api/users.serviceInterface.js.map +0 -1
- package/dist/api/workingDays.service.d.ts +0 -117
- package/dist/api/workingDays.service.d.ts.map +0 -1
- package/dist/api/workingDays.service.js +0 -273
- package/dist/api/workingDays.service.js.map +0 -1
- package/dist/api/workingDays.serviceInterface.d.ts +0 -69
- package/dist/api/workingDays.serviceInterface.d.ts.map +0 -1
- package/dist/api/workingDays.serviceInterface.js +0 -2
- package/dist/api/workingDays.serviceInterface.js.map +0 -1
- package/dist/api.base.service.d.ts +0 -22
- package/dist/api.base.service.d.ts.map +0 -1
- package/dist/api.base.service.js +0 -95
- package/dist/api.base.service.js.map +0 -1
- package/dist/api.module.d.ts +0 -8
- package/dist/api.module.d.ts.map +0 -1
- package/dist/api.module.js +0 -48
- package/dist/api.module.js.map +0 -1
- package/dist/configuration.d.ts +0 -108
- package/dist/configuration.d.ts.map +0 -1
- package/dist/configuration.js +0 -175
- package/dist/configuration.js.map +0 -1
- package/dist/encoder.d.ts +0 -18
- package/dist/encoder.d.ts.map +0 -1
- package/dist/encoder.js +0 -33
- package/dist/encoder.js.map +0 -1
- package/dist/index.d.ts +0 -8
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -8
- package/dist/index.js.map +0 -1
- package/dist/model/authToken.d.ts +0 -15
- package/dist/model/authToken.d.ts.map +0 -1
- package/dist/model/authToken.js +0 -11
- package/dist/model/authToken.js.map +0 -1
- package/dist/model/blankEnum.d.ts +0 -14
- package/dist/model/blankEnum.d.ts.map +0 -1
- package/dist/model/blankEnum.js +0 -13
- package/dist/model/blankEnum.js.map +0 -1
- package/dist/model/company.d.ts +0 -18
- package/dist/model/company.d.ts.map +0 -1
- package/dist/model/company.js +0 -11
- package/dist/model/company.js.map +0 -1
- package/dist/model/companyPendingInvites200ResponseInner.d.ts +0 -17
- package/dist/model/companyPendingInvites200ResponseInner.d.ts.map +0 -1
- package/dist/model/companyPendingInvites200ResponseInner.js +0 -2
- package/dist/model/companyPendingInvites200ResponseInner.js.map +0 -1
- package/dist/model/companyPendingInvites200ResponseInnerInvitedBy.d.ts +0 -14
- package/dist/model/companyPendingInvites200ResponseInnerInvitedBy.d.ts.map +0 -1
- package/dist/model/companyPendingInvites200ResponseInnerInvitedBy.js +0 -11
- package/dist/model/companyPendingInvites200ResponseInnerInvitedBy.js.map +0 -1
- package/dist/model/companyRevokeInvite400Response.d.ts +0 -13
- package/dist/model/companyRevokeInvite400Response.d.ts.map +0 -1
- package/dist/model/companyRevokeInvite400Response.js +0 -11
- package/dist/model/companyRevokeInvite400Response.js.map +0 -1
- package/dist/model/companyRevokeInviteRequest.d.ts +0 -13
- package/dist/model/companyRevokeInviteRequest.d.ts.map +0 -1
- package/dist/model/companyRevokeInviteRequest.js +0 -11
- package/dist/model/companyRevokeInviteRequest.js.map +0 -1
- package/dist/model/companyUpdate.d.ts +0 -20
- package/dist/model/companyUpdate.d.ts.map +0 -1
- package/dist/model/companyUpdate.js +0 -11
- package/dist/model/companyUpdate.js.map +0 -1
- package/dist/model/companyUser.d.ts +0 -26
- package/dist/model/companyUser.d.ts.map +0 -1
- package/dist/model/companyUser.js +0 -2
- package/dist/model/companyUser.js.map +0 -1
- package/dist/model/companyWorkingDays.d.ts +0 -21
- package/dist/model/companyWorkingDays.d.ts.map +0 -1
- package/dist/model/companyWorkingDays.js +0 -11
- package/dist/model/companyWorkingDays.js.map +0 -1
- package/dist/model/day.d.ts +0 -13
- package/dist/model/day.d.ts.map +0 -1
- package/dist/model/day.js +0 -11
- package/dist/model/day.js.map +0 -1
- package/dist/model/dayResume.d.ts +0 -36
- package/dist/model/dayResume.d.ts.map +0 -1
- package/dist/model/dayResume.js +0 -11
- package/dist/model/dayResume.js.map +0 -1
- package/dist/model/directionEnum.d.ts +0 -18
- package/dist/model/directionEnum.d.ts.map +0 -1
- package/dist/model/directionEnum.js +0 -17
- package/dist/model/directionEnum.js.map +0 -1
- package/dist/model/durationUnitEnum.d.ts +0 -23
- package/dist/model/durationUnitEnum.d.ts.map +0 -1
- package/dist/model/durationUnitEnum.js +0 -22
- package/dist/model/durationUnitEnum.js.map +0 -1
- package/dist/model/firebaseDeviceToken.d.ts +0 -15
- package/dist/model/firebaseDeviceToken.d.ts.map +0 -1
- package/dist/model/firebaseDeviceToken.js +0 -11
- package/dist/model/firebaseDeviceToken.js.map +0 -1
- package/dist/model/models.d.ts +0 -91
- package/dist/model/models.d.ts.map +0 -1
- package/dist/model/models.js +0 -91
- package/dist/model/models.js.map +0 -1
- package/dist/model/myNotification.d.ts +0 -20
- package/dist/model/myNotification.d.ts.map +0 -1
- package/dist/model/myNotification.js +0 -11
- package/dist/model/myNotification.js.map +0 -1
- package/dist/model/nullEnum.d.ts +0 -12
- package/dist/model/nullEnum.d.ts.map +0 -1
- package/dist/model/nullEnum.js +0 -11
- package/dist/model/nullEnum.js.map +0 -1
- package/dist/model/onboardingAcceptInvite200Response.d.ts +0 -14
- package/dist/model/onboardingAcceptInvite200Response.d.ts.map +0 -1
- package/dist/model/onboardingAcceptInvite200Response.js +0 -11
- package/dist/model/onboardingAcceptInvite200Response.js.map +0 -1
- package/dist/model/onboardingAcceptInviteRequest.d.ts +0 -16
- package/dist/model/onboardingAcceptInviteRequest.d.ts.map +0 -1
- package/dist/model/onboardingAcceptInviteRequest.js +0 -11
- package/dist/model/onboardingAcceptInviteRequest.js.map +0 -1
- package/dist/model/onboardingSendWelcomeEmail200Response.d.ts +0 -13
- package/dist/model/onboardingSendWelcomeEmail200Response.d.ts.map +0 -1
- package/dist/model/onboardingSendWelcomeEmail200Response.js +0 -11
- package/dist/model/onboardingSendWelcomeEmail200Response.js.map +0 -1
- package/dist/model/paginatedCompanyList.d.ts +0 -17
- package/dist/model/paginatedCompanyList.d.ts.map +0 -1
- package/dist/model/paginatedCompanyList.js +0 -2
- package/dist/model/paginatedCompanyList.js.map +0 -1
- package/dist/model/paginatedCompanyUserList.d.ts +0 -17
- package/dist/model/paginatedCompanyUserList.d.ts.map +0 -1
- package/dist/model/paginatedCompanyUserList.js +0 -2
- package/dist/model/paginatedCompanyUserList.js.map +0 -1
- package/dist/model/paginatedCompanyWorkingDaysList.d.ts +0 -17
- package/dist/model/paginatedCompanyWorkingDaysList.d.ts.map +0 -1
- package/dist/model/paginatedCompanyWorkingDaysList.js +0 -2
- package/dist/model/paginatedCompanyWorkingDaysList.js.map +0 -1
- package/dist/model/paginatedDayResumeList.d.ts +0 -17
- package/dist/model/paginatedDayResumeList.d.ts.map +0 -1
- package/dist/model/paginatedDayResumeList.js +0 -2
- package/dist/model/paginatedDayResumeList.js.map +0 -1
- package/dist/model/paginatedFirebaseDeviceTokenList.d.ts +0 -17
- package/dist/model/paginatedFirebaseDeviceTokenList.d.ts.map +0 -1
- package/dist/model/paginatedFirebaseDeviceTokenList.js +0 -2
- package/dist/model/paginatedFirebaseDeviceTokenList.js.map +0 -1
- package/dist/model/paginatedMyNotificationList.d.ts +0 -17
- package/dist/model/paginatedMyNotificationList.d.ts.map +0 -1
- package/dist/model/paginatedMyNotificationList.js +0 -2
- package/dist/model/paginatedMyNotificationList.js.map +0 -1
- package/dist/model/paginatedPersonalScheduleRuleList.d.ts +0 -17
- package/dist/model/paginatedPersonalScheduleRuleList.d.ts.map +0 -1
- package/dist/model/paginatedPersonalScheduleRuleList.js +0 -2
- package/dist/model/paginatedPersonalScheduleRuleList.js.map +0 -1
- package/dist/model/paginatedPersonalScheduleVoiceList.d.ts +0 -17
- package/dist/model/paginatedPersonalScheduleVoiceList.d.ts.map +0 -1
- package/dist/model/paginatedPersonalScheduleVoiceList.js +0 -2
- package/dist/model/paginatedPersonalScheduleVoiceList.js.map +0 -1
- package/dist/model/paginatedProjectList.d.ts +0 -17
- package/dist/model/paginatedProjectList.d.ts.map +0 -1
- package/dist/model/paginatedProjectList.js +0 -2
- package/dist/model/paginatedProjectList.js.map +0 -1
- package/dist/model/paginatedProjectTaskStatusList.d.ts +0 -17
- package/dist/model/paginatedProjectTaskStatusList.d.ts.map +0 -1
- package/dist/model/paginatedProjectTaskStatusList.js +0 -2
- package/dist/model/paginatedProjectTaskStatusList.js.map +0 -1
- package/dist/model/paginatedProjectUserList.d.ts +0 -17
- package/dist/model/paginatedProjectUserList.d.ts.map +0 -1
- package/dist/model/paginatedProjectUserList.js +0 -2
- package/dist/model/paginatedProjectUserList.js.map +0 -1
- package/dist/model/paginatedSprintList.d.ts +0 -17
- package/dist/model/paginatedSprintList.d.ts.map +0 -1
- package/dist/model/paginatedSprintList.js +0 -2
- package/dist/model/paginatedSprintList.js.map +0 -1
- package/dist/model/paginatedSprintTaskLaneList.d.ts +0 -17
- package/dist/model/paginatedSprintTaskLaneList.d.ts.map +0 -1
- package/dist/model/paginatedSprintTaskLaneList.js +0 -2
- package/dist/model/paginatedSprintTaskLaneList.js.map +0 -1
- package/dist/model/paginatedTaskAssignementList.d.ts +0 -17
- package/dist/model/paginatedTaskAssignementList.d.ts.map +0 -1
- package/dist/model/paginatedTaskAssignementList.js +0 -2
- package/dist/model/paginatedTaskAssignementList.js.map +0 -1
- package/dist/model/paginatedTaskAttachmentList.d.ts +0 -17
- package/dist/model/paginatedTaskAttachmentList.d.ts.map +0 -1
- package/dist/model/paginatedTaskAttachmentList.js +0 -2
- package/dist/model/paginatedTaskAttachmentList.js.map +0 -1
- package/dist/model/paginatedTaskCommentList.d.ts +0 -17
- package/dist/model/paginatedTaskCommentList.d.ts.map +0 -1
- package/dist/model/paginatedTaskCommentList.js +0 -2
- package/dist/model/paginatedTaskCommentList.js.map +0 -1
- package/dist/model/paginatedTaskList.d.ts +0 -17
- package/dist/model/paginatedTaskList.d.ts.map +0 -1
- package/dist/model/paginatedTaskList.js +0 -2
- package/dist/model/paginatedTaskList.js.map +0 -1
- package/dist/model/paginatedTaskTagList.d.ts +0 -17
- package/dist/model/paginatedTaskTagList.d.ts.map +0 -1
- package/dist/model/paginatedTaskTagList.js +0 -2
- package/dist/model/paginatedTaskTagList.js.map +0 -1
- package/dist/model/paginatedTeamList.d.ts +0 -17
- package/dist/model/paginatedTeamList.d.ts.map +0 -1
- package/dist/model/paginatedTeamList.js +0 -2
- package/dist/model/paginatedTeamList.js.map +0 -1
- package/dist/model/paginatedTicketWidgetListList.d.ts +0 -17
- package/dist/model/paginatedTicketWidgetListList.d.ts.map +0 -1
- package/dist/model/paginatedTicketWidgetListList.js +0 -2
- package/dist/model/paginatedTicketWidgetListList.js.map +0 -1
- package/dist/model/paginatedUserVersionList.d.ts +0 -17
- package/dist/model/paginatedUserVersionList.d.ts.map +0 -1
- package/dist/model/paginatedUserVersionList.js +0 -2
- package/dist/model/paginatedUserVersionList.js.map +0 -1
- package/dist/model/patchedCompanyUpdate.d.ts +0 -20
- package/dist/model/patchedCompanyUpdate.d.ts.map +0 -1
- package/dist/model/patchedCompanyUpdate.js +0 -11
- package/dist/model/patchedCompanyUpdate.js.map +0 -1
- package/dist/model/patchedCompanyUser.d.ts +0 -26
- package/dist/model/patchedCompanyUser.d.ts.map +0 -1
- package/dist/model/patchedCompanyUser.js +0 -2
- package/dist/model/patchedCompanyUser.js.map +0 -1
- package/dist/model/patchedCompanyWorkingDays.d.ts +0 -21
- package/dist/model/patchedCompanyWorkingDays.d.ts.map +0 -1
- package/dist/model/patchedCompanyWorkingDays.js +0 -11
- package/dist/model/patchedCompanyWorkingDays.js.map +0 -1
- package/dist/model/patchedDayResume.d.ts +0 -36
- package/dist/model/patchedDayResume.d.ts.map +0 -1
- package/dist/model/patchedDayResume.js +0 -11
- package/dist/model/patchedDayResume.js.map +0 -1
- package/dist/model/patchedPersonalScheduleRule.d.ts +0 -28
- package/dist/model/patchedPersonalScheduleRule.d.ts.map +0 -1
- package/dist/model/patchedPersonalScheduleRule.js +0 -2
- package/dist/model/patchedPersonalScheduleRule.js.map +0 -1
- package/dist/model/patchedPersonalScheduleVoice.d.ts +0 -23
- package/dist/model/patchedPersonalScheduleVoice.d.ts.map +0 -1
- package/dist/model/patchedPersonalScheduleVoice.js +0 -11
- package/dist/model/patchedPersonalScheduleVoice.js.map +0 -1
- package/dist/model/patchedProject.d.ts +0 -20
- package/dist/model/patchedProject.d.ts.map +0 -1
- package/dist/model/patchedProject.js +0 -11
- package/dist/model/patchedProject.js.map +0 -1
- package/dist/model/patchedProjectTaskStatus.d.ts +0 -20
- package/dist/model/patchedProjectTaskStatus.d.ts.map +0 -1
- package/dist/model/patchedProjectTaskStatus.js +0 -11
- package/dist/model/patchedProjectTaskStatus.js.map +0 -1
- package/dist/model/patchedProjectUser.d.ts +0 -31
- package/dist/model/patchedProjectUser.d.ts.map +0 -1
- package/dist/model/patchedProjectUser.js +0 -12
- package/dist/model/patchedProjectUser.js.map +0 -1
- package/dist/model/patchedSprint.d.ts +0 -27
- package/dist/model/patchedSprint.d.ts.map +0 -1
- package/dist/model/patchedSprint.js +0 -2
- package/dist/model/patchedSprint.js.map +0 -1
- package/dist/model/patchedTask.d.ts +0 -43
- package/dist/model/patchedTask.d.ts.map +0 -1
- package/dist/model/patchedTask.js +0 -2
- package/dist/model/patchedTask.js.map +0 -1
- package/dist/model/patchedTaskAssignement.d.ts +0 -19
- package/dist/model/patchedTaskAssignement.d.ts.map +0 -1
- package/dist/model/patchedTaskAssignement.js +0 -2
- package/dist/model/patchedTaskAssignement.js.map +0 -1
- package/dist/model/patchedTaskComment.d.ts +0 -23
- package/dist/model/patchedTaskComment.d.ts.map +0 -1
- package/dist/model/patchedTaskComment.js +0 -2
- package/dist/model/patchedTaskComment.js.map +0 -1
- package/dist/model/patchedTaskTag.d.ts +0 -15
- package/dist/model/patchedTaskTag.d.ts.map +0 -1
- package/dist/model/patchedTaskTag.js +0 -11
- package/dist/model/patchedTaskTag.js.map +0 -1
- package/dist/model/patchedTeam.d.ts +0 -17
- package/dist/model/patchedTeam.d.ts.map +0 -1
- package/dist/model/patchedTeam.js +0 -11
- package/dist/model/patchedTeam.js.map +0 -1
- package/dist/model/patchedTicketWidgetUpdate.d.ts +0 -21
- package/dist/model/patchedTicketWidgetUpdate.d.ts.map +0 -1
- package/dist/model/patchedTicketWidgetUpdate.js +0 -11
- package/dist/model/patchedTicketWidgetUpdate.js.map +0 -1
- package/dist/model/personalScheduleRule.d.ts +0 -28
- package/dist/model/personalScheduleRule.d.ts.map +0 -1
- package/dist/model/personalScheduleRule.js +0 -2
- package/dist/model/personalScheduleRule.js.map +0 -1
- package/dist/model/personalScheduleVoice.d.ts +0 -23
- package/dist/model/personalScheduleVoice.d.ts.map +0 -1
- package/dist/model/personalScheduleVoice.js +0 -11
- package/dist/model/personalScheduleVoice.js.map +0 -1
- package/dist/model/priorityEnum.d.ts +0 -21
- package/dist/model/priorityEnum.d.ts.map +0 -1
- package/dist/model/priorityEnum.js +0 -20
- package/dist/model/priorityEnum.js.map +0 -1
- package/dist/model/project.d.ts +0 -20
- package/dist/model/project.d.ts.map +0 -1
- package/dist/model/project.js +0 -11
- package/dist/model/project.js.map +0 -1
- package/dist/model/projectTaskStatus.d.ts +0 -20
- package/dist/model/projectTaskStatus.d.ts.map +0 -1
- package/dist/model/projectTaskStatus.js +0 -11
- package/dist/model/projectTaskStatus.js.map +0 -1
- package/dist/model/projectUser.d.ts +0 -31
- package/dist/model/projectUser.d.ts.map +0 -1
- package/dist/model/projectUser.js +0 -12
- package/dist/model/projectUser.js.map +0 -1
- package/dist/model/roleEnum.d.ts +0 -21
- package/dist/model/roleEnum.d.ts.map +0 -1
- package/dist/model/roleEnum.js +0 -20
- package/dist/model/roleEnum.js.map +0 -1
- package/dist/model/sprint.d.ts +0 -27
- package/dist/model/sprint.d.ts.map +0 -1
- package/dist/model/sprint.js +0 -2
- package/dist/model/sprint.js.map +0 -1
- package/dist/model/sprintCloseRequest.d.ts +0 -16
- package/dist/model/sprintCloseRequest.d.ts.map +0 -1
- package/dist/model/sprintCloseRequest.js +0 -11
- package/dist/model/sprintCloseRequest.js.map +0 -1
- package/dist/model/sprintLaneMoveRequest.d.ts +0 -16
- package/dist/model/sprintLaneMoveRequest.d.ts.map +0 -1
- package/dist/model/sprintLaneMoveRequest.js +0 -11
- package/dist/model/sprintLaneMoveRequest.js.map +0 -1
- package/dist/model/sprintTaskLane.d.ts +0 -18
- package/dist/model/sprintTaskLane.d.ts.map +0 -1
- package/dist/model/sprintTaskLane.js +0 -11
- package/dist/model/sprintTaskLane.js.map +0 -1
- package/dist/model/stateEnum.d.ts +0 -19
- package/dist/model/stateEnum.d.ts.map +0 -1
- package/dist/model/stateEnum.js +0 -18
- package/dist/model/stateEnum.js.map +0 -1
- package/dist/model/statusEnum.d.ts +0 -20
- package/dist/model/statusEnum.d.ts.map +0 -1
- package/dist/model/statusEnum.js +0 -19
- package/dist/model/statusEnum.js.map +0 -1
- package/dist/model/task.d.ts +0 -43
- package/dist/model/task.d.ts.map +0 -1
- package/dist/model/task.js +0 -2
- package/dist/model/task.js.map +0 -1
- package/dist/model/taskAssignement.d.ts +0 -19
- package/dist/model/taskAssignement.d.ts.map +0 -1
- package/dist/model/taskAssignement.js +0 -2
- package/dist/model/taskAssignement.js.map +0 -1
- package/dist/model/taskAttachment.d.ts +0 -23
- package/dist/model/taskAttachment.d.ts.map +0 -1
- package/dist/model/taskAttachment.js +0 -2
- package/dist/model/taskAttachment.js.map +0 -1
- package/dist/model/taskComment.d.ts +0 -23
- package/dist/model/taskComment.d.ts.map +0 -1
- package/dist/model/taskComment.js +0 -2
- package/dist/model/taskComment.js.map +0 -1
- package/dist/model/taskMoveToSprint200Response.d.ts +0 -14
- package/dist/model/taskMoveToSprint200Response.d.ts.map +0 -1
- package/dist/model/taskMoveToSprint200Response.js +0 -11
- package/dist/model/taskMoveToSprint200Response.js.map +0 -1
- package/dist/model/taskMoveToSprintRequest.d.ts +0 -17
- package/dist/model/taskMoveToSprintRequest.d.ts.map +0 -1
- package/dist/model/taskMoveToSprintRequest.js +0 -11
- package/dist/model/taskMoveToSprintRequest.js.map +0 -1
- package/dist/model/taskRelated.d.ts +0 -17
- package/dist/model/taskRelated.d.ts.map +0 -1
- package/dist/model/taskRelated.js +0 -2
- package/dist/model/taskRelated.js.map +0 -1
- package/dist/model/taskTag.d.ts +0 -15
- package/dist/model/taskTag.d.ts.map +0 -1
- package/dist/model/taskTag.js +0 -11
- package/dist/model/taskTag.js.map +0 -1
- package/dist/model/team.d.ts +0 -17
- package/dist/model/team.d.ts.map +0 -1
- package/dist/model/team.js +0 -11
- package/dist/model/team.js.map +0 -1
- package/dist/model/teamEasy.d.ts +0 -15
- package/dist/model/teamEasy.d.ts.map +0 -1
- package/dist/model/teamEasy.js +0 -11
- package/dist/model/teamEasy.js.map +0 -1
- package/dist/model/ticketCategory.d.ts +0 -14
- package/dist/model/ticketCategory.d.ts.map +0 -1
- package/dist/model/ticketCategory.js +0 -11
- package/dist/model/ticketCategory.js.map +0 -1
- package/dist/model/ticketSubmit.d.ts +0 -18
- package/dist/model/ticketSubmit.d.ts.map +0 -1
- package/dist/model/ticketSubmit.js +0 -11
- package/dist/model/ticketSubmit.js.map +0 -1
- package/dist/model/ticketWidgetCreate.d.ts +0 -22
- package/dist/model/ticketWidgetCreate.d.ts.map +0 -1
- package/dist/model/ticketWidgetCreate.js +0 -11
- package/dist/model/ticketWidgetCreate.js.map +0 -1
- package/dist/model/ticketWidgetList.d.ts +0 -24
- package/dist/model/ticketWidgetList.d.ts.map +0 -1
- package/dist/model/ticketWidgetList.js +0 -2
- package/dist/model/ticketWidgetList.js.map +0 -1
- package/dist/model/ticketWidgetUpdate.d.ts +0 -21
- package/dist/model/ticketWidgetUpdate.d.ts.map +0 -1
- package/dist/model/ticketWidgetUpdate.js +0 -11
- package/dist/model/ticketWidgetUpdate.js.map +0 -1
- package/dist/model/ticketsSubmit201Response.d.ts +0 -14
- package/dist/model/ticketsSubmit201Response.d.ts.map +0 -1
- package/dist/model/ticketsSubmit201Response.js +0 -11
- package/dist/model/ticketsSubmit201Response.js.map +0 -1
- package/dist/model/tierEnum.d.ts +0 -19
- package/dist/model/tierEnum.d.ts.map +0 -1
- package/dist/model/tierEnum.js +0 -18
- package/dist/model/tierEnum.js.map +0 -1
- package/dist/model/user.d.ts +0 -25
- package/dist/model/user.d.ts.map +0 -1
- package/dist/model/user.js +0 -11
- package/dist/model/user.js.map +0 -1
- package/dist/model/userId.d.ts +0 -13
- package/dist/model/userId.d.ts.map +0 -1
- package/dist/model/userId.js +0 -11
- package/dist/model/userId.js.map +0 -1
- package/dist/model/userVersion.d.ts +0 -31
- package/dist/model/userVersion.d.ts.map +0 -1
- package/dist/model/userVersion.js +0 -2
- package/dist/model/userVersion.js.map +0 -1
- package/dist/param.d.ts +0 -38
- package/dist/param.d.ts.map +0 -1
- package/dist/param.js +0 -2
- package/dist/param.js.map +0 -1
- package/dist/provide-api.d.ts +0 -4
- package/dist/provide-api.d.ts.map +0 -1
- package/dist/provide-api.js +0 -15
- package/dist/provide-api.js.map +0 -1
- package/dist/query.params.d.ts +0 -62
- package/dist/query.params.d.ts.map +0 -1
- package/dist/query.params.js +0 -127
- package/dist/query.params.js.map +0 -1
- package/dist/variables.d.ts +0 -9
- package/dist/variables.d.ts.map +0 -1
- package/dist/variables.js +0 -9
- package/dist/variables.js.map +0 -1
package/dist/api/api.service.js
DELETED
|
@@ -1,3301 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ProWoDo API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16
|
-
};
|
|
17
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
18
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
19
|
-
};
|
|
20
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
21
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
22
|
-
};
|
|
23
|
-
import { Inject, Injectable, Optional } from '@angular/core';
|
|
24
|
-
import { HttpClient, HttpContext } from '@angular/common/http';
|
|
25
|
-
import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
import { BASE_PATH } from '../variables';
|
|
28
|
-
import { Configuration } from '../configuration';
|
|
29
|
-
import { BaseService } from '../api.base.service';
|
|
30
|
-
let ApiService = class ApiService extends BaseService {
|
|
31
|
-
httpClient;
|
|
32
|
-
constructor(httpClient, basePath, configuration) {
|
|
33
|
-
super(basePath, configuration);
|
|
34
|
-
this.httpClient = httpClient;
|
|
35
|
-
}
|
|
36
|
-
apiAiIntegrationsChatgptConfigRetrieve(observe = 'body', reportProgress = false, options) {
|
|
37
|
-
let localVarHeaders = this.defaultHeaders;
|
|
38
|
-
// authentication (FirebaseAuthentication) required
|
|
39
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
40
|
-
// authentication (basicAuth) required
|
|
41
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
42
|
-
// authentication (cookieAuth) required
|
|
43
|
-
// authentication (tokenAuth) required
|
|
44
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
45
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
46
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
47
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
48
|
-
}
|
|
49
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
50
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
51
|
-
let responseType_ = 'json';
|
|
52
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
53
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
54
|
-
responseType_ = 'text';
|
|
55
|
-
}
|
|
56
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
57
|
-
responseType_ = 'json';
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
responseType_ = 'blob';
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
let localVarPath = `/api/ai-integrations/chatgpt/config/`;
|
|
64
|
-
const { basePath, withCredentials } = this.configuration;
|
|
65
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
66
|
-
context: localVarHttpContext,
|
|
67
|
-
responseType: responseType_,
|
|
68
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
69
|
-
headers: localVarHeaders,
|
|
70
|
-
observe: observe,
|
|
71
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
72
|
-
reportProgress: reportProgress
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
apiAiIntegrationsChatgptRegisterCallbackCreate(observe = 'body', reportProgress = false, options) {
|
|
76
|
-
let localVarHeaders = this.defaultHeaders;
|
|
77
|
-
// authentication (FirebaseAuthentication) required
|
|
78
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
79
|
-
// authentication (basicAuth) required
|
|
80
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
81
|
-
// authentication (cookieAuth) required
|
|
82
|
-
// authentication (tokenAuth) required
|
|
83
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
84
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
85
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
86
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
87
|
-
}
|
|
88
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
89
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
90
|
-
let responseType_ = 'json';
|
|
91
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
92
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
93
|
-
responseType_ = 'text';
|
|
94
|
-
}
|
|
95
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
96
|
-
responseType_ = 'json';
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
responseType_ = 'blob';
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
let localVarPath = `/api/ai-integrations/chatgpt/register-callback/`;
|
|
103
|
-
const { basePath, withCredentials } = this.configuration;
|
|
104
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
105
|
-
context: localVarHttpContext,
|
|
106
|
-
responseType: responseType_,
|
|
107
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
108
|
-
headers: localVarHeaders,
|
|
109
|
-
observe: observe,
|
|
110
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
111
|
-
reportProgress: reportProgress
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
apiAiIntegrationsRevokeDestroy(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
115
|
-
const clientId = requestParameters?.clientId;
|
|
116
|
-
if (clientId === null || clientId === undefined) {
|
|
117
|
-
throw new Error('Required parameter clientId was null or undefined when calling apiAiIntegrationsRevokeDestroy.');
|
|
118
|
-
}
|
|
119
|
-
let localVarHeaders = this.defaultHeaders;
|
|
120
|
-
// authentication (FirebaseAuthentication) required
|
|
121
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
122
|
-
// authentication (basicAuth) required
|
|
123
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
124
|
-
// authentication (cookieAuth) required
|
|
125
|
-
// authentication (tokenAuth) required
|
|
126
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
127
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
128
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
129
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
130
|
-
}
|
|
131
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
132
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
133
|
-
let responseType_ = 'json';
|
|
134
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
135
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
136
|
-
responseType_ = 'text';
|
|
137
|
-
}
|
|
138
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
139
|
-
responseType_ = 'json';
|
|
140
|
-
}
|
|
141
|
-
else {
|
|
142
|
-
responseType_ = 'blob';
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
let localVarPath = `/api/ai-integrations/${this.configuration.encodeParam({ name: "clientId", value: clientId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/revoke/`;
|
|
146
|
-
const { basePath, withCredentials } = this.configuration;
|
|
147
|
-
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
148
|
-
context: localVarHttpContext,
|
|
149
|
-
responseType: responseType_,
|
|
150
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
151
|
-
headers: localVarHeaders,
|
|
152
|
-
observe: observe,
|
|
153
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
154
|
-
reportProgress: reportProgress
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
apiAiIntegrationsStatusRetrieve(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
158
|
-
const clientId = requestParameters?.clientId;
|
|
159
|
-
if (clientId === null || clientId === undefined) {
|
|
160
|
-
throw new Error('Required parameter clientId was null or undefined when calling apiAiIntegrationsStatusRetrieve.');
|
|
161
|
-
}
|
|
162
|
-
let localVarHeaders = this.defaultHeaders;
|
|
163
|
-
// authentication (FirebaseAuthentication) required
|
|
164
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
165
|
-
// authentication (basicAuth) required
|
|
166
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
167
|
-
// authentication (cookieAuth) required
|
|
168
|
-
// authentication (tokenAuth) required
|
|
169
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
170
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
171
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
172
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
173
|
-
}
|
|
174
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
175
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
176
|
-
let responseType_ = 'json';
|
|
177
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
178
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
179
|
-
responseType_ = 'text';
|
|
180
|
-
}
|
|
181
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
182
|
-
responseType_ = 'json';
|
|
183
|
-
}
|
|
184
|
-
else {
|
|
185
|
-
responseType_ = 'blob';
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
let localVarPath = `/api/ai-integrations/${this.configuration.encodeParam({ name: "clientId", value: clientId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/status/`;
|
|
189
|
-
const { basePath, withCredentials } = this.configuration;
|
|
190
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
191
|
-
context: localVarHttpContext,
|
|
192
|
-
responseType: responseType_,
|
|
193
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
194
|
-
headers: localVarHeaders,
|
|
195
|
-
observe: observe,
|
|
196
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
197
|
-
reportProgress: reportProgress
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
apiAiIntegrationsTokenCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
201
|
-
const clientId = requestParameters?.clientId;
|
|
202
|
-
if (clientId === null || clientId === undefined) {
|
|
203
|
-
throw new Error('Required parameter clientId was null or undefined when calling apiAiIntegrationsTokenCreate.');
|
|
204
|
-
}
|
|
205
|
-
let localVarHeaders = this.defaultHeaders;
|
|
206
|
-
// authentication (FirebaseAuthentication) required
|
|
207
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
208
|
-
// authentication (basicAuth) required
|
|
209
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
210
|
-
// authentication (cookieAuth) required
|
|
211
|
-
// authentication (tokenAuth) required
|
|
212
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
213
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
214
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
215
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
216
|
-
}
|
|
217
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
218
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
219
|
-
let responseType_ = 'json';
|
|
220
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
221
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
222
|
-
responseType_ = 'text';
|
|
223
|
-
}
|
|
224
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
225
|
-
responseType_ = 'json';
|
|
226
|
-
}
|
|
227
|
-
else {
|
|
228
|
-
responseType_ = 'blob';
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
let localVarPath = `/api/ai-integrations/${this.configuration.encodeParam({ name: "clientId", value: clientId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/token/`;
|
|
232
|
-
const { basePath, withCredentials } = this.configuration;
|
|
233
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
234
|
-
context: localVarHttpContext,
|
|
235
|
-
responseType: responseType_,
|
|
236
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
237
|
-
headers: localVarHeaders,
|
|
238
|
-
observe: observe,
|
|
239
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
240
|
-
reportProgress: reportProgress
|
|
241
|
-
});
|
|
242
|
-
}
|
|
243
|
-
apiProjectUserCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
244
|
-
const companyId = requestParameters?.companyId;
|
|
245
|
-
if (companyId === null || companyId === undefined) {
|
|
246
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectUserCreate.');
|
|
247
|
-
}
|
|
248
|
-
const projectUser = requestParameters?.projectUser;
|
|
249
|
-
let localVarHeaders = this.defaultHeaders;
|
|
250
|
-
// authentication (FirebaseAuthentication) required
|
|
251
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
252
|
-
// authentication (basicAuth) required
|
|
253
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
254
|
-
// authentication (cookieAuth) required
|
|
255
|
-
// authentication (tokenAuth) required
|
|
256
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
257
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
258
|
-
'application/json'
|
|
259
|
-
]);
|
|
260
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
261
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
262
|
-
}
|
|
263
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
264
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
265
|
-
// to determine the Content-Type header
|
|
266
|
-
const consumes = [
|
|
267
|
-
'application/json',
|
|
268
|
-
'application/x-www-form-urlencoded',
|
|
269
|
-
'multipart/form-data'
|
|
270
|
-
];
|
|
271
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
272
|
-
if (httpContentTypeSelected !== undefined) {
|
|
273
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
274
|
-
}
|
|
275
|
-
let responseType_ = 'json';
|
|
276
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
277
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
278
|
-
responseType_ = 'text';
|
|
279
|
-
}
|
|
280
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
281
|
-
responseType_ = 'json';
|
|
282
|
-
}
|
|
283
|
-
else {
|
|
284
|
-
responseType_ = 'blob';
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project-user/`;
|
|
288
|
-
const { basePath, withCredentials } = this.configuration;
|
|
289
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
290
|
-
context: localVarHttpContext,
|
|
291
|
-
body: projectUser,
|
|
292
|
-
responseType: responseType_,
|
|
293
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
294
|
-
headers: localVarHeaders,
|
|
295
|
-
observe: observe,
|
|
296
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
297
|
-
reportProgress: reportProgress
|
|
298
|
-
});
|
|
299
|
-
}
|
|
300
|
-
apiProjectUserDestroy(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
301
|
-
const companyId = requestParameters?.companyId;
|
|
302
|
-
if (companyId === null || companyId === undefined) {
|
|
303
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectUserDestroy.');
|
|
304
|
-
}
|
|
305
|
-
const id = requestParameters?.id;
|
|
306
|
-
if (id === null || id === undefined) {
|
|
307
|
-
throw new Error('Required parameter id was null or undefined when calling apiProjectUserDestroy.');
|
|
308
|
-
}
|
|
309
|
-
let localVarHeaders = this.defaultHeaders;
|
|
310
|
-
// authentication (FirebaseAuthentication) required
|
|
311
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
312
|
-
// authentication (basicAuth) required
|
|
313
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
314
|
-
// authentication (cookieAuth) required
|
|
315
|
-
// authentication (tokenAuth) required
|
|
316
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
317
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
318
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
319
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
320
|
-
}
|
|
321
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
322
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
323
|
-
let responseType_ = 'json';
|
|
324
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
325
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
326
|
-
responseType_ = 'text';
|
|
327
|
-
}
|
|
328
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
329
|
-
responseType_ = 'json';
|
|
330
|
-
}
|
|
331
|
-
else {
|
|
332
|
-
responseType_ = 'blob';
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project-user/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
336
|
-
const { basePath, withCredentials } = this.configuration;
|
|
337
|
-
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
338
|
-
context: localVarHttpContext,
|
|
339
|
-
responseType: responseType_,
|
|
340
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
341
|
-
headers: localVarHeaders,
|
|
342
|
-
observe: observe,
|
|
343
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
344
|
-
reportProgress: reportProgress
|
|
345
|
-
});
|
|
346
|
-
}
|
|
347
|
-
apiProjectUserList(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
348
|
-
const companyId = requestParameters?.companyId;
|
|
349
|
-
if (companyId === null || companyId === undefined) {
|
|
350
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectUserList.');
|
|
351
|
-
}
|
|
352
|
-
const ordering = requestParameters?.ordering;
|
|
353
|
-
const page = requestParameters?.page;
|
|
354
|
-
const pageSize = requestParameters?.pageSize;
|
|
355
|
-
const projectId = requestParameters?.projectId;
|
|
356
|
-
const role = requestParameters?.role;
|
|
357
|
-
const search = requestParameters?.search;
|
|
358
|
-
const userId = requestParameters?.userId;
|
|
359
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
360
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ordering', ordering, QueryParamStyle.Form, true);
|
|
361
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page', page, QueryParamStyle.Form, true);
|
|
362
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_size', pageSize, QueryParamStyle.Form, true);
|
|
363
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'project_id', projectId, QueryParamStyle.Form, true);
|
|
364
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'role', role, QueryParamStyle.Form, true);
|
|
365
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'search', search, QueryParamStyle.Form, true);
|
|
366
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'user_id', userId, QueryParamStyle.Form, true);
|
|
367
|
-
let localVarHeaders = this.defaultHeaders;
|
|
368
|
-
// authentication (FirebaseAuthentication) required
|
|
369
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
370
|
-
// authentication (basicAuth) required
|
|
371
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
372
|
-
// authentication (cookieAuth) required
|
|
373
|
-
// authentication (tokenAuth) required
|
|
374
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
375
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
376
|
-
'application/json'
|
|
377
|
-
]);
|
|
378
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
379
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
380
|
-
}
|
|
381
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
382
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
383
|
-
let responseType_ = 'json';
|
|
384
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
385
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
386
|
-
responseType_ = 'text';
|
|
387
|
-
}
|
|
388
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
389
|
-
responseType_ = 'json';
|
|
390
|
-
}
|
|
391
|
-
else {
|
|
392
|
-
responseType_ = 'blob';
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project-user/`;
|
|
396
|
-
const { basePath, withCredentials } = this.configuration;
|
|
397
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
398
|
-
context: localVarHttpContext,
|
|
399
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
400
|
-
responseType: responseType_,
|
|
401
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
402
|
-
headers: localVarHeaders,
|
|
403
|
-
observe: observe,
|
|
404
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
405
|
-
reportProgress: reportProgress
|
|
406
|
-
});
|
|
407
|
-
}
|
|
408
|
-
apiProjectUserPartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
409
|
-
const companyId = requestParameters?.companyId;
|
|
410
|
-
if (companyId === null || companyId === undefined) {
|
|
411
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectUserPartialUpdate.');
|
|
412
|
-
}
|
|
413
|
-
const id = requestParameters?.id;
|
|
414
|
-
if (id === null || id === undefined) {
|
|
415
|
-
throw new Error('Required parameter id was null or undefined when calling apiProjectUserPartialUpdate.');
|
|
416
|
-
}
|
|
417
|
-
const patchedProjectUser = requestParameters?.patchedProjectUser;
|
|
418
|
-
let localVarHeaders = this.defaultHeaders;
|
|
419
|
-
// authentication (FirebaseAuthentication) required
|
|
420
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
421
|
-
// authentication (basicAuth) required
|
|
422
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
423
|
-
// authentication (cookieAuth) required
|
|
424
|
-
// authentication (tokenAuth) required
|
|
425
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
426
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
427
|
-
'application/json'
|
|
428
|
-
]);
|
|
429
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
430
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
431
|
-
}
|
|
432
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
433
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
434
|
-
// to determine the Content-Type header
|
|
435
|
-
const consumes = [
|
|
436
|
-
'application/json',
|
|
437
|
-
'application/x-www-form-urlencoded',
|
|
438
|
-
'multipart/form-data'
|
|
439
|
-
];
|
|
440
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
441
|
-
if (httpContentTypeSelected !== undefined) {
|
|
442
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
443
|
-
}
|
|
444
|
-
let responseType_ = 'json';
|
|
445
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
446
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
447
|
-
responseType_ = 'text';
|
|
448
|
-
}
|
|
449
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
450
|
-
responseType_ = 'json';
|
|
451
|
-
}
|
|
452
|
-
else {
|
|
453
|
-
responseType_ = 'blob';
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project-user/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
457
|
-
const { basePath, withCredentials } = this.configuration;
|
|
458
|
-
return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
|
|
459
|
-
context: localVarHttpContext,
|
|
460
|
-
body: patchedProjectUser,
|
|
461
|
-
responseType: responseType_,
|
|
462
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
463
|
-
headers: localVarHeaders,
|
|
464
|
-
observe: observe,
|
|
465
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
466
|
-
reportProgress: reportProgress
|
|
467
|
-
});
|
|
468
|
-
}
|
|
469
|
-
apiProjectUserRetrieve(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
470
|
-
const companyId = requestParameters?.companyId;
|
|
471
|
-
if (companyId === null || companyId === undefined) {
|
|
472
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectUserRetrieve.');
|
|
473
|
-
}
|
|
474
|
-
const id = requestParameters?.id;
|
|
475
|
-
if (id === null || id === undefined) {
|
|
476
|
-
throw new Error('Required parameter id was null or undefined when calling apiProjectUserRetrieve.');
|
|
477
|
-
}
|
|
478
|
-
let localVarHeaders = this.defaultHeaders;
|
|
479
|
-
// authentication (FirebaseAuthentication) required
|
|
480
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
481
|
-
// authentication (basicAuth) required
|
|
482
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
483
|
-
// authentication (cookieAuth) required
|
|
484
|
-
// authentication (tokenAuth) required
|
|
485
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
486
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
487
|
-
'application/json'
|
|
488
|
-
]);
|
|
489
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
490
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
491
|
-
}
|
|
492
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
493
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
494
|
-
let responseType_ = 'json';
|
|
495
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
496
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
497
|
-
responseType_ = 'text';
|
|
498
|
-
}
|
|
499
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
500
|
-
responseType_ = 'json';
|
|
501
|
-
}
|
|
502
|
-
else {
|
|
503
|
-
responseType_ = 'blob';
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project-user/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
507
|
-
const { basePath, withCredentials } = this.configuration;
|
|
508
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
509
|
-
context: localVarHttpContext,
|
|
510
|
-
responseType: responseType_,
|
|
511
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
512
|
-
headers: localVarHeaders,
|
|
513
|
-
observe: observe,
|
|
514
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
515
|
-
reportProgress: reportProgress
|
|
516
|
-
});
|
|
517
|
-
}
|
|
518
|
-
apiProjectUserUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
519
|
-
const companyId = requestParameters?.companyId;
|
|
520
|
-
if (companyId === null || companyId === undefined) {
|
|
521
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectUserUpdate.');
|
|
522
|
-
}
|
|
523
|
-
const id = requestParameters?.id;
|
|
524
|
-
if (id === null || id === undefined) {
|
|
525
|
-
throw new Error('Required parameter id was null or undefined when calling apiProjectUserUpdate.');
|
|
526
|
-
}
|
|
527
|
-
const projectUser = requestParameters?.projectUser;
|
|
528
|
-
let localVarHeaders = this.defaultHeaders;
|
|
529
|
-
// authentication (FirebaseAuthentication) required
|
|
530
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
531
|
-
// authentication (basicAuth) required
|
|
532
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
533
|
-
// authentication (cookieAuth) required
|
|
534
|
-
// authentication (tokenAuth) required
|
|
535
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
536
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
537
|
-
'application/json'
|
|
538
|
-
]);
|
|
539
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
540
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
541
|
-
}
|
|
542
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
543
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
544
|
-
// to determine the Content-Type header
|
|
545
|
-
const consumes = [
|
|
546
|
-
'application/json',
|
|
547
|
-
'application/x-www-form-urlencoded',
|
|
548
|
-
'multipart/form-data'
|
|
549
|
-
];
|
|
550
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
551
|
-
if (httpContentTypeSelected !== undefined) {
|
|
552
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
553
|
-
}
|
|
554
|
-
let responseType_ = 'json';
|
|
555
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
556
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
557
|
-
responseType_ = 'text';
|
|
558
|
-
}
|
|
559
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
560
|
-
responseType_ = 'json';
|
|
561
|
-
}
|
|
562
|
-
else {
|
|
563
|
-
responseType_ = 'blob';
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project-user/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
567
|
-
const { basePath, withCredentials } = this.configuration;
|
|
568
|
-
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
569
|
-
context: localVarHttpContext,
|
|
570
|
-
body: projectUser,
|
|
571
|
-
responseType: responseType_,
|
|
572
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
573
|
-
headers: localVarHeaders,
|
|
574
|
-
observe: observe,
|
|
575
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
576
|
-
reportProgress: reportProgress
|
|
577
|
-
});
|
|
578
|
-
}
|
|
579
|
-
apiProjectUsersCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
580
|
-
const companyId = requestParameters?.companyId;
|
|
581
|
-
if (companyId === null || companyId === undefined) {
|
|
582
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectUsersCreate.');
|
|
583
|
-
}
|
|
584
|
-
const projectId = requestParameters?.projectId;
|
|
585
|
-
if (projectId === null || projectId === undefined) {
|
|
586
|
-
throw new Error('Required parameter projectId was null or undefined when calling apiProjectUsersCreate.');
|
|
587
|
-
}
|
|
588
|
-
const projectUser = requestParameters?.projectUser;
|
|
589
|
-
let localVarHeaders = this.defaultHeaders;
|
|
590
|
-
// authentication (FirebaseAuthentication) required
|
|
591
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
592
|
-
// authentication (basicAuth) required
|
|
593
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
594
|
-
// authentication (cookieAuth) required
|
|
595
|
-
// authentication (tokenAuth) required
|
|
596
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
597
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
598
|
-
'application/json'
|
|
599
|
-
]);
|
|
600
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
601
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
602
|
-
}
|
|
603
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
604
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
605
|
-
// to determine the Content-Type header
|
|
606
|
-
const consumes = [
|
|
607
|
-
'application/json',
|
|
608
|
-
'application/x-www-form-urlencoded',
|
|
609
|
-
'multipart/form-data'
|
|
610
|
-
];
|
|
611
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
612
|
-
if (httpContentTypeSelected !== undefined) {
|
|
613
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
614
|
-
}
|
|
615
|
-
let responseType_ = 'json';
|
|
616
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
617
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
618
|
-
responseType_ = 'text';
|
|
619
|
-
}
|
|
620
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
621
|
-
responseType_ = 'json';
|
|
622
|
-
}
|
|
623
|
-
else {
|
|
624
|
-
responseType_ = 'blob';
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/users/`;
|
|
628
|
-
const { basePath, withCredentials } = this.configuration;
|
|
629
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
630
|
-
context: localVarHttpContext,
|
|
631
|
-
body: projectUser,
|
|
632
|
-
responseType: responseType_,
|
|
633
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
634
|
-
headers: localVarHeaders,
|
|
635
|
-
observe: observe,
|
|
636
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
637
|
-
reportProgress: reportProgress
|
|
638
|
-
});
|
|
639
|
-
}
|
|
640
|
-
apiProjectUsersDestroy(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
641
|
-
const companyId = requestParameters?.companyId;
|
|
642
|
-
if (companyId === null || companyId === undefined) {
|
|
643
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectUsersDestroy.');
|
|
644
|
-
}
|
|
645
|
-
const id = requestParameters?.id;
|
|
646
|
-
if (id === null || id === undefined) {
|
|
647
|
-
throw new Error('Required parameter id was null or undefined when calling apiProjectUsersDestroy.');
|
|
648
|
-
}
|
|
649
|
-
const projectId = requestParameters?.projectId;
|
|
650
|
-
if (projectId === null || projectId === undefined) {
|
|
651
|
-
throw new Error('Required parameter projectId was null or undefined when calling apiProjectUsersDestroy.');
|
|
652
|
-
}
|
|
653
|
-
let localVarHeaders = this.defaultHeaders;
|
|
654
|
-
// authentication (FirebaseAuthentication) required
|
|
655
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
656
|
-
// authentication (basicAuth) required
|
|
657
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
658
|
-
// authentication (cookieAuth) required
|
|
659
|
-
// authentication (tokenAuth) required
|
|
660
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
661
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
662
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
663
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
664
|
-
}
|
|
665
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
666
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
667
|
-
let responseType_ = 'json';
|
|
668
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
669
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
670
|
-
responseType_ = 'text';
|
|
671
|
-
}
|
|
672
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
673
|
-
responseType_ = 'json';
|
|
674
|
-
}
|
|
675
|
-
else {
|
|
676
|
-
responseType_ = 'blob';
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/users/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
680
|
-
const { basePath, withCredentials } = this.configuration;
|
|
681
|
-
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
682
|
-
context: localVarHttpContext,
|
|
683
|
-
responseType: responseType_,
|
|
684
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
685
|
-
headers: localVarHeaders,
|
|
686
|
-
observe: observe,
|
|
687
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
688
|
-
reportProgress: reportProgress
|
|
689
|
-
});
|
|
690
|
-
}
|
|
691
|
-
apiProjectUsersList(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
692
|
-
const companyId = requestParameters?.companyId;
|
|
693
|
-
if (companyId === null || companyId === undefined) {
|
|
694
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectUsersList.');
|
|
695
|
-
}
|
|
696
|
-
const projectId = requestParameters?.projectId;
|
|
697
|
-
if (projectId === null || projectId === undefined) {
|
|
698
|
-
throw new Error('Required parameter projectId was null or undefined when calling apiProjectUsersList.');
|
|
699
|
-
}
|
|
700
|
-
const ordering = requestParameters?.ordering;
|
|
701
|
-
const page = requestParameters?.page;
|
|
702
|
-
const pageSize = requestParameters?.pageSize;
|
|
703
|
-
const projectId2 = requestParameters?.projectId2;
|
|
704
|
-
const role = requestParameters?.role;
|
|
705
|
-
const search = requestParameters?.search;
|
|
706
|
-
const userId = requestParameters?.userId;
|
|
707
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
708
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ordering', ordering, QueryParamStyle.Form, true);
|
|
709
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page', page, QueryParamStyle.Form, true);
|
|
710
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_size', pageSize, QueryParamStyle.Form, true);
|
|
711
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'project_id', projectId2, QueryParamStyle.Form, true);
|
|
712
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'role', role, QueryParamStyle.Form, true);
|
|
713
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'search', search, QueryParamStyle.Form, true);
|
|
714
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'user_id', userId, QueryParamStyle.Form, true);
|
|
715
|
-
let localVarHeaders = this.defaultHeaders;
|
|
716
|
-
// authentication (FirebaseAuthentication) required
|
|
717
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
718
|
-
// authentication (basicAuth) required
|
|
719
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
720
|
-
// authentication (cookieAuth) required
|
|
721
|
-
// authentication (tokenAuth) required
|
|
722
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
723
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
724
|
-
'application/json'
|
|
725
|
-
]);
|
|
726
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
727
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
728
|
-
}
|
|
729
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
730
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
731
|
-
let responseType_ = 'json';
|
|
732
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
733
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
734
|
-
responseType_ = 'text';
|
|
735
|
-
}
|
|
736
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
737
|
-
responseType_ = 'json';
|
|
738
|
-
}
|
|
739
|
-
else {
|
|
740
|
-
responseType_ = 'blob';
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/users/`;
|
|
744
|
-
const { basePath, withCredentials } = this.configuration;
|
|
745
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
746
|
-
context: localVarHttpContext,
|
|
747
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
748
|
-
responseType: responseType_,
|
|
749
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
750
|
-
headers: localVarHeaders,
|
|
751
|
-
observe: observe,
|
|
752
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
753
|
-
reportProgress: reportProgress
|
|
754
|
-
});
|
|
755
|
-
}
|
|
756
|
-
apiProjectUsersPartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
757
|
-
const companyId = requestParameters?.companyId;
|
|
758
|
-
if (companyId === null || companyId === undefined) {
|
|
759
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectUsersPartialUpdate.');
|
|
760
|
-
}
|
|
761
|
-
const id = requestParameters?.id;
|
|
762
|
-
if (id === null || id === undefined) {
|
|
763
|
-
throw new Error('Required parameter id was null or undefined when calling apiProjectUsersPartialUpdate.');
|
|
764
|
-
}
|
|
765
|
-
const projectId = requestParameters?.projectId;
|
|
766
|
-
if (projectId === null || projectId === undefined) {
|
|
767
|
-
throw new Error('Required parameter projectId was null or undefined when calling apiProjectUsersPartialUpdate.');
|
|
768
|
-
}
|
|
769
|
-
const patchedProjectUser = requestParameters?.patchedProjectUser;
|
|
770
|
-
let localVarHeaders = this.defaultHeaders;
|
|
771
|
-
// authentication (FirebaseAuthentication) required
|
|
772
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
773
|
-
// authentication (basicAuth) required
|
|
774
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
775
|
-
// authentication (cookieAuth) required
|
|
776
|
-
// authentication (tokenAuth) required
|
|
777
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
778
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
779
|
-
'application/json'
|
|
780
|
-
]);
|
|
781
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
782
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
783
|
-
}
|
|
784
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
785
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
786
|
-
// to determine the Content-Type header
|
|
787
|
-
const consumes = [
|
|
788
|
-
'application/json',
|
|
789
|
-
'application/x-www-form-urlencoded',
|
|
790
|
-
'multipart/form-data'
|
|
791
|
-
];
|
|
792
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
793
|
-
if (httpContentTypeSelected !== undefined) {
|
|
794
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
795
|
-
}
|
|
796
|
-
let responseType_ = 'json';
|
|
797
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
798
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
799
|
-
responseType_ = 'text';
|
|
800
|
-
}
|
|
801
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
802
|
-
responseType_ = 'json';
|
|
803
|
-
}
|
|
804
|
-
else {
|
|
805
|
-
responseType_ = 'blob';
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/users/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
809
|
-
const { basePath, withCredentials } = this.configuration;
|
|
810
|
-
return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
|
|
811
|
-
context: localVarHttpContext,
|
|
812
|
-
body: patchedProjectUser,
|
|
813
|
-
responseType: responseType_,
|
|
814
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
815
|
-
headers: localVarHeaders,
|
|
816
|
-
observe: observe,
|
|
817
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
818
|
-
reportProgress: reportProgress
|
|
819
|
-
});
|
|
820
|
-
}
|
|
821
|
-
apiProjectUsersRetrieve(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
822
|
-
const companyId = requestParameters?.companyId;
|
|
823
|
-
if (companyId === null || companyId === undefined) {
|
|
824
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectUsersRetrieve.');
|
|
825
|
-
}
|
|
826
|
-
const id = requestParameters?.id;
|
|
827
|
-
if (id === null || id === undefined) {
|
|
828
|
-
throw new Error('Required parameter id was null or undefined when calling apiProjectUsersRetrieve.');
|
|
829
|
-
}
|
|
830
|
-
const projectId = requestParameters?.projectId;
|
|
831
|
-
if (projectId === null || projectId === undefined) {
|
|
832
|
-
throw new Error('Required parameter projectId was null or undefined when calling apiProjectUsersRetrieve.');
|
|
833
|
-
}
|
|
834
|
-
let localVarHeaders = this.defaultHeaders;
|
|
835
|
-
// authentication (FirebaseAuthentication) required
|
|
836
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
837
|
-
// authentication (basicAuth) required
|
|
838
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
839
|
-
// authentication (cookieAuth) required
|
|
840
|
-
// authentication (tokenAuth) required
|
|
841
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
842
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
843
|
-
'application/json'
|
|
844
|
-
]);
|
|
845
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
846
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
847
|
-
}
|
|
848
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
849
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
850
|
-
let responseType_ = 'json';
|
|
851
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
852
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
853
|
-
responseType_ = 'text';
|
|
854
|
-
}
|
|
855
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
856
|
-
responseType_ = 'json';
|
|
857
|
-
}
|
|
858
|
-
else {
|
|
859
|
-
responseType_ = 'blob';
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/users/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
863
|
-
const { basePath, withCredentials } = this.configuration;
|
|
864
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
865
|
-
context: localVarHttpContext,
|
|
866
|
-
responseType: responseType_,
|
|
867
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
868
|
-
headers: localVarHeaders,
|
|
869
|
-
observe: observe,
|
|
870
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
871
|
-
reportProgress: reportProgress
|
|
872
|
-
});
|
|
873
|
-
}
|
|
874
|
-
apiProjectUsersUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
875
|
-
const companyId = requestParameters?.companyId;
|
|
876
|
-
if (companyId === null || companyId === undefined) {
|
|
877
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectUsersUpdate.');
|
|
878
|
-
}
|
|
879
|
-
const id = requestParameters?.id;
|
|
880
|
-
if (id === null || id === undefined) {
|
|
881
|
-
throw new Error('Required parameter id was null or undefined when calling apiProjectUsersUpdate.');
|
|
882
|
-
}
|
|
883
|
-
const projectId = requestParameters?.projectId;
|
|
884
|
-
if (projectId === null || projectId === undefined) {
|
|
885
|
-
throw new Error('Required parameter projectId was null or undefined when calling apiProjectUsersUpdate.');
|
|
886
|
-
}
|
|
887
|
-
const projectUser = requestParameters?.projectUser;
|
|
888
|
-
let localVarHeaders = this.defaultHeaders;
|
|
889
|
-
// authentication (FirebaseAuthentication) required
|
|
890
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
891
|
-
// authentication (basicAuth) required
|
|
892
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
893
|
-
// authentication (cookieAuth) required
|
|
894
|
-
// authentication (tokenAuth) required
|
|
895
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
896
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
897
|
-
'application/json'
|
|
898
|
-
]);
|
|
899
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
900
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
901
|
-
}
|
|
902
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
903
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
904
|
-
// to determine the Content-Type header
|
|
905
|
-
const consumes = [
|
|
906
|
-
'application/json',
|
|
907
|
-
'application/x-www-form-urlencoded',
|
|
908
|
-
'multipart/form-data'
|
|
909
|
-
];
|
|
910
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
911
|
-
if (httpContentTypeSelected !== undefined) {
|
|
912
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
913
|
-
}
|
|
914
|
-
let responseType_ = 'json';
|
|
915
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
916
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
917
|
-
responseType_ = 'text';
|
|
918
|
-
}
|
|
919
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
920
|
-
responseType_ = 'json';
|
|
921
|
-
}
|
|
922
|
-
else {
|
|
923
|
-
responseType_ = 'blob';
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/users/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
927
|
-
const { basePath, withCredentials } = this.configuration;
|
|
928
|
-
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
929
|
-
context: localVarHttpContext,
|
|
930
|
-
body: projectUser,
|
|
931
|
-
responseType: responseType_,
|
|
932
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
933
|
-
headers: localVarHeaders,
|
|
934
|
-
observe: observe,
|
|
935
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
936
|
-
reportProgress: reportProgress
|
|
937
|
-
});
|
|
938
|
-
}
|
|
939
|
-
apiProjectsStatusTemplateCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
940
|
-
const companyId = requestParameters?.companyId;
|
|
941
|
-
if (companyId === null || companyId === undefined) {
|
|
942
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectsStatusTemplateCreate.');
|
|
943
|
-
}
|
|
944
|
-
const projectId = requestParameters?.projectId;
|
|
945
|
-
if (projectId === null || projectId === undefined) {
|
|
946
|
-
throw new Error('Required parameter projectId was null or undefined when calling apiProjectsStatusTemplateCreate.');
|
|
947
|
-
}
|
|
948
|
-
const projectTaskStatus = requestParameters?.projectTaskStatus;
|
|
949
|
-
if (projectTaskStatus === null || projectTaskStatus === undefined) {
|
|
950
|
-
throw new Error('Required parameter projectTaskStatus was null or undefined when calling apiProjectsStatusTemplateCreate.');
|
|
951
|
-
}
|
|
952
|
-
let localVarHeaders = this.defaultHeaders;
|
|
953
|
-
// authentication (FirebaseAuthentication) required
|
|
954
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
955
|
-
// authentication (basicAuth) required
|
|
956
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
957
|
-
// authentication (cookieAuth) required
|
|
958
|
-
// authentication (tokenAuth) required
|
|
959
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
960
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
961
|
-
'application/json'
|
|
962
|
-
]);
|
|
963
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
964
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
965
|
-
}
|
|
966
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
967
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
968
|
-
// to determine the Content-Type header
|
|
969
|
-
const consumes = [
|
|
970
|
-
'application/json',
|
|
971
|
-
'application/x-www-form-urlencoded',
|
|
972
|
-
'multipart/form-data'
|
|
973
|
-
];
|
|
974
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
975
|
-
if (httpContentTypeSelected !== undefined) {
|
|
976
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
977
|
-
}
|
|
978
|
-
let responseType_ = 'json';
|
|
979
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
980
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
981
|
-
responseType_ = 'text';
|
|
982
|
-
}
|
|
983
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
984
|
-
responseType_ = 'json';
|
|
985
|
-
}
|
|
986
|
-
else {
|
|
987
|
-
responseType_ = 'blob';
|
|
988
|
-
}
|
|
989
|
-
}
|
|
990
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/projects/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/status-template/`;
|
|
991
|
-
const { basePath, withCredentials } = this.configuration;
|
|
992
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
993
|
-
context: localVarHttpContext,
|
|
994
|
-
body: projectTaskStatus,
|
|
995
|
-
responseType: responseType_,
|
|
996
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
997
|
-
headers: localVarHeaders,
|
|
998
|
-
observe: observe,
|
|
999
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1000
|
-
reportProgress: reportProgress
|
|
1001
|
-
});
|
|
1002
|
-
}
|
|
1003
|
-
apiProjectsStatusTemplateDestroy(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1004
|
-
const companyId = requestParameters?.companyId;
|
|
1005
|
-
if (companyId === null || companyId === undefined) {
|
|
1006
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectsStatusTemplateDestroy.');
|
|
1007
|
-
}
|
|
1008
|
-
const id = requestParameters?.id;
|
|
1009
|
-
if (id === null || id === undefined) {
|
|
1010
|
-
throw new Error('Required parameter id was null or undefined when calling apiProjectsStatusTemplateDestroy.');
|
|
1011
|
-
}
|
|
1012
|
-
const projectId = requestParameters?.projectId;
|
|
1013
|
-
if (projectId === null || projectId === undefined) {
|
|
1014
|
-
throw new Error('Required parameter projectId was null or undefined when calling apiProjectsStatusTemplateDestroy.');
|
|
1015
|
-
}
|
|
1016
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1017
|
-
// authentication (FirebaseAuthentication) required
|
|
1018
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1019
|
-
// authentication (basicAuth) required
|
|
1020
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1021
|
-
// authentication (cookieAuth) required
|
|
1022
|
-
// authentication (tokenAuth) required
|
|
1023
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1024
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1025
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1026
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1027
|
-
}
|
|
1028
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1029
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1030
|
-
let responseType_ = 'json';
|
|
1031
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1032
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1033
|
-
responseType_ = 'text';
|
|
1034
|
-
}
|
|
1035
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1036
|
-
responseType_ = 'json';
|
|
1037
|
-
}
|
|
1038
|
-
else {
|
|
1039
|
-
responseType_ = 'blob';
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/projects/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/status-template/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
1043
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1044
|
-
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
1045
|
-
context: localVarHttpContext,
|
|
1046
|
-
responseType: responseType_,
|
|
1047
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1048
|
-
headers: localVarHeaders,
|
|
1049
|
-
observe: observe,
|
|
1050
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1051
|
-
reportProgress: reportProgress
|
|
1052
|
-
});
|
|
1053
|
-
}
|
|
1054
|
-
apiProjectsStatusTemplateList(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1055
|
-
const companyId = requestParameters?.companyId;
|
|
1056
|
-
if (companyId === null || companyId === undefined) {
|
|
1057
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectsStatusTemplateList.');
|
|
1058
|
-
}
|
|
1059
|
-
const projectId = requestParameters?.projectId;
|
|
1060
|
-
if (projectId === null || projectId === undefined) {
|
|
1061
|
-
throw new Error('Required parameter projectId was null or undefined when calling apiProjectsStatusTemplateList.');
|
|
1062
|
-
}
|
|
1063
|
-
const ordering = requestParameters?.ordering;
|
|
1064
|
-
const page = requestParameters?.page;
|
|
1065
|
-
const pageSize = requestParameters?.pageSize;
|
|
1066
|
-
const search = requestParameters?.search;
|
|
1067
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
1068
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ordering', ordering, QueryParamStyle.Form, true);
|
|
1069
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page', page, QueryParamStyle.Form, true);
|
|
1070
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_size', pageSize, QueryParamStyle.Form, true);
|
|
1071
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'search', search, QueryParamStyle.Form, true);
|
|
1072
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1073
|
-
// authentication (FirebaseAuthentication) required
|
|
1074
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1075
|
-
// authentication (basicAuth) required
|
|
1076
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1077
|
-
// authentication (cookieAuth) required
|
|
1078
|
-
// authentication (tokenAuth) required
|
|
1079
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1080
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1081
|
-
'application/json'
|
|
1082
|
-
]);
|
|
1083
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1084
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1085
|
-
}
|
|
1086
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1087
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1088
|
-
let responseType_ = 'json';
|
|
1089
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1090
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1091
|
-
responseType_ = 'text';
|
|
1092
|
-
}
|
|
1093
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1094
|
-
responseType_ = 'json';
|
|
1095
|
-
}
|
|
1096
|
-
else {
|
|
1097
|
-
responseType_ = 'blob';
|
|
1098
|
-
}
|
|
1099
|
-
}
|
|
1100
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/projects/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/status-template/`;
|
|
1101
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1102
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1103
|
-
context: localVarHttpContext,
|
|
1104
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
1105
|
-
responseType: responseType_,
|
|
1106
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1107
|
-
headers: localVarHeaders,
|
|
1108
|
-
observe: observe,
|
|
1109
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1110
|
-
reportProgress: reportProgress
|
|
1111
|
-
});
|
|
1112
|
-
}
|
|
1113
|
-
apiProjectsStatusTemplatePartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1114
|
-
const companyId = requestParameters?.companyId;
|
|
1115
|
-
if (companyId === null || companyId === undefined) {
|
|
1116
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectsStatusTemplatePartialUpdate.');
|
|
1117
|
-
}
|
|
1118
|
-
const id = requestParameters?.id;
|
|
1119
|
-
if (id === null || id === undefined) {
|
|
1120
|
-
throw new Error('Required parameter id was null or undefined when calling apiProjectsStatusTemplatePartialUpdate.');
|
|
1121
|
-
}
|
|
1122
|
-
const projectId = requestParameters?.projectId;
|
|
1123
|
-
if (projectId === null || projectId === undefined) {
|
|
1124
|
-
throw new Error('Required parameter projectId was null or undefined when calling apiProjectsStatusTemplatePartialUpdate.');
|
|
1125
|
-
}
|
|
1126
|
-
const patchedProjectTaskStatus = requestParameters?.patchedProjectTaskStatus;
|
|
1127
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1128
|
-
// authentication (FirebaseAuthentication) required
|
|
1129
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1130
|
-
// authentication (basicAuth) required
|
|
1131
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1132
|
-
// authentication (cookieAuth) required
|
|
1133
|
-
// authentication (tokenAuth) required
|
|
1134
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1135
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1136
|
-
'application/json'
|
|
1137
|
-
]);
|
|
1138
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1139
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1140
|
-
}
|
|
1141
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1142
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1143
|
-
// to determine the Content-Type header
|
|
1144
|
-
const consumes = [
|
|
1145
|
-
'application/json',
|
|
1146
|
-
'application/x-www-form-urlencoded',
|
|
1147
|
-
'multipart/form-data'
|
|
1148
|
-
];
|
|
1149
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1150
|
-
if (httpContentTypeSelected !== undefined) {
|
|
1151
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1152
|
-
}
|
|
1153
|
-
let responseType_ = 'json';
|
|
1154
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1155
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1156
|
-
responseType_ = 'text';
|
|
1157
|
-
}
|
|
1158
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1159
|
-
responseType_ = 'json';
|
|
1160
|
-
}
|
|
1161
|
-
else {
|
|
1162
|
-
responseType_ = 'blob';
|
|
1163
|
-
}
|
|
1164
|
-
}
|
|
1165
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/projects/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/status-template/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
1166
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1167
|
-
return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
|
|
1168
|
-
context: localVarHttpContext,
|
|
1169
|
-
body: patchedProjectTaskStatus,
|
|
1170
|
-
responseType: responseType_,
|
|
1171
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1172
|
-
headers: localVarHeaders,
|
|
1173
|
-
observe: observe,
|
|
1174
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1175
|
-
reportProgress: reportProgress
|
|
1176
|
-
});
|
|
1177
|
-
}
|
|
1178
|
-
apiProjectsStatusTemplateRetrieve(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1179
|
-
const companyId = requestParameters?.companyId;
|
|
1180
|
-
if (companyId === null || companyId === undefined) {
|
|
1181
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectsStatusTemplateRetrieve.');
|
|
1182
|
-
}
|
|
1183
|
-
const id = requestParameters?.id;
|
|
1184
|
-
if (id === null || id === undefined) {
|
|
1185
|
-
throw new Error('Required parameter id was null or undefined when calling apiProjectsStatusTemplateRetrieve.');
|
|
1186
|
-
}
|
|
1187
|
-
const projectId = requestParameters?.projectId;
|
|
1188
|
-
if (projectId === null || projectId === undefined) {
|
|
1189
|
-
throw new Error('Required parameter projectId was null or undefined when calling apiProjectsStatusTemplateRetrieve.');
|
|
1190
|
-
}
|
|
1191
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1192
|
-
// authentication (FirebaseAuthentication) required
|
|
1193
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1194
|
-
// authentication (basicAuth) required
|
|
1195
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1196
|
-
// authentication (cookieAuth) required
|
|
1197
|
-
// authentication (tokenAuth) required
|
|
1198
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1199
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1200
|
-
'application/json'
|
|
1201
|
-
]);
|
|
1202
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1203
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1204
|
-
}
|
|
1205
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1206
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1207
|
-
let responseType_ = 'json';
|
|
1208
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1209
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1210
|
-
responseType_ = 'text';
|
|
1211
|
-
}
|
|
1212
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1213
|
-
responseType_ = 'json';
|
|
1214
|
-
}
|
|
1215
|
-
else {
|
|
1216
|
-
responseType_ = 'blob';
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/projects/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/status-template/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
1220
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1221
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1222
|
-
context: localVarHttpContext,
|
|
1223
|
-
responseType: responseType_,
|
|
1224
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1225
|
-
headers: localVarHeaders,
|
|
1226
|
-
observe: observe,
|
|
1227
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1228
|
-
reportProgress: reportProgress
|
|
1229
|
-
});
|
|
1230
|
-
}
|
|
1231
|
-
apiProjectsStatusTemplateUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1232
|
-
const companyId = requestParameters?.companyId;
|
|
1233
|
-
if (companyId === null || companyId === undefined) {
|
|
1234
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiProjectsStatusTemplateUpdate.');
|
|
1235
|
-
}
|
|
1236
|
-
const id = requestParameters?.id;
|
|
1237
|
-
if (id === null || id === undefined) {
|
|
1238
|
-
throw new Error('Required parameter id was null or undefined when calling apiProjectsStatusTemplateUpdate.');
|
|
1239
|
-
}
|
|
1240
|
-
const projectId = requestParameters?.projectId;
|
|
1241
|
-
if (projectId === null || projectId === undefined) {
|
|
1242
|
-
throw new Error('Required parameter projectId was null or undefined when calling apiProjectsStatusTemplateUpdate.');
|
|
1243
|
-
}
|
|
1244
|
-
const projectTaskStatus = requestParameters?.projectTaskStatus;
|
|
1245
|
-
if (projectTaskStatus === null || projectTaskStatus === undefined) {
|
|
1246
|
-
throw new Error('Required parameter projectTaskStatus was null or undefined when calling apiProjectsStatusTemplateUpdate.');
|
|
1247
|
-
}
|
|
1248
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1249
|
-
// authentication (FirebaseAuthentication) required
|
|
1250
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1251
|
-
// authentication (basicAuth) required
|
|
1252
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1253
|
-
// authentication (cookieAuth) required
|
|
1254
|
-
// authentication (tokenAuth) required
|
|
1255
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1256
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1257
|
-
'application/json'
|
|
1258
|
-
]);
|
|
1259
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1260
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1261
|
-
}
|
|
1262
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1263
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1264
|
-
// to determine the Content-Type header
|
|
1265
|
-
const consumes = [
|
|
1266
|
-
'application/json',
|
|
1267
|
-
'application/x-www-form-urlencoded',
|
|
1268
|
-
'multipart/form-data'
|
|
1269
|
-
];
|
|
1270
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1271
|
-
if (httpContentTypeSelected !== undefined) {
|
|
1272
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1273
|
-
}
|
|
1274
|
-
let responseType_ = 'json';
|
|
1275
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1276
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1277
|
-
responseType_ = 'text';
|
|
1278
|
-
}
|
|
1279
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1280
|
-
responseType_ = 'json';
|
|
1281
|
-
}
|
|
1282
|
-
else {
|
|
1283
|
-
responseType_ = 'blob';
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1286
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/projects/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/status-template/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
1287
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1288
|
-
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
1289
|
-
context: localVarHttpContext,
|
|
1290
|
-
body: projectTaskStatus,
|
|
1291
|
-
responseType: responseType_,
|
|
1292
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1293
|
-
headers: localVarHeaders,
|
|
1294
|
-
observe: observe,
|
|
1295
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1296
|
-
reportProgress: reportProgress
|
|
1297
|
-
});
|
|
1298
|
-
}
|
|
1299
|
-
apiTasksAddTagPartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1300
|
-
const id = requestParameters?.id;
|
|
1301
|
-
if (id === null || id === undefined) {
|
|
1302
|
-
throw new Error('Required parameter id was null or undefined when calling apiTasksAddTagPartialUpdate.');
|
|
1303
|
-
}
|
|
1304
|
-
const patchedTask = requestParameters?.patchedTask;
|
|
1305
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1306
|
-
// authentication (FirebaseAuthentication) required
|
|
1307
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1308
|
-
// authentication (basicAuth) required
|
|
1309
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1310
|
-
// authentication (cookieAuth) required
|
|
1311
|
-
// authentication (tokenAuth) required
|
|
1312
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1313
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1314
|
-
'application/json'
|
|
1315
|
-
]);
|
|
1316
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1317
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1318
|
-
}
|
|
1319
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1320
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1321
|
-
// to determine the Content-Type header
|
|
1322
|
-
const consumes = [
|
|
1323
|
-
'application/json',
|
|
1324
|
-
'application/x-www-form-urlencoded',
|
|
1325
|
-
'multipart/form-data'
|
|
1326
|
-
];
|
|
1327
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1328
|
-
if (httpContentTypeSelected !== undefined) {
|
|
1329
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1330
|
-
}
|
|
1331
|
-
let responseType_ = 'json';
|
|
1332
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1333
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1334
|
-
responseType_ = 'text';
|
|
1335
|
-
}
|
|
1336
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1337
|
-
responseType_ = 'json';
|
|
1338
|
-
}
|
|
1339
|
-
else {
|
|
1340
|
-
responseType_ = 'blob';
|
|
1341
|
-
}
|
|
1342
|
-
}
|
|
1343
|
-
let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/add-tag/`;
|
|
1344
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1345
|
-
return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
|
|
1346
|
-
context: localVarHttpContext,
|
|
1347
|
-
body: patchedTask,
|
|
1348
|
-
responseType: responseType_,
|
|
1349
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1350
|
-
headers: localVarHeaders,
|
|
1351
|
-
observe: observe,
|
|
1352
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1353
|
-
reportProgress: reportProgress
|
|
1354
|
-
});
|
|
1355
|
-
}
|
|
1356
|
-
apiTasksCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1357
|
-
const task = requestParameters?.task;
|
|
1358
|
-
if (task === null || task === undefined) {
|
|
1359
|
-
throw new Error('Required parameter task was null or undefined when calling apiTasksCreate.');
|
|
1360
|
-
}
|
|
1361
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1362
|
-
// authentication (FirebaseAuthentication) required
|
|
1363
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1364
|
-
// authentication (basicAuth) required
|
|
1365
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1366
|
-
// authentication (cookieAuth) required
|
|
1367
|
-
// authentication (tokenAuth) required
|
|
1368
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1369
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1370
|
-
'application/json'
|
|
1371
|
-
]);
|
|
1372
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1373
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1374
|
-
}
|
|
1375
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1376
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1377
|
-
// to determine the Content-Type header
|
|
1378
|
-
const consumes = [
|
|
1379
|
-
'application/json',
|
|
1380
|
-
'application/x-www-form-urlencoded',
|
|
1381
|
-
'multipart/form-data'
|
|
1382
|
-
];
|
|
1383
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1384
|
-
if (httpContentTypeSelected !== undefined) {
|
|
1385
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1386
|
-
}
|
|
1387
|
-
let responseType_ = 'json';
|
|
1388
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1389
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1390
|
-
responseType_ = 'text';
|
|
1391
|
-
}
|
|
1392
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1393
|
-
responseType_ = 'json';
|
|
1394
|
-
}
|
|
1395
|
-
else {
|
|
1396
|
-
responseType_ = 'blob';
|
|
1397
|
-
}
|
|
1398
|
-
}
|
|
1399
|
-
let localVarPath = `/api/tasks/`;
|
|
1400
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1401
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
1402
|
-
context: localVarHttpContext,
|
|
1403
|
-
body: task,
|
|
1404
|
-
responseType: responseType_,
|
|
1405
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1406
|
-
headers: localVarHeaders,
|
|
1407
|
-
observe: observe,
|
|
1408
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1409
|
-
reportProgress: reportProgress
|
|
1410
|
-
});
|
|
1411
|
-
}
|
|
1412
|
-
apiTasksDecreseDepthCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1413
|
-
const id = requestParameters?.id;
|
|
1414
|
-
if (id === null || id === undefined) {
|
|
1415
|
-
throw new Error('Required parameter id was null or undefined when calling apiTasksDecreseDepthCreate.');
|
|
1416
|
-
}
|
|
1417
|
-
const task = requestParameters?.task;
|
|
1418
|
-
if (task === null || task === undefined) {
|
|
1419
|
-
throw new Error('Required parameter task was null or undefined when calling apiTasksDecreseDepthCreate.');
|
|
1420
|
-
}
|
|
1421
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1422
|
-
// authentication (FirebaseAuthentication) required
|
|
1423
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1424
|
-
// authentication (basicAuth) required
|
|
1425
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1426
|
-
// authentication (cookieAuth) required
|
|
1427
|
-
// authentication (tokenAuth) required
|
|
1428
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1429
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1430
|
-
'application/json'
|
|
1431
|
-
]);
|
|
1432
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1433
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1434
|
-
}
|
|
1435
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1436
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1437
|
-
// to determine the Content-Type header
|
|
1438
|
-
const consumes = [
|
|
1439
|
-
'application/json',
|
|
1440
|
-
'application/x-www-form-urlencoded',
|
|
1441
|
-
'multipart/form-data'
|
|
1442
|
-
];
|
|
1443
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1444
|
-
if (httpContentTypeSelected !== undefined) {
|
|
1445
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1446
|
-
}
|
|
1447
|
-
let responseType_ = 'json';
|
|
1448
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1449
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1450
|
-
responseType_ = 'text';
|
|
1451
|
-
}
|
|
1452
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1453
|
-
responseType_ = 'json';
|
|
1454
|
-
}
|
|
1455
|
-
else {
|
|
1456
|
-
responseType_ = 'blob';
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1459
|
-
let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/decrese_depth/`;
|
|
1460
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1461
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
1462
|
-
context: localVarHttpContext,
|
|
1463
|
-
body: task,
|
|
1464
|
-
responseType: responseType_,
|
|
1465
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1466
|
-
headers: localVarHeaders,
|
|
1467
|
-
observe: observe,
|
|
1468
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1469
|
-
reportProgress: reportProgress
|
|
1470
|
-
});
|
|
1471
|
-
}
|
|
1472
|
-
apiTasksDestroy(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1473
|
-
const id = requestParameters?.id;
|
|
1474
|
-
if (id === null || id === undefined) {
|
|
1475
|
-
throw new Error('Required parameter id was null or undefined when calling apiTasksDestroy.');
|
|
1476
|
-
}
|
|
1477
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1478
|
-
// authentication (FirebaseAuthentication) required
|
|
1479
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1480
|
-
// authentication (basicAuth) required
|
|
1481
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1482
|
-
// authentication (cookieAuth) required
|
|
1483
|
-
// authentication (tokenAuth) required
|
|
1484
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1485
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1486
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1487
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1488
|
-
}
|
|
1489
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1490
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1491
|
-
let responseType_ = 'json';
|
|
1492
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1493
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1494
|
-
responseType_ = 'text';
|
|
1495
|
-
}
|
|
1496
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1497
|
-
responseType_ = 'json';
|
|
1498
|
-
}
|
|
1499
|
-
else {
|
|
1500
|
-
responseType_ = 'blob';
|
|
1501
|
-
}
|
|
1502
|
-
}
|
|
1503
|
-
let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
1504
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1505
|
-
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
1506
|
-
context: localVarHttpContext,
|
|
1507
|
-
responseType: responseType_,
|
|
1508
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1509
|
-
headers: localVarHeaders,
|
|
1510
|
-
observe: observe,
|
|
1511
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1512
|
-
reportProgress: reportProgress
|
|
1513
|
-
});
|
|
1514
|
-
}
|
|
1515
|
-
apiTasksIncreseDepthCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1516
|
-
const id = requestParameters?.id;
|
|
1517
|
-
if (id === null || id === undefined) {
|
|
1518
|
-
throw new Error('Required parameter id was null or undefined when calling apiTasksIncreseDepthCreate.');
|
|
1519
|
-
}
|
|
1520
|
-
const task = requestParameters?.task;
|
|
1521
|
-
if (task === null || task === undefined) {
|
|
1522
|
-
throw new Error('Required parameter task was null or undefined when calling apiTasksIncreseDepthCreate.');
|
|
1523
|
-
}
|
|
1524
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1525
|
-
// authentication (FirebaseAuthentication) required
|
|
1526
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1527
|
-
// authentication (basicAuth) required
|
|
1528
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1529
|
-
// authentication (cookieAuth) required
|
|
1530
|
-
// authentication (tokenAuth) required
|
|
1531
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1532
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1533
|
-
'application/json'
|
|
1534
|
-
]);
|
|
1535
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1536
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1537
|
-
}
|
|
1538
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1539
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1540
|
-
// to determine the Content-Type header
|
|
1541
|
-
const consumes = [
|
|
1542
|
-
'application/json',
|
|
1543
|
-
'application/x-www-form-urlencoded',
|
|
1544
|
-
'multipart/form-data'
|
|
1545
|
-
];
|
|
1546
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1547
|
-
if (httpContentTypeSelected !== undefined) {
|
|
1548
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1549
|
-
}
|
|
1550
|
-
let responseType_ = 'json';
|
|
1551
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1552
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1553
|
-
responseType_ = 'text';
|
|
1554
|
-
}
|
|
1555
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1556
|
-
responseType_ = 'json';
|
|
1557
|
-
}
|
|
1558
|
-
else {
|
|
1559
|
-
responseType_ = 'blob';
|
|
1560
|
-
}
|
|
1561
|
-
}
|
|
1562
|
-
let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/increse_depth/`;
|
|
1563
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1564
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
1565
|
-
context: localVarHttpContext,
|
|
1566
|
-
body: task,
|
|
1567
|
-
responseType: responseType_,
|
|
1568
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1569
|
-
headers: localVarHeaders,
|
|
1570
|
-
observe: observe,
|
|
1571
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1572
|
-
reportProgress: reportProgress
|
|
1573
|
-
});
|
|
1574
|
-
}
|
|
1575
|
-
apiTasksList(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1576
|
-
const assignedToMe = requestParameters?.assignedToMe;
|
|
1577
|
-
const depth = requestParameters?.depth;
|
|
1578
|
-
const descriptionIcontains = requestParameters?.descriptionIcontains;
|
|
1579
|
-
const isCompleted = requestParameters?.isCompleted;
|
|
1580
|
-
const isDeleted = requestParameters?.isDeleted;
|
|
1581
|
-
const ordering = requestParameters?.ordering;
|
|
1582
|
-
const page = requestParameters?.page;
|
|
1583
|
-
const pageSize = requestParameters?.pageSize;
|
|
1584
|
-
const parentId = requestParameters?.parentId;
|
|
1585
|
-
const progress = requestParameters?.progress;
|
|
1586
|
-
const progressGt = requestParameters?.progressGt;
|
|
1587
|
-
const progressGte = requestParameters?.progressGte;
|
|
1588
|
-
const progressLt = requestParameters?.progressLt;
|
|
1589
|
-
const progressLte = requestParameters?.progressLte;
|
|
1590
|
-
const projectId = requestParameters?.projectId;
|
|
1591
|
-
const search = requestParameters?.search;
|
|
1592
|
-
const sprint = requestParameters?.sprint;
|
|
1593
|
-
const sprintIsnull = requestParameters?.sprintIsnull;
|
|
1594
|
-
const storyPoints = requestParameters?.storyPoints;
|
|
1595
|
-
const storyPointsGte = requestParameters?.storyPointsGte;
|
|
1596
|
-
const storyPointsIsnull = requestParameters?.storyPointsIsnull;
|
|
1597
|
-
const storyPointsLte = requestParameters?.storyPointsLte;
|
|
1598
|
-
const titleIcontains = requestParameters?.titleIcontains;
|
|
1599
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
1600
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'assigned_to_me', assignedToMe, QueryParamStyle.Form, true);
|
|
1601
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'depth', depth, QueryParamStyle.Form, true);
|
|
1602
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'description__icontains', descriptionIcontains, QueryParamStyle.Form, true);
|
|
1603
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'is_completed', isCompleted, QueryParamStyle.Form, true);
|
|
1604
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'is_deleted', isDeleted, QueryParamStyle.Form, true);
|
|
1605
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ordering', ordering, QueryParamStyle.Form, true);
|
|
1606
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page', page, QueryParamStyle.Form, true);
|
|
1607
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_size', pageSize, QueryParamStyle.Form, true);
|
|
1608
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'parent_id', parentId, QueryParamStyle.Form, true);
|
|
1609
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'progress', progress, QueryParamStyle.Form, true);
|
|
1610
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'progress__gt', progressGt, QueryParamStyle.Form, true);
|
|
1611
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'progress__gte', progressGte, QueryParamStyle.Form, true);
|
|
1612
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'progress__lt', progressLt, QueryParamStyle.Form, true);
|
|
1613
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'progress__lte', progressLte, QueryParamStyle.Form, true);
|
|
1614
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'project_id', projectId, QueryParamStyle.Form, true);
|
|
1615
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'search', search, QueryParamStyle.Form, true);
|
|
1616
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'sprint', sprint, QueryParamStyle.Form, true);
|
|
1617
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'sprint__isnull', sprintIsnull, QueryParamStyle.Form, true);
|
|
1618
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'story_points', storyPoints, QueryParamStyle.Form, true);
|
|
1619
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'story_points__gte', storyPointsGte, QueryParamStyle.Form, true);
|
|
1620
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'story_points__isnull', storyPointsIsnull, QueryParamStyle.Form, true);
|
|
1621
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'story_points__lte', storyPointsLte, QueryParamStyle.Form, true);
|
|
1622
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'title__icontains', titleIcontains, QueryParamStyle.Form, true);
|
|
1623
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1624
|
-
// authentication (FirebaseAuthentication) required
|
|
1625
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1626
|
-
// authentication (basicAuth) required
|
|
1627
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1628
|
-
// authentication (cookieAuth) required
|
|
1629
|
-
// authentication (tokenAuth) required
|
|
1630
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1631
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1632
|
-
'application/json'
|
|
1633
|
-
]);
|
|
1634
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1635
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1636
|
-
}
|
|
1637
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1638
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1639
|
-
let responseType_ = 'json';
|
|
1640
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1641
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1642
|
-
responseType_ = 'text';
|
|
1643
|
-
}
|
|
1644
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1645
|
-
responseType_ = 'json';
|
|
1646
|
-
}
|
|
1647
|
-
else {
|
|
1648
|
-
responseType_ = 'blob';
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
let localVarPath = `/api/tasks/`;
|
|
1652
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1653
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1654
|
-
context: localVarHttpContext,
|
|
1655
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
1656
|
-
responseType: responseType_,
|
|
1657
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1658
|
-
headers: localVarHeaders,
|
|
1659
|
-
observe: observe,
|
|
1660
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1661
|
-
reportProgress: reportProgress
|
|
1662
|
-
});
|
|
1663
|
-
}
|
|
1664
|
-
apiTasksMoveDownCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1665
|
-
const id = requestParameters?.id;
|
|
1666
|
-
if (id === null || id === undefined) {
|
|
1667
|
-
throw new Error('Required parameter id was null or undefined when calling apiTasksMoveDownCreate.');
|
|
1668
|
-
}
|
|
1669
|
-
const task = requestParameters?.task;
|
|
1670
|
-
if (task === null || task === undefined) {
|
|
1671
|
-
throw new Error('Required parameter task was null or undefined when calling apiTasksMoveDownCreate.');
|
|
1672
|
-
}
|
|
1673
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1674
|
-
// authentication (FirebaseAuthentication) required
|
|
1675
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1676
|
-
// authentication (basicAuth) required
|
|
1677
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1678
|
-
// authentication (cookieAuth) required
|
|
1679
|
-
// authentication (tokenAuth) required
|
|
1680
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1681
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1682
|
-
'application/json'
|
|
1683
|
-
]);
|
|
1684
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1685
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1686
|
-
}
|
|
1687
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1688
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1689
|
-
// to determine the Content-Type header
|
|
1690
|
-
const consumes = [
|
|
1691
|
-
'application/json',
|
|
1692
|
-
'application/x-www-form-urlencoded',
|
|
1693
|
-
'multipart/form-data'
|
|
1694
|
-
];
|
|
1695
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1696
|
-
if (httpContentTypeSelected !== undefined) {
|
|
1697
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1698
|
-
}
|
|
1699
|
-
let responseType_ = 'json';
|
|
1700
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1701
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1702
|
-
responseType_ = 'text';
|
|
1703
|
-
}
|
|
1704
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1705
|
-
responseType_ = 'json';
|
|
1706
|
-
}
|
|
1707
|
-
else {
|
|
1708
|
-
responseType_ = 'blob';
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/move_down/`;
|
|
1712
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1713
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
1714
|
-
context: localVarHttpContext,
|
|
1715
|
-
body: task,
|
|
1716
|
-
responseType: responseType_,
|
|
1717
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1718
|
-
headers: localVarHeaders,
|
|
1719
|
-
observe: observe,
|
|
1720
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1721
|
-
reportProgress: reportProgress
|
|
1722
|
-
});
|
|
1723
|
-
}
|
|
1724
|
-
apiTasksMoveRelateToCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1725
|
-
const id = requestParameters?.id;
|
|
1726
|
-
if (id === null || id === undefined) {
|
|
1727
|
-
throw new Error('Required parameter id was null or undefined when calling apiTasksMoveRelateToCreate.');
|
|
1728
|
-
}
|
|
1729
|
-
const taskRelated = requestParameters?.taskRelated;
|
|
1730
|
-
if (taskRelated === null || taskRelated === undefined) {
|
|
1731
|
-
throw new Error('Required parameter taskRelated was null or undefined when calling apiTasksMoveRelateToCreate.');
|
|
1732
|
-
}
|
|
1733
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1734
|
-
// authentication (FirebaseAuthentication) required
|
|
1735
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1736
|
-
// authentication (basicAuth) required
|
|
1737
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1738
|
-
// authentication (cookieAuth) required
|
|
1739
|
-
// authentication (tokenAuth) required
|
|
1740
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1741
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1742
|
-
'application/json'
|
|
1743
|
-
]);
|
|
1744
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1745
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1746
|
-
}
|
|
1747
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1748
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1749
|
-
// to determine the Content-Type header
|
|
1750
|
-
const consumes = [
|
|
1751
|
-
'application/json',
|
|
1752
|
-
'application/x-www-form-urlencoded',
|
|
1753
|
-
'multipart/form-data'
|
|
1754
|
-
];
|
|
1755
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1756
|
-
if (httpContentTypeSelected !== undefined) {
|
|
1757
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1758
|
-
}
|
|
1759
|
-
let responseType_ = 'json';
|
|
1760
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1761
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1762
|
-
responseType_ = 'text';
|
|
1763
|
-
}
|
|
1764
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1765
|
-
responseType_ = 'json';
|
|
1766
|
-
}
|
|
1767
|
-
else {
|
|
1768
|
-
responseType_ = 'blob';
|
|
1769
|
-
}
|
|
1770
|
-
}
|
|
1771
|
-
let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/move_relate_to/`;
|
|
1772
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1773
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
1774
|
-
context: localVarHttpContext,
|
|
1775
|
-
body: taskRelated,
|
|
1776
|
-
responseType: responseType_,
|
|
1777
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1778
|
-
headers: localVarHeaders,
|
|
1779
|
-
observe: observe,
|
|
1780
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1781
|
-
reportProgress: reportProgress
|
|
1782
|
-
});
|
|
1783
|
-
}
|
|
1784
|
-
apiTasksMoveToProjectPartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1785
|
-
const id = requestParameters?.id;
|
|
1786
|
-
if (id === null || id === undefined) {
|
|
1787
|
-
throw new Error('Required parameter id was null or undefined when calling apiTasksMoveToProjectPartialUpdate.');
|
|
1788
|
-
}
|
|
1789
|
-
const patchedTask = requestParameters?.patchedTask;
|
|
1790
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1791
|
-
// authentication (FirebaseAuthentication) required
|
|
1792
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1793
|
-
// authentication (basicAuth) required
|
|
1794
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1795
|
-
// authentication (cookieAuth) required
|
|
1796
|
-
// authentication (tokenAuth) required
|
|
1797
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1798
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1799
|
-
'application/json'
|
|
1800
|
-
]);
|
|
1801
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1802
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1803
|
-
}
|
|
1804
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1805
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1806
|
-
// to determine the Content-Type header
|
|
1807
|
-
const consumes = [
|
|
1808
|
-
'application/json',
|
|
1809
|
-
'application/x-www-form-urlencoded',
|
|
1810
|
-
'multipart/form-data'
|
|
1811
|
-
];
|
|
1812
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1813
|
-
if (httpContentTypeSelected !== undefined) {
|
|
1814
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1815
|
-
}
|
|
1816
|
-
let responseType_ = 'json';
|
|
1817
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1818
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1819
|
-
responseType_ = 'text';
|
|
1820
|
-
}
|
|
1821
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1822
|
-
responseType_ = 'json';
|
|
1823
|
-
}
|
|
1824
|
-
else {
|
|
1825
|
-
responseType_ = 'blob';
|
|
1826
|
-
}
|
|
1827
|
-
}
|
|
1828
|
-
let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/move_to_project/`;
|
|
1829
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1830
|
-
return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
|
|
1831
|
-
context: localVarHttpContext,
|
|
1832
|
-
body: patchedTask,
|
|
1833
|
-
responseType: responseType_,
|
|
1834
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1835
|
-
headers: localVarHeaders,
|
|
1836
|
-
observe: observe,
|
|
1837
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1838
|
-
reportProgress: reportProgress
|
|
1839
|
-
});
|
|
1840
|
-
}
|
|
1841
|
-
apiTasksMoveUpCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1842
|
-
const id = requestParameters?.id;
|
|
1843
|
-
if (id === null || id === undefined) {
|
|
1844
|
-
throw new Error('Required parameter id was null or undefined when calling apiTasksMoveUpCreate.');
|
|
1845
|
-
}
|
|
1846
|
-
const task = requestParameters?.task;
|
|
1847
|
-
if (task === null || task === undefined) {
|
|
1848
|
-
throw new Error('Required parameter task was null or undefined when calling apiTasksMoveUpCreate.');
|
|
1849
|
-
}
|
|
1850
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1851
|
-
// authentication (FirebaseAuthentication) required
|
|
1852
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1853
|
-
// authentication (basicAuth) required
|
|
1854
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1855
|
-
// authentication (cookieAuth) required
|
|
1856
|
-
// authentication (tokenAuth) required
|
|
1857
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1858
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1859
|
-
'application/json'
|
|
1860
|
-
]);
|
|
1861
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1862
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1863
|
-
}
|
|
1864
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1865
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1866
|
-
// to determine the Content-Type header
|
|
1867
|
-
const consumes = [
|
|
1868
|
-
'application/json',
|
|
1869
|
-
'application/x-www-form-urlencoded',
|
|
1870
|
-
'multipart/form-data'
|
|
1871
|
-
];
|
|
1872
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1873
|
-
if (httpContentTypeSelected !== undefined) {
|
|
1874
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1875
|
-
}
|
|
1876
|
-
let responseType_ = 'json';
|
|
1877
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1878
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1879
|
-
responseType_ = 'text';
|
|
1880
|
-
}
|
|
1881
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1882
|
-
responseType_ = 'json';
|
|
1883
|
-
}
|
|
1884
|
-
else {
|
|
1885
|
-
responseType_ = 'blob';
|
|
1886
|
-
}
|
|
1887
|
-
}
|
|
1888
|
-
let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/move_up/`;
|
|
1889
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1890
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
1891
|
-
context: localVarHttpContext,
|
|
1892
|
-
body: task,
|
|
1893
|
-
responseType: responseType_,
|
|
1894
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1895
|
-
headers: localVarHeaders,
|
|
1896
|
-
observe: observe,
|
|
1897
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1898
|
-
reportProgress: reportProgress
|
|
1899
|
-
});
|
|
1900
|
-
}
|
|
1901
|
-
apiTasksPartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1902
|
-
const id = requestParameters?.id;
|
|
1903
|
-
if (id === null || id === undefined) {
|
|
1904
|
-
throw new Error('Required parameter id was null or undefined when calling apiTasksPartialUpdate.');
|
|
1905
|
-
}
|
|
1906
|
-
const patchedTask = requestParameters?.patchedTask;
|
|
1907
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1908
|
-
// authentication (FirebaseAuthentication) required
|
|
1909
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1910
|
-
// authentication (basicAuth) required
|
|
1911
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1912
|
-
// authentication (cookieAuth) required
|
|
1913
|
-
// authentication (tokenAuth) required
|
|
1914
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1915
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1916
|
-
'application/json'
|
|
1917
|
-
]);
|
|
1918
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1919
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1920
|
-
}
|
|
1921
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1922
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1923
|
-
// to determine the Content-Type header
|
|
1924
|
-
const consumes = [
|
|
1925
|
-
'application/json',
|
|
1926
|
-
'application/x-www-form-urlencoded',
|
|
1927
|
-
'multipart/form-data'
|
|
1928
|
-
];
|
|
1929
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1930
|
-
if (httpContentTypeSelected !== undefined) {
|
|
1931
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1932
|
-
}
|
|
1933
|
-
let responseType_ = 'json';
|
|
1934
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1935
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1936
|
-
responseType_ = 'text';
|
|
1937
|
-
}
|
|
1938
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1939
|
-
responseType_ = 'json';
|
|
1940
|
-
}
|
|
1941
|
-
else {
|
|
1942
|
-
responseType_ = 'blob';
|
|
1943
|
-
}
|
|
1944
|
-
}
|
|
1945
|
-
let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
1946
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1947
|
-
return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
|
|
1948
|
-
context: localVarHttpContext,
|
|
1949
|
-
body: patchedTask,
|
|
1950
|
-
responseType: responseType_,
|
|
1951
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1952
|
-
headers: localVarHeaders,
|
|
1953
|
-
observe: observe,
|
|
1954
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1955
|
-
reportProgress: reportProgress
|
|
1956
|
-
});
|
|
1957
|
-
}
|
|
1958
|
-
apiTasksRemoveTagPartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1959
|
-
const id = requestParameters?.id;
|
|
1960
|
-
if (id === null || id === undefined) {
|
|
1961
|
-
throw new Error('Required parameter id was null or undefined when calling apiTasksRemoveTagPartialUpdate.');
|
|
1962
|
-
}
|
|
1963
|
-
const patchedTask = requestParameters?.patchedTask;
|
|
1964
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1965
|
-
// authentication (FirebaseAuthentication) required
|
|
1966
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1967
|
-
// authentication (basicAuth) required
|
|
1968
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
1969
|
-
// authentication (cookieAuth) required
|
|
1970
|
-
// authentication (tokenAuth) required
|
|
1971
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
1972
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1973
|
-
'application/json'
|
|
1974
|
-
]);
|
|
1975
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1976
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1977
|
-
}
|
|
1978
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1979
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1980
|
-
// to determine the Content-Type header
|
|
1981
|
-
const consumes = [
|
|
1982
|
-
'application/json',
|
|
1983
|
-
'application/x-www-form-urlencoded',
|
|
1984
|
-
'multipart/form-data'
|
|
1985
|
-
];
|
|
1986
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1987
|
-
if (httpContentTypeSelected !== undefined) {
|
|
1988
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1989
|
-
}
|
|
1990
|
-
let responseType_ = 'json';
|
|
1991
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1992
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1993
|
-
responseType_ = 'text';
|
|
1994
|
-
}
|
|
1995
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1996
|
-
responseType_ = 'json';
|
|
1997
|
-
}
|
|
1998
|
-
else {
|
|
1999
|
-
responseType_ = 'blob';
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
|
-
let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/remove-tag/`;
|
|
2003
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2004
|
-
return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
|
|
2005
|
-
context: localVarHttpContext,
|
|
2006
|
-
body: patchedTask,
|
|
2007
|
-
responseType: responseType_,
|
|
2008
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2009
|
-
headers: localVarHeaders,
|
|
2010
|
-
observe: observe,
|
|
2011
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2012
|
-
reportProgress: reportProgress
|
|
2013
|
-
});
|
|
2014
|
-
}
|
|
2015
|
-
apiTasksReorderChildrenCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2016
|
-
const id = requestParameters?.id;
|
|
2017
|
-
if (id === null || id === undefined) {
|
|
2018
|
-
throw new Error('Required parameter id was null or undefined when calling apiTasksReorderChildrenCreate.');
|
|
2019
|
-
}
|
|
2020
|
-
const task = requestParameters?.task;
|
|
2021
|
-
if (task === null || task === undefined) {
|
|
2022
|
-
throw new Error('Required parameter task was null or undefined when calling apiTasksReorderChildrenCreate.');
|
|
2023
|
-
}
|
|
2024
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2025
|
-
// authentication (FirebaseAuthentication) required
|
|
2026
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2027
|
-
// authentication (basicAuth) required
|
|
2028
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2029
|
-
// authentication (cookieAuth) required
|
|
2030
|
-
// authentication (tokenAuth) required
|
|
2031
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2032
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2033
|
-
'application/json'
|
|
2034
|
-
]);
|
|
2035
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2036
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2037
|
-
}
|
|
2038
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2039
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2040
|
-
// to determine the Content-Type header
|
|
2041
|
-
const consumes = [
|
|
2042
|
-
'application/json',
|
|
2043
|
-
'application/x-www-form-urlencoded',
|
|
2044
|
-
'multipart/form-data'
|
|
2045
|
-
];
|
|
2046
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2047
|
-
if (httpContentTypeSelected !== undefined) {
|
|
2048
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2049
|
-
}
|
|
2050
|
-
let responseType_ = 'json';
|
|
2051
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2052
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2053
|
-
responseType_ = 'text';
|
|
2054
|
-
}
|
|
2055
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2056
|
-
responseType_ = 'json';
|
|
2057
|
-
}
|
|
2058
|
-
else {
|
|
2059
|
-
responseType_ = 'blob';
|
|
2060
|
-
}
|
|
2061
|
-
}
|
|
2062
|
-
let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/reorder_children/`;
|
|
2063
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2064
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
2065
|
-
context: localVarHttpContext,
|
|
2066
|
-
body: task,
|
|
2067
|
-
responseType: responseType_,
|
|
2068
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2069
|
-
headers: localVarHeaders,
|
|
2070
|
-
observe: observe,
|
|
2071
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2072
|
-
reportProgress: reportProgress
|
|
2073
|
-
});
|
|
2074
|
-
}
|
|
2075
|
-
apiTasksReorderRootCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2076
|
-
const task = requestParameters?.task;
|
|
2077
|
-
if (task === null || task === undefined) {
|
|
2078
|
-
throw new Error('Required parameter task was null or undefined when calling apiTasksReorderRootCreate.');
|
|
2079
|
-
}
|
|
2080
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2081
|
-
// authentication (FirebaseAuthentication) required
|
|
2082
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2083
|
-
// authentication (basicAuth) required
|
|
2084
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2085
|
-
// authentication (cookieAuth) required
|
|
2086
|
-
// authentication (tokenAuth) required
|
|
2087
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2088
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2089
|
-
'application/json'
|
|
2090
|
-
]);
|
|
2091
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2092
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2093
|
-
}
|
|
2094
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2095
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2096
|
-
// to determine the Content-Type header
|
|
2097
|
-
const consumes = [
|
|
2098
|
-
'application/json',
|
|
2099
|
-
'application/x-www-form-urlencoded',
|
|
2100
|
-
'multipart/form-data'
|
|
2101
|
-
];
|
|
2102
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2103
|
-
if (httpContentTypeSelected !== undefined) {
|
|
2104
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2105
|
-
}
|
|
2106
|
-
let responseType_ = 'json';
|
|
2107
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2108
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2109
|
-
responseType_ = 'text';
|
|
2110
|
-
}
|
|
2111
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2112
|
-
responseType_ = 'json';
|
|
2113
|
-
}
|
|
2114
|
-
else {
|
|
2115
|
-
responseType_ = 'blob';
|
|
2116
|
-
}
|
|
2117
|
-
}
|
|
2118
|
-
let localVarPath = `/api/tasks/reorder_root/`;
|
|
2119
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2120
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
2121
|
-
context: localVarHttpContext,
|
|
2122
|
-
body: task,
|
|
2123
|
-
responseType: responseType_,
|
|
2124
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2125
|
-
headers: localVarHeaders,
|
|
2126
|
-
observe: observe,
|
|
2127
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2128
|
-
reportProgress: reportProgress
|
|
2129
|
-
});
|
|
2130
|
-
}
|
|
2131
|
-
apiTasksRetrieve(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2132
|
-
const id = requestParameters?.id;
|
|
2133
|
-
if (id === null || id === undefined) {
|
|
2134
|
-
throw new Error('Required parameter id was null or undefined when calling apiTasksRetrieve.');
|
|
2135
|
-
}
|
|
2136
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2137
|
-
// authentication (FirebaseAuthentication) required
|
|
2138
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2139
|
-
// authentication (basicAuth) required
|
|
2140
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2141
|
-
// authentication (cookieAuth) required
|
|
2142
|
-
// authentication (tokenAuth) required
|
|
2143
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2144
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2145
|
-
'application/json'
|
|
2146
|
-
]);
|
|
2147
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2148
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2149
|
-
}
|
|
2150
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2151
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2152
|
-
let responseType_ = 'json';
|
|
2153
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2154
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2155
|
-
responseType_ = 'text';
|
|
2156
|
-
}
|
|
2157
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2158
|
-
responseType_ = 'json';
|
|
2159
|
-
}
|
|
2160
|
-
else {
|
|
2161
|
-
responseType_ = 'blob';
|
|
2162
|
-
}
|
|
2163
|
-
}
|
|
2164
|
-
let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
2165
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2166
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2167
|
-
context: localVarHttpContext,
|
|
2168
|
-
responseType: responseType_,
|
|
2169
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2170
|
-
headers: localVarHeaders,
|
|
2171
|
-
observe: observe,
|
|
2172
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2173
|
-
reportProgress: reportProgress
|
|
2174
|
-
});
|
|
2175
|
-
}
|
|
2176
|
-
apiTasksUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2177
|
-
const id = requestParameters?.id;
|
|
2178
|
-
if (id === null || id === undefined) {
|
|
2179
|
-
throw new Error('Required parameter id was null or undefined when calling apiTasksUpdate.');
|
|
2180
|
-
}
|
|
2181
|
-
const task = requestParameters?.task;
|
|
2182
|
-
if (task === null || task === undefined) {
|
|
2183
|
-
throw new Error('Required parameter task was null or undefined when calling apiTasksUpdate.');
|
|
2184
|
-
}
|
|
2185
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2186
|
-
// authentication (FirebaseAuthentication) required
|
|
2187
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2188
|
-
// authentication (basicAuth) required
|
|
2189
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2190
|
-
// authentication (cookieAuth) required
|
|
2191
|
-
// authentication (tokenAuth) required
|
|
2192
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2193
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2194
|
-
'application/json'
|
|
2195
|
-
]);
|
|
2196
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2197
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2198
|
-
}
|
|
2199
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2200
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2201
|
-
// to determine the Content-Type header
|
|
2202
|
-
const consumes = [
|
|
2203
|
-
'application/json',
|
|
2204
|
-
'application/x-www-form-urlencoded',
|
|
2205
|
-
'multipart/form-data'
|
|
2206
|
-
];
|
|
2207
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2208
|
-
if (httpContentTypeSelected !== undefined) {
|
|
2209
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2210
|
-
}
|
|
2211
|
-
let responseType_ = 'json';
|
|
2212
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2213
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2214
|
-
responseType_ = 'text';
|
|
2215
|
-
}
|
|
2216
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2217
|
-
responseType_ = 'json';
|
|
2218
|
-
}
|
|
2219
|
-
else {
|
|
2220
|
-
responseType_ = 'blob';
|
|
2221
|
-
}
|
|
2222
|
-
}
|
|
2223
|
-
let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
2224
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2225
|
-
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
2226
|
-
context: localVarHttpContext,
|
|
2227
|
-
body: task,
|
|
2228
|
-
responseType: responseType_,
|
|
2229
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2230
|
-
headers: localVarHeaders,
|
|
2231
|
-
observe: observe,
|
|
2232
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2233
|
-
reportProgress: reportProgress
|
|
2234
|
-
});
|
|
2235
|
-
}
|
|
2236
|
-
apiTicketWidgetsCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2237
|
-
const companyId = requestParameters?.companyId;
|
|
2238
|
-
if (companyId === null || companyId === undefined) {
|
|
2239
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiTicketWidgetsCreate.');
|
|
2240
|
-
}
|
|
2241
|
-
const ticketWidgetCreate = requestParameters?.ticketWidgetCreate;
|
|
2242
|
-
if (ticketWidgetCreate === null || ticketWidgetCreate === undefined) {
|
|
2243
|
-
throw new Error('Required parameter ticketWidgetCreate was null or undefined when calling apiTicketWidgetsCreate.');
|
|
2244
|
-
}
|
|
2245
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2246
|
-
// authentication (FirebaseAuthentication) required
|
|
2247
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2248
|
-
// authentication (basicAuth) required
|
|
2249
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2250
|
-
// authentication (cookieAuth) required
|
|
2251
|
-
// authentication (tokenAuth) required
|
|
2252
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2253
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2254
|
-
'application/json'
|
|
2255
|
-
]);
|
|
2256
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2257
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2258
|
-
}
|
|
2259
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2260
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2261
|
-
// to determine the Content-Type header
|
|
2262
|
-
const consumes = [
|
|
2263
|
-
'application/json',
|
|
2264
|
-
'application/x-www-form-urlencoded',
|
|
2265
|
-
'multipart/form-data'
|
|
2266
|
-
];
|
|
2267
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2268
|
-
if (httpContentTypeSelected !== undefined) {
|
|
2269
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2270
|
-
}
|
|
2271
|
-
let responseType_ = 'json';
|
|
2272
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2273
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2274
|
-
responseType_ = 'text';
|
|
2275
|
-
}
|
|
2276
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2277
|
-
responseType_ = 'json';
|
|
2278
|
-
}
|
|
2279
|
-
else {
|
|
2280
|
-
responseType_ = 'blob';
|
|
2281
|
-
}
|
|
2282
|
-
}
|
|
2283
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/ticket-widgets/`;
|
|
2284
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2285
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
2286
|
-
context: localVarHttpContext,
|
|
2287
|
-
body: ticketWidgetCreate,
|
|
2288
|
-
responseType: responseType_,
|
|
2289
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2290
|
-
headers: localVarHeaders,
|
|
2291
|
-
observe: observe,
|
|
2292
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2293
|
-
reportProgress: reportProgress
|
|
2294
|
-
});
|
|
2295
|
-
}
|
|
2296
|
-
apiTicketWidgetsDestroy(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2297
|
-
const companyId = requestParameters?.companyId;
|
|
2298
|
-
if (companyId === null || companyId === undefined) {
|
|
2299
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiTicketWidgetsDestroy.');
|
|
2300
|
-
}
|
|
2301
|
-
const id = requestParameters?.id;
|
|
2302
|
-
if (id === null || id === undefined) {
|
|
2303
|
-
throw new Error('Required parameter id was null or undefined when calling apiTicketWidgetsDestroy.');
|
|
2304
|
-
}
|
|
2305
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2306
|
-
// authentication (FirebaseAuthentication) required
|
|
2307
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2308
|
-
// authentication (basicAuth) required
|
|
2309
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2310
|
-
// authentication (cookieAuth) required
|
|
2311
|
-
// authentication (tokenAuth) required
|
|
2312
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2313
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2314
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2315
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2316
|
-
}
|
|
2317
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2318
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2319
|
-
let responseType_ = 'json';
|
|
2320
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2321
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2322
|
-
responseType_ = 'text';
|
|
2323
|
-
}
|
|
2324
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2325
|
-
responseType_ = 'json';
|
|
2326
|
-
}
|
|
2327
|
-
else {
|
|
2328
|
-
responseType_ = 'blob';
|
|
2329
|
-
}
|
|
2330
|
-
}
|
|
2331
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/ticket-widgets/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
2332
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2333
|
-
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
2334
|
-
context: localVarHttpContext,
|
|
2335
|
-
responseType: responseType_,
|
|
2336
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2337
|
-
headers: localVarHeaders,
|
|
2338
|
-
observe: observe,
|
|
2339
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2340
|
-
reportProgress: reportProgress
|
|
2341
|
-
});
|
|
2342
|
-
}
|
|
2343
|
-
apiTicketWidgetsList(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2344
|
-
const companyId = requestParameters?.companyId;
|
|
2345
|
-
if (companyId === null || companyId === undefined) {
|
|
2346
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiTicketWidgetsList.');
|
|
2347
|
-
}
|
|
2348
|
-
const ordering = requestParameters?.ordering;
|
|
2349
|
-
const page = requestParameters?.page;
|
|
2350
|
-
const pageSize = requestParameters?.pageSize;
|
|
2351
|
-
const search = requestParameters?.search;
|
|
2352
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
2353
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ordering', ordering, QueryParamStyle.Form, true);
|
|
2354
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page', page, QueryParamStyle.Form, true);
|
|
2355
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_size', pageSize, QueryParamStyle.Form, true);
|
|
2356
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'search', search, QueryParamStyle.Form, true);
|
|
2357
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2358
|
-
// authentication (FirebaseAuthentication) required
|
|
2359
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2360
|
-
// authentication (basicAuth) required
|
|
2361
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2362
|
-
// authentication (cookieAuth) required
|
|
2363
|
-
// authentication (tokenAuth) required
|
|
2364
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2365
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2366
|
-
'application/json'
|
|
2367
|
-
]);
|
|
2368
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2369
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2370
|
-
}
|
|
2371
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2372
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2373
|
-
let responseType_ = 'json';
|
|
2374
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2375
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2376
|
-
responseType_ = 'text';
|
|
2377
|
-
}
|
|
2378
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2379
|
-
responseType_ = 'json';
|
|
2380
|
-
}
|
|
2381
|
-
else {
|
|
2382
|
-
responseType_ = 'blob';
|
|
2383
|
-
}
|
|
2384
|
-
}
|
|
2385
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/ticket-widgets/`;
|
|
2386
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2387
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2388
|
-
context: localVarHttpContext,
|
|
2389
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
2390
|
-
responseType: responseType_,
|
|
2391
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2392
|
-
headers: localVarHeaders,
|
|
2393
|
-
observe: observe,
|
|
2394
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2395
|
-
reportProgress: reportProgress
|
|
2396
|
-
});
|
|
2397
|
-
}
|
|
2398
|
-
apiTicketWidgetsPartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2399
|
-
const companyId = requestParameters?.companyId;
|
|
2400
|
-
if (companyId === null || companyId === undefined) {
|
|
2401
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiTicketWidgetsPartialUpdate.');
|
|
2402
|
-
}
|
|
2403
|
-
const id = requestParameters?.id;
|
|
2404
|
-
if (id === null || id === undefined) {
|
|
2405
|
-
throw new Error('Required parameter id was null or undefined when calling apiTicketWidgetsPartialUpdate.');
|
|
2406
|
-
}
|
|
2407
|
-
const patchedTicketWidgetUpdate = requestParameters?.patchedTicketWidgetUpdate;
|
|
2408
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2409
|
-
// authentication (FirebaseAuthentication) required
|
|
2410
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2411
|
-
// authentication (basicAuth) required
|
|
2412
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2413
|
-
// authentication (cookieAuth) required
|
|
2414
|
-
// authentication (tokenAuth) required
|
|
2415
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2416
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2417
|
-
'application/json'
|
|
2418
|
-
]);
|
|
2419
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2420
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2421
|
-
}
|
|
2422
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2423
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2424
|
-
// to determine the Content-Type header
|
|
2425
|
-
const consumes = [
|
|
2426
|
-
'application/json',
|
|
2427
|
-
'application/x-www-form-urlencoded',
|
|
2428
|
-
'multipart/form-data'
|
|
2429
|
-
];
|
|
2430
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2431
|
-
if (httpContentTypeSelected !== undefined) {
|
|
2432
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2433
|
-
}
|
|
2434
|
-
let responseType_ = 'json';
|
|
2435
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2436
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2437
|
-
responseType_ = 'text';
|
|
2438
|
-
}
|
|
2439
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2440
|
-
responseType_ = 'json';
|
|
2441
|
-
}
|
|
2442
|
-
else {
|
|
2443
|
-
responseType_ = 'blob';
|
|
2444
|
-
}
|
|
2445
|
-
}
|
|
2446
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/ticket-widgets/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
2447
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2448
|
-
return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
|
|
2449
|
-
context: localVarHttpContext,
|
|
2450
|
-
body: patchedTicketWidgetUpdate,
|
|
2451
|
-
responseType: responseType_,
|
|
2452
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2453
|
-
headers: localVarHeaders,
|
|
2454
|
-
observe: observe,
|
|
2455
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2456
|
-
reportProgress: reportProgress
|
|
2457
|
-
});
|
|
2458
|
-
}
|
|
2459
|
-
apiTicketWidgetsRegenerateKeyCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2460
|
-
const companyId = requestParameters?.companyId;
|
|
2461
|
-
if (companyId === null || companyId === undefined) {
|
|
2462
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiTicketWidgetsRegenerateKeyCreate.');
|
|
2463
|
-
}
|
|
2464
|
-
const id = requestParameters?.id;
|
|
2465
|
-
if (id === null || id === undefined) {
|
|
2466
|
-
throw new Error('Required parameter id was null or undefined when calling apiTicketWidgetsRegenerateKeyCreate.');
|
|
2467
|
-
}
|
|
2468
|
-
const ticketWidgetCreate = requestParameters?.ticketWidgetCreate;
|
|
2469
|
-
if (ticketWidgetCreate === null || ticketWidgetCreate === undefined) {
|
|
2470
|
-
throw new Error('Required parameter ticketWidgetCreate was null or undefined when calling apiTicketWidgetsRegenerateKeyCreate.');
|
|
2471
|
-
}
|
|
2472
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2473
|
-
// authentication (FirebaseAuthentication) required
|
|
2474
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2475
|
-
// authentication (basicAuth) required
|
|
2476
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2477
|
-
// authentication (cookieAuth) required
|
|
2478
|
-
// authentication (tokenAuth) required
|
|
2479
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2480
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2481
|
-
'application/json'
|
|
2482
|
-
]);
|
|
2483
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2484
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2485
|
-
}
|
|
2486
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2487
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2488
|
-
// to determine the Content-Type header
|
|
2489
|
-
const consumes = [
|
|
2490
|
-
'application/json',
|
|
2491
|
-
'application/x-www-form-urlencoded',
|
|
2492
|
-
'multipart/form-data'
|
|
2493
|
-
];
|
|
2494
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2495
|
-
if (httpContentTypeSelected !== undefined) {
|
|
2496
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2497
|
-
}
|
|
2498
|
-
let responseType_ = 'json';
|
|
2499
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2500
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2501
|
-
responseType_ = 'text';
|
|
2502
|
-
}
|
|
2503
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2504
|
-
responseType_ = 'json';
|
|
2505
|
-
}
|
|
2506
|
-
else {
|
|
2507
|
-
responseType_ = 'blob';
|
|
2508
|
-
}
|
|
2509
|
-
}
|
|
2510
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/ticket-widgets/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/regenerate-key/`;
|
|
2511
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2512
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
2513
|
-
context: localVarHttpContext,
|
|
2514
|
-
body: ticketWidgetCreate,
|
|
2515
|
-
responseType: responseType_,
|
|
2516
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2517
|
-
headers: localVarHeaders,
|
|
2518
|
-
observe: observe,
|
|
2519
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2520
|
-
reportProgress: reportProgress
|
|
2521
|
-
});
|
|
2522
|
-
}
|
|
2523
|
-
apiTicketWidgetsRestoreCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2524
|
-
const companyId = requestParameters?.companyId;
|
|
2525
|
-
if (companyId === null || companyId === undefined) {
|
|
2526
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiTicketWidgetsRestoreCreate.');
|
|
2527
|
-
}
|
|
2528
|
-
const id = requestParameters?.id;
|
|
2529
|
-
if (id === null || id === undefined) {
|
|
2530
|
-
throw new Error('Required parameter id was null or undefined when calling apiTicketWidgetsRestoreCreate.');
|
|
2531
|
-
}
|
|
2532
|
-
const ticketWidgetCreate = requestParameters?.ticketWidgetCreate;
|
|
2533
|
-
if (ticketWidgetCreate === null || ticketWidgetCreate === undefined) {
|
|
2534
|
-
throw new Error('Required parameter ticketWidgetCreate was null or undefined when calling apiTicketWidgetsRestoreCreate.');
|
|
2535
|
-
}
|
|
2536
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2537
|
-
// authentication (FirebaseAuthentication) required
|
|
2538
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2539
|
-
// authentication (basicAuth) required
|
|
2540
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2541
|
-
// authentication (cookieAuth) required
|
|
2542
|
-
// authentication (tokenAuth) required
|
|
2543
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2544
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2545
|
-
'application/json'
|
|
2546
|
-
]);
|
|
2547
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2548
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2549
|
-
}
|
|
2550
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2551
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2552
|
-
// to determine the Content-Type header
|
|
2553
|
-
const consumes = [
|
|
2554
|
-
'application/json',
|
|
2555
|
-
'application/x-www-form-urlencoded',
|
|
2556
|
-
'multipart/form-data'
|
|
2557
|
-
];
|
|
2558
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2559
|
-
if (httpContentTypeSelected !== undefined) {
|
|
2560
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2561
|
-
}
|
|
2562
|
-
let responseType_ = 'json';
|
|
2563
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2564
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2565
|
-
responseType_ = 'text';
|
|
2566
|
-
}
|
|
2567
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2568
|
-
responseType_ = 'json';
|
|
2569
|
-
}
|
|
2570
|
-
else {
|
|
2571
|
-
responseType_ = 'blob';
|
|
2572
|
-
}
|
|
2573
|
-
}
|
|
2574
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/ticket-widgets/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/restore/`;
|
|
2575
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2576
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
2577
|
-
context: localVarHttpContext,
|
|
2578
|
-
body: ticketWidgetCreate,
|
|
2579
|
-
responseType: responseType_,
|
|
2580
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2581
|
-
headers: localVarHeaders,
|
|
2582
|
-
observe: observe,
|
|
2583
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2584
|
-
reportProgress: reportProgress
|
|
2585
|
-
});
|
|
2586
|
-
}
|
|
2587
|
-
apiTicketWidgetsUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2588
|
-
const companyId = requestParameters?.companyId;
|
|
2589
|
-
if (companyId === null || companyId === undefined) {
|
|
2590
|
-
throw new Error('Required parameter companyId was null or undefined when calling apiTicketWidgetsUpdate.');
|
|
2591
|
-
}
|
|
2592
|
-
const id = requestParameters?.id;
|
|
2593
|
-
if (id === null || id === undefined) {
|
|
2594
|
-
throw new Error('Required parameter id was null or undefined when calling apiTicketWidgetsUpdate.');
|
|
2595
|
-
}
|
|
2596
|
-
const ticketWidgetUpdate = requestParameters?.ticketWidgetUpdate;
|
|
2597
|
-
if (ticketWidgetUpdate === null || ticketWidgetUpdate === undefined) {
|
|
2598
|
-
throw new Error('Required parameter ticketWidgetUpdate was null or undefined when calling apiTicketWidgetsUpdate.');
|
|
2599
|
-
}
|
|
2600
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2601
|
-
// authentication (FirebaseAuthentication) required
|
|
2602
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2603
|
-
// authentication (basicAuth) required
|
|
2604
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2605
|
-
// authentication (cookieAuth) required
|
|
2606
|
-
// authentication (tokenAuth) required
|
|
2607
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2608
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2609
|
-
'application/json'
|
|
2610
|
-
]);
|
|
2611
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2612
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2613
|
-
}
|
|
2614
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2615
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2616
|
-
// to determine the Content-Type header
|
|
2617
|
-
const consumes = [
|
|
2618
|
-
'application/json',
|
|
2619
|
-
'application/x-www-form-urlencoded',
|
|
2620
|
-
'multipart/form-data'
|
|
2621
|
-
];
|
|
2622
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2623
|
-
if (httpContentTypeSelected !== undefined) {
|
|
2624
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2625
|
-
}
|
|
2626
|
-
let responseType_ = 'json';
|
|
2627
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2628
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2629
|
-
responseType_ = 'text';
|
|
2630
|
-
}
|
|
2631
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2632
|
-
responseType_ = 'json';
|
|
2633
|
-
}
|
|
2634
|
-
else {
|
|
2635
|
-
responseType_ = 'blob';
|
|
2636
|
-
}
|
|
2637
|
-
}
|
|
2638
|
-
let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/ticket-widgets/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
2639
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2640
|
-
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
2641
|
-
context: localVarHttpContext,
|
|
2642
|
-
body: ticketWidgetUpdate,
|
|
2643
|
-
responseType: responseType_,
|
|
2644
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2645
|
-
headers: localVarHeaders,
|
|
2646
|
-
observe: observe,
|
|
2647
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2648
|
-
reportProgress: reportProgress
|
|
2649
|
-
});
|
|
2650
|
-
}
|
|
2651
|
-
apiVersionList(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2652
|
-
const ordering = requestParameters?.ordering;
|
|
2653
|
-
const page = requestParameters?.page;
|
|
2654
|
-
const pageSize = requestParameters?.pageSize;
|
|
2655
|
-
const search = requestParameters?.search;
|
|
2656
|
-
const userNotificationsIsRead = requestParameters?.userNotificationsIsRead;
|
|
2657
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
2658
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ordering', ordering, QueryParamStyle.Form, true);
|
|
2659
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page', page, QueryParamStyle.Form, true);
|
|
2660
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_size', pageSize, QueryParamStyle.Form, true);
|
|
2661
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'search', search, QueryParamStyle.Form, true);
|
|
2662
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'user_notifications__is_read', userNotificationsIsRead, QueryParamStyle.Form, true);
|
|
2663
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2664
|
-
// authentication (FirebaseAuthentication) required
|
|
2665
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2666
|
-
// authentication (basicAuth) required
|
|
2667
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2668
|
-
// authentication (cookieAuth) required
|
|
2669
|
-
// authentication (tokenAuth) required
|
|
2670
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2671
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2672
|
-
'application/json'
|
|
2673
|
-
]);
|
|
2674
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2675
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2676
|
-
}
|
|
2677
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2678
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2679
|
-
let responseType_ = 'json';
|
|
2680
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2681
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2682
|
-
responseType_ = 'text';
|
|
2683
|
-
}
|
|
2684
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2685
|
-
responseType_ = 'json';
|
|
2686
|
-
}
|
|
2687
|
-
else {
|
|
2688
|
-
responseType_ = 'blob';
|
|
2689
|
-
}
|
|
2690
|
-
}
|
|
2691
|
-
let localVarPath = `/api/version/`;
|
|
2692
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2693
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2694
|
-
context: localVarHttpContext,
|
|
2695
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
2696
|
-
responseType: responseType_,
|
|
2697
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2698
|
-
headers: localVarHeaders,
|
|
2699
|
-
observe: observe,
|
|
2700
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2701
|
-
reportProgress: reportProgress
|
|
2702
|
-
});
|
|
2703
|
-
}
|
|
2704
|
-
apiVersionMarkAllAsReadCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2705
|
-
const userVersion = requestParameters?.userVersion;
|
|
2706
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2707
|
-
// authentication (FirebaseAuthentication) required
|
|
2708
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2709
|
-
// authentication (basicAuth) required
|
|
2710
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2711
|
-
// authentication (cookieAuth) required
|
|
2712
|
-
// authentication (tokenAuth) required
|
|
2713
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2714
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2715
|
-
'application/json'
|
|
2716
|
-
]);
|
|
2717
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2718
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2719
|
-
}
|
|
2720
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2721
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2722
|
-
// to determine the Content-Type header
|
|
2723
|
-
const consumes = [
|
|
2724
|
-
'application/json',
|
|
2725
|
-
'application/x-www-form-urlencoded',
|
|
2726
|
-
'multipart/form-data'
|
|
2727
|
-
];
|
|
2728
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2729
|
-
if (httpContentTypeSelected !== undefined) {
|
|
2730
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2731
|
-
}
|
|
2732
|
-
let responseType_ = 'json';
|
|
2733
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2734
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2735
|
-
responseType_ = 'text';
|
|
2736
|
-
}
|
|
2737
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2738
|
-
responseType_ = 'json';
|
|
2739
|
-
}
|
|
2740
|
-
else {
|
|
2741
|
-
responseType_ = 'blob';
|
|
2742
|
-
}
|
|
2743
|
-
}
|
|
2744
|
-
let localVarPath = `/api/version/mark_all_as_read/`;
|
|
2745
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2746
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
2747
|
-
context: localVarHttpContext,
|
|
2748
|
-
body: userVersion,
|
|
2749
|
-
responseType: responseType_,
|
|
2750
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2751
|
-
headers: localVarHeaders,
|
|
2752
|
-
observe: observe,
|
|
2753
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2754
|
-
reportProgress: reportProgress
|
|
2755
|
-
});
|
|
2756
|
-
}
|
|
2757
|
-
apiVersionMarkAsReadCreate(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2758
|
-
const id = requestParameters?.id;
|
|
2759
|
-
if (id === null || id === undefined) {
|
|
2760
|
-
throw new Error('Required parameter id was null or undefined when calling apiVersionMarkAsReadCreate.');
|
|
2761
|
-
}
|
|
2762
|
-
const userVersion = requestParameters?.userVersion;
|
|
2763
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2764
|
-
// authentication (FirebaseAuthentication) required
|
|
2765
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2766
|
-
// authentication (basicAuth) required
|
|
2767
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2768
|
-
// authentication (cookieAuth) required
|
|
2769
|
-
// authentication (tokenAuth) required
|
|
2770
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2771
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2772
|
-
'application/json'
|
|
2773
|
-
]);
|
|
2774
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2775
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2776
|
-
}
|
|
2777
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2778
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2779
|
-
// to determine the Content-Type header
|
|
2780
|
-
const consumes = [
|
|
2781
|
-
'application/json',
|
|
2782
|
-
'application/x-www-form-urlencoded',
|
|
2783
|
-
'multipart/form-data'
|
|
2784
|
-
];
|
|
2785
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2786
|
-
if (httpContentTypeSelected !== undefined) {
|
|
2787
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2788
|
-
}
|
|
2789
|
-
let responseType_ = 'json';
|
|
2790
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2791
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2792
|
-
responseType_ = 'text';
|
|
2793
|
-
}
|
|
2794
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2795
|
-
responseType_ = 'json';
|
|
2796
|
-
}
|
|
2797
|
-
else {
|
|
2798
|
-
responseType_ = 'blob';
|
|
2799
|
-
}
|
|
2800
|
-
}
|
|
2801
|
-
let localVarPath = `/api/version/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/mark_as_read/`;
|
|
2802
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2803
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
2804
|
-
context: localVarHttpContext,
|
|
2805
|
-
body: userVersion,
|
|
2806
|
-
responseType: responseType_,
|
|
2807
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2808
|
-
headers: localVarHeaders,
|
|
2809
|
-
observe: observe,
|
|
2810
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2811
|
-
reportProgress: reportProgress
|
|
2812
|
-
});
|
|
2813
|
-
}
|
|
2814
|
-
apiVersionRetrieve(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2815
|
-
const id = requestParameters?.id;
|
|
2816
|
-
if (id === null || id === undefined) {
|
|
2817
|
-
throw new Error('Required parameter id was null or undefined when calling apiVersionRetrieve.');
|
|
2818
|
-
}
|
|
2819
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2820
|
-
// authentication (FirebaseAuthentication) required
|
|
2821
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2822
|
-
// authentication (basicAuth) required
|
|
2823
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2824
|
-
// authentication (cookieAuth) required
|
|
2825
|
-
// authentication (tokenAuth) required
|
|
2826
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2827
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2828
|
-
'application/json'
|
|
2829
|
-
]);
|
|
2830
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2831
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2832
|
-
}
|
|
2833
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2834
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2835
|
-
let responseType_ = 'json';
|
|
2836
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2837
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2838
|
-
responseType_ = 'text';
|
|
2839
|
-
}
|
|
2840
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2841
|
-
responseType_ = 'json';
|
|
2842
|
-
}
|
|
2843
|
-
else {
|
|
2844
|
-
responseType_ = 'blob';
|
|
2845
|
-
}
|
|
2846
|
-
}
|
|
2847
|
-
let localVarPath = `/api/version/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
2848
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2849
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2850
|
-
context: localVarHttpContext,
|
|
2851
|
-
responseType: responseType_,
|
|
2852
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2853
|
-
headers: localVarHeaders,
|
|
2854
|
-
observe: observe,
|
|
2855
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2856
|
-
reportProgress: reportProgress
|
|
2857
|
-
});
|
|
2858
|
-
}
|
|
2859
|
-
onboardingAcceptInvite(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2860
|
-
const onboardingAcceptInviteRequest = requestParameters?.onboardingAcceptInviteRequest;
|
|
2861
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2862
|
-
// authentication (FirebaseAuthentication) required
|
|
2863
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2864
|
-
// authentication (basicAuth) required
|
|
2865
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2866
|
-
// authentication (cookieAuth) required
|
|
2867
|
-
// authentication (tokenAuth) required
|
|
2868
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2869
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2870
|
-
'application/json'
|
|
2871
|
-
]);
|
|
2872
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2873
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2874
|
-
}
|
|
2875
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2876
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2877
|
-
// to determine the Content-Type header
|
|
2878
|
-
const consumes = [
|
|
2879
|
-
'application/json'
|
|
2880
|
-
];
|
|
2881
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2882
|
-
if (httpContentTypeSelected !== undefined) {
|
|
2883
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2884
|
-
}
|
|
2885
|
-
let responseType_ = 'json';
|
|
2886
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2887
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2888
|
-
responseType_ = 'text';
|
|
2889
|
-
}
|
|
2890
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2891
|
-
responseType_ = 'json';
|
|
2892
|
-
}
|
|
2893
|
-
else {
|
|
2894
|
-
responseType_ = 'blob';
|
|
2895
|
-
}
|
|
2896
|
-
}
|
|
2897
|
-
let localVarPath = `/api/onboarding/accept-invite`;
|
|
2898
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2899
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
2900
|
-
context: localVarHttpContext,
|
|
2901
|
-
body: onboardingAcceptInviteRequest,
|
|
2902
|
-
responseType: responseType_,
|
|
2903
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2904
|
-
headers: localVarHeaders,
|
|
2905
|
-
observe: observe,
|
|
2906
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2907
|
-
reportProgress: reportProgress
|
|
2908
|
-
});
|
|
2909
|
-
}
|
|
2910
|
-
onboardingAcceptInvite2(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
2911
|
-
const onboardingAcceptInviteRequest = requestParameters?.onboardingAcceptInviteRequest;
|
|
2912
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2913
|
-
// authentication (FirebaseAuthentication) required
|
|
2914
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2915
|
-
// authentication (basicAuth) required
|
|
2916
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2917
|
-
// authentication (cookieAuth) required
|
|
2918
|
-
// authentication (tokenAuth) required
|
|
2919
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2920
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2921
|
-
'application/json'
|
|
2922
|
-
]);
|
|
2923
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2924
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2925
|
-
}
|
|
2926
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2927
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2928
|
-
// to determine the Content-Type header
|
|
2929
|
-
const consumes = [
|
|
2930
|
-
'application/json'
|
|
2931
|
-
];
|
|
2932
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2933
|
-
if (httpContentTypeSelected !== undefined) {
|
|
2934
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2935
|
-
}
|
|
2936
|
-
let responseType_ = 'json';
|
|
2937
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2938
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2939
|
-
responseType_ = 'text';
|
|
2940
|
-
}
|
|
2941
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2942
|
-
responseType_ = 'json';
|
|
2943
|
-
}
|
|
2944
|
-
else {
|
|
2945
|
-
responseType_ = 'blob';
|
|
2946
|
-
}
|
|
2947
|
-
}
|
|
2948
|
-
let localVarPath = `/api/onboarding/accept-invite/`;
|
|
2949
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2950
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
2951
|
-
context: localVarHttpContext,
|
|
2952
|
-
body: onboardingAcceptInviteRequest,
|
|
2953
|
-
responseType: responseType_,
|
|
2954
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2955
|
-
headers: localVarHeaders,
|
|
2956
|
-
observe: observe,
|
|
2957
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2958
|
-
reportProgress: reportProgress
|
|
2959
|
-
});
|
|
2960
|
-
}
|
|
2961
|
-
onboardingSendWelcomeEmail(observe = 'body', reportProgress = false, options) {
|
|
2962
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2963
|
-
// authentication (FirebaseAuthentication) required
|
|
2964
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
2965
|
-
// authentication (basicAuth) required
|
|
2966
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
2967
|
-
// authentication (cookieAuth) required
|
|
2968
|
-
// authentication (tokenAuth) required
|
|
2969
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
2970
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2971
|
-
'application/json'
|
|
2972
|
-
]);
|
|
2973
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2974
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2975
|
-
}
|
|
2976
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2977
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
2978
|
-
let responseType_ = 'json';
|
|
2979
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2980
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2981
|
-
responseType_ = 'text';
|
|
2982
|
-
}
|
|
2983
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2984
|
-
responseType_ = 'json';
|
|
2985
|
-
}
|
|
2986
|
-
else {
|
|
2987
|
-
responseType_ = 'blob';
|
|
2988
|
-
}
|
|
2989
|
-
}
|
|
2990
|
-
let localVarPath = `/api/onboarding/welcome`;
|
|
2991
|
-
const { basePath, withCredentials } = this.configuration;
|
|
2992
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
2993
|
-
context: localVarHttpContext,
|
|
2994
|
-
responseType: responseType_,
|
|
2995
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
2996
|
-
headers: localVarHeaders,
|
|
2997
|
-
observe: observe,
|
|
2998
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2999
|
-
reportProgress: reportProgress
|
|
3000
|
-
});
|
|
3001
|
-
}
|
|
3002
|
-
onboardingSendWelcomeEmail2(observe = 'body', reportProgress = false, options) {
|
|
3003
|
-
let localVarHeaders = this.defaultHeaders;
|
|
3004
|
-
// authentication (FirebaseAuthentication) required
|
|
3005
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
3006
|
-
// authentication (basicAuth) required
|
|
3007
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
3008
|
-
// authentication (cookieAuth) required
|
|
3009
|
-
// authentication (tokenAuth) required
|
|
3010
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
3011
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3012
|
-
'application/json'
|
|
3013
|
-
]);
|
|
3014
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3015
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3016
|
-
}
|
|
3017
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3018
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
3019
|
-
let responseType_ = 'json';
|
|
3020
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
3021
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3022
|
-
responseType_ = 'text';
|
|
3023
|
-
}
|
|
3024
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3025
|
-
responseType_ = 'json';
|
|
3026
|
-
}
|
|
3027
|
-
else {
|
|
3028
|
-
responseType_ = 'blob';
|
|
3029
|
-
}
|
|
3030
|
-
}
|
|
3031
|
-
let localVarPath = `/api/onboarding/welcome/`;
|
|
3032
|
-
const { basePath, withCredentials } = this.configuration;
|
|
3033
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
3034
|
-
context: localVarHttpContext,
|
|
3035
|
-
responseType: responseType_,
|
|
3036
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
3037
|
-
headers: localVarHeaders,
|
|
3038
|
-
observe: observe,
|
|
3039
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3040
|
-
reportProgress: reportProgress
|
|
3041
|
-
});
|
|
3042
|
-
}
|
|
3043
|
-
taskMoveToSprint(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
3044
|
-
const taskMoveToSprintRequest = requestParameters?.taskMoveToSprintRequest;
|
|
3045
|
-
let localVarHeaders = this.defaultHeaders;
|
|
3046
|
-
// authentication (FirebaseAuthentication) required
|
|
3047
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
|
|
3048
|
-
// authentication (basicAuth) required
|
|
3049
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
|
|
3050
|
-
// authentication (cookieAuth) required
|
|
3051
|
-
// authentication (tokenAuth) required
|
|
3052
|
-
localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
|
|
3053
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3054
|
-
'application/json'
|
|
3055
|
-
]);
|
|
3056
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3057
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3058
|
-
}
|
|
3059
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3060
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
3061
|
-
// to determine the Content-Type header
|
|
3062
|
-
const consumes = [
|
|
3063
|
-
'application/json'
|
|
3064
|
-
];
|
|
3065
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3066
|
-
if (httpContentTypeSelected !== undefined) {
|
|
3067
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
3068
|
-
}
|
|
3069
|
-
let responseType_ = 'json';
|
|
3070
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
3071
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3072
|
-
responseType_ = 'text';
|
|
3073
|
-
}
|
|
3074
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3075
|
-
responseType_ = 'json';
|
|
3076
|
-
}
|
|
3077
|
-
else {
|
|
3078
|
-
responseType_ = 'blob';
|
|
3079
|
-
}
|
|
3080
|
-
}
|
|
3081
|
-
let localVarPath = `/api/tasks/move-to-sprint/`;
|
|
3082
|
-
const { basePath, withCredentials } = this.configuration;
|
|
3083
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
3084
|
-
context: localVarHttpContext,
|
|
3085
|
-
body: taskMoveToSprintRequest,
|
|
3086
|
-
responseType: responseType_,
|
|
3087
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
3088
|
-
headers: localVarHeaders,
|
|
3089
|
-
observe: observe,
|
|
3090
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3091
|
-
reportProgress: reportProgress
|
|
3092
|
-
});
|
|
3093
|
-
}
|
|
3094
|
-
ticketsSubmit(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
3095
|
-
const ticketSubmit = requestParameters?.ticketSubmit;
|
|
3096
|
-
if (ticketSubmit === null || ticketSubmit === undefined) {
|
|
3097
|
-
throw new Error('Required parameter ticketSubmit was null or undefined when calling ticketsSubmit.');
|
|
3098
|
-
}
|
|
3099
|
-
let localVarHeaders = this.defaultHeaders;
|
|
3100
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3101
|
-
'application/json'
|
|
3102
|
-
]);
|
|
3103
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3104
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3105
|
-
}
|
|
3106
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3107
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
3108
|
-
// to determine the Content-Type header
|
|
3109
|
-
const consumes = [
|
|
3110
|
-
'application/json',
|
|
3111
|
-
'application/x-www-form-urlencoded',
|
|
3112
|
-
'multipart/form-data'
|
|
3113
|
-
];
|
|
3114
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3115
|
-
if (httpContentTypeSelected !== undefined) {
|
|
3116
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
3117
|
-
}
|
|
3118
|
-
let responseType_ = 'json';
|
|
3119
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
3120
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3121
|
-
responseType_ = 'text';
|
|
3122
|
-
}
|
|
3123
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3124
|
-
responseType_ = 'json';
|
|
3125
|
-
}
|
|
3126
|
-
else {
|
|
3127
|
-
responseType_ = 'blob';
|
|
3128
|
-
}
|
|
3129
|
-
}
|
|
3130
|
-
let localVarPath = `/api/tickets/submit`;
|
|
3131
|
-
const { basePath, withCredentials } = this.configuration;
|
|
3132
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
3133
|
-
context: localVarHttpContext,
|
|
3134
|
-
body: ticketSubmit,
|
|
3135
|
-
responseType: responseType_,
|
|
3136
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
3137
|
-
headers: localVarHeaders,
|
|
3138
|
-
observe: observe,
|
|
3139
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3140
|
-
reportProgress: reportProgress
|
|
3141
|
-
});
|
|
3142
|
-
}
|
|
3143
|
-
ticketsSubmit2(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
3144
|
-
const ticketSubmit = requestParameters?.ticketSubmit;
|
|
3145
|
-
if (ticketSubmit === null || ticketSubmit === undefined) {
|
|
3146
|
-
throw new Error('Required parameter ticketSubmit was null or undefined when calling ticketsSubmit2.');
|
|
3147
|
-
}
|
|
3148
|
-
let localVarHeaders = this.defaultHeaders;
|
|
3149
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3150
|
-
'application/json'
|
|
3151
|
-
]);
|
|
3152
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3153
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3154
|
-
}
|
|
3155
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3156
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
3157
|
-
// to determine the Content-Type header
|
|
3158
|
-
const consumes = [
|
|
3159
|
-
'application/json',
|
|
3160
|
-
'application/x-www-form-urlencoded',
|
|
3161
|
-
'multipart/form-data'
|
|
3162
|
-
];
|
|
3163
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3164
|
-
if (httpContentTypeSelected !== undefined) {
|
|
3165
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
3166
|
-
}
|
|
3167
|
-
let responseType_ = 'json';
|
|
3168
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
3169
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3170
|
-
responseType_ = 'text';
|
|
3171
|
-
}
|
|
3172
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3173
|
-
responseType_ = 'json';
|
|
3174
|
-
}
|
|
3175
|
-
else {
|
|
3176
|
-
responseType_ = 'blob';
|
|
3177
|
-
}
|
|
3178
|
-
}
|
|
3179
|
-
let localVarPath = `/api/tickets/submit/`;
|
|
3180
|
-
const { basePath, withCredentials } = this.configuration;
|
|
3181
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
3182
|
-
context: localVarHttpContext,
|
|
3183
|
-
body: ticketSubmit,
|
|
3184
|
-
responseType: responseType_,
|
|
3185
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
3186
|
-
headers: localVarHeaders,
|
|
3187
|
-
observe: observe,
|
|
3188
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3189
|
-
reportProgress: reportProgress
|
|
3190
|
-
});
|
|
3191
|
-
}
|
|
3192
|
-
ticketsSubmit3(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
3193
|
-
const ticketSubmit = requestParameters?.ticketSubmit;
|
|
3194
|
-
if (ticketSubmit === null || ticketSubmit === undefined) {
|
|
3195
|
-
throw new Error('Required parameter ticketSubmit was null or undefined when calling ticketsSubmit3.');
|
|
3196
|
-
}
|
|
3197
|
-
let localVarHeaders = this.defaultHeaders;
|
|
3198
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3199
|
-
'application/json'
|
|
3200
|
-
]);
|
|
3201
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3202
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3203
|
-
}
|
|
3204
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3205
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
3206
|
-
// to determine the Content-Type header
|
|
3207
|
-
const consumes = [
|
|
3208
|
-
'application/json',
|
|
3209
|
-
'application/x-www-form-urlencoded',
|
|
3210
|
-
'multipart/form-data'
|
|
3211
|
-
];
|
|
3212
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3213
|
-
if (httpContentTypeSelected !== undefined) {
|
|
3214
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
3215
|
-
}
|
|
3216
|
-
let responseType_ = 'json';
|
|
3217
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
3218
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3219
|
-
responseType_ = 'text';
|
|
3220
|
-
}
|
|
3221
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3222
|
-
responseType_ = 'json';
|
|
3223
|
-
}
|
|
3224
|
-
else {
|
|
3225
|
-
responseType_ = 'blob';
|
|
3226
|
-
}
|
|
3227
|
-
}
|
|
3228
|
-
let localVarPath = `/api/ticketssubmit`;
|
|
3229
|
-
const { basePath, withCredentials } = this.configuration;
|
|
3230
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
3231
|
-
context: localVarHttpContext,
|
|
3232
|
-
body: ticketSubmit,
|
|
3233
|
-
responseType: responseType_,
|
|
3234
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
3235
|
-
headers: localVarHeaders,
|
|
3236
|
-
observe: observe,
|
|
3237
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3238
|
-
reportProgress: reportProgress
|
|
3239
|
-
});
|
|
3240
|
-
}
|
|
3241
|
-
ticketsSubmit4(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
3242
|
-
const ticketSubmit = requestParameters?.ticketSubmit;
|
|
3243
|
-
if (ticketSubmit === null || ticketSubmit === undefined) {
|
|
3244
|
-
throw new Error('Required parameter ticketSubmit was null or undefined when calling ticketsSubmit4.');
|
|
3245
|
-
}
|
|
3246
|
-
let localVarHeaders = this.defaultHeaders;
|
|
3247
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3248
|
-
'application/json'
|
|
3249
|
-
]);
|
|
3250
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3251
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3252
|
-
}
|
|
3253
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3254
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
3255
|
-
// to determine the Content-Type header
|
|
3256
|
-
const consumes = [
|
|
3257
|
-
'application/json',
|
|
3258
|
-
'application/x-www-form-urlencoded',
|
|
3259
|
-
'multipart/form-data'
|
|
3260
|
-
];
|
|
3261
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3262
|
-
if (httpContentTypeSelected !== undefined) {
|
|
3263
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
3264
|
-
}
|
|
3265
|
-
let responseType_ = 'json';
|
|
3266
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
3267
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3268
|
-
responseType_ = 'text';
|
|
3269
|
-
}
|
|
3270
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3271
|
-
responseType_ = 'json';
|
|
3272
|
-
}
|
|
3273
|
-
else {
|
|
3274
|
-
responseType_ = 'blob';
|
|
3275
|
-
}
|
|
3276
|
-
}
|
|
3277
|
-
let localVarPath = `/api/ticketssubmit/`;
|
|
3278
|
-
const { basePath, withCredentials } = this.configuration;
|
|
3279
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
3280
|
-
context: localVarHttpContext,
|
|
3281
|
-
body: ticketSubmit,
|
|
3282
|
-
responseType: responseType_,
|
|
3283
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
3284
|
-
headers: localVarHeaders,
|
|
3285
|
-
observe: observe,
|
|
3286
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3287
|
-
reportProgress: reportProgress
|
|
3288
|
-
});
|
|
3289
|
-
}
|
|
3290
|
-
};
|
|
3291
|
-
ApiService = __decorate([
|
|
3292
|
-
Injectable({
|
|
3293
|
-
providedIn: 'root'
|
|
3294
|
-
}),
|
|
3295
|
-
__param(1, Optional()),
|
|
3296
|
-
__param(1, Inject(BASE_PATH)),
|
|
3297
|
-
__param(2, Optional()),
|
|
3298
|
-
__metadata("design:paramtypes", [HttpClient, Object, Configuration])
|
|
3299
|
-
], ApiService);
|
|
3300
|
-
export { ApiService };
|
|
3301
|
-
//# sourceMappingURL=api.service.js.map
|