TypeaheadApi:
  typeaheadForWorkspace: |-
    const AsanaPreview = require('asana-preview');
    
    let client = AsanaPreview.ApiClient.instance;
    let token = client.authentications['token'];
    token.accessToken = '<YOUR_ACCESS_TOKEN>';
    
    let typeaheadApiInstance = new AsanaPreview.TypeaheadApi();
    let workspace_gid = "12345"; // String | Globally unique identifier for the workspace or organization.
    let resource_type = "user"; // String | The type of values the typeahead should return. You can choose from one of the following: `custom_field`, `goal`, `project`, `project_template`, `portfolio`, `tag`, `task`, `team`, and `user`. Note that unlike in the names of endpoints, the types listed here are in singular form (e.g. `task`). Using multiple types is not yet supported.
    let opts = { 
        'type': "user", 
        'query': "Greg", 
        'count': 20, 
        'opt_fields': "name"
    };
    typeaheadApiInstance.typeaheadForWorkspace(workspace_gid, resource_type, opts).then((result) => {
        console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2));
    }, (error) => {
        console.error(error.response.body);
    });
    
