index.js
function ConnectedInstance (requestOptions, authToken, credentials) {
  this.__REQUEST_OPTIONS = requestOptions;
  this.__TOKEN = authToken;
  this.__CREDENTIALS = credentials;
  
  this.SurveyFieldwork = {
    status : bindAPI(this, API, 'statusSurveyFieldwork'),
    start : bindAPI(this, API, 'startSurveyFieldwork'),
    stop : bindAPI(this, API, 'stopSurveyFieldwork')
  };
  
  this.DefaultTexts = {
    get : bindAPI(this, API, 'getDefaultTexts')
  };
  
  this.SurveyTranslations = {
    get : bindAPI(this, API, 'getSurveyTranslations'),
    add : bindAPI(this, API, 'addSurveyTranslations'),
    update : bindAPI(this, API, 'updateSurveyTranslations'),
    remove : bindAPI(this, API, 'removeSurveyTranslations')
  };
  
  this.SurveyLanguages = {
    get : bindAPI(this, API, 'getSurveyLanguages'),
    add : bindAPI(this, API, 'addSurveyLanguages'),
    update : bindAPI(this, API, 'updateSurveyLanguages'),
    remove : bindAPI(this, API, 'removeSurveyLanguages')
  };
  
  this.SurveySettings = {
    get : bindAPI(this, API, 'getSurveySettings'),
    update : bindAPI(this, API, 'updateSurveySettings')
  };
  
  this.SurveyScript = {
    get : bindAPI(this, API, 'getSurveyScript'),
    update : bindAPI(this, API, 'updateSurveyScript')
  };
  
  this.SurveyData = {
    request : bindAPI(this, API, 'requestSurveyData')
  };
  
  this.Surveys = {
    get : bindAPI(this, API, 'getSurveys'),
    add : bindAPI(this, API, 'addSurveys'),
    update : bindAPI(this, API, 'updateSurveys'),
    remove : bindAPI(this, API, 'removeSurveys')
  };
  
  this.SurveyPublish = {
    get : bindAPI(this, API, 'getSurveyPublish'),
    update : bindAPI(this, API, 'updateSurveyPublish')
  };
  
  this.BackgroundTasks = {
    get : bindAPI(this, API, 'getBackgroundTasks')
  };
  
  this.InterviewQuality = {
    get : bindAPI(this, API, 'getInterviewQuality'),
    update : bindAPI(this, API, 'updateInterviewQuality')
  };
  
}
function ConnectedInstance (requestOptions, authToken, credentials) {
  this.__REQUEST_OPTIONS = requestOptions;
  this.__TOKEN = authToken;
  this.__CREDENTIALS = credentials;
  
  this.SurveyFieldwork = {
    status : bindAPI(this, API, 'statusSurveyFieldwork'),
    start : bindAPI(this, API, 'startSurveyFieldwork'),
    stop : bindAPI(this, API, 'stopSurveyFieldwork')
  };
  
  this.DefaultTexts = {
    get : bindAPI(this, API, 'getDefaultTexts')
  };
  
  this.SurveyTranslations = {
    get : bindAPI(this, API, 'getSurveyTranslations'),
    add : bindAPI(this, API, 'addSurveyTranslations'),
    update : bindAPI(this, API, 'updateSurveyTranslations'),
    remove : bindAPI(this, API, 'removeSurveyTranslations')
  };
  
  this.SurveyLanguages = {
    get : bindAPI(this, API, 'getSurveyLanguages'),
    add : bindAPI(this, API, 'addSurveyLanguages'),
    update : bindAPI(this, API, 'updateSurveyLanguages'),
    remove : bindAPI(this, API, 'removeSurveyLanguages')
  };
  
  this.SurveySettings = {
    get : bindAPI(this, API, 'getSurveySettings'),
    update : bindAPI(this, API, 'updateSurveySettings')
  };
  
  this.SurveyScript = {
    get : bindAPI(this, API, 'getSurveyScript'),
    update : bindAPI(this, API, 'updateSurveyScript')
  };
  
  this.SurveyData = {
    request : bindAPI(this, API, 'requestSurveyData')
  };
  
  this.Surveys = {
    get : bindAPI(this, API, 'getSurveys'),
    add : bindAPI(this, API, 'addSurveys'),
    update : bindAPI(this, API, 'updateSurveys'),
    remove : bindAPI(this, API, 'removeSurveys')
  };
  
  this.SurveyPublish = {
    get : bindAPI(this, API, 'getSurveyPublish'),
    update : bindAPI(this, API, 'updateSurveyPublish')
  };
  
  this.BackgroundTasks = {
    get : bindAPI(this, API, 'getBackgroundTasks')
  };
  
  this.InterviewQuality = {
    get : bindAPI(this, API, 'getInterviewQuality'),
    update : bindAPI(this, API, 'updateInterviewQuality')
  };
  
}
function ConnectedInstance ( requestOptions , authToken , credentials ) { this . __REQUEST_OPTIONS = requestOptions ; this . __TOKEN = authToken ; this . __CREDENTIALS = credentials ; this . SurveyFieldwork = { status : bindAPI ( this , API , 'statusSurveyFieldwork' ) , start : bindAPI ( this , API , 'startSurveyFieldwork' ) , stop : bindAPI ( this , API , 'stopSurveyFieldwork' ) } ; this . DefaultTexts = { get : bindAPI ( this , API , 'getDefaultTexts' ) } ; this . SurveyTranslations = { get : bindAPI ( this , API , 'getSurveyTranslations' ) , add : bindAPI ( this , API , 'addSurveyTranslations' ) , update : bindAPI ( this , API , 'updateSurveyTranslations' ) , remove : bindAPI ( this , API , 'removeSurveyTranslations' ) } ; this . SurveyLanguages = { get : bindAPI ( this , API , 'getSurveyLanguages' ) , add : bindAPI ( this , API , 'addSurveyLanguages' ) , update : bindAPI ( this , API , 'updateSurveyLanguages' ) , remove : bindAPI ( this , API , 'removeSurveyLanguages' ) } ; this . SurveySettings = { get : bindAPI ( this , API , 'getSurveySettings' ) , update : bindAPI ( this , API , 'updateSurveySettings' ) } ; this . SurveyScript = { get : bindAPI ( this , API , 'getSurveyScript' ) , update : bindAPI ( this , API , 'updateSurveyScript' ) } ; this . SurveyData = { request : bindAPI ( this , API , 'requestSurveyData' ) } ; this . Surveys = { get : bindAPI ( this , API , 'getSurveys' ) , add : bindAPI ( this , API , 'addSurveys' ) , update : bindAPI ( this , API , 'updateSurveys' ) , remove : bindAPI ( this , API , 'removeSurveys' ) } ; this . SurveyPublish = { get : bindAPI ( this , API , 'getSurveyPublish' ) , update : bindAPI ( this , API , 'updateSurveyPublish' ) } ; this . BackgroundTasks = { get : bindAPI ( this , API , 'getBackgroundTasks' ) } ; this . InterviewQuality = { get : bindAPI ( this , API , 'getInterviewQuality' ) , update : bindAPI ( this , API , 'updateInterviewQuality' ) } ; }
Creates an instance of object, connected to Nfield API
@constructor
Creates an instance of object connected to Nfield API