Added 'state' to QuoteRequest, StagedQuote, and Quote
You can now set States reflecting custom business logic on QuoteRequests, StagedQuotes, and Quotes.
Changes:
[API] Added optional field
stateto QuoteRequest, StagedQuote and Quote.[API] Added optional field
stateto QuoteRequestDraft, StagedQuoteDraft and QuoteDraft.[API] Added Transition State update action to QuoteRequest, StagedQuote and Quote.
[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: StatestateRef: Reference}extend type Quote {state: StatestateRef: Reference}extend type QuoteRequest {state: StatestateRef: 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 {QuoteRequestStateQuoteStateStagedQuoteState}input TransitionQuoteRequestState {state: ResourceIdentifierInput!force: Boolean = false}input TransitionQuoteState {state: ResourceIdentifierInput!force: Boolean = false}input TransitionStagedQuoteState {state: ResourceIdentifierInput!force: Boolean = false}