|
15 | 15 | "libDocsLink": ""
|
16 | 16 | }
|
17 | 17 | },
|
| 18 | + { |
| 19 | + "op": "add", |
| 20 | + "path": "/paths/~1website~1subscribe/put/x-typescript", |
| 21 | + "value": { |
| 22 | + "example": "import { users } from '@kittycad/lib'\n\nasync function example() {\n const response = await users.put_public_subscribe({\n body: { email: 'The email' },\n })\n if ('error_code' in response) throw response\n console.log(JSON.stringify(response, null, 2))\n}\n", |
| 23 | + "libDocsLink": "" |
| 24 | + } |
| 25 | + }, |
| 26 | + { |
| 27 | + "op": "add", |
| 28 | + "path": "/paths/~1website~1form/put/x-typescript", |
| 29 | + "value": { |
| 30 | + "example": "import { users } from '@kittycad/lib'\n\nasync function example() {\n const response = await users.put_public_form({\n body: {\n company: 'The company name.',\n email: 'The email address of the user.',\n first_name: 'The first name of the user.',\n industry: 'The industry of the user.',\n inquiry_type: 'general_inquiry',\n last_name: 'The last name of the user.',\n message: 'The message content.',\n phone: 'The phone number of the user.',\n },\n })\n if ('error_code' in response) throw response\n console.log(JSON.stringify(response, null, 2))\n}\n", |
| 31 | + "libDocsLink": "" |
| 32 | + } |
| 33 | + }, |
18 | 34 | {
|
19 | 35 | "op": "add",
|
20 | 36 | "path": "/paths/~1users~1{id}~1payment~1balance/put/x-typescript",
|
|
279 | 295 | "libDocsLink": ""
|
280 | 296 | }
|
281 | 297 | },
|
| 298 | + { |
| 299 | + "op": "add", |
| 300 | + "path": "/paths/~1user~1form/put/x-typescript", |
| 301 | + "value": { |
| 302 | + "example": "import { users } from '@kittycad/lib'\n\nasync function example() {\n const response = await users.put_user_form_self({\n body: {\n company: 'The company name.',\n email: 'The email address of the user.',\n first_name: 'The first name of the user.',\n industry: 'The industry of the user.',\n inquiry_type: 'general_inquiry',\n last_name: 'The last name of the user.',\n message: 'The message content.',\n phone: 'The phone number of the user.',\n },\n })\n if ('error_code' in response) throw response\n console.log(JSON.stringify(response, null, 2))\n}\n", |
| 303 | + "libDocsLink": "" |
| 304 | + } |
| 305 | + }, |
282 | 306 | {
|
283 | 307 | "op": "add",
|
284 | 308 | "path": "/paths/~1user~1extended/get/x-typescript",
|
|
287 | 311 | "libDocsLink": ""
|
288 | 312 | }
|
289 | 313 | },
|
| 314 | + { |
| 315 | + "op": "add", |
| 316 | + "path": "/paths/~1user~1crm/patch/x-typescript", |
| 317 | + "value": { |
| 318 | + "example": "import { users } from '@kittycad/lib'\n\nasync function example() {\n const response = await users.patch_user_crm({\n body: {\n cad_industry: 'The industry of the user.',\n cad_user_count: 'The user count of the user.',\n cad_user_type: 'The user type.',\n },\n })\n if ('error_code' in response) throw response\n console.log(JSON.stringify(response, null, 2))\n}\n", |
| 319 | + "libDocsLink": "" |
| 320 | + } |
| 321 | + }, |
290 | 322 | {
|
291 | 323 | "op": "add",
|
292 | 324 | "path": "/paths/~1user~1api-tokens~1{token}/delete/x-typescript",
|
|
347 | 379 | "op": "add",
|
348 | 380 | "path": "/paths/~1user/put/x-typescript",
|
349 | 381 | "value": {
|
350 |
| - "example": "import { users } from '@kittycad/lib'\n\nasync function example() {\n const response = await users.update_user_self({\n body: {\n company: \"The user's company.\",\n discord: \"The user's Discord handle.\",\n first_name: \"The user's first name.\",\n github: \"The user's GitHub handle.\",\n image: \"The image URL for the user. NOTE: If the user uses an OAuth2 provider, this will be overwritten by the provider's image URL when the user logs in next.\",\n last_name: \"The user's last name.\",\n phone: \"The user's phone number.\",\n },\n })\n if ('error_code' in response) throw response\n console.log(JSON.stringify(response, null, 2))\n}\n", |
| 382 | + "example": "import { users } from '@kittycad/lib'\n\nasync function example() {\n const response = await users.update_user_self({\n body: {\n company: \"The user's company.\",\n discord: \"The user's Discord handle.\",\n first_name: \"The user's first name.\",\n github: \"The user's GitHub handle.\",\n image: \"The image URL for the user. NOTE: If the user uses an OAuth2 provider, this will be overwritten by the provider's image URL when the user logs in next.\",\n is_onboarded: true,\n last_name: \"The user's last name.\",\n phone: \"The user's phone number.\",\n },\n })\n if ('error_code' in response) throw response\n console.log(JSON.stringify(response, null, 2))\n}\n", |
351 | 383 | "libDocsLink": ""
|
352 | 384 | }
|
353 | 385 | },
|
|
0 commit comments