Skip to content

Commit

Permalink
fix(condo): DOMA-10798 added deferredUntil to getTicketById
Browse files Browse the repository at this point in the history
  • Loading branch information
nomerdvadcatpyat committed Dec 5, 2024
1 parent 5619814 commit bbedd7e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/callcenter
1 change: 1 addition & 0 deletions apps/condo/domains/ticket/queries/Ticket.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ query getTicketById ($id: ID!) {
feedbackAdditionalOptions
feedbackComment
deadline
deferredUntil
completedAt
unitType
unitName
Expand Down
7 changes: 6 additions & 1 deletion apps/condo/gql/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2638,6 +2638,7 @@ export const GetTicketByIdDocument = gql`
feedbackAdditionalOptions
feedbackComment
deadline
deferredUntil
completedAt
unitType
unitName
Expand Down Expand Up @@ -3114,7 +3115,11 @@ export type GetTicketCommentsSuspenseQueryHookResult = ReturnType<typeof useGetT
export type GetTicketCommentsQueryResult = Apollo.QueryResult<Types.GetTicketCommentsQuery, Types.GetTicketCommentsQueryVariables>
export const GetPollTicketCommentsDocument = gql`
query getPollTicketComments($where: TicketCommentWhereInput!) {
ticketComments: allTicketComments(where: $where, sortBy: [updatedAt_DESC]) {
ticketComments: allTicketComments(
where: $where
first: 100
sortBy: [updatedAt_DESC]
) {
id
updatedAt
ticket {
Expand Down
2 changes: 1 addition & 1 deletion apps/condo/gql/operation.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export type GetTicketByIdQueryVariables = Types.Exact<{
}>


export type GetTicketByIdQuery = { __typename?: 'Query', tickets?: Array<{ __typename?: 'Ticket', id: string, number?: number | null, propertyAddress?: string | null, createdAt?: string | null, isEmergency?: boolean | null, isPayable?: boolean | null, isWarranty?: boolean | null, statusReopenedCounter?: number | null, statusUpdatedAt?: string | null, canReadByResident?: boolean | null, qualityControlValue?: Types.TicketQualityControlValueType | null, qualityControlAdditionalOptions?: Array<Types.QualityControlAdditionalOptionsType | null> | null, qualityControlComment?: string | null, feedbackValue?: Types.TicketFeedbackValueType | null, feedbackAdditionalOptions?: Array<Types.FeedbackAdditionalOptionsType | null> | null, feedbackComment?: string | null, deadline?: string | null, completedAt?: string | null, unitType?: Types.TicketUnitTypeType | null, unitName?: string | null, sectionName?: string | null, sectionType?: Types.TicketSectionTypeType | null, floorName?: string | null, isResidentTicket?: boolean | null, clientName?: string | null, clientPhone?: string | null, details?: string | null, propertyAddressMeta?: { __typename?: 'AddressMetaField', data: { __typename?: 'AddressMetaDataField', street_with_type?: string | null, house_type?: string | null, house?: string | null, block_type?: string | null, block?: string | null, flat_type?: string | null, flat?: string | null, region_type_full?: string | null, region: string, region_with_type?: string | null, city_with_type?: string | null, city?: string | null, settlement_with_type?: string | null, area_with_type?: string | null } } | null, organization?: { __typename?: 'Organization', id: string, type?: Types.OrganizationTypeType | null, name?: string | null, statusTransitions?: any | null, country?: Types.OrganizationCountryType | null } | null, assignee?: { __typename?: 'User', id: string } | null, executor?: { __typename?: 'User', id: string } | null, property?: { __typename?: 'Property', id: string, deletedAt?: string | null, address?: string | null, addressMeta?: { __typename?: 'AddressMetaField', data: { __typename?: 'AddressMetaDataField', street_with_type?: string | null, house_type?: string | null, house?: string | null, block_type?: string | null, block?: string | null, flat_type?: string | null, flat?: string | null, region_type_full?: string | null, region: string, region_with_type?: string | null, city_with_type?: string | null, city?: string | null, settlement_with_type?: string | null, area_with_type?: string | null } } | null } | null, classifier?: { __typename?: 'TicketClassifier', id: string, place?: { __typename?: 'TicketPlaceClassifier', id: string, name?: string | null } | null, category?: { __typename?: 'TicketCategoryClassifier', id: string, name?: string | null } | null, problem?: { __typename?: 'TicketProblemClassifier', id: string, name?: string | null } | null } | null, createdBy?: { __typename?: 'User', id: string, name?: string | null, type?: Types.UserTypeType | null } | null, source?: { __typename?: 'TicketSource', id: string, name?: string | null } | null, status?: { __typename?: 'TicketStatus', id: string, type?: Types.TicketStatusTypeType | null, name?: string | null, colors?: { __typename?: 'TicketStatusColorsField', primary?: string | null, secondary?: string | null } | null } | null, client?: { __typename?: 'User', id: string } | null, contact?: { __typename?: 'Contact', id: string, name?: string | null, phone?: string | null } | null } | null> | null }
export type GetTicketByIdQuery = { __typename?: 'Query', tickets?: Array<{ __typename?: 'Ticket', id: string, number?: number | null, propertyAddress?: string | null, createdAt?: string | null, isEmergency?: boolean | null, isPayable?: boolean | null, isWarranty?: boolean | null, statusReopenedCounter?: number | null, statusUpdatedAt?: string | null, canReadByResident?: boolean | null, qualityControlValue?: Types.TicketQualityControlValueType | null, qualityControlAdditionalOptions?: Array<Types.QualityControlAdditionalOptionsType | null> | null, qualityControlComment?: string | null, feedbackValue?: Types.TicketFeedbackValueType | null, feedbackAdditionalOptions?: Array<Types.FeedbackAdditionalOptionsType | null> | null, feedbackComment?: string | null, deadline?: string | null, deferredUntil?: string | null, completedAt?: string | null, unitType?: Types.TicketUnitTypeType | null, unitName?: string | null, sectionName?: string | null, sectionType?: Types.TicketSectionTypeType | null, floorName?: string | null, isResidentTicket?: boolean | null, clientName?: string | null, clientPhone?: string | null, details?: string | null, propertyAddressMeta?: { __typename?: 'AddressMetaField', data: { __typename?: 'AddressMetaDataField', street_with_type?: string | null, house_type?: string | null, house?: string | null, block_type?: string | null, block?: string | null, flat_type?: string | null, flat?: string | null, region_type_full?: string | null, region: string, region_with_type?: string | null, city_with_type?: string | null, city?: string | null, settlement_with_type?: string | null, area_with_type?: string | null } } | null, organization?: { __typename?: 'Organization', id: string, type?: Types.OrganizationTypeType | null, name?: string | null, statusTransitions?: any | null, country?: Types.OrganizationCountryType | null } | null, assignee?: { __typename?: 'User', id: string } | null, executor?: { __typename?: 'User', id: string } | null, property?: { __typename?: 'Property', id: string, deletedAt?: string | null, address?: string | null, addressMeta?: { __typename?: 'AddressMetaField', data: { __typename?: 'AddressMetaDataField', street_with_type?: string | null, house_type?: string | null, house?: string | null, block_type?: string | null, block?: string | null, flat_type?: string | null, flat?: string | null, region_type_full?: string | null, region: string, region_with_type?: string | null, city_with_type?: string | null, city?: string | null, settlement_with_type?: string | null, area_with_type?: string | null } } | null } | null, classifier?: { __typename?: 'TicketClassifier', id: string, place?: { __typename?: 'TicketPlaceClassifier', id: string, name?: string | null } | null, category?: { __typename?: 'TicketCategoryClassifier', id: string, name?: string | null } | null, problem?: { __typename?: 'TicketProblemClassifier', id: string, name?: string | null } | null } | null, createdBy?: { __typename?: 'User', id: string, name?: string | null, type?: Types.UserTypeType | null } | null, source?: { __typename?: 'TicketSource', id: string, name?: string | null } | null, status?: { __typename?: 'TicketStatus', id: string, type?: Types.TicketStatusTypeType | null, name?: string | null, colors?: { __typename?: 'TicketStatusColorsField', primary?: string | null, secondary?: string | null } | null } | null, client?: { __typename?: 'User', id: string } | null, contact?: { __typename?: 'Contact', id: string, name?: string | null, phone?: string | null } | null } | null> | null }

export type GetTicketByCreatedByQueryVariables = Types.Exact<{
userId: Types.Scalars['ID']['input']
Expand Down

0 comments on commit bbedd7e

Please sign in to comment.