@@ -163,7 +163,7 @@ describe("decideTurnPolicy", () => {
163163 route : "conversation_then_mutation" ,
164164 replyText : "Would you like me to schedule it at 3pm?" ,
165165 confirmationRequired : true ,
166- slotSnapshot : { } ,
166+ fieldSnapshot : { } ,
167167 } ,
168168 } ,
169169 ] ,
@@ -203,7 +203,7 @@ describe("decideTurnPolicy", () => {
203203 route : "conversation_then_mutation" ,
204204 replyText : "Would you like me to schedule it at 3pm?" ,
205205 confirmationRequired : true ,
206- slotSnapshot : { } ,
206+ fieldSnapshot : { } ,
207207 } ,
208208 } ,
209209 ] ,
@@ -246,7 +246,7 @@ describe("decideTurnPolicy", () => {
246246 replyText : "Would you like me to move it to 3pm?" ,
247247 confirmationRequired : true ,
248248 targetEntityId : "task-1" ,
249- slotSnapshot : { } ,
249+ fieldSnapshot : { } ,
250250 } ,
251251 } ,
252252 ] ,
@@ -308,7 +308,7 @@ describe("decideTurnPolicy", () => {
308308 "Would you like me to schedule it tomorrow at 6pm?" ,
309309 confirmationRequired : true ,
310310 targetEntityId : "task-1" ,
311- slotSnapshot : { } ,
311+ fieldSnapshot : { } ,
312312 } ,
313313 } ,
314314 ] ,
@@ -350,7 +350,7 @@ describe("decideTurnPolicy", () => {
350350 replyText : "Would you like me to move it to 3:15pm?" ,
351351 confirmationRequired : true ,
352352 targetEntityId : "task-1" ,
353- slotSnapshot : { } ,
353+ fieldSnapshot : { } ,
354354 } ,
355355 } ,
356356 ] ,
@@ -397,7 +397,9 @@ describe("decideTurnPolicy", () => {
397397 confirmationRequired : true ,
398398 targetEntityId : "task-1" ,
399399 originatingTurnText : "move it to tomorrow 2pm" ,
400- slotSnapshot : { time : t ( 14 , 0 ) , day : "tomorrow" } ,
400+ fieldSnapshot : {
401+ scheduleFields : { time : t ( 14 , 0 ) , day : "tomorrow" } ,
402+ } ,
401403 } ,
402404 } ,
403405 ] ,
@@ -441,7 +443,7 @@ describe("decideTurnPolicy", () => {
441443 replyText : "Would you like me to move task one to 2pm?" ,
442444 confirmationRequired : true ,
443445 targetEntityId : "task-1" ,
444- slotSnapshot : { } ,
446+ fieldSnapshot : { } ,
445447 } ,
446448 } ,
447449 ] ,
@@ -485,7 +487,7 @@ describe("decideTurnPolicy", () => {
485487 "Would you like me to schedule it tomorrow at 6pm?" ,
486488 confirmationRequired : true ,
487489 targetEntityId : "task-1" ,
488- slotSnapshot : { } ,
490+ fieldSnapshot : { } ,
489491 } ,
490492 } ,
491493 ] ,
@@ -529,7 +531,7 @@ describe("decideTurnPolicy", () => {
529531 replyText : "Would you like me to schedule it at 5pm?" ,
530532 confirmationRequired : true ,
531533 targetEntityId : "task-1" ,
532- slotSnapshot : { } ,
534+ fieldSnapshot : { } ,
533535 } ,
534536 } ,
535537 ] ,
@@ -574,7 +576,9 @@ describe("decideTurnPolicy", () => {
574576 replyText : "Would you like me to schedule it tomorrow at 3pm?" ,
575577 confirmationRequired : true ,
576578 targetEntityId : "task-1" ,
577- slotSnapshot : { day : "tomorrow" , time : t ( 15 , 0 ) } ,
579+ fieldSnapshot : {
580+ scheduleFields : { day : "tomorrow" , time : t ( 15 , 0 ) } ,
581+ } ,
578582 } ,
579583 } ,
580584 ] ,
@@ -617,7 +621,7 @@ describe("decideTurnPolicy", () => {
617621 route : "conversation_then_mutation" ,
618622 replyText : "Would you like me to schedule it at 3pm?" ,
619623 confirmationRequired : true ,
620- slotSnapshot : { time : t ( 15 , 0 ) } ,
624+ fieldSnapshot : { scheduleFields : { time : t ( 15 , 0 ) } } ,
621625 } ,
622626 } ,
623627 ] ,
0 commit comments