Skip to content

Commit f89822b

Browse files
Merge pull request #733 from sourabhsaini11/draft-TRV14-2.0.0
fix:update formId
2 parents 300e7ae + 9092cd3 commit f89822b

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

mock-service/src/config/mock-config/TRV14/2.0.0/on_select/save-data.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ save-data:
1010
provider: "$.message.order.provider"
1111
replacement_terms: "$.message.order.replacement_terms"
1212
first_form_testing: "$..form.url"
13+
first_form_id: "$.message.order.items[*].xinput.form.id"

mock-service/src/config/mock-config/TRV14/2.0.0/on_select_cultural/save-data.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ save-data:
1010
provider: "$.message.order.provider"
1111
replacement_terms: "$.message.order.replacement_terms"
1212
first_form_testing: "$..form.url"
13+
first_form_id: "$.message.order.items[*].xinput.form.id"

mock-service/src/config/mock-config/TRV14/session-types.ts

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export interface SessionData {
5959
updated_at: string | undefined;
6060
order_status: string | undefined;
6161
first_form_testing: string | undefined;
62+
first_form_id: string | string[] | undefined;
6263
latest_issue_payload: any
6364
igm_action: any
6465
issue_resolution: any
@@ -102,19 +103,19 @@ export interface Input {
102103
returnToOrigin?: string;
103104
default_feature?: string[];
104105
SelectInputType?: {
105-
provider?: string;
106-
provider_location?: any;
107-
location_gps?: string;
108-
location_pin_code?: string;
109-
items?: {
110-
itemId?: string;
111-
quantity?: number;
112-
location?: string;
113-
}[];
114-
};
115-
CancelInputType: {
116-
cancellation_reason_id?: string;
117-
};
118-
resolution_accept: any
119-
rating: string
106+
provider?: string;
107+
provider_location?: any;
108+
location_gps?: string;
109+
location_pin_code?: string;
110+
items?: {
111+
itemId?: string;
112+
quantity?: number;
113+
location?: string;
114+
}[];
115+
};
116+
CancelInputType: {
117+
cancellation_reason_id?: string;
118+
};
119+
resolution_accept: any
120+
rating: string
120121
}

0 commit comments

Comments
 (0)