All Release Notes
Audit Log now tracks changes on Quote Request, Staged Quotes and Quotes
18 July 2022
Enhancement
SecurityQuotesGraphQL
We have extended the capabilities of Audit Log to include the tracking of changes made on Quotes, Quote Requests, and Staged Quotes. With this enhancement, all Changes performed on Quotes, Quotes Requests and Staged Quotes are tracked from now on and these Changes are now retrievable via API.
Changes:
- [API] Added scopes
view_quotes:{projectKey},view_quotes:{projectKey}, andview_quotes:{projectKey}. - [API] Added
quote,quote-request, andstaged-quoteto ChangeHistoryResourceType. - [API] Added ChangeQuoteRequestStateChange, ChangeQuoteStateChange, ChangeStagedQuoteStateChange, SetSellerCommentChange, and SetValidToChange.
- [API] Added StagedQuoteLabel, QuoteRequestLabel, QuoteLabel, and StagedQuoteLabel.
- [GraphQL API] Added the following types to the graphQL schema:
QuoteRequestChangeInput,QuoteChangeInputandStagedQuoteChangeInput. - [GraphQL API] Added
QuoteRequestLabel,QuoteLabel, andStagedQuoteLabeltype. - [GraphQL API] Added queries
quoteRequestandquoteRequests. - [GraphQL API] Added queries
quoteandquotes. - [GraphQL API] Added queries
stagedQuoteandstagedQuotes. - [GraphQL API] Added
QuoteRequest,Quote, andStagedQuoteto the ResourceType enum.
The following change was introduced in terms of GraphQL SDL:
quote(changes: [QuoteChangeInput!]clientId: StringcustomerId: Stringdate: DateRangeexpand: Booleanid: String!limit: Intoffset: Intsource: Sourcestores: [String!]userId: Stringtype: Type): ChangeHistoryQueryResults!@auth(permissions: [view_audit_log, view_quotes])quotes(changes: [QuoteChangeInput!]clientId: StringcustomerId: Stringdate: DateRangeexpand: Booleanlimit: Intoffset: Intsource: Sourcestores: [String!]userId: Stringtype: Type): ChangeHistoryQueryResults!@auth(permissions: [view_audit_log, view_quotes])quoteRequest(changes: [QuoteRequestChangeInput!]clientId: StringcustomerId: Stringdate: DateRangeexpand: Booleanid: String!limit: Intoffset: Intsource: Sourcestores: [String!]userId: Stringtype: Type): ChangeHistoryQueryResults!@auth(permissions: [view_audit_log, view_quote_requests])quoteRequests(changes: [QuoteRequestChangeInput!]clientId: StringcustomerId: Stringdate: DateRangeexpand: Booleanlimit: Intoffset: Intsource: Sourcestores: [String!]userId: Stringtype: Type): ChangeHistoryQueryResults!@auth(permissions: [view_audit_log, view_quote_requests])stagedQuote(changes: [StagedQuoteChangeInput!]clientId: StringcustomerId: Stringdate: DateRangeexpand: Booleanid: String!limit: Intoffset: Intsource: Sourcestores: [String!]userId: Stringtype: Type): ChangeHistoryQueryResults!@auth(permissions: [view_audit_log, view_staged_quotes])stagedQuotes(changes: [StagedQuoteChangeInput!]clientId: StringcustomerId: Stringdate: DateRangeexpand: Booleanlimit: Intoffset: Intsource: Sourcestores: [String!]userId: Stringtype: Type): ChangeHistoryQueryResults!@auth(permissions: [view_audit_log, view_staged_quotes])type QuoteLabel {key: Stringcustomer: ReferencequoteRequest: Reference!stagedQuote: Reference!}type QuoteRequestLabel {key: Stringcustomer: Reference}type StagedQuoteLabel {key: Stringcustomer: ReferencequoteRequest: Reference!}enum QuoteChangeInput {changeQuoteStatesetCustomFieldsetCustomType}enum QuoteRequestChangeInput {changeQuoteRequestStatesetCustomFieldsetCustomType}enum StagedQuoteChangeInput {changeStagedQuoteStatesetSellerCommentsetValidTosetCustomFieldsetCustomType}