CognitiveX Docs
SDK

updateProfile

Function from @cognitivx/api-client

updateProfile

Kind: Function Source: packages/api-client/src/endpoints/me.ts:14 Generated from the TypeScript source for @cognitivx/api-client.

Signature

updateProfile(body)

Parameters

[
  {
    "name": "body",
    "type": {
      "type": "reflection",
      "declaration": {
        "id": 261,
        "name": "__type",
        "variant": "declaration",
        "kind": 65536,
        "flags": {},
        "children": [
          {
            "id": 263,
            "name": "avatar_url",
            "variant": "declaration",
            "kind": 1024,
            "flags": {
              "isOptional": true
            },
            "sources": [
              {
                "fileName": "packages/api-client/src/endpoints/me.ts",
                "line": 14,
                "character": 61,
                "url": "https://github.com/ParsaBarati/CognitiveX/blob/1090be99c91b488bd57bc6c8e9230d568d32dad0/packages/api-client/src/endpoints/me.ts#L14"
              }
            ],
            "type": {
              "type": "intrinsic",
              "name": "string"
            }
          },
          {
            "id": 262,
            "name": "display_name",
            "variant": "declaration",
            "kind": 1024,
            "flags": {
              "isOptional": true
            },
            "sources": [
              {
                "fileName": "packages/api-client/src/endpoints/me.ts",
                "line": 14,
                "character": 38,
                "url": "https://github.com/ParsaBarati/CognitiveX/blob/1090be99c91b488bd57bc6c8e9230d568d32dad0/packages/api-client/src/endpoints/me.ts#L14"
              }
            ],
            "type": {
              "type": "intrinsic",
              "name": "string"
            }
          }
        ],
        "groups": [
          {
            "title": "Properties",
            "children": [
              263,
              262
            ]
          }
        ]
      }
    },
    "summary": ""
  }
]

TypeDoc reflection

{
  "name": "updateProfile",
  "kind": "Function",
  "source": "packages/api-client/src/endpoints/me.ts:14"
}