Skip to content

Instantly share code, notes, and snippets.

@Richard87
Created January 13, 2021 08:09
Show Gist options
  • Save Richard87/c29f22ca2649afe237c73fcd9853195b to your computer and use it in GitHub Desktop.
Save Richard87/c29f22ca2649afe237c73fcd9853195b to your computer and use it in GitHub Desktop.
import { createApi, fetchBaseQuery } from "@rtk-incubator/rtk-query";
export const ePortalApi = createApi({
baseQuery: fetchBaseQuery({ baseUrl: "/" }),
entityTypes: [],
endpoints: build => ({
getPreviousAnswerIndicatorIndicatorItem: build.query<GetPreviousAnswerIndicatorIndicatorItemApiResponse, GetPreviousAnswerIndicatorIndicatorItemApiArg>({
query: queryArg => ({ url: `/api/abstractindicator/${queryArg.id}/previous_answer` })
}),
getOrCreateAnswerSetAnswerSetCollection: build.query<GetOrCreateAnswerSetAnswerSetCollectionApiResponse, GetOrCreateAnswerSetAnswerSetCollectionApiArg>({
query: queryArg => ({ url: `/api/answer_sets/find`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getAnswerSetItem: build.query<GetOrCreateAnswerSetAnswerSetCollectionApiResponse, GetAnswerSetItemApiArg>({
query: queryArg => ({ url: `/api/answer_sets/${queryArg.id}` })
}),
apiUpdateAnswerSetAnswerSetItem: build.mutation<ApiUpdateAnswerSetAnswerSetItemApiResponse, ApiUpdateAnswerSetAnswerSetItemApiArg>({
query: queryArg => ({ url: `/api/answer_sets/${queryArg.id}`, method: "PUT", body: queryArg.answerSet })
}),
apiSubmitAnswerSetAnswerSetItem: build.mutation<ApiSubmitAnswerSetAnswerSetItemApiResponse, ApiSubmitAnswerSetAnswerSetItemApiArg>({
query: queryArg => ({ url: `/api/answer_sets/${queryArg.id}`, method: "POST", body: queryArg.answerSet })
}),
getConsultationEventItem: build.query<GetConsultationEventItemApiResponse, GetConsultationEventItemApiArg>({
query: queryArg => ({ url: `/api/consultation_events/${queryArg.id}` })
}),
getConsultationParticipantItem: build.query<GetConsultationParticipantItemApiResponse, GetConsultationParticipantItemApiArg>({
query: queryArg => ({ url: `/api/consultation_participants/${queryArg.id}` })
}),
postConsultationCollection: build.mutation<PostConsultationCollectionApiResponse, PostConsultationCollectionApiArg>({
query: queryArg => ({ url: `/api/consultations`, method: "POST", body: queryArg.consultationConsultationConstruct })
}),
getConsultationItem: build.query<GetConsultationItemApiResponse, GetConsultationItemApiArg>({
query: queryArg => ({ url: `/api/consultations/${queryArg.id}` })
}),
deleteConsultationItem: build.mutation<DeleteConsultationItemApiResponse, DeleteConsultationItemApiArg>({
query: queryArg => ({ url: `/api/consultations/${queryArg.id}`, method: "DELETE" })
}),
patchConsultationItem: build.mutation<PatchConsultationItemApiResponse, PatchConsultationItemApiArg>({
query: queryArg => ({ url: `/api/consultations/${queryArg.id}`, method: "PATCH", body: queryArg.body })
}),
apiConsultationsEventsGetSubresource: build.query<ApiConsultationsEventsGetSubresourceApiResponse, ApiConsultationsEventsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/consultations/${queryArg.id}/events`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiConsultationsParticipantsGetSubresource: build.query<ApiConsultationsParticipantsGetSubresourceApiResponse, ApiConsultationsParticipantsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/consultations/${queryArg.id}/participants`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiConsultationSendSmsConsultationItem: build.mutation<ApiConsultationSendSmsConsultationItemApiResponse, ApiConsultationSendSmsConsultationItemApiArg>({
query: queryArg => ({ url: `/api/consultations/${queryArg.id}/send_sms`, method: "POST", body: queryArg.consultation })
}),
getCountyCollection: build.query<GetCountyCollectionApiResponse, GetCountyCollectionApiArg>({
query: queryArg => ({ url: `/api/counties`, params: { name: queryArg.name, region: queryArg.region, regionId: queryArg.regionId, page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getCountyItem: build.query<GetCountyItemApiResponse, GetCountyItemApiArg>({
query: queryArg => ({ url: `/api/counties/${queryArg.id}` })
}),
apiCountiesExternalOfficesGetSubresource: build.query<ApiCountiesExternalOfficesGetSubresourceApiResponse, ApiCountiesExternalOfficesGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/counties/${queryArg.id}/external_offices`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiCountiesOfficesGetSubresource: build.query<ApiCountiesOfficesGetSubresourceApiResponse, ApiCountiesOfficesGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/counties/${queryArg.id}/offices`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiCountiesOfficesConsultationsGetSubresource: build.query<ApiCountiesOfficesConsultationsGetSubresourceApiResponse, ApiCountiesOfficesConsultationsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/counties/${queryArg.id}/offices/${queryArg.offices}/consultations`, params: { meetingAt: queryArg.meetingAt, doctor: queryArg.doctor, phonenumber: queryArg.phonenumber, page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiCountiesOfficesConsultationsEventsGetSubresource: build.query<ApiCountiesOfficesConsultationsEventsGetSubresourceApiResponse, ApiCountiesOfficesConsultationsEventsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/counties/${queryArg.id}/offices/${queryArg.offices}/consultations/${queryArg.consultations}/events`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiCountiesOfficesConsultationsParticipantsGetSubresource: build.query<ApiCountiesOfficesConsultationsParticipantsGetSubresourceApiResponse, ApiCountiesOfficesConsultationsParticipantsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/counties/${queryArg.id}/offices/${queryArg.offices}/consultations/${queryArg.consultations}/participants`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiCountiesOfficesEmployeesGetSubresource: build.query<ApiCountiesOfficesEmployeesGetSubresourceApiResponse, ApiCountiesOfficesEmployeesGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/counties/${queryArg.id}/offices/${queryArg.offices}/employees`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getCoursePriceCollection: build.query<GetCoursePriceCollectionApiResponse, GetCoursePriceCollectionApiArg>({
query: queryArg => ({ url: `/api/course_prices`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
postCoursePriceCollection: build.mutation<PostCoursePriceCollectionApiResponse, PostCoursePriceCollectionApiArg>({
query: queryArg => ({ url: `/api/course_prices`, method: "POST", body: queryArg.coursePriceCoursePriceConstructCoursePriceWrite })
}),
getCoursePriceItem: build.query<GetCoursePriceItemApiResponse, GetCoursePriceItemApiArg>({
query: queryArg => ({ url: `/api/course_prices/${queryArg.id}` })
}),
deleteCoursePriceItem: build.mutation<DeleteCoursePriceItemApiResponse, DeleteCoursePriceItemApiArg>({
query: queryArg => ({ url: `/api/course_prices/${queryArg.id}`, method: "DELETE" })
}),
patchCoursePriceItem: build.mutation<PatchCoursePriceItemApiResponse, PatchCoursePriceItemApiArg>({
query: queryArg => ({ url: `/api/course_prices/${queryArg.id}`, method: "PATCH", body: queryArg.body })
}),
getCourseCollection: build.query<GetCourseCollectionApiResponse, GetCourseCollectionApiArg>({
query: queryArg => ({ url: `/api/courses`, params: { type: queryArg.type, page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getCourseItem: build.query<GetCourseItemApiResponse, GetCourseItemApiArg>({
query: queryArg => ({ url: `/api/courses/${queryArg.id}` })
}),
apiCoursesJobsGetSubresource: build.query<ApiCoursesJobsGetSubresourceApiResponse, ApiCoursesJobsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/courses/${queryArg.id}/jobs`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiCoursesPricesGetSubresource: build.query<ApiCoursesPricesGetSubresourceApiResponse, ApiCoursesPricesGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/courses/${queryArg.id}/prices`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiCoursesTasksGetSubresource: build.query<ApiCoursesTasksGetSubresourceApiResponse, ApiCoursesTasksGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/courses/${queryArg.id}/tasks`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getEmployeeItem: build.query<GetEmployeeItemApiResponse, GetEmployeeItemApiArg>({
query: queryArg => ({ url: `/api/employees/${queryArg.id}` })
}),
getExternalOfficeItem: build.query<GetExternalOfficeItemApiResponse, GetExternalOfficeItemApiArg>({
query: queryArg => ({ url: `/api/external_offices/${queryArg.id}` })
}),
getFileCollection: build.query<GetFileCollectionApiResponse, GetFileCollectionApiArg>({
query: queryArg => ({ url: `/api/files`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
postFileCollection: build.mutation<PostFileCollectionApiResponse, PostFileCollectionApiArg>({
query: queryArg => ({ url: `/api/files`, method: "POST", body: queryArg.file })
}),
getFileItem: build.query<GetFileItemApiResponse, GetFileItemApiArg>({
query: queryArg => ({ url: `/api/files/${queryArg.id}` })
}),
downloadFileItem: build.query<DownloadFileItemApiResponse, DownloadFileItemApiArg>({
query: queryArg => ({ url: `/api/files/${queryArg.id}/download` })
}),
getFormCollection: build.query<GetFormCollectionApiResponse, GetFormCollectionApiArg>({
query: queryArg => ({ url: `/api/forms`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getFormItem: build.query<GetFormItemApiResponse, GetFormItemApiArg>({
query: queryArg => ({ url: `/api/forms/${queryArg.id}` })
}),
indicatorDependenciesFormItem: build.query<IndicatorDependenciesFormItemApiResponse, IndicatorDependenciesFormItemApiArg>({
query: queryArg => ({ url: `/api/forms/${queryArg.id}/indicator_dependencies` })
}),
apiFormsIndicatorGroupsGetSubresource: build.query<ApiFormsIndicatorGroupsGetSubresourceApiResponse, ApiFormsIndicatorGroupsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/forms/${queryArg.id}/indicator_groups`, params: { disabled: queryArg.disabled, page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiFormsIndicatorGroupsIndicatorsGetSubresource: build.query<ApiFormsIndicatorGroupsIndicatorsGetSubresourceApiResponse, ApiFormsIndicatorGroupsIndicatorsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/forms/${queryArg.id}/indicator_groups/${queryArg.indicatorGroups}/indicators`, params: { disabled: queryArg.disabled, page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiFormsIndicatorsGetSubresource: build.query<ApiFormsIndicatorsGetSubresourceApiResponse, ApiFormsIndicatorsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/forms/${queryArg.id}/indicators`, params: { disabled: queryArg.disabled, page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getGroupItem: build.query<GetGroupItemApiResponse, GetGroupItemApiArg>({
query: queryArg => ({ url: `/api/groups/${queryArg.id}` })
}),
getIndicatorDependencyCollection: build.query<GetIndicatorDependencyCollectionApiResponse, GetIndicatorDependencyCollectionApiArg>({
query: queryArg => ({ url: `/api/indicator_dependencies`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
postIndicatorDependencyCollection: build.mutation<PostIndicatorDependencyCollectionApiResponse, PostIndicatorDependencyCollectionApiArg>({
query: queryArg => ({ url: `/api/indicator_dependencies`, method: "POST", body: queryArg.indicatorDependencyIndicatorDependencyCreate })
}),
getIndicatorDependencyItem: build.query<GetIndicatorDependencyItemApiResponse, GetIndicatorDependencyItemApiArg>({
query: queryArg => ({ url: `/api/indicator_dependencies/${queryArg.id}` })
}),
patchIndicatorDependencyItem: build.mutation<PatchIndicatorDependencyItemApiResponse, PatchIndicatorDependencyItemApiArg>({
query: queryArg => ({ url: `/api/indicator_dependencies/${queryArg.id}`, method: "PATCH", body: queryArg.body })
}),
deleteIndicatorDependencyItem: build.mutation<DeleteIndicatorDependencyItemApiResponse, DeleteIndicatorDependencyItemApiArg>({
query: queryArg => ({ url: `/api/indicator_dependencies/${queryArg.id}`, method: "DELETE" })
}),
getIndicatorGroupCollection: build.query<GetIndicatorGroupCollectionApiResponse, GetIndicatorGroupCollectionApiArg>({
query: queryArg => ({ url: `/api/indicator_groups`, params: { disabled: queryArg.disabled, page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getIndicatorGroupItem: build.query<GetIndicatorGroupItemApiResponse, GetIndicatorGroupItemApiArg>({
query: queryArg => ({ url: `/api/indicator_groups/${queryArg.id}` })
}),
apiIndicatorGroupsIndicatorsGetSubresource: build.query<ApiIndicatorGroupsIndicatorsGetSubresourceApiResponse, ApiIndicatorGroupsIndicatorsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/indicator_groups/${queryArg.id}/indicators`, params: { disabled: queryArg.disabled, page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getIndicatorCollection: build.query<GetIndicatorCollectionApiResponse, GetIndicatorCollectionApiArg>({
query: queryArg => ({ url: `/api/indicators`, params: { disabled: queryArg.disabled, page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getIndicatorItem: build.query<GetIndicatorItemApiResponse, GetIndicatorItemApiArg>({
query: queryArg => ({ url: `/api/indicators/${queryArg.id}` })
}),
patchIndicatorItem: build.mutation<PatchIndicatorItemApiResponse, PatchIndicatorItemApiArg>({
query: queryArg => ({ url: `/api/indicators/${queryArg.id}`, method: "PATCH", body: queryArg.body })
}),
deleteIndicatorItem: build.mutation<DeleteIndicatorItemApiResponse, DeleteIndicatorItemApiArg>({
query: queryArg => ({ url: `/api/indicators/${queryArg.id}`, method: "DELETE" })
}),
getJobCollection: build.query<GetJobCollectionApiResponse, GetJobCollectionApiArg>({
query: queryArg => ({ url: `/api/jobs`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
postJobCollection: build.mutation<PostJobCollectionApiResponse, PostJobCollectionApiArg>({
query: queryArg => ({ url: `/api/jobs`, method: "POST", body: queryArg.jobJobConstructJobWrite })
}),
getJobItem: build.query<GetJobItemApiResponse, GetJobItemApiArg>({
query: queryArg => ({ url: `/api/jobs/${queryArg.id}` })
}),
deleteJobItem: build.mutation<DeleteJobItemApiResponse, DeleteJobItemApiArg>({
query: queryArg => ({ url: `/api/jobs/${queryArg.id}`, method: "DELETE" })
}),
patchJobItem: build.mutation<PatchJobItemApiResponse, PatchJobItemApiArg>({
query: queryArg => ({ url: `/api/jobs/${queryArg.id}`, method: "PATCH", body: queryArg.body })
}),
apiJobPreviewEmailJobItem: build.mutation<ApiJobPreviewEmailJobItemApiResponse, ApiJobPreviewEmailJobItemApiArg>({
query: queryArg => ({ url: `/api/jobs/${queryArg.id}/preview`, method: "POST", body: queryArg.job })
}),
apiJobGetTriggerConfigurationJobItem: build.query<ApiJobGetTriggerConfigurationJobItemApiResponse, ApiJobGetTriggerConfigurationJobItemApiArg>({
query: queryArg => ({ url: `/api/jobs/${queryArg.id}/trigger_configuration` })
}),
getLocationIndicatorCollection: build.query<GetLocationIndicatorCollectionApiResponse, GetLocationIndicatorCollectionApiArg>({
query: queryArg => ({ url: `/api/location_indicators`, params: { disabled: queryArg.disabled, page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getLocationIndicatorItem: build.query<GetLocationIndicatorItemApiResponse, GetLocationIndicatorItemApiArg>({
query: queryArg => ({ url: `/api/location_indicators/${queryArg.id}` })
}),
patchLocationIndicatorItem: build.mutation<PatchLocationIndicatorItemApiResponse, PatchLocationIndicatorItemApiArg>({
query: queryArg => ({ url: `/api/location_indicators/${queryArg.id}`, method: "PATCH", body: queryArg.body })
}),
deleteLocationIndicatorItem: build.mutation<DeleteLocationIndicatorItemApiResponse, DeleteLocationIndicatorItemApiArg>({
query: queryArg => ({ url: `/api/location_indicators/${queryArg.id}`, method: "DELETE" })
}),
getOfficeItem: build.query<GetOfficeItemApiResponse, GetOfficeItemApiArg>({
query: queryArg => ({ url: `/api/offices/${queryArg.id}` })
}),
apiOfficesConsultationsGetSubresource: build.query<ApiOfficesConsultationsGetSubresourceApiResponse, ApiOfficesConsultationsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/offices/${queryArg.id}/consultations`, params: { meetingAt: queryArg.meetingAt, doctor: queryArg.doctor, phonenumber: queryArg.phonenumber, page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiOfficesConsultationsEventsGetSubresource: build.query<ApiOfficesConsultationsEventsGetSubresourceApiResponse, ApiOfficesConsultationsEventsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/offices/${queryArg.id}/consultations/${queryArg.consultations}/events`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiOfficesConsultationsParticipantsGetSubresource: build.query<ApiOfficesConsultationsParticipantsGetSubresourceApiResponse, ApiOfficesConsultationsParticipantsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/offices/${queryArg.id}/consultations/${queryArg.consultations}/participants`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiOfficesEmployeesGetSubresource: build.query<ApiOfficesEmployeesGetSubresourceApiResponse, ApiOfficesEmployeesGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/offices/${queryArg.id}/employees`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getPartnershipMembersCollection: build.query<GetPartnershipMembersCollectionApiResponse, GetPartnershipMembersCollectionApiArg>({
query: queryArg => ({ url: `/api/partnership_members`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
postPartnershipMembersCollection: build.mutation<PostPartnershipMembersCollectionApiResponse, PostPartnershipMembersCollectionApiArg>({
query: queryArg => ({ url: `/api/partnership_members`, method: "POST", body: queryArg.partnershipMembersMemberConstructor })
}),
getPartnershipMembersItem: build.query<GetPartnershipMembersItemApiResponse, GetPartnershipMembersItemApiArg>({
query: queryArg => ({ url: `/api/partnership_members/${queryArg.id}` })
}),
deletePartnershipMembersItem: build.mutation<DeletePartnershipMembersItemApiResponse, DeletePartnershipMembersItemApiArg>({
query: queryArg => ({ url: `/api/partnership_members/${queryArg.id}`, method: "DELETE" })
}),
getPartnershipCollection: build.query<GetPartnershipCollectionApiResponse, GetPartnershipCollectionApiArg>({
query: queryArg => ({ url: `/api/partnerships`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
postPartnershipCollection: build.mutation<PostPartnershipCollectionApiResponse, PostPartnershipCollectionApiArg>({
query: queryArg => ({ url: `/api/partnerships`, method: "POST", body: queryArg.partnership })
}),
getPartnershipItem: build.query<GetPartnershipItemApiResponse, GetPartnershipItemApiArg>({
query: queryArg => ({ url: `/api/partnerships/${queryArg.id}` })
}),
deletePartnershipItem: build.mutation<DeletePartnershipItemApiResponse, DeletePartnershipItemApiArg>({
query: queryArg => ({ url: `/api/partnerships/${queryArg.id}`, method: "DELETE" })
}),
patchPartnershipItem: build.mutation<PatchPartnershipItemApiResponse, PatchPartnershipItemApiArg>({
query: queryArg => ({ url: `/api/partnerships/${queryArg.id}`, method: "PATCH", body: queryArg.body })
}),
apiPartnershipAddLocationPartnershipItem: build.mutation<ApiPartnershipAddLocationPartnershipItemApiResponse, ApiPartnershipAddLocationPartnershipItemApiArg>({
query: queryArg => ({ url: `/api/partnerships/${queryArg.id}/add_location`, method: "POST", body: queryArg.partnership })
}),
apiPartnershipCreateSeminarPartnershipItem: build.mutation<ApiPartnershipCreateSeminarPartnershipItemApiResponse, ApiPartnershipCreateSeminarPartnershipItemApiArg>({
query: queryArg => ({ url: `/api/partnerships/${queryArg.id}/create_seminar`, method: "POST", body: queryArg.partnership54789Df783Eeb45Cfa70403Fe7C3A478 })
}),
apiPartnershipListDoctorsPartnershipItem: build.query<ApiPartnershipListDoctorsPartnershipItemApiResponse, ApiPartnershipListDoctorsPartnershipItemApiArg>({
query: queryArg => ({ url: `/api/partnerships/${queryArg.id}/list_doctors` })
}),
apiPartnershipsMembersGetSubresource: build.query<ApiPartnershipsMembersGetSubresourceApiResponse, ApiPartnershipsMembersGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/partnerships/${queryArg.id}/members`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiPartnershipsPricesGetSubresource: build.query<ApiPartnershipsPricesGetSubresourceApiResponse, ApiPartnershipsPricesGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/partnerships/${queryArg.id}/prices`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiPartnershipRemoveLocationPartnershipItem: build.mutation<ApiPartnershipRemoveLocationPartnershipItemApiResponse, ApiPartnershipRemoveLocationPartnershipItemApiArg>({
query: queryArg => ({ url: `/api/partnerships/${queryArg.id}/remove_location`, method: "POST", body: queryArg.partnership })
}),
getPreviousAnswerIndicatorCollection: build.query<GetPreviousAnswerIndicatorCollectionApiResponse, GetPreviousAnswerIndicatorCollectionApiArg>({
query: queryArg => ({ url: `/api/previous_answer_indicators`, params: { disabled: queryArg.disabled, page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getPreviousAnswerIndicatorItem: build.query<GetPreviousAnswerIndicatorItemApiResponse, GetPreviousAnswerIndicatorItemApiArg>({
query: queryArg => ({ url: `/api/previous_answer_indicators/${queryArg.id}` })
}),
patchPreviousAnswerIndicatorItem: build.mutation<PatchPreviousAnswerIndicatorItemApiResponse, PatchPreviousAnswerIndicatorItemApiArg>({
query: queryArg => ({ url: `/api/previous_answer_indicators/${queryArg.id}`, method: "PATCH", body: queryArg.body })
}),
deletePreviousAnswerIndicatorItem: build.mutation<DeletePreviousAnswerIndicatorItemApiResponse, DeletePreviousAnswerIndicatorItemApiArg>({
query: queryArg => ({ url: `/api/previous_answer_indicators/${queryArg.id}`, method: "DELETE" })
}),
postPushNotificationTargetCollection: build.mutation<PostPushNotificationTargetCollectionApiResponse, PostPushNotificationTargetCollectionApiArg>({
query: queryArg => ({ url: `/api/push_notification_targets`, method: "POST", body: queryArg.pushNotificationTargetPushNotificationTargetConstruct })
}),
getPushNotificationTargetItem: build.query<GetPushNotificationTargetItemApiResponse, GetPushNotificationTargetItemApiArg>({
query: queryArg => ({ url: `/api/push_notification_targets/${queryArg.id}` })
}),
deletePushNotificationTargetItem: build.mutation<DeletePushNotificationTargetItemApiResponse, DeletePushNotificationTargetItemApiArg>({
query: queryArg => ({ url: `/api/push_notification_targets/${queryArg.id}`, method: "DELETE" })
}),
postMergeUserCollection: build.mutation<PostMergeUserCollectionApiResponse, PostMergeUserCollectionApiArg>({
query: queryArg => ({ url: `/api/skil/users/merge_users`, method: "POST", body: queryArg.mergeUser })
}),
getTaskCollection: build.query<GetTaskCollectionApiResponse, GetTaskCollectionApiArg>({
query: queryArg => ({ url: `/api/tasks`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getTaskItem: build.query<GetTaskItemApiResponse, GetTaskItemApiArg>({
query: queryArg => ({ url: `/api/tasks/${queryArg.id}` })
}),
getUserCollection: build.query<GetUserCollectionApiResponse, GetUserCollectionApiArg>({
query: queryArg => ({ url: `/api/users`, params: { name: queryArg.name, email: queryArg.email, page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
getUserItem: build.query<GetUserItemApiResponse, GetUserItemApiArg>({
query: queryArg => ({ url: `/api/users/${queryArg.id}` })
}),
apiUsersConsultationsGetSubresource: build.query<ApiUsersConsultationsGetSubresourceApiResponse, ApiUsersConsultationsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/users/${queryArg.id}/consultations`, params: { meetingAt: queryArg.meetingAt, doctor: queryArg.doctor, phonenumber: queryArg.phonenumber, page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiUsersConsultationsEventsGetSubresource: build.query<ApiUsersConsultationsEventsGetSubresourceApiResponse, ApiUsersConsultationsEventsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/users/${queryArg.id}/consultations/${queryArg.consultations}/events`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiUsersConsultationsParticipantsGetSubresource: build.query<ApiUsersConsultationsParticipantsGetSubresourceApiResponse, ApiUsersConsultationsParticipantsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/users/${queryArg.id}/consultations/${queryArg.consultations}/participants`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiUserMergeDetailsViewUserItem: build.query<ApiUserMergeDetailsViewUserItemApiResponse, ApiUserMergeDetailsViewUserItemApiArg>({
query: queryArg => ({ url: `/api/users/${queryArg.id}/merge_user` })
}),
apiUserMergeDetailsActionUserItem: build.mutation<ApiUserMergeDetailsActionUserItemApiResponse, ApiUserMergeDetailsActionUserItemApiArg>({
query: queryArg => ({ url: `/api/users/${queryArg.id}/merge_user`, method: "POST", body: queryArg.user })
}),
apiUsersPartnershipsGetSubresource: build.query<ApiUsersPartnershipsGetSubresourceApiResponse, ApiUsersPartnershipsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/users/${queryArg.id}/partnerships`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiUsersPushNotificationTargetsGetSubresource: build.query<ApiUsersPushNotificationTargetsGetSubresourceApiResponse, ApiUsersPushNotificationTargetsGetSubresourceApiArg>({
query: queryArg => ({ url: `/api/users/${queryArg.id}/push_notification_targets`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
apiUserRefreshPushNotificationTokenUserItem: build.mutation<ApiUserRefreshPushNotificationTokenUserItemApiResponse, ApiUserRefreshPushNotificationTokenUserItemApiArg>({
query: queryArg => ({ url: `/api/users/${queryArg.id}/replace_push_notification_token`, method: "POST", body: queryArg.user9A7F5A2236Bd64Bba5F33650C1C31A47 })
}),
getZingtreeTemplateCollection: build.query<GetZingtreeTemplateCollectionApiResponse, GetZingtreeTemplateCollectionApiArg>({
query: queryArg => ({ url: `/api/zingtree_templates`, params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } })
}),
postZingtreeTemplateCollection: build.mutation<PostZingtreeTemplateCollectionApiResponse, PostZingtreeTemplateCollectionApiArg>({
query: queryArg => ({ url: `/api/zingtree_templates`, method: "POST", body: queryArg.zingtreeTemplate })
}),
getZingtreeTemplateItem: build.query<GetZingtreeTemplateItemApiResponse, GetZingtreeTemplateItemApiArg>({
query: queryArg => ({ url: `/api/zingtree_templates/${queryArg.id}` })
}),
deleteZingtreeTemplateItem: build.mutation<DeleteZingtreeTemplateItemApiResponse, DeleteZingtreeTemplateItemApiArg>({
query: queryArg => ({ url: `/api/zingtree_templates/${queryArg.id}`, method: "DELETE" })
}),
patchZingtreeTemplateItem: build.mutation<PatchZingtreeTemplateItemApiResponse, PatchZingtreeTemplateItemApiArg>({
query: queryArg => ({ url: `/api/zingtree_templates/${queryArg.id}`, method: "PATCH", body: queryArg.body })
}),
readZingtreeTemplateItem: build.query<ReadZingtreeTemplateItemApiResponse, ReadZingtreeTemplateItemApiArg>({
query: queryArg => ({ url: `/api/zingtree_templates/${queryArg.id}/read` })
})
})
});
export const {useApiCoursesJobsGetSubresourceQuery} = ePortalApi;
export type GetPreviousAnswerIndicatorIndicatorItemApiResponse = /** status 200 Indicator resource response */ Indicator_Indicator_view;
export type GetPreviousAnswerIndicatorIndicatorItemApiArg = {
id: string;
};
export type GetOrCreateAnswerSetAnswerSetCollectionApiResponse = /** status 200 AnswerSet collection response */ AnswerSet_AnswerSet_view[];
export type GetOrCreateAnswerSetAnswerSetCollectionApiArg = {
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetAnswerSetItemApiArg = {
id: string;
};
export type ApiUpdateAnswerSetAnswerSetItemApiResponse = /** status 200 AnswerSet resource updated */ AnswerSet_AnswerSet_view;
export type ApiUpdateAnswerSetAnswerSetItemApiArg = {
id: string;
/** The updated AnswerSet resource */
answerSet: AnswerSet;
};
export type ApiSubmitAnswerSetAnswerSetItemApiResponse = /** status 201 AnswerSet resource created */ AnswerSet_AnswerSet_view;
export type ApiSubmitAnswerSetAnswerSetItemApiArg = {
id: string;
/** The new AnswerSet resource */
answerSet: AnswerSet;
};
export type GetConsultationEventItemApiResponse = /** status 200 ConsultationEvent resource response */ ConsultationEvent_ConsulationEvent_view;
export type GetConsultationEventItemApiArg = {
id: string;
};
export type GetConsultationParticipantItemApiResponse = /** status 200 ConsultationParticipant resource response */ ConsultationParticipant_ConsultationParticipant_view;
export type GetConsultationParticipantItemApiArg = {
id: string;
};
export type PostConsultationCollectionApiResponse = /** status 201 Consultation resource created */ Consultation_Consultation_view;
export type PostConsultationCollectionApiArg = {
/** The new Consultation resource */
consultationConsultationConstruct: Consultation_Consultation_construct;
};
export type GetConsultationItemApiResponse = /** status 200 Consultation resource response */ Consultation_Consultation_view;
export type GetConsultationItemApiArg = {
id: string;
};
export type DeleteConsultationItemApiResponse = unknown;
export type DeleteConsultationItemApiArg = {
id: string;
};
export type PatchConsultationItemApiResponse = /** status 200 Consultation resource updated */ Consultation_Consultation_view;
export type PatchConsultationItemApiArg = {
id: string;
/** The updated Consultation resource */
body: string;
};
export type ApiConsultationsEventsGetSubresourceApiResponse = /** status 200 ConsultationEvent collection response */ ConsultationEvent_ConsulationEvent_view[];
export type ApiConsultationsEventsGetSubresourceApiArg = {
id: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiConsultationsParticipantsGetSubresourceApiResponse = /** status 200 ConsultationParticipant collection response */ ConsultationParticipant_ConsultationParticipant_view[];
export type ApiConsultationsParticipantsGetSubresourceApiArg = {
id: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiConsultationSendSmsConsultationItemApiResponse = /** status 201 Consultation resource created */ Consultation_Consultation_view;
export type ApiConsultationSendSmsConsultationItemApiArg = {
id: string;
/** The new Consultation resource */
consultation: Consultation;
};
export type GetCountyCollectionApiResponse = /** status 200 County collection response */ County_County_view[];
export type GetCountyCollectionApiArg = {
name?: string;
region?: string;
regionId?: {
""?: number[];
};
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetCountyItemApiResponse = /** status 200 County resource response */ County_County_view;
export type GetCountyItemApiArg = {
id: string;
};
export type ApiCountiesExternalOfficesGetSubresourceApiResponse = /** status 200 ExternalOffice collection response */ ExternalOffice_ExternalOffice_anonymous[];
export type ApiCountiesExternalOfficesGetSubresourceApiArg = {
id: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiCountiesOfficesGetSubresourceApiResponse = /** status 200 Office collection response */ Office_Office_view[];
export type ApiCountiesOfficesGetSubresourceApiArg = {
id: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiCountiesOfficesConsultationsGetSubresourceApiResponse = /** status 200 Consultation collection response */ Consultation_Consultation_view[];
export type ApiCountiesOfficesConsultationsGetSubresourceApiArg = {
id: string;
offices: string;
meetingAt?: {
before?: string;
strictly_before?: string;
after?: string;
strictly_after?: string;
};
doctor?: {
""?: string[];
};
phonenumber?: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiCountiesOfficesConsultationsEventsGetSubresourceApiResponse = /** status 200 ConsultationEvent collection response */ ConsultationEvent_ConsulationEvent_view[];
export type ApiCountiesOfficesConsultationsEventsGetSubresourceApiArg = {
id: string;
offices: string;
consultations: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiCountiesOfficesConsultationsParticipantsGetSubresourceApiResponse = /** status 200 ConsultationParticipant collection response */ ConsultationParticipant_ConsultationParticipant_view[];
export type ApiCountiesOfficesConsultationsParticipantsGetSubresourceApiArg = {
id: string;
offices: string;
consultations: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiCountiesOfficesEmployeesGetSubresourceApiResponse = /** status 200 Employee collection response */ Employee_Employee_view[];
export type ApiCountiesOfficesEmployeesGetSubresourceApiArg = {
id: string;
offices: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetCoursePriceCollectionApiResponse = /** status 200 CoursePrice collection response */ CoursePrice_CoursePrice_view[];
export type GetCoursePriceCollectionApiArg = {
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type PostCoursePriceCollectionApiResponse = /** status 201 CoursePrice resource created */ CoursePrice_CoursePrice_view;
export type PostCoursePriceCollectionApiArg = {
/** The new CoursePrice resource */
coursePriceCoursePriceConstructCoursePriceWrite: CoursePrice_CoursePrice_construct_CoursePrice_write;
};
export type GetCoursePriceItemApiResponse = /** status 200 CoursePrice resource response */ CoursePrice_CoursePrice_view;
export type GetCoursePriceItemApiArg = {
id: string;
};
export type DeleteCoursePriceItemApiResponse = unknown;
export type DeleteCoursePriceItemApiArg = {
id: string;
};
export type PatchCoursePriceItemApiResponse = /** status 200 CoursePrice resource updated */ CoursePrice_CoursePrice_view;
export type PatchCoursePriceItemApiArg = {
id: string;
/** The updated CoursePrice resource */
body: string;
};
export type GetCourseCollectionApiResponse = /** status 200 Course collection response */ Course_Course_view[];
export type GetCourseCollectionApiArg = {
type?: {
""?: number[];
};
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetCourseItemApiResponse = /** status 200 Course resource response */ Course_Course_view;
export type GetCourseItemApiArg = {
id: string;
};
export type ApiCoursesJobsGetSubresourceApiResponse = /** status 200 Job collection response */ Job_Job_view[];
export type ApiCoursesJobsGetSubresourceApiArg = {
id: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiCoursesPricesGetSubresourceApiResponse = /** status 200 CoursePrice collection response */ CoursePrice_CoursePrice_view[];
export type ApiCoursesPricesGetSubresourceApiArg = {
id: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiCoursesTasksGetSubresourceApiResponse = /** status 200 Task collection response */ Task_Task_view[];
export type ApiCoursesTasksGetSubresourceApiArg = {
id: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetEmployeeItemApiResponse = /** status 200 Employee resource response */ Employee_Employee_view;
export type GetEmployeeItemApiArg = {
id: string;
};
export type GetExternalOfficeItemApiResponse = /** status 200 ExternalOffice resource response */ ExternalOffice_ExternalOffice_anonymous;
export type GetExternalOfficeItemApiArg = {
id: string;
};
export type GetFileCollectionApiResponse = /** status 200 File collection response */ File_file[];
export type GetFileCollectionApiArg = {
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type PostFileCollectionApiResponse = /** status 201 File resource created */ File_File_view;
export type PostFileCollectionApiArg = {
/** The new File resource */
file: File;
};
export type GetFileItemApiResponse = /** status 200 File resource response */ File_File_view;
export type GetFileItemApiArg = {
id: string;
};
export type DownloadFileItemApiResponse = unknown;
export type DownloadFileItemApiArg = {
id: string;
};
export type GetFormCollectionApiResponse = /** status 200 Form collection response */ Form_Form_view[];
export type GetFormCollectionApiArg = {
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetFormItemApiResponse = /** status 200 Form resource response */ Form_Form_view;
export type GetFormItemApiArg = {
id: string;
};
export type IndicatorDependenciesFormItemApiResponse = /** status 200 Form resource response */ Form_IndicatorDependency_view;
export type IndicatorDependenciesFormItemApiArg = {
id: string;
};
export type ApiFormsIndicatorGroupsGetSubresourceApiResponse = /** status 200 IndicatorGroup collection response */ IndicatorGroup_IndicatorGroup_view[];
export type ApiFormsIndicatorGroupsGetSubresourceApiArg = {
id: string;
disabled?: boolean;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiFormsIndicatorGroupsIndicatorsGetSubresourceApiResponse = /** status 200 Indicator collection response */ Indicator_Indicator_view[];
export type ApiFormsIndicatorGroupsIndicatorsGetSubresourceApiArg = {
id: string;
indicatorGroups: string;
disabled?: boolean;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiFormsIndicatorsGetSubresourceApiResponse = /** status 200 Indicator collection response */ Indicator_Indicator_view[];
export type ApiFormsIndicatorsGetSubresourceApiArg = {
id: string;
disabled?: boolean;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetGroupItemApiResponse = /** status 200 Group resource response */ Group_Group_view;
export type GetGroupItemApiArg = {
id: string;
};
export type GetIndicatorDependencyCollectionApiResponse = /** status 200 IndicatorDependency collection response */ IndicatorDependency_IndicatorDependency_view[];
export type GetIndicatorDependencyCollectionApiArg = {
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type PostIndicatorDependencyCollectionApiResponse = /** status 201 IndicatorDependency resource created */ IndicatorDependency_IndicatorDependency_view;
export type PostIndicatorDependencyCollectionApiArg = {
/** The new IndicatorDependency resource */
indicatorDependencyIndicatorDependencyCreate: IndicatorDependency_IndicatorDependency_create;
};
export type GetIndicatorDependencyItemApiResponse = /** status 200 IndicatorDependency resource response */ IndicatorDependency_IndicatorDependency_view;
export type GetIndicatorDependencyItemApiArg = {
id: string;
};
export type PatchIndicatorDependencyItemApiResponse = /** status 200 IndicatorDependency resource updated */ IndicatorDependency_IndicatorDependency_view;
export type PatchIndicatorDependencyItemApiArg = {
id: string;
/** The updated IndicatorDependency resource */
body: string;
};
export type DeleteIndicatorDependencyItemApiResponse = unknown;
export type DeleteIndicatorDependencyItemApiArg = {
id: string;
};
export type GetIndicatorGroupCollectionApiResponse = /** status 200 IndicatorGroup collection response */ IndicatorGroup_IndicatorGroup_view[];
export type GetIndicatorGroupCollectionApiArg = {
disabled?: boolean;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetIndicatorGroupItemApiResponse = /** status 200 IndicatorGroup resource response */ IndicatorGroup_IndicatorGroup_view;
export type GetIndicatorGroupItemApiArg = {
id: string;
};
export type ApiIndicatorGroupsIndicatorsGetSubresourceApiResponse = /** status 200 Indicator collection response */ Indicator_Indicator_view[];
export type ApiIndicatorGroupsIndicatorsGetSubresourceApiArg = {
id: string;
disabled?: boolean;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetIndicatorCollectionApiResponse = /** status 200 Indicator collection response */ Indicator_Indicator_view[];
export type GetIndicatorCollectionApiArg = {
disabled?: boolean;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetIndicatorItemApiResponse = /** status 200 Indicator resource response */ Indicator_Indicator_view;
export type GetIndicatorItemApiArg = {
id: string;
};
export type PatchIndicatorItemApiResponse = /** status 200 Indicator resource updated */ Indicator_Indicator_view;
export type PatchIndicatorItemApiArg = {
id: string;
/** The updated Indicator resource */
body: string;
};
export type DeleteIndicatorItemApiResponse = unknown;
export type DeleteIndicatorItemApiArg = {
id: string;
};
export type GetJobCollectionApiResponse = /** status 200 Job collection response */ Job_Job_view[];
export type GetJobCollectionApiArg = {
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type PostJobCollectionApiResponse = /** status 201 Job resource created */ Job_Job_view;
export type PostJobCollectionApiArg = {
/** The new Job resource */
jobJobConstructJobWrite: Job_Job_construct_Job_write;
};
export type GetJobItemApiResponse = /** status 200 Job resource response */ Job_Job_view;
export type GetJobItemApiArg = {
id: string;
};
export type DeleteJobItemApiResponse = unknown;
export type DeleteJobItemApiArg = {
id: string;
};
export type PatchJobItemApiResponse = /** status 200 Job resource updated */ Job_Job_view;
export type PatchJobItemApiArg = {
id: string;
/** The updated Job resource */
body: string;
};
export type ApiJobPreviewEmailJobItemApiResponse = /** status 201 Job resource created */ Job_Job_view;
export type ApiJobPreviewEmailJobItemApiArg = {
id: string;
/** The new Job resource */
job: Job;
};
export type ApiJobGetTriggerConfigurationJobItemApiResponse = /** status 200 Job resource response */ Job_Job_view;
export type ApiJobGetTriggerConfigurationJobItemApiArg = {
id: string;
};
export type GetLocationIndicatorCollectionApiResponse = /** status 200 LocationIndicator collection response */ LocationIndicator_Indicator_view[];
export type GetLocationIndicatorCollectionApiArg = {
disabled?: boolean;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetLocationIndicatorItemApiResponse = /** status 200 LocationIndicator resource response */ LocationIndicator_Indicator_view;
export type GetLocationIndicatorItemApiArg = {
id: string;
};
export type PatchLocationIndicatorItemApiResponse = /** status 200 LocationIndicator resource updated */ LocationIndicator_Indicator_view;
export type PatchLocationIndicatorItemApiArg = {
id: string;
/** The updated LocationIndicator resource */
body: string;
};
export type DeleteLocationIndicatorItemApiResponse = unknown;
export type DeleteLocationIndicatorItemApiArg = {
id: string;
};
export type GetOfficeItemApiResponse = /** status 200 Office resource response */ Office_Office_view;
export type GetOfficeItemApiArg = {
id: string;
};
export type ApiOfficesConsultationsGetSubresourceApiResponse = /** status 200 Consultation collection response */ Consultation_Consultation_view[];
export type ApiOfficesConsultationsGetSubresourceApiArg = {
id: string;
meetingAt?: {
before?: string;
strictly_before?: string;
after?: string;
strictly_after?: string;
};
doctor?: {
""?: string[];
};
phonenumber?: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiOfficesConsultationsEventsGetSubresourceApiResponse = /** status 200 ConsultationEvent collection response */ ConsultationEvent_ConsulationEvent_view[];
export type ApiOfficesConsultationsEventsGetSubresourceApiArg = {
id: string;
consultations: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiOfficesConsultationsParticipantsGetSubresourceApiResponse = /** status 200 ConsultationParticipant collection response */ ConsultationParticipant_ConsultationParticipant_view[];
export type ApiOfficesConsultationsParticipantsGetSubresourceApiArg = {
id: string;
consultations: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiOfficesEmployeesGetSubresourceApiResponse = /** status 200 Employee collection response */ Employee_Employee_view[];
export type ApiOfficesEmployeesGetSubresourceApiArg = {
id: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetPartnershipMembersCollectionApiResponse = /** status 200 partnership_members collection response */ Partnership_members_Member_view[];
export type GetPartnershipMembersCollectionApiArg = {
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type PostPartnershipMembersCollectionApiResponse = /** status 201 partnership_members resource created */ Partnership_members_Member_view;
export type PostPartnershipMembersCollectionApiArg = {
/** The new partnership_members resource */
partnershipMembersMemberConstructor: Partnership_members_Member_constructor;
};
export type GetPartnershipMembersItemApiResponse = /** status 200 partnership_members resource response */ Partnership_members_Member_view;
export type GetPartnershipMembersItemApiArg = {
id: string;
};
export type DeletePartnershipMembersItemApiResponse = unknown;
export type DeletePartnershipMembersItemApiArg = {
id: string;
};
export type GetPartnershipCollectionApiResponse = /** status 200 Partnership collection response */ Partnership_Partnership_view[];
export type GetPartnershipCollectionApiArg = {
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type PostPartnershipCollectionApiResponse = /** status 201 Partnership resource created */ Partnership_Partnership_view;
export type PostPartnershipCollectionApiArg = {
/** The new Partnership resource */
partnership: Partnership;
};
export type GetPartnershipItemApiResponse = /** status 200 Partnership resource response */ Partnership_Partnership_view;
export type GetPartnershipItemApiArg = {
id: string;
};
export type DeletePartnershipItemApiResponse = unknown;
export type DeletePartnershipItemApiArg = {
id: string;
};
export type PatchPartnershipItemApiResponse = /** status 200 Partnership resource updated */ Partnership_Partnership_view;
export type PatchPartnershipItemApiArg = {
id: string;
/** The updated Partnership resource */
body: string;
};
export type ApiPartnershipAddLocationPartnershipItemApiResponse = /** status 201 Partnership resource created */ Partnership_Partnership_view;
export type ApiPartnershipAddLocationPartnershipItemApiArg = {
id: string;
/** The new Partnership resource */
partnership: Partnership;
};
export type ApiPartnershipCreateSeminarPartnershipItemApiResponse = /** status 201 Partnership resource created */ Partnership_Partnership_view;
export type ApiPartnershipCreateSeminarPartnershipItemApiArg = {
id: string;
/** The new Partnership resource */
partnership54789Df783Eeb45Cfa70403Fe7C3A478: Partnership_54789df783eeb45cfa70403fe7c3a478;
};
export type ApiPartnershipListDoctorsPartnershipItemApiResponse = /** status 200 Partnership resource response */ Partnership_Partnership_view;
export type ApiPartnershipListDoctorsPartnershipItemApiArg = {
id: string;
};
export type ApiPartnershipsMembersGetSubresourceApiResponse = /** status 200 partnership_members collection response */ Partnership_members_Member_view[];
export type ApiPartnershipsMembersGetSubresourceApiArg = {
id: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiPartnershipsPricesGetSubresourceApiResponse = /** status 200 CoursePrice collection response */ CoursePrice_CoursePrice_view[];
export type ApiPartnershipsPricesGetSubresourceApiArg = {
id: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiPartnershipRemoveLocationPartnershipItemApiResponse = /** status 201 Partnership resource created */ Partnership_Partnership_view;
export type ApiPartnershipRemoveLocationPartnershipItemApiArg = {
id: string;
/** The new Partnership resource */
partnership: Partnership;
};
export type GetPreviousAnswerIndicatorCollectionApiResponse = /** status 200 PreviousAnswerIndicator collection response */ PreviousAnswerIndicator_Indicator_view[];
export type GetPreviousAnswerIndicatorCollectionApiArg = {
disabled?: boolean;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetPreviousAnswerIndicatorItemApiResponse = /** status 200 PreviousAnswerIndicator resource response */ PreviousAnswerIndicator_Indicator_view;
export type GetPreviousAnswerIndicatorItemApiArg = {
id: string;
};
export type PatchPreviousAnswerIndicatorItemApiResponse = /** status 200 PreviousAnswerIndicator resource updated */ PreviousAnswerIndicator_Indicator_view;
export type PatchPreviousAnswerIndicatorItemApiArg = {
id: string;
/** The updated PreviousAnswerIndicator resource */
body: string;
};
export type DeletePreviousAnswerIndicatorItemApiResponse = unknown;
export type DeletePreviousAnswerIndicatorItemApiArg = {
id: string;
};
export type PostPushNotificationTargetCollectionApiResponse = /** status 201 PushNotificationTarget resource created */ PushNotificationTarget_PushNotificationTarget_user;
export type PostPushNotificationTargetCollectionApiArg = {
/** The new PushNotificationTarget resource */
pushNotificationTargetPushNotificationTargetConstruct: PushNotificationTarget_PushNotificationTarget_construct;
};
export type GetPushNotificationTargetItemApiResponse = /** status 200 PushNotificationTarget resource response */ PushNotificationTarget_PushNotificationTarget_user;
export type GetPushNotificationTargetItemApiArg = {
id: string;
};
export type DeletePushNotificationTargetItemApiResponse = unknown;
export type DeletePushNotificationTargetItemApiArg = {
id: string;
};
export type PostMergeUserCollectionApiResponse = /** status 200 MergeUser resource created */ MergeUser;
export type PostMergeUserCollectionApiArg = {
/** The new MergeUser resource */
mergeUser: MergeUser;
};
export type GetTaskCollectionApiResponse = /** status 200 Task collection response */ Task_Task_view[];
export type GetTaskCollectionApiArg = {
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetTaskItemApiResponse = /** status 200 Task resource response */ Task_Task_view;
export type GetTaskItemApiArg = {
id: string;
};
export type GetUserCollectionApiResponse = /** status 200 User collection response */ User_User_user[];
export type GetUserCollectionApiArg = {
name?: string;
email?: {
""?: string[];
};
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type GetUserItemApiResponse = /** status 200 User resource response */ User_User_view;
export type GetUserItemApiArg = {
id: string;
};
export type ApiUsersConsultationsGetSubresourceApiResponse = /** status 200 Consultation collection response */ Consultation_Consultation_view[];
export type ApiUsersConsultationsGetSubresourceApiArg = {
id: string;
meetingAt?: {
before?: string;
strictly_before?: string;
after?: string;
strictly_after?: string;
};
doctor?: {
""?: string[];
};
phonenumber?: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiUsersConsultationsEventsGetSubresourceApiResponse = /** status 200 ConsultationEvent collection response */ ConsultationEvent_ConsulationEvent_view[];
export type ApiUsersConsultationsEventsGetSubresourceApiArg = {
id: string;
consultations: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiUsersConsultationsParticipantsGetSubresourceApiResponse = /** status 200 ConsultationParticipant collection response */ ConsultationParticipant_ConsultationParticipant_view[];
export type ApiUsersConsultationsParticipantsGetSubresourceApiArg = {
id: string;
consultations: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiUserMergeDetailsViewUserItemApiResponse = /** status 200 User resource response */ User_User_view;
export type ApiUserMergeDetailsViewUserItemApiArg = {
id: string;
};
export type ApiUserMergeDetailsActionUserItemApiResponse = /** status 201 User resource created */ User_User_view;
export type ApiUserMergeDetailsActionUserItemApiArg = {
id: string;
/** The new User resource */
user: User;
};
export type ApiUsersPartnershipsGetSubresourceApiResponse = /** status 200 partnership_members collection response */ Partnership_members_Member_view[];
export type ApiUsersPartnershipsGetSubresourceApiArg = {
id: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiUsersPushNotificationTargetsGetSubresourceApiResponse = /** status 200 PushNotificationTarget collection response */ PushNotificationTarget_PushNotificationTarget_user[];
export type ApiUsersPushNotificationTargetsGetSubresourceApiArg = {
id: string;
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type ApiUserRefreshPushNotificationTokenUserItemApiResponse = /** status 201 User resource created */ User_ce5b4d4dbc68be5eeb4a5dae5dae4dd6_User_view;
export type ApiUserRefreshPushNotificationTokenUserItemApiArg = {
id: string;
/** The new User resource */
user9A7F5A2236Bd64Bba5F33650C1C31A47: User_9a7f5a2236bd64bba5f33650c1c31a47;
};
export type GetZingtreeTemplateCollectionApiResponse = /** status 200 ZingtreeTemplate collection response */ ZingtreeTemplate_ZingtreeTemplate_view[];
export type GetZingtreeTemplateCollectionApiArg = {
/** The collection page number */
page?: number;
/** The number of items per page */
itemsPerPage?: number;
};
export type PostZingtreeTemplateCollectionApiResponse = /** status 201 ZingtreeTemplate resource created */ ZingtreeTemplate_ZingtreeTemplate_view;
export type PostZingtreeTemplateCollectionApiArg = {
/** The new ZingtreeTemplate resource */
zingtreeTemplate: ZingtreeTemplate;
};
export type GetZingtreeTemplateItemApiResponse = /** status 200 ZingtreeTemplate resource response */ ZingtreeTemplate_ZingtreeTemplate_view;
export type GetZingtreeTemplateItemApiArg = {
id: string;
};
export type DeleteZingtreeTemplateItemApiResponse = unknown;
export type DeleteZingtreeTemplateItemApiArg = {
id: string;
};
export type PatchZingtreeTemplateItemApiResponse = /** status 200 ZingtreeTemplate resource updated */ ZingtreeTemplate_ZingtreeTemplate_view;
export type PatchZingtreeTemplateItemApiArg = {
id: string;
/** The updated ZingtreeTemplate resource */
body: string;
};
export type ReadZingtreeTemplateItemApiResponse = unknown;
export type ReadZingtreeTemplateItemApiArg = {
id: string;
};
export type Indicator_Indicator_view = {
id?: number;
order?: number;
group?: string | null;
title?: string;
remoteId?: string | null;
createdAt?: string;
disabled?: boolean;
version?: number;
optional?: boolean;
description?: string;
dependencies?: string[];
relianceOn?: string[];
form?: string | null;
"public"?: boolean;
dependencyMethods?: string[];
subType?: string;
};
export type AbstractAnswer_AnswerSet_view = {
id?: number;
indicator?: string | null;
reportedAt?: string;
value?: any;
};
export type Location_AnswerSet_view = {
id?: number;
externalOffice?: string | null;
county?: string | null;
region?: number | null;
country?: number | null;
};
export type AnswerSet_AnswerSet_view = {
id?: number;
answers?: AbstractAnswer_AnswerSet_view[];
task?: string | null;
reportedAt?: string;
tag?: number | null;
approved?: boolean;
form?: string | null;
newLocation?: (Location_AnswerSet_view) | null;
};
export type CourseStatus = {
id?: number;
description?: string;
icon?: string;
course?: string | null;
};
export type Signup = {
status?: (CourseStatus) | null;
epj?: string | null;
signupLink?: string | null;
hidden?: boolean;
counselor?: string | null;
extra?: string[];
group?: string | null;
medrave?: number;
"new"?: boolean;
id?: number;
office?: string | null;
county?: string | null;
createdAt?: string;
notes?: string | null;
userSignups?: UserSignup[];
users?: UserSignup[];
usersCreated?: boolean;
officeCreated?: boolean;
informationSent?: boolean;
price?: number;
course?: string | null;
assignedGroup?: boolean;
usersAndOfficeCreated?: boolean;
userSignup?: UserSignup[];
name?: string;
invoicePayedAt?: boolean;
};
export type Event = {
propagationStopped?: boolean;
};
export type UserSignup = {
id?: number;
user?: string | null;
signup?: (Signup) | null;
createdAt?: string;
events?: Event[];
};
export type InvoiceDetails = {
id?: number;
invoiceReceiver?: string;
user?: string | null;
"type"?: number;
privateOrgNr?: string | null;
companyOrgNr?: string | null;
mailingAddress?: string | null;
zipCode?: number | null;
postal?: string | null;
emailForInvoiceReceipt?: string | null;
invoiceReference?: string | null;
resourceNumber?: string | null;
invoiceDetailsConfirmedAt?: string;
userCourse?: (UserCourse) | null;
name?: any;
};
export type UserCourse = {
invoiceSentAt?: string | null;
activeTask?: (UserTask) | null;
progressType?: number;
certificate?: string | null;
courseAcknowledged?: number;
acceptedAt?: string | null;
coursePoints?: number | null;
totalPointsPossible?: number;
userSignups?: UserSignup[];
signups?: Signup[];
id?: number;
user?: string | null;
status?: (CourseStatus) | null;
role?: number;
course?: string | null;
progress?: number;
statusDescription?: string;
completedAt?: string | null;
price?: string | null;
createdAt?: string;
invoicePayedAt?: string | null;
invoiceDetails?: (InvoiceDetails) | null;
tasks?: UserTask[];
counselor?: boolean;
admin?: boolean;
completed?: boolean;
userTask?: UserTask[];
courseOpened?: boolean;
paymentRequired?: boolean;
events?: Event[];
};
export type UserMeeting = {
id?: number;
meeting?: (Meeting) | null;
user?: string | null;
userTask?: (UserTask) | null;
attended?: boolean;
createdAt?: string | null;
};
export type Meeting = {
task?: string | null;
createdAt?: string;
course?: string | null;
deleted?: boolean;
summary?: string;
location?: string;
subject?: number | null;
id?: number;
time?: string;
group?: string | null;
description?: string;
users?: UserMeeting[];
attendedUsers?: string[];
availableUsers?: string[];
userMeetings?: UserMeeting[];
userMeeting?: UserMeeting[];
name?: string;
futureMeeting?: boolean;
pastMeeting?: boolean;
};
export type AbstractAnswer = {
value?: any;
fault?: boolean;
missing?: boolean;
id?: number;
indicator?: string | null;
reportedAt?: string;
valid?: boolean;
answerSet?: string | null;
};
export type UserTask = {
easyGeneratorPassword?: string | null;
answerSets?: string[];
lastAnswerSet?: string | null;
medraveHash?: string | null;
course?: (UserCourse) | null;
token?: string | null;
completedAt?: string | null;
content?: any;
userMeetings?: Meeting[];
uniqueId?: string;
scormFile?: string | null;
easyGeneratorEmail?: string;
id?: number;
user?: string | null;
task?: string | null;
createdAt?: string;
startedAt?: string | null;
progress?: number;
completed?: boolean;
tokenExpireAt?: string | null;
started?: boolean;
answers?: AbstractAnswer[];
lastUpdatedAt?: string | null;
};
export type Location = {
partnership?: string | null;
id?: number;
user?: string | null;
office?: string | null;
county?: string | null;
region?: number | null;
regionName?: string | null;
country?: number | null;
createdAt?: string;
externalOffice?: string | null;
};
export type AnswerSet = {
id?: number;
userTask?: UserTask;
answers?: AbstractAnswer[];
task?: string | null;
location?: number | null;
approved?: boolean;
reportedAt?: string;
tag?: number | null;
remoteId?: string;
answer?: string[];
newLocation?: (Location) | null;
form?: string | null;
};
export type ConsultationEvent_ConsulationEvent_view = {
id?: number;
createdAt?: string;
event?: number;
data?: string[];
consultation?: string | null;
role?: number;
eventString?: string;
roleString?: string;
};
export type ConsultationParticipant_ConsultationParticipant_view = {
id?: number;
createdAt?: string;
disconnectedAt?: string | null;
duration?: number | null;
connectedAt?: string | null;
message?: string;
error?: boolean;
lastPingAt?: string | null;
state?: string | null;
upload?: number | null;
download?: number | null;
name?: string;
alive?: boolean;
patient?: boolean;
};
export type ConsultationParticipant_Consultation_view = {
id?: number;
createdAt?: string;
disconnectedAt?: string | null;
duration?: number | null;
connectedAt?: string | null;
message?: string;
error?: boolean;
lastPingAt?: string | null;
state?: string | null;
upload?: number | null;
download?: number | null;
name?: string;
alive?: boolean;
patient?: boolean;
};
export type Consultation_Consultation_view = {
id?: number;
office?: string | null;
createdAt?: string;
meetingAt?: string;
duration?: number | null;
entryCode?: string;
phonenumber?: string;
name?: string;
createdBy?: string | null;
participants?: ConsultationParticipant_Consultation_view[];
doctor?: string | null;
message?: string;
doctorLastName?: string;
room?: string;
active?: boolean;
onlineParticipantsCount?: number;
};
export type Consultation_Consultation_construct = {
office?: string | null;
meetingAt?: string;
phonenumber?: string;
name?: string;
doctor?: string | null;
message?: string;
};
export type ConsultationParticipant = {
upload?: number | null;
download?: number | null;
bandwidth?: number | null;
state?: string | null;
alive?: boolean;
patient?: boolean;
name?: string;
lastPingAt?: string | null;
connectedAt?: string | null;
error?: boolean;
id?: number;
createdAt?: string;
disconnectedAt?: string | null;
duration?: number | null;
status?: string;
message?: string;
};
export type Consultation = {
id?: number;
office?: string | null;
createdAt?: string;
meetingAt?: string;
entryCode?: string;
doctor?: string | null;
doctorLastName?: string;
name?: string;
events?: string[];
phonenumber?: string;
createdBy?: string | null;
duration?: number | null;
room?: string;
active?: boolean;
deleted?: boolean;
participants?: ConsultationParticipant[];
onlineParticipantsCount?: number;
message?: string;
};
export type County_County_view = {
id?: number;
name?: string;
region?: string;
regionId?: number;
};
export type ExternalOffice_ExternalOffice_anonymous = {
id?: number;
name?: string;
address?: string;
county?: string | null;
telephone?: string;
openingHours?: string;
url?: string;
universalAccess?: boolean;
groupOffice?: boolean;
orgnr?: string | null;
};
export type Office_Office_view = {
id?: number;
name?: string;
orgNr?: string;
phoneNumber?: string | null;
postCode?: string;
address?: string;
externalOffice?: string | null;
createdAt?: string | null;
hospital?: boolean;
nefle?: boolean;
invoiceEmail?: string | null;
};
export type Employee_Employee_view = {
id?: number;
office?: string | null;
user?: string | null;
nefleAdmin?: boolean;
itContact?: boolean;
contact?: boolean;
createdAt?: string;
role?: number;
name?: string;
};
export type CoursePrice_CoursePrice_view = {
id?: number;
description?: string;
price?: number;
course?: string | null;
signupFrom?: string | null;
signupTo?: string | null;
signupLimit?: number;
partnership?: string | null;
medraveIncluded?: boolean;
active?: boolean;
availableSlots?: boolean;
usedSlots?: number;
};
export type CoursePrice_CoursePrice_construct_CoursePrice_write = {
description?: string;
price?: number;
course?: string | null;
signupFrom?: string | null;
signupTo?: string | null;
signupLimit?: number;
partnership?: string | null;
medraveIncluded?: boolean;
};
export type Course_Course_view = {
id?: number;
description?: string | null;
title?: string;
shortTitle?: string;
link?: string | null;
signupLink?: string | null;
signupAllowed?: boolean;
availableEvents?: string[];
};
export type Job_Job_view = {
id?: number;
when?: number;
days?: number;
title?: string;
content?: string;
trigger?: string;
task?: string | null;
ifTask?: string | null;
ifCourse?: boolean;
ifState?: number;
event?: number;
userType?: number;
course?: string | null;
description?: string;
};
export type Task_Task_view = {
id?: number;
title?: string;
linkDescription?: string | null;
description?: string;
priority?: number;
tag?: number | null;
course?: string | null;
points?: number;
anonymous?: boolean;
hidden?: boolean;
deactivated?: boolean;
form?: string | null;
submissions?: number;
};
export type File_file = object;
export type File_File_view = {
id?: string;
filename?: string;
createdAt?: string;
mimeType?: string;
size?: number;
"type"?: number;
};
export type File = {
id?: string;
filename?: string;
createdAt?: string;
mimeType?: string;
size?: number;
"type"?: number;
};
export type Form_Form_view = {
id?: number;
name?: string;
course?: string | null;
indicatorGroups?: string[];
indicators?: string[];
tasks?: string[];
createdAt?: string;
locationMetadata?: number | null;
};
export type Form_IndicatorDependency_view = object;
export type IndicatorGroup_IndicatorGroup_view = {
id?: number;
indicators?: string[];
order?: number;
title?: string;
disabled?: boolean;
};
export type Group_Group_view = {
id?: number;
};
export type IndicatorDependency_IndicatorDependency_view = {
id?: number;
method?: number;
indicator?: string | null;
dependent?: string | null;
value?: string;
};
export type IndicatorDependency_IndicatorDependency_create = {
method?: number;
indicator?: string | null;
dependent?: string | null;
value?: string;
};
export type Job_Job_construct_Job_write = {
when?: number;
days?: number;
title?: string;
content?: string;
trigger?: string;
task?: string | null;
ifTask?: string | null;
ifCourse?: boolean;
ifState?: number;
event?: number;
userType?: number;
};
export type Swift_Mime_SimpleHeaderSet = {
charset?: any;
mailboxHeader?: string[];
dateHeader?: string[];
textHeader?: string[];
parameterizedHeader?: string[];
idHeader?: string[];
pathHeader?: string[];
all?: string[];
alwaysDisplayed?: string[];
};
export type Swift_Mime_ContentEncoder = {
name?: string;
};
export type Swift_Mime_SimpleMimeEntity = {
headers?: Swift_Mime_SimpleHeaderSet;
nestingLevel?: number;
contentType?: string;
bodyContentType?: string;
id?: any;
description?: string;
maxLineLength?: number;
children?: string[];
body?: any;
encoder?: Swift_Mime_ContentEncoder;
boundary?: any;
};
export type Swift_Message = {
part?: string[];
nestingLevel?: number;
subject?: string;
date?: string;
returnPath?: string;
sender?: string;
"from"?: any;
replyTo?: string;
to?: string[];
cc?: string[];
bcc?: string[];
priority?: number;
readReceiptTo?: string;
body?: string;
charset?: string;
format?: string;
delSp?: boolean;
headers?: Swift_Mime_SimpleHeaderSet;
contentType?: string;
bodyContentType?: string;
id?: string;
description?: string;
maxLineLength?: number;
children?: Swift_Mime_SimpleMimeEntity[];
encoder?: Swift_Mime_ContentEncoder;
boundary?: string;
};
export type UserRecipient = {
email?: string;
blindMessage?: (Message) | null;
name?: string;
id?: string;
sentAt?: string | null;
readAt?: string | null;
user?: string | null;
validEmail?: boolean;
message?: (Message) | null;
cancelledAt?: string | null;
sent?: (Swift_Message) | null;
};
export type TemplateGroup = {
id?: number;
name?: string;
templates?: Message[];
};
export type Attachment = {
cid?: string | null;
id?: number;
filename?: string;
message?: (Message) | null;
name?: string;
};
export type Message = {
id?: number;
copiedFrom?: (Message) | null;
title?: string;
content?: string;
sent?: string;
recipients?: UserRecipient[];
recipient?: any;
blindRecipients?: UserRecipient[];
"from"?: string | null;
sendAfter?: string | null;
fromEmail?: string;
fromName?: string;
hidden?: boolean;
"type"?: number;
templateGroup?: (TemplateGroup) | null;
attachments?: Attachment[];
attachment?: Attachment[];
customFromAddress?: string;
triggerJob?: string | null;
course?: string | null;
name?: string;
emailRecipient?: string[];
userRecipient?: string[];
};
export type Job = {
ifCourse?: boolean;
userType?: number;
event?: number;
id?: number;
days?: number;
title?: string;
content?: string;
task?: string | null;
ifTask?: string | null;
ifState?: number;
when?: number;
trigger?: string;
description?: string;
course?: string | null;
message?: Message[];
};
export type LocationIndicator_Indicator_view = {
locationLevel?: string;
id?: number;
order?: number;
group?: string | null;
title?: string;
remoteId?: string | null;
createdAt?: string;
disabled?: boolean;
version?: number;
optional?: boolean;
description?: string;
dependencies?: string[];
relianceOn?: string[];
form?: string | null;
"public"?: boolean;
subType?: string;
dependencyMethods?: string[];
};
export type Partnership_members_Member_view = {
id?: number;
user?: string | null;
partnership?: string | null;
userName?: string;
};
export type Partnership_members_Member_constructor = {
user?: string | null;
partnership?: string | null;
};
export type Location_Partnership_view = {
id?: number;
office?: string | null;
county?: string | null;
region?: number | null;
country?: number | null;
};
export type Partnership_Partnership_view = {
id?: number;
name?: string;
userTerms?: string | null;
signupFrom?: string | null;
signupTo?: string | null;
dealFrom?: string;
dealTo?: string;
createdAt?: string;
description?: string;
prices?: string[];
price?: number;
signupLimit?: number;
medraveIncluded?: boolean;
locations?: Location_Partnership_view[];
seminars?: string[];
usedSlots?: number;
};
export type Partnership = {
id?: number;
seminars?: string[];
signupLimit?: number;
medraveIncluded?: boolean;
prices?: string[];
name?: string;
userTerms?: string | null;
signupFrom?: string | null;
signupTo?: string | null;
dealFrom?: string;
dealTo?: string;
members?: string[];
locations?: Location[];
coursePrice?: string[];
price?: number;
createdAt?: string;
description?: string;
usedSlots?: number;
};
export type CreateSeminarHelfoUserDTO = {
id?: string;
email?: string;
};
export type Partnership_54789df783eeb45cfa70403fe7c3a478 = {
signupLimit?: number;
signupFrom?: string | null;
signupTo?: string | null;
time?: string;
location?: string;
users?: string;
helfoUsers?: CreateSeminarHelfoUserDTO[];
};
export type PreviousAnswerIndicator_Indicator_view = {
previousAnswerIndicator?: (Indicator_Indicator_view) | null;
id?: number;
order?: number;
group?: string | null;
title?: string;
remoteId?: string | null;
createdAt?: string;
disabled?: boolean;
version?: number;
optional?: boolean;
description?: string;
dependencies?: string[];
relianceOn?: string[];
form?: string | null;
"public"?: boolean;
subType?: string;
dependencyMethods?: string[];
};
export type PushNotificationTarget_PushNotificationTarget_user = {
id?: number;
token?: string;
description?: string;
user?: string | null;
binding?: string | null;
};
export type PushNotificationTarget_PushNotificationTarget_construct = {
token?: string;
description?: string;
};
export type MergeUserTaskDTO = {
id?: number;
task?: string;
taskName?: string;
completedAt?: string | null;
createdAt?: string;
lastUpdatedAt?: string | null;
startedAt?: string | null;
progress?: number;
};
export type MergeUserCourseDTO = {
course?: string;
id?: number;
tasks?: MergeUserTaskDTO[];
};
export type OfficeRolesDTO = {
isContact?: boolean;
isItContact?: boolean;
nefleAdmin?: boolean;
officeConsultationsAdmin?: boolean;
};
export type MergeUser = {
email?: string;
location?: string;
name?: string;
mobile?: string;
office?: string;
user1?: string;
user2?: string;
message?: string;
courses?: MergeUserCourseDTO[];
officeRoles?: OfficeRolesDTO;
};
export type User_User_user = {
id?: number;
name?: string | null;
officeName?: string | null;
};
export type User_User_view = {
id?: number;
email?: string | null;
name?: string | null;
skilEmployee?: boolean;
};
export type UserGroup = {
id?: number;
user?: string | null;
group?: string | null;
createdAt?: string | null;
removedAt?: string | null;
removed?: boolean;
counselor?: boolean;
leader?: boolean;
contact?: boolean;
};
export type Counselor = {
id?: number;
active?: boolean;
user?: string | null;
KUL?: boolean;
description?: string;
};
export type QualityStatus = {
id?: number;
meetingAt?: string;
madeChanges?: boolean;
description?: string;
success?: number;
newChange?: boolean;
newDescription?: string;
nextMeetingDate?: string | null;
finished?: boolean;
project?: (QualityProject) | null;
};
export type QualityProject = {
createdBy?: string | null;
createdAt?: string;
nextMeeting?: string;
workDescription?: string;
id?: number;
name?: string;
status?: string;
statuses?: QualityStatus[];
lastStatus?: (QualityStatus) | null;
description?: string;
office?: string | null;
qualityStatus?: QualityStatus[];
};
export type CountyAccess = {
id?: number;
county?: string | null;
user?: string | null;
viewGroups?: boolean;
};
export type Comment = {
id?: number;
course?: string | null;
user?: string | null;
comment?: string;
createdAt?: string;
task?: string | null;
resolvedAt?: string | null;
comments?: Comment[];
parent?: (Comment) | null;
resolvedBy?: string | null;
};
export type User = {
id?: number;
email?: string | null;
buypassId?: number | null;
hpn?: number | null;
seenWelcomeScreen?: number;
mobile?: string | null;
password?: string | null;
location?: string | null;
name?: string | null;
office?: string | null;
employee?: string;
pushNotificationTargets?: string[];
userCourses?: UserCourse[];
userCourse?: UserCourse[];
groups?: UserGroup[];
userGroups?: UserGroup[];
userSignups?: UserSignup[];
meetings?: UserMeeting[];
description?: string;
counselor?: (Counselor) | null;
medraveId?: string | null;
tasks?: UserTask[];
newsletter?: number;
qualityProjects?: QualityProject[];
qualityProjectStatuses?: QualityStatus[];
county?: string | null;
countyAccess?: CountyAccess[];
verificationCode?: any;
userGroup?: UserGroup[];
skilEmployee?: boolean;
ssnHash?: string | null;
additionalRoles?: string[];
male?: boolean | null;
userSignup?: UserSignup[];
userMessage?: UserRecipient[];
courseComments?: Comment[];
accountNr?: string;
consultations?: string[];
confirmedUserDetailsPreviouslyAt?: string | null;
invoiceDetails?: InvoiceDetails[];
nefleVideoContract?: string | null;
files?: string[];
ownedFile?: string[];
patnership?: string[];
events?: Event[];
};
export type User_ce5b4d4dbc68be5eeb4a5dae5dae4dd6_User_view = object;
export type User_9a7f5a2236bd64bba5f33650c1c31a47 = {
previousToken?: string;
newToken?: string;
bindingType?: string;
};
export type ZingtreeTemplate_ZingtreeTemplate_view = {
id?: number;
name?: string;
content?: string;
createdAt?: string;
};
export type ZingtreeTemplate = {
id?: number;
name?: string;
content?: string;
createdAt?: string;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment