Bobrovozka

Untitled

Nov 8th, 2021
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 75.02 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("61569bf125234e0007a7929e"),
  3.     "phone" : " 79991941276",
  4.     "campaign" : "5dbaf9034acd244f90fb1db8",
  5.     "state" : "PERFORMED",
  6.     "lastCallRequestTimestamp" : NumberLong(1633065969109),
  7.     "callAnsweredTimestamp" : NumberLong(0),
  8.     "calls" : [],
  9.     "outgoingCalls" : [],
  10.     "incomingCall" : {
  11.         "phone" : " 79991941276",
  12.         "callUuid" : "fc48f795-8ec8-4b6a-b50a-5bc0d3b2ce55",
  13.         "channelData" : {}
  14.     },
  15.     "parameters" : {},
  16.     "nextAttemptTimestamp" : NumberLong(0),
  17.     "results" : {},
  18.     "ringingMillis" : NumberLong(0),
  19.     "talkMillis" : NumberLong(135266),
  20.     "reportParameters" : {},
  21.     "created" : NumberLong(0),
  22.     "reported" : false,
  23.     "testing" : false,
  24.     "performedTimestamp" : NumberLong(1633066104),
  25.     "sumConsume" : 0.0,
  26.     "processingEvents" : [
  27.         {
  28.             "timestampSecUtc" : NumberLong(1633066104),
  29.             "dateTimeFormatted" : "01.10.21 05:28",
  30.             "author" : "SCENARIO_RESULT",
  31.             "event" : "got scenario result"
  32.         },
  33.         {
  34.             "timestampSecUtc" : NumberLong(1635731221),
  35.             "dateTimeFormatted" : "01.11.21 01:47",
  36.             "author" : "tech.ivoice.platform.billing.core.service.impl.CallTaskBillingServiceImpl",
  37.             "event" : "BILLING",
  38.             "parameters" : {
  39.                 "ivoiceBilling" : {
  40.                     "ASR_POST_IVOICE" : {
  41.                         "vendorsResources" : [
  42.                             "VOSK_ASR",
  43.                             "THREEITECH_ASR",
  44.                             "NLAB_ASR",
  45.                             "YANDEX_ASR"
  46.                         ],
  47.                         "ivoiceResource" : {
  48.                             "name" : "ASR_POST_IVOICE",
  49.                             "legalName" : "asr post slots",
  50.                             "legalNameRu" : "слоты пост распознования"
  51.                         },
  52.                         "oneUnitCostFromIvoiceTariff" : NumberLong(90),
  53.                         "amount" : NumberLong(7),
  54.                         "cost" : NumberLong(630),
  55.                         "_class" : "tech.ivoice.common.model.billing.v3.IvoiceBilling"
  56.                     },
  57.                     "ASR_REALTIME_IVOICE" : {
  58.                         "vendorsResources" : [
  59.                             "GOOGLE_ASR"
  60.                         ],
  61.                         "ivoiceResource" : {
  62.                             "name" : "ASR_REALTIME_IVOICE",
  63.                             "legalName" : "asr real time slots",
  64.                             "legalNameRu" : "слоты реалтайм распознования"
  65.                         },
  66.                         "oneUnitCostFromIvoiceTariff" : NumberLong(90),
  67.                         "amount" : NumberLong(0),
  68.                         "cost" : NumberLong(0),
  69.                         "_class" : "tech.ivoice.common.model.billing.v3.IvoiceBilling"
  70.                     },
  71.                     "DIALOG_TIME" : {
  72.                         "vendorsResources" : [
  73.                             "DIALOG_TIME"
  74.                         ],
  75.                         "ivoiceResource" : {
  76.                             "name" : "DIALOG_TIME",
  77.                             "legalName" : "dialog time",
  78.                             "legalNameRu" : "время разговора"
  79.                         },
  80.                         "oneUnitCostFromIvoiceTariff" : NumberLong(0),
  81.                         "amount" : NumberLong(136),
  82.                         "cost" : NumberLong(0),
  83.                         "_class" : "tech.ivoice.common.model.billing.v3.IvoiceBilling"
  84.                     },
  85.                     "TTS_EASY" : {
  86.                         "vendorsResources" : [
  87.                             "YANDEX_TTS_EASY",
  88.                             "GOOGLE_TTS_EASY",
  89.                             "AMAZON_TTS_EASY",
  90.                             "AZURE_TTS_EASY"
  91.                         ],
  92.                         "ivoiceResource" : {
  93.                             "name" : "TTS_EASY",
  94.                             "legalName" : "tts easy symbols",
  95.                             "legalNameRu" : "символы генерации стандарт"
  96.                         },
  97.                         "oneUnitCostFromIvoiceTariff" : NumberLong(2),
  98.                         "amount" : NumberLong(917),
  99.                         "cost" : NumberLong(1834),
  100.                         "_class" : "tech.ivoice.common.model.billing.v3.IvoiceBilling"
  101.                     },
  102.                     "SMS_IVOICE" : {
  103.                         "vendorsResources" : [
  104.                             "IVOICE_SMS_SERVICE"
  105.                         ],
  106.                         "ivoiceResource" : {
  107.                             "name" : "SMS_IVOICE",
  108.                             "legalName" : "sms",
  109.                             "legalNameRu" : "смс"
  110.                         },
  111.                         "oneUnitCostFromIvoiceTariff" : NumberLong(0),
  112.                         "amount" : NumberLong(0),
  113.                         "cost" : NumberLong(0),
  114.                         "_class" : "tech.ivoice.common.model.billing.v3.IvoiceBilling"
  115.                     },
  116.                     "TTS_PREMIUM" : {
  117.                         "vendorsResources" : [
  118.                             "AMAZON_TTS_PREMIUM",
  119.                             "YANDEX_TTS_PREMIUM",
  120.                             "GOOGLE_TTS_PREMIUM",
  121.                             "AZURE_TTS_PREMIUM"
  122.                         ],
  123.                         "ivoiceResource" : {
  124.                             "name" : "TTS_PREMIUM",
  125.                             "legalName" : "tts premium symbols",
  126.                             "legalNameRu" : "символы генерации премиум"
  127.                         },
  128.                         "oneUnitCostFromIvoiceTariff" : NumberLong(2),
  129.                         "amount" : NumberLong(0),
  130.                         "cost" : NumberLong(0),
  131.                         "_class" : "tech.ivoice.common.model.billing.v3.IvoiceBilling"
  132.                     },
  133.                     "AMD_IVOICE" : {
  134.                         "vendorsResources" : [
  135.                             "IVOICE_AMD"
  136.                         ],
  137.                         "ivoiceResource" : {
  138.                             "name" : "AMD_IVOICE",
  139.                             "legalName" : "amd",
  140.                             "legalNameRu" : "амд"
  141.                         },
  142.                         "oneUnitCostFromIvoiceTariff" : NumberLong(0),
  143.                         "amount" : NumberLong(0),
  144.                         "cost" : NumberLong(0),
  145.                         "_class" : "tech.ivoice.common.model.billing.v3.IvoiceBilling"
  146.                     }
  147.                 },
  148.                 "vendorsAccounting" : {
  149.                     "YANDEX_TTS_EASY" : {
  150.                         "vendor" : "YANDEX_TTS_EASY",
  151.                         "units" : NumberLong(917),
  152.                         "asrSessions" : [],
  153.                         "cost" : NumberLong(917),
  154.                         "vendorDetails" : [
  155.                             {
  156.                                 "vendor" : "YANDEX_TTS",
  157.                                 "vendorType" : "TTS",
  158.                                 "service" : "TTS_YANDEX_NODE1",
  159.                                 "serviceKeyName" : "YANDEX_API_KEY_ID",
  160.                                 "serviceKeyValue" : "aje3e7p63o8t6qs5mjad"
  161.                             }
  162.                         ],
  163.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  164.                     },
  165.                     "IVOICE_AMD" : {
  166.                         "vendor" : "IVOICE_AMD",
  167.                         "units" : NumberLong(0),
  168.                         "asrSessions" : [],
  169.                         "cost" : NumberLong(0),
  170.                         "vendorDetails" : [],
  171.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  172.                     },
  173.                     "GOOGLE_TTS_EASY" : {
  174.                         "vendor" : "GOOGLE_TTS_EASY",
  175.                         "units" : NumberLong(0),
  176.                         "asrSessions" : [],
  177.                         "cost" : NumberLong(0),
  178.                         "vendorDetails" : [],
  179.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  180.                     },
  181.                     "IVOICE_SMS_SERVICE" : {
  182.                         "vendor" : "IVOICE_SMS_SERVICE",
  183.                         "units" : NumberLong(0),
  184.                         "asrSessions" : [],
  185.                         "cost" : NumberLong(0),
  186.                         "vendorDetails" : [],
  187.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  188.                     },
  189.                     "YANDEX_ASR" : {
  190.                         "vendor" : "YANDEX_ASR",
  191.                         "units" : NumberLong(7),
  192.                         "asrSessions" : [
  193.                             NumberLong(7),
  194.                             NumberLong(9),
  195.                             NumberLong(38),
  196.                             NumberLong(2),
  197.                             NumberLong(9)
  198.                         ],
  199.                         "cost" : NumberLong(7),
  200.                         "vendorDetails" : [
  201.                             {
  202.                                 "vendor" : "YANDEX_ASR",
  203.                                 "vendorType" : "ASR",
  204.                                 "service" : "MS3",
  205.                                 "serviceKeyName" : "YANDEX_API_KEY_ID",
  206.                                 "serviceKeyValue" : "ajen0avoel9gk6kii30f"
  207.                             }
  208.                         ],
  209.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  210.                     },
  211.                     "AMAZON_TTS_PREMIUM" : {
  212.                         "vendor" : "AMAZON_TTS_PREMIUM",
  213.                         "units" : NumberLong(0),
  214.                         "asrSessions" : [],
  215.                         "cost" : NumberLong(0),
  216.                         "vendorDetails" : [],
  217.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  218.                     },
  219.                     "DIALOG_TIME" : {
  220.                         "vendor" : "DIALOG_TIME",
  221.                         "units" : NumberLong(136),
  222.                         "asrSessions" : [],
  223.                         "cost" : NumberLong(136),
  224.                         "vendorDetails" : [],
  225.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  226.                     },
  227.                     "VOSK_ASR" : {
  228.                         "vendor" : "VOSK_ASR",
  229.                         "units" : NumberLong(0),
  230.                         "asrSessions" : [],
  231.                         "cost" : NumberLong(0),
  232.                         "vendorDetails" : [],
  233.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  234.                     },
  235.                     "GOOGLE_TTS_PREMIUM" : {
  236.                         "vendor" : "GOOGLE_TTS_PREMIUM",
  237.                         "units" : NumberLong(0),
  238.                         "asrSessions" : [],
  239.                         "cost" : NumberLong(0),
  240.                         "vendorDetails" : [],
  241.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  242.                     },
  243.                     "YANDEX_TTS_PREMIUM" : {
  244.                         "vendor" : "YANDEX_TTS_PREMIUM",
  245.                         "units" : NumberLong(0),
  246.                         "asrSessions" : [],
  247.                         "cost" : NumberLong(0),
  248.                         "vendorDetails" : [],
  249.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  250.                     },
  251.                     "THREEITECH_ASR" : {
  252.                         "vendor" : "THREEITECH_ASR",
  253.                         "units" : NumberLong(0),
  254.                         "asrSessions" : [],
  255.                         "cost" : NumberLong(0),
  256.                         "vendorDetails" : [],
  257.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  258.                     },
  259.                     "NLAB_ASR" : {
  260.                         "vendor" : "NLAB_ASR",
  261.                         "units" : NumberLong(0),
  262.                         "asrSessions" : [],
  263.                         "cost" : NumberLong(0),
  264.                         "vendorDetails" : [],
  265.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  266.                     },
  267.                     "GOOGLE_ASR" : {
  268.                         "vendor" : "GOOGLE_ASR",
  269.                         "units" : NumberLong(0),
  270.                         "asrSessions" : [],
  271.                         "cost" : NumberLong(0),
  272.                         "vendorDetails" : [],
  273.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  274.                     },
  275.                     "AZURE_TTS_PREMIUM" : {
  276.                         "vendor" : "AZURE_TTS_PREMIUM",
  277.                         "units" : NumberLong(0),
  278.                         "asrSessions" : [],
  279.                         "cost" : NumberLong(0),
  280.                         "vendorDetails" : [],
  281.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  282.                     },
  283.                     "AMAZON_TTS_EASY" : {
  284.                         "vendor" : "AMAZON_TTS_EASY",
  285.                         "units" : NumberLong(0),
  286.                         "asrSessions" : [],
  287.                         "cost" : NumberLong(0),
  288.                         "vendorDetails" : [],
  289.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  290.                     },
  291.                     "AZURE_TTS_EASY" : {
  292.                         "vendor" : "AZURE_TTS_EASY",
  293.                         "units" : NumberLong(0),
  294.                         "asrSessions" : [],
  295.                         "cost" : NumberLong(0),
  296.                         "vendorDetails" : [],
  297.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  298.                     }
  299.                 }
  300.             }
  301.         }
  302.     ],
  303.     "fullCost" : NumberLong(0),
  304.     "ivoiceCost" : NumberLong(2464),
  305.     "vendorsCost" : NumberLong(1060),
  306.     "fullBilling" : true,
  307.     "aggregated" : false,
  308.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  309.     "scenarioResult" : {
  310.         "time" : ISODate("2021-10-01T05:28:24.494Z"),
  311.         "items" : [
  312.             {
  313.                 "time" : ISODate("2021-10-01T05:26:09.228Z"),
  314.                 "name" : "params",
  315.                 "value" : "medozon_incoming",
  316.                 "details" : {
  317.                     "address" : "Ул. Карбышева 5 1",
  318.                     "campaignState" : "STARTED",
  319.                     "campaignId" : "5dbaf9034acd244f90fb1db8",
  320.                     "callTaskId" : "61569bf125234e0007a7929e",
  321.                     "solutionName" : "medozon_incoming",
  322.                     "callTaskServicePort" : "8106",
  323.                     "commonParameters" : {
  324.                         "locale" : "ru-Ru",
  325.                         "voiceName" : "pl-PL-Wavenet-E",
  326.                         "vendor" : "Yandex"
  327.                     },
  328.                     "callUuid" : "fc48f795-8ec8-4b6a-b50a-5bc0d3b2ce55",
  329.                     "callTaskServiceHost" : "small-apps12-back",
  330.                     "phone" : " 79991941276",
  331.                     "asrDriver" : "yandex",
  332.                     "scenarioResultTopic" : "scenario_result_sdk_v2_app-vis",
  333.                     "audio" : [
  334.                         {
  335.                             "name" : "block2-ask-list-or-option",
  336.                             "title" : "block2-ask-list-or-option",
  337.                             "text" : "Скажите к какому врачу Вы хотели бы записаться на прием! или скажите слово  список! для прослушивания доступных врачей для записи!",
  338.                             "speed" : 1.1,
  339.                             "emotion" : "good",
  340.                             "speaker" : "oksana",
  341.                             "sounds" : [
  342.                                 {
  343.                                     "type" : "url",
  344.                                     "url" : "/audios/12c5a740-8e07-11ea-8e93-0305788f98c6.wav",
  345.                                     "number" : 0
  346.                                 }
  347.                             ]
  348.                         },
  349.                         {
  350.                             "name" : "block2-ask-list-or-option-repeat",
  351.                             "title" : "block2-ask-list-or-option-repeat",
  352.                             "text" : "Простите Вас не расслышала. Назовите специализацию врача или скажите список для прослушивания доступных специализаций",
  353.                             "speed" : 1.1,
  354.                             "emotion" : "good",
  355.                             "speaker" : "oksana",
  356.                             "sounds" : [
  357.                                 {
  358.                                     "type" : "url",
  359.                                     "url" : "/audios/19cafc70-8e07-11ea-8e93-0305788f98c6.wav",
  360.                                     "number" : 0
  361.                                 }
  362.                             ]
  363.                         },
  364.                         {
  365.                             "name" : "block2-ask-option-with-tell-1",
  366.                             "title" : "block2-ask-option-with-tell-1",
  367.                             "text" : "Для записи на прием доступны",
  368.                             "speed" : 1.1,
  369.                             "emotion" : "good",
  370.                             "speaker" : "oksana",
  371.                             "sounds" : [
  372.                                 {
  373.                                     "type" : "url",
  374.                                     "url" : "/audios/1f84bed0-8e07-11ea-8e93-0305788f98c6.wav",
  375.                                     "number" : 0
  376.                                 }
  377.                             ]
  378.                         },
  379.                         {
  380.                             "name" : "block2-ask-option-with-tell-2",
  381.                             "title" : "block2-ask-option-with-tell-2",
  382.                             "text" : "Назовите специализацию врача",
  383.                             "speed" : 1.1,
  384.                             "emotion" : "good",
  385.                             "speaker" : "oksana",
  386.                             "sounds" : [
  387.                                 {
  388.                                     "type" : "url",
  389.                                     "url" : "/audios/228e2e40-8e07-11ea-8e93-0305788f98c6.wav",
  390.                                     "number" : 0
  391.                                 }
  392.                             ]
  393.                         },
  394.                         {
  395.                             "name" : "block2-ask-similar-options-1",
  396.                             "title" : "block2-ask-similar-options-1",
  397.                             "text" : "По вашему запросу найдены следующие специальности.",
  398.                             "speed" : 1.1,
  399.                             "emotion" : "good",
  400.                             "speaker" : "oksana",
  401.                             "sounds" : [
  402.                                 {
  403.                                     "type" : "url",
  404.                                     "url" : "/audios/25640a90-8e07-11ea-8e93-0305788f98c6.wav",
  405.                                     "number" : 0
  406.                                 }
  407.                             ]
  408.                         },
  409.                         {
  410.                             "name" : "block2-ask-similar-options-2",
  411.                             "title" : "block2-ask-similar-options-2",
  412.                             "text" : "Назовите пожалуйста нужную вам специализацию.",
  413.                             "speed" : 1.1,
  414.                             "emotion" : "good",
  415.                             "speaker" : "oksana",
  416.                             "sounds" : [
  417.                                 {
  418.                                     "type" : "url",
  419.                                     "url" : "/audios/283700b0-8e07-11ea-8e93-0305788f98c6.wav",
  420.                                     "number" : 0
  421.                                 }
  422.                             ]
  423.                         },
  424.                         {
  425.                             "name" : "block2-operator",
  426.                             "title" : "block2-operator",
  427.                             "text" : "Перевожу на оператора. Оставайтесь, пожалуйста, на линии.",
  428.                             "speed" : 1.1,
  429.                             "emotion" : "good",
  430.                             "speaker" : "oksana",
  431.                             "sounds" : [
  432.                                 {
  433.                                     "type" : "url",
  434.                                     "url" : "/audios/2b0e3c90-8e07-11ea-8e93-0305788f98c6.wav",
  435.                                     "number" : 0
  436.                                 }
  437.                             ]
  438.                         },
  439.                         {
  440.                             "name" : "block3-wait",
  441.                             "title" : "block3-wait",
  442.                             "text" : "Подождите! Ищу нужного врача!",
  443.                             "speed" : 1.1,
  444.                             "emotion" : "good",
  445.                             "speaker" : "oksana",
  446.                             "sounds" : [
  447.                                 {
  448.                                     "type" : "url",
  449.                                     "url" : "/audios/2e298650-8e07-11ea-8e93-0305788f98c6.wav",
  450.                                     "number" : 0
  451.                                 }
  452.                             ]
  453.                         },
  454.                         {
  455.                             "name" : "block3-multi-option-1",
  456.                             "title" : "block3-multi-option-1",
  457.                             "text" : "Если я неверно поняла специализацию, скажите слово назад!",
  458.                             "speed" : 1.1,
  459.                             "emotion" : "good",
  460.                             "speaker" : "oksana",
  461.                             "sounds" : [
  462.                                 {
  463.                                     "type" : "url",
  464.                                     "url" : "/audios/307d8870-8e07-11ea-8e93-0305788f98c6.wav",
  465.                                     "number" : 0
  466.                                 }
  467.                             ]
  468.                         },
  469.                         {
  470.                             "name" : "block3-multi-option-2",
  471.                             "title" : "block3-multi-option-2",
  472.                             "text" : "Для записи доступен ",
  473.                             "speed" : 1.1,
  474.                             "emotion" : "good",
  475.                             "speaker" : "oksana",
  476.                             "sounds" : [
  477.                                 {
  478.                                     "type" : "url",
  479.                                     "url" : "/audios/01652c80-9c3c-11ea-8e93-0305788f98c6.wav",
  480.                                     "number" : 0
  481.                                 }
  482.                             ]
  483.                         },
  484.                         {
  485.                             "name" : "block3-multi-option-3",
  486.                             "title" : "block3-multi-option-3",
  487.                             "text" : "Выберете фамилию врача.",
  488.                             "speed" : 1.1,
  489.                             "emotion" : "good",
  490.                             "speaker" : "oksana",
  491.                             "sounds" : [
  492.                                 {
  493.                                     "type" : "url",
  494.                                     "url" : "/audios/34aa1b20-8e07-11ea-8e93-0305788f98c6.wav",
  495.                                     "number" : 0
  496.                                 }
  497.                             ]
  498.                         },
  499.                         {
  500.                             "name" : "block3-multi-option-operator",
  501.                             "title" : "block3-multi-option-operator",
  502.                             "text" : "Перевожу на оператора. Оставайтесь, пожалуйста, на линии.",
  503.                             "speed" : 1.1,
  504.                             "emotion" : "good",
  505.                             "speaker" : "oksana",
  506.                             "sounds" : [
  507.                                 {
  508.                                     "type" : "url",
  509.                                     "url" : "/audios/3527d6a0-8e07-11ea-8e93-0305788f98c6.wav",
  510.                                     "number" : 0
  511.                                 }
  512.                             ]
  513.                         },
  514.                         {
  515.                             "name" : "block3-no-option-1",
  516.                             "title" : "block3-no-option-1",
  517.                             "text" : "К сожалению в ближайшие ",
  518.                             "speed" : 1.1,
  519.                             "emotion" : "good",
  520.                             "speaker" : "oksana",
  521.                             "sounds" : [
  522.                                 {
  523.                                     "type" : "url",
  524.                                     "url" : "/audios/398fc4a0-8e07-11ea-8e93-0305788f98c6.wav",
  525.                                     "number" : 0
  526.                                 }
  527.                             ]
  528.                         },
  529.                         {
  530.                             "name" : "block3-no-option-3",
  531.                             "title" : "block3-no-option-3",
  532.                             "text" : "не принимает. ",
  533.                             "speed" : 1.1,
  534.                             "emotion" : "good",
  535.                             "speaker" : "oksana",
  536.                             "sounds" : [
  537.                                 {
  538.                                     "type" : "url",
  539.                                     "url" : "/audios/3bbfc400-8e07-11ea-8e93-0305788f98c6.wav",
  540.                                     "number" : 0
  541.                                 }
  542.                             ]
  543.                         },
  544.                         {
  545.                             "name" : "block3-no-option-4",
  546.                             "title" : "block3-no-option-4",
  547.                             "text" : " Хотите записаться к другому врачу? Скажите. да. или нет!",
  548.                             "speed" : 1.1,
  549.                             "emotion" : "good",
  550.                             "speaker" : "oksana",
  551.                             "sounds" : [
  552.                                 {
  553.                                     "type" : "url",
  554.                                     "url" : "/audios/4bf6eb50-8e07-11ea-8e93-0305788f98c6.wav",
  555.                                     "number" : 0
  556.                                 }
  557.                             ]
  558.                         },
  559.                         {
  560.                             "name" : "block3-no-option-hangup",
  561.                             "title" : "block3-no-option-hangup",
  562.                             "text" : "Спасибо за Ваше обращение, попробуйте перезвонить в другой день!",
  563.                             "speed" : 1.1,
  564.                             "emotion" : "good",
  565.                             "speaker" : "oksana",
  566.                             "sounds" : [
  567.                                 {
  568.                                     "type" : "url",
  569.                                     "url" : "/audios/415de810-8e07-11ea-8e93-0305788f98c6.wav",
  570.                                     "number" : 0
  571.                                 }
  572.                             ]
  573.                         },
  574.                         {
  575.                             "name" : "block4-wait",
  576.                             "title" : "block4-wait",
  577.                             "text" : "Подождите! ищу свободные даты!",
  578.                             "speed" : 1.1,
  579.                             "emotion" : "good",
  580.                             "speaker" : "oksana",
  581.                             "sounds" : [
  582.                                 {
  583.                                     "type" : "url",
  584.                                     "url" : "/audios/41e2a870-8e07-11ea-8e93-0305788f98c6.wav",
  585.                                     "number" : 0
  586.                                 }
  587.                             ]
  588.                         },
  589.                         {
  590.                             "name" : "block4-single-option-1",
  591.                             "title" : "block4-single-option-1",
  592.                             "text" : "Врач ",
  593.                             "speed" : 1.1,
  594.                             "emotion" : "good",
  595.                             "speaker" : "oksana",
  596.                             "sounds" : [
  597.                                 {
  598.                                     "type" : "url",
  599.                                     "url" : "/audios/51f271a0-8e07-11ea-8e93-0305788f98c6.wav",
  600.                                     "number" : 0
  601.                                 }
  602.                             ]
  603.                         },
  604.                         {
  605.                             "name" : "block4-single-option-2",
  606.                             "title" : "block4-single-option-2",
  607.                             "text" : "Доступна единственная  дата: ",
  608.                             "speed" : 1.1,
  609.                             "emotion" : "good",
  610.                             "speaker" : "oksana",
  611.                             "sounds" : [
  612.                                 {
  613.                                     "type" : "url",
  614.                                     "url" : "/audios/52cad040-8e07-11ea-8e93-0305788f98c6.wav",
  615.                                     "number" : 0
  616.                                 }
  617.                             ]
  618.                         },
  619.                         {
  620.                             "name" : "block4-single-option-3",
  621.                             "title" : "block4-single-option-3",
  622.                             "text" : "Записать Вас?",
  623.                             "speed" : 1.1,
  624.                             "emotion" : "good",
  625.                             "speaker" : "oksana",
  626.                             "sounds" : [
  627.                                 {
  628.                                     "type" : "url",
  629.                                     "url" : "/audios/56ebf140-8e07-11ea-8e93-0305788f98c6.wav",
  630.                                     "number" : 0
  631.                                 }
  632.                             ]
  633.                         },
  634.                         {
  635.                             "name" : "block4-single-option-4",
  636.                             "title" : "block4-single-option-4",
  637.                             "text" : "Скажите. Да! Нет!",
  638.                             "speed" : 1.1,
  639.                             "emotion" : "good",
  640.                             "speaker" : "oksana",
  641.                             "sounds" : [
  642.                                 {
  643.                                     "type" : "url",
  644.                                     "url" : "/audios/4d8d72d0-94f7-11ea-8e93-0305788f98c6.wav",
  645.                                     "number" : 0
  646.                                 }
  647.                             ]
  648.                         },
  649.                         {
  650.                             "name" : "block4-single-option-return-doctor",
  651.                             "title" : "block4-single-option-return-doctor",
  652.                             "text" : "Или слово НАЗАД для возврата к выбору врача!",
  653.                             "speed" : 1.1,
  654.                             "emotion" : "good",
  655.                             "speaker" : "oksana",
  656.                             "sounds" : [
  657.                                 {
  658.                                     "type" : "url",
  659.                                     "url" : "/audios/b16b7790-94f5-11ea-8e93-0305788f98c6.wav",
  660.                                     "number" : 0
  661.                                 }
  662.                             ]
  663.                         },
  664.                         {
  665.                             "name" : "block4-single-option-return-specialty",
  666.                             "title" : "block4-single-option-return-specialty",
  667.                             "text" : "Или слово НАЗАД для возврата к выбору специальности!",
  668.                             "speed" : 1.1,
  669.                             "emotion" : "good",
  670.                             "speaker" : "oksana",
  671.                             "sounds" : [
  672.                                 {
  673.                                     "type" : "url",
  674.                                     "url" : "/audios/b5fd34b0-94f5-11ea-8e93-0305788f98c6.wav",
  675.                                     "number" : 0
  676.                                 }
  677.                             ]
  678.                         },
  679.                         {
  680.                             "name" : "block4-single-option-hangup",
  681.                             "title" : "block4-single-option-hangup",
  682.                             "text" : "К сожалению других доступных дат для записи пока нет, спасибо за ваш звонок. попробуйте перезвонить в другой день.",
  683.                             "speed" : 1.1,
  684.                             "emotion" : "good",
  685.                             "speaker" : "oksana",
  686.                             "sounds" : [
  687.                                 {
  688.                                     "type" : "url",
  689.                                     "url" : "/audios/65bad600-8e07-11ea-8e93-0305788f98c6.wav",
  690.                                     "number" : 0
  691.                                 }
  692.                             ]
  693.                         },
  694.                         {
  695.                             "name" : "block4-multi-option-1",
  696.                             "title" : "block4-multi-option-1",
  697.                             "text" : "Врач ",
  698.                             "speed" : 1.1,
  699.                             "emotion" : "good",
  700.                             "speaker" : "oksana",
  701.                             "sounds" : [
  702.                                 {
  703.                                     "type" : "url",
  704.                                     "url" : "/audios/9ba4b8c0-1f3a-11eb-8e93-0305788f98c6.wav",
  705.                                     "number" : 0
  706.                                 }
  707.                             ]
  708.                         },
  709.                         {
  710.                             "name" : "block4-multi-option-2",
  711.                             "title" : "block4-multi-option-2",
  712.                             "text" : "Назовите желаемую дату, как только услышите подходящую, или СКАЖИТЕ слово НАЗАД для возврата к выбору врача",
  713.                             "speed" : 1.1,
  714.                             "emotion" : "good",
  715.                             "speaker" : "oksana",
  716.                             "sounds" : [
  717.                                 {
  718.                                     "type" : "url",
  719.                                     "url" : "/audios/6e711b40-230f-11eb-8e93-0305788f98c6.wav",
  720.                                     "number" : 0
  721.                                 }
  722.                             ]
  723.                         },
  724.                         {
  725.                             "name" : "block4-multi-option-3",
  726.                             "title" : "block4-multi-option-3",
  727.                             "text" : "- - - ",
  728.                             "speed" : 1.1,
  729.                             "emotion" : "good",
  730.                             "speaker" : "oksana",
  731.                             "sounds" : [
  732.                                 {
  733.                                     "type" : "url",
  734.                                     "url" : "/audios/7d3307b0-230f-11eb-8e93-0305788f98c6.wav",
  735.                                     "number" : 0
  736.                                 }
  737.                             ]
  738.                         },
  739.                         {
  740.                             "name" : "block4-multi-option-operator",
  741.                             "title" : "block4-multi-option-operator",
  742.                             "text" : "Перевожу на оператора. Оставайтесь, пожалуйста, на линии.",
  743.                             "speed" : 1.1,
  744.                             "emotion" : "good",
  745.                             "speaker" : "oksana",
  746.                             "sounds" : [
  747.                                 {
  748.                                     "type" : "url",
  749.                                     "url" : "/audios/674a2890-8e07-11ea-8e93-0305788f98c6.wav",
  750.                                     "number" : 0
  751.                                 }
  752.                             ]
  753.                         },
  754.                         {
  755.                             "name" : "block5-wait",
  756.                             "title" : "block5-wait",
  757.                             "text" : "Подождите! Ищу свободное время!",
  758.                             "speed" : 1.1,
  759.                             "emotion" : "good",
  760.                             "speaker" : "oksana",
  761.                             "sounds" : [
  762.                                 {
  763.                                     "type" : "url",
  764.                                     "url" : "/audios/835eba00-8e07-11ea-8e93-0305788f98c6.wav",
  765.                                     "number" : 0
  766.                                 }
  767.                             ]
  768.                         },
  769.                         {
  770.                             "name" : "block5-single-option-1",
  771.                             "title" : "block5-single-option-1",
  772.                             "text" : "На ",
  773.                             "speed" : 1.1,
  774.                             "emotion" : "good",
  775.                             "speaker" : "oksana",
  776.                             "sounds" : [
  777.                                 {
  778.                                     "type" : "url",
  779.                                     "url" : "/audios/85f3e3d0-8e07-11ea-8e93-0305788f98c6.wav",
  780.                                     "number" : 0
  781.                                 }
  782.                             ]
  783.                         },
  784.                         {
  785.                             "name" : "block5-single-option-2",
  786.                             "title" : "block5-single-option-2",
  787.                             "text" : "Осталось одно свободное время: ",
  788.                             "speed" : 1.1,
  789.                             "emotion" : "good",
  790.                             "speaker" : "oksana",
  791.                             "sounds" : [
  792.                                 {
  793.                                     "type" : "url",
  794.                                     "url" : "/audios/894f91f0-8e07-11ea-8e93-0305788f98c6.wav",
  795.                                     "number" : 0
  796.                                 }
  797.                             ]
  798.                         },
  799.                         {
  800.                             "name" : "block5-single-option-3",
  801.                             "title" : "block5-single-option-3",
  802.                             "text" : "Записать на это время?",
  803.                             "speed" : 1.1,
  804.                             "emotion" : "good",
  805.                             "speaker" : "oksana",
  806.                             "sounds" : [
  807.                                 {
  808.                                     "type" : "url",
  809.                                     "url" : "/audios/96c83580-8e07-11ea-8e93-0305788f98c6.wav",
  810.                                     "number" : 0
  811.                                 }
  812.                             ]
  813.                         },
  814.                         {
  815.                             "name" : "block5-single-option-4",
  816.                             "title" : "block5-single-option-4",
  817.                             "text" : "Скажите. Да! - - - Нет! - - - Или слово НАЗАД для возврата к выбору даты!",
  818.                             "speed" : 1.1,
  819.                             "emotion" : "good",
  820.                             "speaker" : "oksana",
  821.                             "sounds" : [
  822.                                 {
  823.                                     "type" : "url",
  824.                                     "url" : "/audios/d5acd1c0-94f6-11ea-8e93-0305788f98c6.wav",
  825.                                     "number" : 0
  826.                                 }
  827.                             ]
  828.                         },
  829.                         {
  830.                             "name" : "block5-single-option-lastly-1",
  831.                             "title" : "block5-single-option-lastly-1",
  832.                             "text" : "К сожалению, сейчас нет другого времени для записи. Если все-таки хотите записаться на ",
  833.                             "speed" : 1.1,
  834.                             "emotion" : "good",
  835.                             "speaker" : "oksana",
  836.                             "sounds" : [
  837.                                 {
  838.                                     "type" : "url",
  839.                                     "url" : "/audios/9ee90cd0-8e07-11ea-8e93-0305788f98c6.wav",
  840.                                     "number" : 0
  841.                                 }
  842.                             ]
  843.                         },
  844.                         {
  845.                             "name" : "block5-single-option-lastly-2",
  846.                             "title" : "block5-single-option-lastly-2",
  847.                             "text" : ", скажите ДА!",
  848.                             "speed" : 1.1,
  849.                             "emotion" : "good",
  850.                             "speaker" : "oksana",
  851.                             "sounds" : [
  852.                                 {
  853.                                     "type" : "url",
  854.                                     "url" : "/audios/adb09e90-8e07-11ea-8e93-0305788f98c6.wav",
  855.                                     "number" : 0
  856.                                 }
  857.                             ]
  858.                         },
  859.                         {
  860.                             "name" : "block5-single-option-lastly-hangup",
  861.                             "title" : "block5-single-option-lastly-hangup",
  862.                             "text" : "Попробуйте позвонить в другой день. До свидания!",
  863.                             "speed" : 1.1,
  864.                             "emotion" : "good",
  865.                             "speaker" : "oksana",
  866.                             "sounds" : [
  867.                                 {
  868.                                     "type" : "url",
  869.                                     "url" : "/audios/aea64930-8e07-11ea-8e93-0305788f98c6.wav",
  870.                                     "number" : 0
  871.                                 }
  872.                             ]
  873.                         },
  874.                         {
  875.                             "name" : "block5-multi-option-1",
  876.                             "title" : "block5-multi-option-1",
  877.                             "text" : "На ",
  878.                             "speed" : 1.1,
  879.                             "emotion" : "good",
  880.                             "speaker" : "oksana",
  881.                             "sounds" : [
  882.                                 {
  883.                                     "type" : "url",
  884.                                     "url" : "/audios/4d3d1310-8fcc-11ea-8e93-0305788f98c6.wav",
  885.                                     "number" : 0
  886.                                 }
  887.                             ]
  888.                         },
  889.                         {
  890.                             "name" : "block5-multi-option-2",
  891.                             "title" : "block5-multi-option-2",
  892.                             "text" : "Назовите желаемое время, как только услышите подходящее, или СКАЖИТЕ слово НАЗАД для возврата к выбору даты",
  893.                             "speed" : 1.1,
  894.                             "emotion" : "good",
  895.                             "speaker" : "oksana",
  896.                             "sounds" : [
  897.                                 {
  898.                                     "type" : "url",
  899.                                     "url" : "/audios/b8a62570-230f-11eb-8e93-0305788f98c6.wav",
  900.                                     "number" : 0
  901.                                 }
  902.                             ]
  903.                         },
  904.                         {
  905.                             "name" : "block5-multi-option-3",
  906.                             "title" : "block5-multi-option-3",
  907.                             "text" : "- - -",
  908.                             "speed" : 1.1,
  909.                             "emotion" : "good",
  910.                             "speaker" : "oksana",
  911.                             "sounds" : [
  912.                                 {
  913.                                     "type" : "url",
  914.                                     "url" : "/audios/c7a8c460-230f-11eb-8e93-0305788f98c6.wav",
  915.                                     "number" : 0
  916.                                 }
  917.                             ]
  918.                         },
  919.                         {
  920.                             "name" : "block5-multi-option-silence",
  921.                             "title" : "block5-multi-option-silence",
  922.                             "text" : "- - -",
  923.                             "speed" : 1.1,
  924.                             "emotion" : "good",
  925.                             "speaker" : "oksana",
  926.                             "sounds" : [
  927.                                 {
  928.                                     "type" : "url",
  929.                                     "url" : "/audios/5b0eac10-8fcc-11ea-8e93-0305788f98c6.wav",
  930.                                     "number" : 0
  931.                                 }
  932.                             ]
  933.                         },
  934.                         {
  935.                             "name" : "block6-birthyear",
  936.                             "title" : "block6-year",
  937.                             "text" : "Назовите год рождения пациента. Например, восемьдесят первый.",
  938.                             "speed" : 1.1,
  939.                             "emotion" : "good",
  940.                             "speaker" : "oksana",
  941.                             "sounds" : [
  942.                                 {
  943.                                     "type" : "url",
  944.                                     "url" : "/audios/b599eb20-8e07-11ea-8e93-0305788f98c6.wav",
  945.                                     "number" : 0
  946.                                 }
  947.                             ]
  948.                         },
  949.                         {
  950.                             "name" : "block6-birthday",
  951.                             "title" : "block6-birthday",
  952.                             "text" : "Назовите день и месяц рождения. Например, четырнадцатое марта",
  953.                             "speed" : 1.1,
  954.                             "emotion" : "good",
  955.                             "speaker" : "oksana",
  956.                             "sounds" : [
  957.                                 {
  958.                                     "type" : "url",
  959.                                     "url" : "/audios/b69a9240-8e07-11ea-8e93-0305788f98c6.wav",
  960.                                     "number" : 0
  961.                                 }
  962.                             ]
  963.                         },
  964.                         {
  965.                             "name" : "block6-fio",
  966.                             "title" : "block6-fio",
  967.                             "text" : "Назовите фамилию, имя и отчество пациента",
  968.                             "speed" : 1.1,
  969.                             "emotion" : "good",
  970.                             "speaker" : "oksana",
  971.                             "sounds" : [
  972.                                 {
  973.                                     "type" : "url",
  974.                                     "url" : "/audios/bb71e3e0-8e07-11ea-8e93-0305788f98c6.wav",
  975.                                     "number" : 0
  976.                                 }
  977.                             ]
  978.                         },
  979.                         {
  980.                             "name" : "block6-appointment-1",
  981.                             "title" : "block6-appointment-1",
  982.                             "text" : "Вы успешно записаны! Вас Ждет ",
  983.                             "speed" : 1.1,
  984.                             "emotion" : "good",
  985.                             "speaker" : "oksana",
  986.                             "sounds" : [
  987.                                 {
  988.                                     "type" : "url",
  989.                                     "url" : "/audios/4cb6f150-9c3c-11ea-8e93-0305788f98c6.wav",
  990.                                     "number" : 0
  991.                                 }
  992.                             ]
  993.                         },
  994.                         {
  995.                             "name" : "block6-appointment-2",
  996.                             "title" : "block6-appointment-2",
  997.                             "text" : " по адресу ",
  998.                             "speed" : 1.1,
  999.                             "emotion" : "good",
  1000.                             "speaker" : "oksana",
  1001.                             "sounds" : [
  1002.                                 {
  1003.                                     "type" : "url",
  1004.                                     "url" : "/audios/f73f0880-8e07-11ea-8e93-0305788f98c6.wav",
  1005.                                     "number" : 0
  1006.                                 }
  1007.                             ]
  1008.                         },
  1009.                         {
  1010.                             "name" : "block6-appointment-3",
  1011.                             "title" : "block6-appointment-3",
  1012.                             "text" : ". До свидания!",
  1013.                             "speed" : 1.1,
  1014.                             "emotion" : "good",
  1015.                             "speaker" : "oksana",
  1016.                             "sounds" : [
  1017.                                 {
  1018.                                     "type" : "url",
  1019.                                     "url" : "/audios/158239c0-8e08-11ea-8e93-0305788f98c6.wav",
  1020.                                     "number" : 0
  1021.                                 }
  1022.                             ]
  1023.                         },
  1024.                         {
  1025.                             "name" : "block6-appointment-wait",
  1026.                             "title" : "block6-appointment-wait",
  1027.                             "text" : "Подождите! записываю Ваши данные в карточку!",
  1028.                             "speed" : 1.1,
  1029.                             "emotion" : "good",
  1030.                             "speaker" : "oksana",
  1031.                             "sounds" : [
  1032.                                 {
  1033.                                     "type" : "url",
  1034.                                     "url" : "/audios/e059acb0-8e07-11ea-8e93-0305788f98c6.wav",
  1035.                                     "number" : 0
  1036.                                 }
  1037.                             ]
  1038.                         },
  1039.                         {
  1040.                             "name" : "block6-appointment-failed",
  1041.                             "title" : "block6-appointment-failed",
  1042.                             "text" : "Не удалось записать Вас в автоматическом режиме. Оставайтесь, пожалуйста, на линии - перевожу вас на оператора",
  1043.                             "speed" : 1.1,
  1044.                             "emotion" : "good",
  1045.                             "speaker" : "oksana",
  1046.                             "sounds" : [
  1047.                                 {
  1048.                                     "type" : "url",
  1049.                                     "url" : "/audios/7d1b75d0-8f87-11ea-8e93-0305788f98c6.wav",
  1050.                                     "number" : 0
  1051.                                 }
  1052.                             ]
  1053.                         },
  1054.                         {
  1055.                             "name" : "block6-operator",
  1056.                             "title" : "block6-operator",
  1057.                             "text" : "Оставайтесь, пожалуйста, на линии - перевожу вас на оператора",
  1058.                             "speed" : 1.1,
  1059.                             "emotion" : "good",
  1060.                             "speaker" : "oksana",
  1061.                             "sounds" : [
  1062.                                 {
  1063.                                     "type" : "url",
  1064.                                     "url" : "/audios/77fe68a0-8f87-11ea-8e93-0305788f98c6.wav",
  1065.                                     "number" : 0
  1066.                                 }
  1067.                             ]
  1068.                         }
  1069.                     ],
  1070.                     "scenarioId" : "5dbaf8594acd244f90fb1db7",
  1071.                     "voiceParameters" : {
  1072.                         "vendor" : "yandex",
  1073.                         "voiceName" : "oksana"
  1074.                     }
  1075.                 }
  1076.             },
  1077.             {
  1078.                 "time" : ISODate("2021-10-01T05:26:27.973Z"),
  1079.                 "name" : "намерение записаться",
  1080.                 "value" : "да",
  1081.                 "details" : {}
  1082.             },
  1083.             {
  1084.                 "time" : ISODate("2021-10-01T05:26:27.974Z"),
  1085.                 "name" : "start getspecialties",
  1086.                 "value" : "05:26:27.974",
  1087.                 "details" : {}
  1088.             },
  1089.             {
  1090.                 "time" : ISODate("2021-10-01T05:26:28.455Z"),
  1091.                 "name" : "finished getspecialties",
  1092.                 "value" : "05:26:28.455",
  1093.                 "details" : {}
  1094.             },
  1095.             {
  1096.                 "time" : ISODate("2021-10-01T05:27:23.707Z"),
  1097.                 "name" : "специализация",
  1098.                 "value" : "Диетолог",
  1099.                 "details" : {}
  1100.             },
  1101.             {
  1102.                 "time" : ISODate("2021-10-01T05:27:28.029Z"),
  1103.                 "name" : "подтверждение специализации",
  1104.                 "value" : "да",
  1105.                 "details" : {}
  1106.             },
  1107.             {
  1108.                 "time" : ISODate("2021-10-01T05:27:28.031Z"),
  1109.                 "name" : "start getspecialists",
  1110.                 "value" : "05:27:28.031",
  1111.                 "details" : {}
  1112.             },
  1113.             {
  1114.                 "time" : ISODate("2021-10-01T05:27:30.298Z"),
  1115.                 "name" : "finished getspecialists",
  1116.                 "value" : "05:27:30.298",
  1117.                 "details" : {}
  1118.             },
  1119.             {
  1120.                 "time" : ISODate("2021-10-01T05:27:44.110Z"),
  1121.                 "name" : "доктор",
  1122.                 "value" : "Doctor{id=194, name=Денисов Анатолий Алексеевич}",
  1123.                 "details" : {}
  1124.             },
  1125.             {
  1126.                 "time" : ISODate("2021-10-01T05:27:44.114Z"),
  1127.                 "name" : "start getdates",
  1128.                 "value" : "05:27:44.113",
  1129.                 "details" : {}
  1130.             },
  1131.             {
  1132.                 "time" : ISODate("2021-10-01T05:28:24.494Z"),
  1133.                 "name" : "hangup",
  1134.                 "value" : "user",
  1135.                 "details" : {}
  1136.             }
  1137.         ],
  1138.         "log" : [
  1139.             {
  1140.                 "time" : ISODate("2021-10-01T05:26:09.260Z"),
  1141.                 "text" : "start requesting option (yes, no)",
  1142.                 "context" : {
  1143.                     "sid" : "f616fe62-4f5b-4a77-bc2f-dacf63e9cb14",
  1144.                     "question" : "намерение записаться"
  1145.                 }
  1146.             },
  1147.             {
  1148.                 "time" : ISODate("2021-10-01T05:26:27.951Z"),
  1149.                 "text" : "recognise option(yes) on asr",
  1150.                 "context" : {
  1151.                     "sid" : "f616fe62-4f5b-4a77-bc2f-dacf63e9cb14",
  1152.                     "question" : "намерение записаться",
  1153.                     "recognition" : [
  1154.                         {
  1155.                             "text" : "да",
  1156.                             "confidence" : 1.0
  1157.                         }
  1158.                     ]
  1159.                 }
  1160.             },
  1161.             {
  1162.                 "time" : ISODate("2021-10-01T05:26:41.531Z"),
  1163.                 "text" : "recognise on asr failed",
  1164.                 "context" : {
  1165.                     "sid" : "c93d8848-9e10-4533-ad1f-56bb8952b76f",
  1166.                     "question" : "специализация",
  1167.                     "cause" : "silence"
  1168.                 }
  1169.             },
  1170.             {
  1171.                 "time" : ISODate("2021-10-01T05:27:23.706Z"),
  1172.                 "text" : "recognise text on asr",
  1173.                 "context" : {
  1174.                     "sid" : "0ffce46d-1408-4548-ac23-d118ff213be1",
  1175.                     "question" : "специализация",
  1176.                     "recognition" : [
  1177.                         {
  1178.                             "text" : "Диетолог",
  1179.                             "confidence" : 1.0
  1180.                         }
  1181.                     ]
  1182.                 }
  1183.             },
  1184.             {
  1185.                 "time" : ISODate("2021-10-01T05:27:23.716Z"),
  1186.                 "text" : "start requesting option (yes, no)",
  1187.                 "context" : {
  1188.                     "sid" : "1eec4324-1fb8-47e1-a2e5-47699184ab59",
  1189.                     "question" : "специализация"
  1190.                 }
  1191.             },
  1192.             {
  1193.                 "time" : ISODate("2021-10-01T05:27:28.009Z"),
  1194.                 "text" : "recognise option(yes) on asr",
  1195.                 "context" : {
  1196.                     "sid" : "1eec4324-1fb8-47e1-a2e5-47699184ab59",
  1197.                     "question" : "специализация",
  1198.                     "recognition" : [
  1199.                         {
  1200.                             "text" : "да",
  1201.                             "confidence" : 1.0
  1202.                         }
  1203.                     ]
  1204.                 }
  1205.             },
  1206.             {
  1207.                 "time" : ISODate("2021-10-01T05:27:30.307Z"),
  1208.                 "text" : "start requesting option (yes, no)",
  1209.                 "context" : {
  1210.                     "sid" : "51f4cab1-f75f-42e3-9314-f458c1b56e5a",
  1211.                     "question" : "доктор подтвержден"
  1212.                 }
  1213.             },
  1214.             {
  1215.                 "time" : ISODate("2021-10-01T05:27:44.110Z"),
  1216.                 "text" : "recognise option(yes) on asr",
  1217.                 "context" : {
  1218.                     "sid" : "51f4cab1-f75f-42e3-9314-f458c1b56e5a",
  1219.                     "question" : "доктор подтвержден",
  1220.                     "recognition" : [
  1221.                         {
  1222.                             "text" : "Да",
  1223.                             "confidence" : 1.0
  1224.                         }
  1225.                     ]
  1226.                 }
  1227.             }
  1228.         ],
  1229.         "callId" : "fc48f795-8ec8-4b6a-b50a-5bc0d3b2ce55",
  1230.         "taskId" : "61569bf125234e0007a7929e",
  1231.         "resourceSpentEvents" : [
  1232.             {
  1233.                 "amount" : {
  1234.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  1235.                 },
  1236.                 "properties" : {
  1237.                     "TTS_SERVICE_KEY" : []
  1238.                 }
  1239.             },
  1240.             {
  1241.                 "vendor" : "YANDEX_ASR",
  1242.                 "amount" : {
  1243.                     "SPEECH_TIME" : NumberLong(6704),
  1244.                     "SPEECH_CHAR_COUNT" : NumberLong(2),
  1245.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
  1246.                     "SPEECH_DTMF_DIGIT_TIME" : NumberLong(6704)
  1247.                 },
  1248.                 "properties" : {
  1249.                     "ASR_SERVICE_KEY" : [
  1250.                         {
  1251.                             "vendor" : "YANDEX_ASR",
  1252.                             "vendorType" : "ASR",
  1253.                             "service" : "MS3",
  1254.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  1255.                             "serviceKeyValue" : "ajen0avoel9gk6kii30f",
  1256.                             "properties" : null
  1257.                         }
  1258.                     ]
  1259.                 }
  1260.             },
  1261.             {
  1262.                 "amount" : {
  1263.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  1264.                 },
  1265.                 "properties" : {
  1266.                     "TTS_SERVICE_KEY" : []
  1267.                 }
  1268.             },
  1269.             {
  1270.                 "vendor" : "YANDEX_ASR",
  1271.                 "amount" : {
  1272.                     "SPEECH_TIME" : NumberLong(8068),
  1273.                     "SPEECH_CHAR_COUNT" : NumberLong(0),
  1274.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
  1275.                     "SPEECH_DTMF_DIGIT_TIME" : NumberLong(8068)
  1276.                 },
  1277.                 "properties" : {
  1278.                     "ASR_SERVICE_KEY" : [
  1279.                         {
  1280.                             "vendor" : "YANDEX_ASR",
  1281.                             "vendorType" : "ASR",
  1282.                             "service" : "MS3",
  1283.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  1284.                             "serviceKeyValue" : "ajen0avoel9gk6kii30f",
  1285.                             "properties" : null
  1286.                         }
  1287.                     ]
  1288.                 }
  1289.             },
  1290.             {
  1291.                 "vendor" : "YANDEX_TTS_EASY",
  1292.                 "amount" : {
  1293.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(882)
  1294.                 },
  1295.                 "properties" : {
  1296.                     "TTS_SERVICE_KEY" : [
  1297.                         {
  1298.                             "vendor" : "YANDEX_TTS",
  1299.                             "vendorType" : "TTS",
  1300.                             "service" : "TTS_YANDEX_NODE1",
  1301.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  1302.                             "serviceKeyValue" : "aje3e7p63o8t6qs5mjad",
  1303.                             "properties" : null
  1304.                         }
  1305.                     ]
  1306.                 }
  1307.             },
  1308.             {
  1309.                 "vendor" : "YANDEX_ASR",
  1310.                 "amount" : {
  1311.                     "SPEECH_TIME" : NumberLong(37185),
  1312.                     "SPEECH_CHAR_COUNT" : NumberLong(8),
  1313.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
  1314.                     "SPEECH_DTMF_DIGIT_TIME" : NumberLong(37185)
  1315.                 },
  1316.                 "properties" : {
  1317.                     "ASR_SERVICE_KEY" : [
  1318.                         {
  1319.                             "vendor" : "YANDEX_ASR",
  1320.                             "vendorType" : "ASR",
  1321.                             "service" : "MS3",
  1322.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  1323.                             "serviceKeyValue" : "ajen0avoel9gk6kii30f",
  1324.                             "properties" : null
  1325.                         }
  1326.                     ]
  1327.                 }
  1328.             },
  1329.             {
  1330.                 "vendor" : "YANDEX_TTS_EASY",
  1331.                 "amount" : {
  1332.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(8)
  1333.                 },
  1334.                 "properties" : {
  1335.                     "TTS_SERVICE_KEY" : [
  1336.                         {
  1337.                             "vendor" : "YANDEX_TTS",
  1338.                             "vendorType" : "TTS",
  1339.                             "service" : "TTS_YANDEX_NODE1",
  1340.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  1341.                             "serviceKeyValue" : "aje3e7p63o8t6qs5mjad",
  1342.                             "properties" : null
  1343.                         }
  1344.                     ]
  1345.                 }
  1346.             },
  1347.             {
  1348.                 "vendor" : "YANDEX_ASR",
  1349.                 "amount" : {
  1350.                     "SPEECH_TIME" : NumberLong(1012),
  1351.                     "SPEECH_CHAR_COUNT" : NumberLong(2),
  1352.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
  1353.                     "SPEECH_DTMF_DIGIT_TIME" : NumberLong(1012)
  1354.                 },
  1355.                 "properties" : {
  1356.                     "ASR_SERVICE_KEY" : [
  1357.                         {
  1358.                             "vendor" : "YANDEX_ASR",
  1359.                             "vendorType" : "ASR",
  1360.                             "service" : "MS3",
  1361.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  1362.                             "serviceKeyValue" : "ajen0avoel9gk6kii30f",
  1363.                             "properties" : null
  1364.                         }
  1365.                     ]
  1366.                 }
  1367.             },
  1368.             {
  1369.                 "vendor" : "YANDEX_TTS_EASY",
  1370.                 "amount" : {
  1371.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(27)
  1372.                 },
  1373.                 "properties" : {
  1374.                     "TTS_SERVICE_KEY" : [
  1375.                         {
  1376.                             "vendor" : "YANDEX_TTS",
  1377.                             "vendorType" : "TTS",
  1378.                             "service" : "TTS_YANDEX_NODE1",
  1379.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  1380.                             "serviceKeyValue" : "aje3e7p63o8t6qs5mjad",
  1381.                             "properties" : null
  1382.                         }
  1383.                     ]
  1384.                 }
  1385.             },
  1386.             {
  1387.                 "vendor" : "YANDEX_ASR",
  1388.                 "amount" : {
  1389.                     "SPEECH_TIME" : NumberLong(8348),
  1390.                     "SPEECH_CHAR_COUNT" : NumberLong(2),
  1391.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
  1392.                     "SPEECH_DTMF_DIGIT_TIME" : NumberLong(8348)
  1393.                 },
  1394.                 "properties" : {
  1395.                     "ASR_SERVICE_KEY" : [
  1396.                         {
  1397.                             "vendor" : "YANDEX_ASR",
  1398.                             "vendorType" : "ASR",
  1399.                             "service" : "MS3",
  1400.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  1401.                             "serviceKeyValue" : "ajen0avoel9gk6kii30f",
  1402.                             "properties" : null
  1403.                         }
  1404.                     ]
  1405.                 }
  1406.             }
  1407.         ]
  1408.     },
  1409.     "ivoiceBilling" : {
  1410.         "ASR_POST_IVOICE" : {
  1411.             "vendorsResources" : [
  1412.                 "VOSK_ASR",
  1413.                 "THREEITECH_ASR",
  1414.                 "NLAB_ASR",
  1415.                 "YANDEX_ASR"
  1416.             ],
  1417.             "ivoiceResource" : {
  1418.                 "name" : "ASR_POST_IVOICE",
  1419.                 "legalName" : "asr post slots",
  1420.                 "legalNameRu" : "слоты пост распознования"
  1421.             },
  1422.             "oneUnitCostFromIvoiceTariff" : NumberLong(90),
  1423.             "amount" : NumberLong(7),
  1424.             "cost" : NumberLong(630)
  1425.         },
  1426.         "ASR_REALTIME_IVOICE" : {
  1427.             "vendorsResources" : [
  1428.                 "GOOGLE_ASR"
  1429.             ],
  1430.             "ivoiceResource" : {
  1431.                 "name" : "ASR_REALTIME_IVOICE",
  1432.                 "legalName" : "asr real time slots",
  1433.                 "legalNameRu" : "слоты реалтайм распознования"
  1434.             },
  1435.             "oneUnitCostFromIvoiceTariff" : NumberLong(90),
  1436.             "amount" : NumberLong(0),
  1437.             "cost" : NumberLong(0)
  1438.         },
  1439.         "DIALOG_TIME" : {
  1440.             "vendorsResources" : [
  1441.                 "DIALOG_TIME"
  1442.             ],
  1443.             "ivoiceResource" : {
  1444.                 "name" : "DIALOG_TIME",
  1445.                 "legalName" : "dialog time",
  1446.                 "legalNameRu" : "время разговора"
  1447.             },
  1448.             "oneUnitCostFromIvoiceTariff" : NumberLong(0),
  1449.             "amount" : NumberLong(136),
  1450.             "cost" : NumberLong(0)
  1451.         },
  1452.         "TTS_EASY" : {
  1453.             "vendorsResources" : [
  1454.                 "YANDEX_TTS_EASY",
  1455.                 "GOOGLE_TTS_EASY",
  1456.                 "AMAZON_TTS_EASY",
  1457.                 "AZURE_TTS_EASY"
  1458.             ],
  1459.             "ivoiceResource" : {
  1460.                 "name" : "TTS_EASY",
  1461.                 "legalName" : "tts easy symbols",
  1462.                 "legalNameRu" : "символы генерации стандарт"
  1463.             },
  1464.             "oneUnitCostFromIvoiceTariff" : NumberLong(2),
  1465.             "amount" : NumberLong(917),
  1466.             "cost" : NumberLong(1834)
  1467.         },
  1468.         "SMS_IVOICE" : {
  1469.             "vendorsResources" : [
  1470.                 "IVOICE_SMS_SERVICE"
  1471.             ],
  1472.             "ivoiceResource" : {
  1473.                 "name" : "SMS_IVOICE",
  1474.                 "legalName" : "sms",
  1475.                 "legalNameRu" : "смс"
  1476.             },
  1477.             "oneUnitCostFromIvoiceTariff" : NumberLong(0),
  1478.             "amount" : NumberLong(0),
  1479.             "cost" : NumberLong(0)
  1480.         },
  1481.         "TTS_PREMIUM" : {
  1482.             "vendorsResources" : [
  1483.                 "AMAZON_TTS_PREMIUM",
  1484.                 "YANDEX_TTS_PREMIUM",
  1485.                 "GOOGLE_TTS_PREMIUM",
  1486.                 "AZURE_TTS_PREMIUM"
  1487.             ],
  1488.             "ivoiceResource" : {
  1489.                 "name" : "TTS_PREMIUM",
  1490.                 "legalName" : "tts premium symbols",
  1491.                 "legalNameRu" : "символы генерации премиум"
  1492.             },
  1493.             "oneUnitCostFromIvoiceTariff" : NumberLong(2),
  1494.             "amount" : NumberLong(0),
  1495.             "cost" : NumberLong(0)
  1496.         },
  1497.         "AMD_IVOICE" : {
  1498.             "vendorsResources" : [
  1499.                 "IVOICE_AMD"
  1500.             ],
  1501.             "ivoiceResource" : {
  1502.                 "name" : "AMD_IVOICE",
  1503.                 "legalName" : "amd",
  1504.                 "legalNameRu" : "амд"
  1505.             },
  1506.             "oneUnitCostFromIvoiceTariff" : NumberLong(0),
  1507.             "amount" : NumberLong(0),
  1508.             "cost" : NumberLong(0)
  1509.         }
  1510.     },
  1511.     "vendorsAccounting" : {
  1512.         "YANDEX_TTS_EASY" : {
  1513.             "vendor" : "YANDEX_TTS_EASY",
  1514.             "units" : NumberLong(917),
  1515.             "asrSessions" : [],
  1516.             "cost" : NumberLong(917),
  1517.             "vendorDetails" : [
  1518.                 {
  1519.                     "vendor" : "YANDEX_TTS",
  1520.                     "vendorType" : "TTS",
  1521.                     "service" : "TTS_YANDEX_NODE1",
  1522.                     "serviceKeyName" : "YANDEX_API_KEY_ID",
  1523.                     "serviceKeyValue" : "aje3e7p63o8t6qs5mjad"
  1524.                 }
  1525.             ]
  1526.         },
  1527.         "IVOICE_AMD" : {
  1528.             "vendor" : "IVOICE_AMD",
  1529.             "units" : NumberLong(0),
  1530.             "asrSessions" : [],
  1531.             "cost" : NumberLong(0),
  1532.             "vendorDetails" : []
  1533.         },
  1534.         "GOOGLE_TTS_EASY" : {
  1535.             "vendor" : "GOOGLE_TTS_EASY",
  1536.             "units" : NumberLong(0),
  1537.             "asrSessions" : [],
  1538.             "cost" : NumberLong(0),
  1539.             "vendorDetails" : []
  1540.         },
  1541.         "IVOICE_SMS_SERVICE" : {
  1542.             "vendor" : "IVOICE_SMS_SERVICE",
  1543.             "units" : NumberLong(0),
  1544.             "asrSessions" : [],
  1545.             "cost" : NumberLong(0),
  1546.             "vendorDetails" : []
  1547.         },
  1548.         "YANDEX_ASR" : {
  1549.             "vendor" : "YANDEX_ASR",
  1550.             "units" : NumberLong(7),
  1551.             "asrSessions" : [
  1552.                 NumberLong(7),
  1553.                 NumberLong(9),
  1554.                 NumberLong(38),
  1555.                 NumberLong(2),
  1556.                 NumberLong(9)
  1557.             ],
  1558.             "cost" : NumberLong(7),
  1559.             "vendorDetails" : [
  1560.                 {
  1561.                     "vendor" : "YANDEX_ASR",
  1562.                     "vendorType" : "ASR",
  1563.                     "service" : "MS3",
  1564.                     "serviceKeyName" : "YANDEX_API_KEY_ID",
  1565.                     "serviceKeyValue" : "ajen0avoel9gk6kii30f"
  1566.                 }
  1567.             ]
  1568.         },
  1569.         "AMAZON_TTS_PREMIUM" : {
  1570.             "vendor" : "AMAZON_TTS_PREMIUM",
  1571.             "units" : NumberLong(0),
  1572.             "asrSessions" : [],
  1573.             "cost" : NumberLong(0),
  1574.             "vendorDetails" : []
  1575.         },
  1576.         "DIALOG_TIME" : {
  1577.             "vendor" : "DIALOG_TIME",
  1578.             "units" : NumberLong(136),
  1579.             "asrSessions" : [],
  1580.             "cost" : NumberLong(136),
  1581.             "vendorDetails" : []
  1582.         },
  1583.         "VOSK_ASR" : {
  1584.             "vendor" : "VOSK_ASR",
  1585.             "units" : NumberLong(0),
  1586.             "asrSessions" : [],
  1587.             "cost" : NumberLong(0),
  1588.             "vendorDetails" : []
  1589.         },
  1590.         "GOOGLE_TTS_PREMIUM" : {
  1591.             "vendor" : "GOOGLE_TTS_PREMIUM",
  1592.             "units" : NumberLong(0),
  1593.             "asrSessions" : [],
  1594.             "cost" : NumberLong(0),
  1595.             "vendorDetails" : []
  1596.         },
  1597.         "YANDEX_TTS_PREMIUM" : {
  1598.             "vendor" : "YANDEX_TTS_PREMIUM",
  1599.             "units" : NumberLong(0),
  1600.             "asrSessions" : [],
  1601.             "cost" : NumberLong(0),
  1602.             "vendorDetails" : []
  1603.         },
  1604.         "THREEITECH_ASR" : {
  1605.             "vendor" : "THREEITECH_ASR",
  1606.             "units" : NumberLong(0),
  1607.             "asrSessions" : [],
  1608.             "cost" : NumberLong(0),
  1609.             "vendorDetails" : []
  1610.         },
  1611.         "NLAB_ASR" : {
  1612.             "vendor" : "NLAB_ASR",
  1613.             "units" : NumberLong(0),
  1614.             "asrSessions" : [],
  1615.             "cost" : NumberLong(0),
  1616.             "vendorDetails" : []
  1617.         },
  1618.         "GOOGLE_ASR" : {
  1619.             "vendor" : "GOOGLE_ASR",
  1620.             "units" : NumberLong(0),
  1621.             "asrSessions" : [],
  1622.             "cost" : NumberLong(0),
  1623.             "vendorDetails" : []
  1624.         },
  1625.         "AZURE_TTS_PREMIUM" : {
  1626.             "vendor" : "AZURE_TTS_PREMIUM",
  1627.             "units" : NumberLong(0),
  1628.             "asrSessions" : [],
  1629.             "cost" : NumberLong(0),
  1630.             "vendorDetails" : []
  1631.         },
  1632.         "AMAZON_TTS_EASY" : {
  1633.             "vendor" : "AMAZON_TTS_EASY",
  1634.             "units" : NumberLong(0),
  1635.             "asrSessions" : [],
  1636.             "cost" : NumberLong(0),
  1637.             "vendorDetails" : []
  1638.         },
  1639.         "AZURE_TTS_EASY" : {
  1640.             "vendor" : "AZURE_TTS_EASY",
  1641.             "units" : NumberLong(0),
  1642.             "asrSessions" : [],
  1643.             "cost" : NumberLong(0),
  1644.             "vendorDetails" : []
  1645.         }
  1646.     }
  1647. }
Add Comment
Please, Sign In to add comment