5 August 2022
QuotesGraphQL
Changes:
-
[API] Added QuoteRequestStateTransition Message, StagedQuoteStateTransition Message and QuoteStateTransition Message.
-
[GraphQL API] Added the following types to the GraphQL schema:
TransitionQuoteRequestState,TransitionQuoteStateandTransitionStagedQuoteState. -
[GraphQL API] Changed the
QuoteRequestDrafttype:- Input field
statewas added toQuoteRequestDrafttype
- Input field
-
[GraphQL API] Changed the
StagedQuoteUpdateActiontype:- Input field
transitionStatewas added toStagedQuoteUpdateActiontype
- Input field
-
[GraphQL API] Changed the
QuoteRequestUpdateActiontype:- Input field
transitionStatewas added toQuoteRequestUpdateActiontype
- Input field
-
[GraphQL API] Changed the
StateTypetype:- Enum value
QuoteRequestStatewas added to enumStateType - Enum value
QuoteStatewas added to enumStateType - Enum value
StagedQuoteStatewas added to enumStateType
- Enum value
-
[GraphQL API] Changed the
QuoteUpdateActiontype:- Input field
transitionStatewas added toQuoteUpdateActiontype
- Input field
-
[GraphQL API] Changed the
QuoteRequesttype:- Added the
statefield to theQuoteRequesttype. - Added the
stateReffield to theQuoteRequesttype.
- Added the
-
[GraphQL API] Changed the
StagedQuoteDrafttype:- Input field
statewas added toStagedQuoteDrafttype
- Input field
-
[GraphQL API] Changed the
StagedQuotetype:- Added the
statefield to theStagedQuotetype. - Added the
stateReffield to theStagedQuotetype.
- Added the
-
[GraphQL API] Changed the
QuoteDrafttype:- Input field
statewas added toQuoteDrafttype
- Input field
-
[GraphQL API] Changed the
Quotetype:- Added the
statefield to theQuotetype. - Added the
stateReffield to theQuotetype.
- Added the
The following changes were introduced in terms of GraphQL SDL:
extend type StagedQuote {
state: State
stateRef: Reference
}
extend type Quote {
state: State
stateRef: Reference
}
extend type QuoteRequest {
state: State
stateRef: Reference
}
extend input QuoteRequestDraft {
state: ReferenceInput
}
extend input StagedQuoteUpdateAction {
transitionState: TransitionStagedQuoteState
}
extend input QuoteRequestUpdateAction {
transitionState: TransitionQuoteRequestState
}
extend input StagedQuoteDraft {
state: ReferenceInput
}
extend input QuoteDraft {
state: ReferenceInput
}
extend input QuoteUpdateAction {
transitionState: TransitionQuoteState
}
extend enum StateType {
QuoteRequestState
QuoteState
StagedQuoteState
}
input TransitionQuoteRequestState {
state: ResourceIdentifierInput!
force: Boolean = false
}
input TransitionQuoteState {
state: ResourceIdentifierInput!
force: Boolean = false
}
input TransitionStagedQuoteState {
state: ResourceIdentifierInput!
force: Boolean = false
}