* TP-21355 batch case details API * TP-21355 | Aman C | batch case details API * TP-21355 | Aman C | batch api fix * TP-20464 | Feedback Unified Case API integration + CaseDetailPages Feedback listing added Co-authored-by: Aman Chaturvedi <aman.chaturvedi@navi.com> Co-authored-by: kunalsharma <kunal.sharma@navi.com>
40 lines
990 B
TypeScript
40 lines
990 B
TypeScript
import { GenericType } from "../common/GenericTypes";
|
|
import { Address, InteractionStatuses } from "../screens/allCases/interface";
|
|
|
|
export enum AnswerType {
|
|
TEXT = 'TEXT',
|
|
DATE = 'DATE',
|
|
TIME = 'TIME',
|
|
AMOUNT = 'AMOUNT',
|
|
OPTIONS = 'OPTIONS',
|
|
REMINDER = 'REMINDER',
|
|
}
|
|
|
|
export interface IAnswerView {
|
|
interactionId?: number;
|
|
referenceId?: string;
|
|
questionReferenceId?: string;
|
|
questionName?: string;
|
|
questionText?: string;
|
|
answerType?: AnswerType;
|
|
optionReferenceId?: string;
|
|
optionText?: string;
|
|
inputAmount?: number;
|
|
inputDate?: string;
|
|
inputText?: string;
|
|
}
|
|
|
|
export interface IFeedback {
|
|
[x: string]: any;
|
|
referenceId: string;
|
|
type: string;
|
|
accountNumber: string;
|
|
createdAt: string;
|
|
metadata: GenericType;
|
|
sourceType: string;
|
|
answerViews: IAnswerView[];
|
|
imageUrls: string[];
|
|
agentReferenceId: string
|
|
source: Address | GenericType;
|
|
interactionStatus: InteractionStatuses;
|
|
} |