text: const InsertElementModelIntentHandler = {
      canHandle(handlerInput) {
          return handlerInput.requestEnvelope.request.type === 'IntentRequest'
              && handlerInput.requestEnvelope.request.intent.name === 'InsertElementModelIntent'
      },
      handle(handlerInput) {
          var sessionAttributes = handlerInput.attributesManager.getSessionAttributes(),
              name = handlerInput.requestEnvelope.request.intent.slots.name.value,
              child = handlerInput.requestEnvelope.request.intent.slots.child.value,
              parent = handlerInput.requestEnvelope.request.intent.slots.parent.value,
              type = handlerInput.requestEnvelope.request.intent.slots.type.value ? handlerInput.requestEnvelope.request.intent.slots.type.resolutions.resolutionsPerAuthority[0].values[0].value.name : undefined,
              position = handlerInput.requestEnvelope.request.intent.slots.position.value ? handlerInput.requestEnvelope.request.intent.slots.position.resolutions.resolutionsPerAuthority[0].values[0].value.name : undefined,
              childType = handlerInput.requestEnvelope.request.intent.slots.childType.value ? handlerInput.requestEnvelope.request.intent.slots.childType.resolutions.resolutionsPerAuthority[0].values[0].value.name : undefined,
              message;
  
          if (parent) {
              var message = 'Insert ';
  
              if (name && type) {
                  message += name + ' ' + type + ' ';
              }
  
              message += 'inside ' + parent;
  
              sessionAttributes.notify = {
                  message: message,
                  messageType: 'success',
                  advanced: true
              };
              sessionAttributes.advanced = {
                  operation: 'insert',
                  options: {
                      name: name,
                      child: child,
                      parent: parent,
                      type: type,
                      childType: childType,
                      position: position
                  }
              }
              return handlerInput.responseBuilder
                  .speak('done')
                  .withShouldEndSession(false)
                  .getResponse();
          } else {
              sessionAttributes.notify = {
                  message: 'What is the name of the parent view container inside which you want to insert the element?',
                  messageType: 'warning'
              };
              return handlerInput.responseBuilder
                  .addDelegateDirective()
                  .getResponse();
          }
      }
  };
  
  exports.InsertElementModelIntentHandler = InsertElementModelIntentHandler;
  