11{
2- "name" : " E2E Vapi - assistant-crud" ,
3- "description" : " End-to-end test for Vapi connector - tests CRUD operations for assistants" ,
42 "flow" : {
53 "on-start" : {
64 "type" : " appmixer.utils.controls.OnStart" ,
8886 "variable" : " $.set-variables.out.firstMessage" ,
8987 "functions" : []
9088 }
91- }
89+ },
90+ "model" : {},
91+ "voice" : {}
9292 },
9393 "lambda" : {
9494 "name" : " {{{var-name}}}" ,
95- "firstMessage" : " {{{var-first-msg}}}"
95+ "firstMessage" : " {{{var-first-msg}}}" ,
96+ "model" : " {\n \" provider\" : \" openai\" ,\n \" model\" : \" gpt-4o-mini\" ,\n \" temperature\" : 0.7,\n \" messages\" : [\n {\n \" role\" : \" system\" ,\n \" content\" : \" You are a helpful customer support assistant. Answer politely and clearly.\"\n }\n ]\n }" ,
97+ "voice" : " {\n \" provider\" : \" 11labs\" ,\n \" voiceId\" : \" t0jbNlBVZ17f02VDIeMI\"\n }"
9698 }
9799 }
98100 }
102104 },
103105 "assert-create" : {
104106 "type" : " appmixer.utils.test.Assert" ,
105- "x" : 1200 ,
107+ "x" : 1216 ,
106108 "y" : 16 ,
107109 "version" : " 1.0.0" ,
108110 "source" : {
138140 "expression" : {
139141 "AND" : [
140142 {
141- "field" : " {{{check-id}}}" ,
142- "assertion" : " notEmpty"
143+ "type" : " string" ,
144+ "assertion" : " notEmpty" ,
145+ "field" : " {{{check-id}}}"
143146 },
144147 {
145- "field " : " {{{check -name}}}" ,
148+ "expected " : " {{{expected -name}}}" ,
146149 "assertion" : " equal" ,
147- "expected" : " {{{expected-name}}}"
150+ "field" : " {{{check-name}}}" ,
151+ "type" : " string"
148152 }
149153 ]
150154 }
192196 },
193197 "assert-get" : {
194198 "type" : " appmixer.utils.test.Assert" ,
195- "x" : 1200 ,
199+ "x" : 1216 ,
196200 "y" : 144 ,
197201 "version" : " 1.0.0" ,
198202 "source" : {
228232 "expression" : {
229233 "AND" : [
230234 {
231- "field" : " {{{check-retrieved-id}}}" ,
232- "assertion" : " notEmpty"
235+ "type" : " string" ,
236+ "assertion" : " notEmpty" ,
237+ "field" : " {{{check-retrieved-id}}}"
233238 },
234239 {
235- "field " : " {{{check -retrieved-name}}}" ,
240+ "expected " : " {{{expected -retrieved-name}}}" ,
236241 "assertion" : " equal" ,
237- "expected" : " {{{expected-retrieved-name}}}"
242+ "field" : " {{{check-retrieved-name}}}" ,
243+ "type" : " string"
238244 }
239245 ]
240246 }
290296 "get-updated-assistant" : {
291297 "type" : " appmixer.vapi.core.GetAssistant" ,
292298 "x" : 1040 ,
293- "y" : 400 ,
299+ "y" : 272 ,
294300 "version" : " 1.0.0" ,
295301 "source" : {
296302 "in" : {
324330 },
325331 "assert-update" : {
326332 "type" : " appmixer.utils.test.Assert" ,
327- "x" : 1200 ,
328- "y" : 400 ,
333+ "x" : 1216 ,
334+ "y" : 272 ,
329335 "version" : " 1.0.0" ,
330336 "source" : {
331337 "in" : {
356362 "expression" : {
357363 "AND" : [
358364 {
359- "field " : " {{{check -updated-name}}}" ,
365+ "expected " : " {{{expected -updated-name}}}" ,
360366 "assertion" : " equal" ,
361- "expected" : " {{{expected-updated-name}}}"
367+ "field" : " {{{check-updated-name}}}" ,
368+ "type" : " string"
362369 }
363370 ]
364371 }
371378 },
372379 "after-all" : {
373380 "type" : " appmixer.utils.test.AfterAll" ,
374- "x" : 1392 ,
381+ "x" : 1424 ,
375382 "y" : 144 ,
376383 "version" : " 1.0.0" ,
377384 "source" : {
432439 "type" : " appmixer.utils.test.ProcessE2EResults" ,
433440 "x" : 1792 ,
434441 "y" : 144 ,
435- "version" : " 1.0.0 " ,
442+ "version" : " 1.0.1 " ,
436443 "source" : {
437444 "in" : {
438445 "delete-assistant" : [
441448 }
442449 },
443450 "config" : {
444- "properties" : {
445- "successStoreId" : " 64f6f1f9193228000754082f" ,
446- "failedStoreId" : " 64f6f1f0193228000754082e"
447- },
451+ "properties" : {},
448452 "transform" : {
449453 "in" : {
450454 "delete-assistant" : {
461465 }
462466 },
463467 "lambda" : {
464- "recipients" : " test@appmixer.com " ,
468+ "recipients" : " test@appmixer.ai " ,
465469 "testCase" : " E2E Vapi - assistant-crud" ,
466470 "result" : " {{{result-var}}}"
467471 }
471475 }
472476 }
473477 }
474- }
478+ },
479+ "name" : " E2E Vapi - assistant-crud" ,
480+ "type" : " automation" ,
481+ "notes" : {}
475482}
0 commit comments