<commit_before>/// <reference path="../interfaces.ts" />

/**
 * This file is auto-generated by the `asana-api-meta` NodeJS package.
 * We try to keep the generated code pretty clean but there will be lint
 * errors that are just not worth fixing.
 */
/* tslint:disable:max-line-length */
/* tslint:disable:eofline */
var resource = <Resource>{
  "name": "workspace",
  "comment": "A _workspace_ is the highest-level organizational unit in Asana. All projects\nand tasks have an associated workspace.\n\nAn _organization_ is a special kind of workspace that represents a company.\nIn an organization, you can group your projects into teams. You can read\nmore about how organizations work on the Asana Guide.\nTo tell if your workspace is an organization or not, check its\n`is_organization` property.\n\nOver time, we intend to migrate most workspaces into organizations and to\nrelease more organization-specific functionality. We may eventually deprecate\nusing workspace-based APIs for organizations. Currently, and until after\nsome reasonable grace period following any further announcements, you can\nstill reference organizations in any `workspace` parameter.\n",
  "properties": [
    {
      "name": "id",
      "type": "Id",
      "example_values": [
        "1234"
      ],
      "access": "Read-only",
      "comment": "Globally unique ID of the workspace.\n"
    },
    {
      "name": "name",
      "type": "String",
      "example_values": [
        "'My Favorite Workspace'"
      ],
      "comment": "The name of the workspace.\n"
    },
    {
      "name": "is_organization",
      "type": "Boolean",
      "example_values": [
        "false"
      ],
      "comment": "Whether the workspace is an _organization_.\n"
    }
  ],
  "action_classes": [
    {
      "name": "Get available workspaces",
      "url": "get"
    },
    {
      "name": "Update a workspace",
      "url": "update"
    },
    {
      "name": "Typeahead search",
      "url": "typeahead"
    }
  ],
  "actions": [
    {
      "name": "findById",
      "class": "get",
      "method": "GET",
      "path": "/workspaces/%s",
      "params": [
        {
          "name": "workspace",
          "type": "Id",
          "example_values": [
            "1331"
          ],
          "comment": "Globally unique identifier for the workspace or organization.\n",
          "required": true
        }
      ],
      "comment": "Returns the full workspace record for a single workspace.\n"
    },
    {
      "name": "findAll",
      "class": "get",
      "method": "GET",
      "path": "/workspaces",
      "collection": true,
      "comment": "Returns the compact records for all workspaces visible to the authorized user.\n"
    },
    {
      "name": "update",
      "class": "update",
      "method": "PUT",
      "path": "/workspaces/%s",
      "params": [
        {
          "name": "workspace",
          "type": "Id",
          "example_values": [
            "1331"
          ],
          "comment": "The workspace to update.",
          "required": true
        }
      ],
      "comment": "A specific, existing workspace can be updated by making a PUT request on\nthe URL for that workspace. Only the fields provided in the data block\nwill be updated; any unspecified fields will remain unchanged.\n\nCurrently the only field that can be modified for a workspace is its `name`.\n\nReturns the complete, updated workspace record.\n"
    },
    {
      "name": "typeahead",
      "class": "typeahead",
      "method": "GET",
      "path": "/workspaces/%s/typeahead",
      "params": [
        {
          "name": "workspace",
          "type": "Id",
          "example_values": [
            "1331"
          ],
          "comment": "The workspace to fetch objects from.",
          "required": true
        },
        {
          "name": "type",
          "type": "Enum",
          "example_values": [
            "user"
          ],
          "values": [
            {
              "name": "task",
              "comment": "A task."
            },
            {
              "name": "project",
              "comment": "A project."
            },
            {
              "name": "user",
              "comment": "A user."
            },
            {
              "name": "tag",
              "comment": "A tag."
            }
          ],
          "required": true,
          "comment": "The type of values the typeahead should return.\nNote that unlike in the names of endpoints, the types listed here are\nin singular form (e.g. `task`). Using multiple types is not yet supported.\n"
        },
        {
          "name": "query",
          "type": "String",
          "example_values": [
            "Greg"
          ],
          "comment": "The string that will be used to search for relevant objects. If an\nempty string is passed in, the API will currently return an empty\nresult set.\n"
        },
        {
          "name": "count",
          "type": "Number",
          "example_values": [
            "10"
          ],
          "comment": "The number of results to return. The default is `20` if this\nparameter is omitted, with a minimum of `1` and a maximum of `100`.\nIf there are fewer results found than requested, all will be returned.\n"
        }
      ],
      "collection": true,
      "collection_cannot_paginate": true,
      "comment": "Retrieves objects in the workspace based on an auto-completion/typeahead\nsearch algorithm. This feature is meant to provide results quickly, so do\nnot rely on this API to provide extremely accurate search results. The\nresult set is limited to a single page of results with a maximum size,\nso you won't be able to fetch large numbers of results.\n"
    },
    {
      "name": "addUser",
      "class": "add-user",
      "method": "POST",
      "path": "/workspaces/%s/addUser",
      "params": [
        {
          "name": "workspace",
          "type": "Id",
          "example_values": [
            "1331"
          ],
          "comment": "The workspace or organization to invite the user to.",
          "required": true
        },
        {
          "name": "user",
          "type": "String",
          "example_values": [
            "14641",
            "me",
            "<EMAIL>"
          ],
          "comment": "An identifier for the user. Can be one of an email address,\nthe globally unique identifier for the user, or the keyword `me`\nto indicate the current user making the request.\n",
          "required": true
        }
      ],
      "comment": "The user can be referenced by their globally unique user ID or their email address.\nReturns the full user record for the invited user.\n"
    },
    {
      "name": "removeUser",
      "class": "remove-user",<commit_msg>Deploy from asana-api-meta v0.7.0 (b7b5848/HEAD) by asanabot<commit_after>/// <reference path="../interfaces.ts" />

/**
 * This file is auto-generated by the `asana-api-meta` NodeJS package.
 * We try to keep the generated code pretty clean but there will be lint
 * errors that are just not worth fixing.
 */
/* tslint:disable:max-line-length */
/* tslint:disable:eofline */
var resource = <Resource>{
  "name": "workspace",
  "comment": "A _workspace_ is the highest-level organizational unit in Asana. All projects\nand tasks have an associated workspace.\n\nAn _organization_ is a special kind of workspace that represents a company.\nIn an organization, you can group your projects into teams. You can read\nmore about how organizations work on the Asana Guide.\nTo tell if your workspace is an organization or not, check its\n`is_organization` property.\n\nOver time, we intend to migrate most workspaces into organizations and to\nrelease more organization-specific functionality. We may eventually deprecate\nusing workspace-based APIs for organizations. Currently, and until after\nsome reasonable grace period following any further announcements, you can\nstill reference organizations in any `workspace` parameter.\n",
  "properties": [
    {
      "name": "id",
      "type": "Id",
      "example_values": [
        "1234"
      ],
      "access": "Read-only",
      "comment": "Globally unique ID of the workspace.\n"
    },
    {
      "name": "name",
      "type": "String",
      "example_values": [
        "'My Favorite Workspace'"
      ],
      "comment": "The name of the workspace.\n"
    },
    {
      "name": "is_organization",
      "type": "Boolean",
      "example_values": [
        "false"
      ],
      "comment": "Whether the workspace is an _organization_.\n"
    }
  ],
  "action_classes": [
    {
      "name": "Get available workspaces",
      "url": "get"
    },
    {
      "name": "Update a workspace",
      "url": "update"
    },
    {
      "name": "Typeahead search",
      "url": "typeahead"
    },
    {
      "name": "User Managment",
      "url": "user-mgmt"
    }
  ],
  "actions": [
    {
      "name": "findById",
      "class": "get",
      "method": "GET",
      "path": "/workspaces/%s",
      "params": [
        {
          "name": "workspace",
          "type": "Id",
          "example_values": [
            "1331"
          ],
          "comment": "Globally unique identifier for the workspace or organization.\n",
          "required": true
        }
      ],
      "comment": "Returns the full workspace record for a single workspace.\n"
    },
    {
      "name": "findAll",
      "class": "get",
      "method": "GET",
      "path": "/workspaces",
      "collection": true,
      "comment": "Returns the compact records for all workspaces visible to the authorized user.\n"
    },
    {
      "name": "update",
      "class": "update",
      "method": "PUT",
      "path": "/workspaces/%s",
      "params": [
        {
          "name": "workspace",
          "type": "Id",
          "example_values": [
            "1331"
          ],
          "comment": "The workspace to update.",
          "required": true
        }
      ],
      "comment": "A specific, existing workspace can be updated by making a PUT request on\nthe URL for that workspace. Only the fields provided in the data block\nwill be updated; any unspecified fields will remain unchanged.\n\nCurrently the only field that can be modified for a workspace is its `name`.\n\nReturns the complete, updated workspace record.\n"
    },
    {
      "name": "typeahead",
      "class": "typeahead",
      "method": "GET",
      "path": "/workspaces/%s/typeahead",
      "params": [
        {
          "name": "workspace",
          "type": "Id",
          "example_values": [
            "1331"
          ],
          "comment": "The workspace to fetch objects from.",
          "required": true
        },
        {
          "name": "type",
          "type": "Enum",
          "example_values": [
            "user"
          ],
          "values": [
            {
              "name": "task",
              "comment": "A task."
            },
            {
              "name": "project",
              "comment": "A project."
            },
            {
              "name": "user",
              "comment": "A user."
            },
            {
              "name": "tag",
              "comment": "A tag."
            }
          ],
          "required": true,
          "comment": "The type of values the typeahead should return.\nNote that unlike in the names of endpoints, the types listed here are\nin singular form (e.g. `task`). Using multiple types is not yet supported.\n"
        },
        {
          "name": "query",
          "type": "String",
          "example_values": [
            "Greg"
          ],
          "comment": "The string that will be used to search for relevant objects. If an\nempty string is passed in, the API will currently return an empty\nresult set.\n"
        },
        {
          "name": "count",
          "type": "Number",
          "example_values": [
            "10"
          ],
          "comment": "The number of results to return. The default is `20` if this\nparameter is omitted, with a minimum of `1` and a maximum of `100`.\nIf there are fewer results found than requested, all will be returned.\n"
        }
      ],
      "collection": true,
      "collection_cannot_paginate": true,
      "comment": "Retrieves objects in the workspace based on an auto-completion/typeahead\nsearch algorithm. This feature is meant to provide results quickly, so do\nnot rely on this API to provide extremely accurate search results. The\nresult set is limited to a single page of results with a maximum size,\nso you won't be able to fetch large numbers of results.\n"
    },
    {
      "name": "addUser",
      "class": "user-mgmt",
      "method": "POST",
      "path": "/workspaces/%s/addUser",
      "params": [
        {
          "name": "workspace",
          "type": "Id",
          "example_values": [
            "1331"
          ],
          "comment": "The workspace or organization to invite the user to.",
          "required": true
        },
        {
          "name": "user",
          "type": "String",
          "example_values": [
            "14641",
            "me",
            "<EMAIL>"
          ],
          "comment": "An identifier for the user. Can be one of an email address,\nthe globally unique identifier for the user, or the keyword `me`\nto indicate the current user making the request.\n",
          "required": true
        }
      ],
      "comment": "The user can be referenced by their globally unique user ID or their email address.\nReturns the full user record for the invited user.\n"
    },
    {
      "name": "removeUser",
      "class": "user-mgmt",
{'fraction_non_alphanumeric': 0.13029459182177927, 'fraction_numerical': 0.005422834530265279, 'mean_word_length': 1.9373654756780025, 'pattern_counts': {'":': 212, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6251955', 'n_tokens_mistral': 3852, 'n_tokens_neox': 3737, 'n_words': 1308}