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
state
to QuoteRequest, StagedQuote and Quote.[API] Added optional field
state
to 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
,TransitionQuoteState
andTransitionStagedQuoteState
.[GraphQL API] Changed the
QuoteRequestDraft
type:- Input field
state
was added toQuoteRequestDraft
type
- Input field
[GraphQL API] Changed the
StagedQuoteUpdateAction
type:- Input field
transitionState
was added toStagedQuoteUpdateAction
type
- Input field
[GraphQL API] Changed the
QuoteRequestUpdateAction
type:- Input field
transitionState
was added toQuoteRequestUpdateAction
type
- Input field
[GraphQL API] Changed the
StateType
type:- Enum value
QuoteRequestState
was added to enumStateType
- Enum value
QuoteState
was added to enumStateType
- Enum value
StagedQuoteState
was added to enumStateType
- Enum value
[GraphQL API] Changed the
QuoteUpdateAction
type:- Input field
transitionState
was added toQuoteUpdateAction
type
- Input field
[GraphQL API] Changed the
QuoteRequest
type:- Added the
state
field to theQuoteRequest
type. - Added the
stateRef
field to theQuoteRequest
type.
- Added the
[GraphQL API] Changed the
StagedQuoteDraft
type:- Input field
state
was added toStagedQuoteDraft
type
- Input field
[GraphQL API] Changed the
StagedQuote
type:- Added the
state
field to theStagedQuote
type. - Added the
stateRef
field to theStagedQuote
type.
- Added the
[GraphQL API] Changed the
QuoteDraft
type:- Input field
state
was added toQuoteDraft
type
- Input field
[GraphQL API] Changed the
Quote
type:- Added the
state
field to theQuote
type. - Added the
stateRef
field to theQuote
type.
- 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}