@talonic/docs 0.21.98 → 0.21.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/content.js +300 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/seo.js +300 -0
- package/openapi.json +296 -0
- package/package.json +1 -1
package/dist/content.js
CHANGED
|
@@ -167,6 +167,10 @@ var generated_nav_default = {
|
|
|
167
167
|
id: "ref-team",
|
|
168
168
|
label: "Team"
|
|
169
169
|
},
|
|
170
|
+
{
|
|
171
|
+
id: "ref-thread",
|
|
172
|
+
label: "Thread"
|
|
173
|
+
},
|
|
170
174
|
{
|
|
171
175
|
id: "ref-access-and-sharing",
|
|
172
176
|
label: "Access & sharing"
|
|
@@ -68004,6 +68008,11 @@ var openapi_default = {
|
|
|
68004
68008
|
type: "string",
|
|
68005
68009
|
format: "uuid"
|
|
68006
68010
|
}
|
|
68011
|
+
},
|
|
68012
|
+
move: {
|
|
68013
|
+
type: "boolean",
|
|
68014
|
+
default: false,
|
|
68015
|
+
description: "On an account: move documents that belong to another account into this one instead of refusing them (409). Ignored on a plain collection."
|
|
68007
68016
|
}
|
|
68008
68017
|
},
|
|
68009
68018
|
required: [
|
|
@@ -78280,6 +78289,239 @@ var openapi_default = {
|
|
|
78280
78289
|
}
|
|
78281
78290
|
}
|
|
78282
78291
|
},
|
|
78292
|
+
"/v1/team/invites/{userId}/resend": {
|
|
78293
|
+
post: {
|
|
78294
|
+
operationId: "resendInvite",
|
|
78295
|
+
"x-required-scopes": [
|
|
78296
|
+
"team:write"
|
|
78297
|
+
],
|
|
78298
|
+
"x-audience": "public",
|
|
78299
|
+
summary: "Resend an invitation",
|
|
78300
|
+
description: "Sends an invited person a new single-use sign-in link; the earlier link stops working.\nOnly an open invitation can be resent (404 otherwise), and only by someone who holds\nevery permission the invitation grants.\n\nScope: `team:write`. The person behind the credential needs the `team` permission\n(Admins by default).\n",
|
|
78301
|
+
tags: [
|
|
78302
|
+
"Team"
|
|
78303
|
+
],
|
|
78304
|
+
parameters: [
|
|
78305
|
+
{
|
|
78306
|
+
name: "userId",
|
|
78307
|
+
in: "path",
|
|
78308
|
+
required: true,
|
|
78309
|
+
schema: {
|
|
78310
|
+
type: "string",
|
|
78311
|
+
format: "uuid"
|
|
78312
|
+
}
|
|
78313
|
+
}
|
|
78314
|
+
],
|
|
78315
|
+
responses: {
|
|
78316
|
+
"201": {
|
|
78317
|
+
description: "Resend an invitation: done.",
|
|
78318
|
+
content: {
|
|
78319
|
+
"application/json": {
|
|
78320
|
+
schema: {
|
|
78321
|
+
type: [
|
|
78322
|
+
"object",
|
|
78323
|
+
"array"
|
|
78324
|
+
]
|
|
78325
|
+
}
|
|
78326
|
+
}
|
|
78327
|
+
}
|
|
78328
|
+
},
|
|
78329
|
+
"400": {
|
|
78330
|
+
$ref: "#/components/responses/BadRequest"
|
|
78331
|
+
},
|
|
78332
|
+
"401": {
|
|
78333
|
+
$ref: "#/components/responses/Unauthorized"
|
|
78334
|
+
},
|
|
78335
|
+
"403": {
|
|
78336
|
+
$ref: "#/components/responses/Forbidden"
|
|
78337
|
+
},
|
|
78338
|
+
"404": {
|
|
78339
|
+
$ref: "#/components/responses/NotFound"
|
|
78340
|
+
},
|
|
78341
|
+
"429": {
|
|
78342
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
78343
|
+
}
|
|
78344
|
+
}
|
|
78345
|
+
}
|
|
78346
|
+
},
|
|
78347
|
+
"/v1/team/invites/{userId}": {
|
|
78348
|
+
delete: {
|
|
78349
|
+
operationId: "revokeInvite",
|
|
78350
|
+
"x-required-scopes": [
|
|
78351
|
+
"team:write"
|
|
78352
|
+
],
|
|
78353
|
+
"x-audience": "public",
|
|
78354
|
+
summary: "Withdraw an invitation",
|
|
78355
|
+
description: "Withdraws an open invitation: the pending membership ends and the link stops working.\n404 when the person has no open invitation in this workspace.\n\nScope: `team:write`. The person behind the credential needs the `team` permission\n(Admins by default).\n",
|
|
78356
|
+
tags: [
|
|
78357
|
+
"Team"
|
|
78358
|
+
],
|
|
78359
|
+
parameters: [
|
|
78360
|
+
{
|
|
78361
|
+
name: "userId",
|
|
78362
|
+
in: "path",
|
|
78363
|
+
required: true,
|
|
78364
|
+
schema: {
|
|
78365
|
+
type: "string",
|
|
78366
|
+
format: "uuid"
|
|
78367
|
+
}
|
|
78368
|
+
}
|
|
78369
|
+
],
|
|
78370
|
+
responses: {
|
|
78371
|
+
"200": {
|
|
78372
|
+
description: "Withdraw an invitation: done.",
|
|
78373
|
+
content: {
|
|
78374
|
+
"application/json": {
|
|
78375
|
+
schema: {
|
|
78376
|
+
type: [
|
|
78377
|
+
"object",
|
|
78378
|
+
"array"
|
|
78379
|
+
]
|
|
78380
|
+
}
|
|
78381
|
+
}
|
|
78382
|
+
}
|
|
78383
|
+
},
|
|
78384
|
+
"400": {
|
|
78385
|
+
$ref: "#/components/responses/BadRequest"
|
|
78386
|
+
},
|
|
78387
|
+
"401": {
|
|
78388
|
+
$ref: "#/components/responses/Unauthorized"
|
|
78389
|
+
},
|
|
78390
|
+
"403": {
|
|
78391
|
+
$ref: "#/components/responses/Forbidden"
|
|
78392
|
+
},
|
|
78393
|
+
"404": {
|
|
78394
|
+
$ref: "#/components/responses/NotFound"
|
|
78395
|
+
},
|
|
78396
|
+
"429": {
|
|
78397
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
78398
|
+
}
|
|
78399
|
+
}
|
|
78400
|
+
}
|
|
78401
|
+
},
|
|
78402
|
+
"/v1/team/invite-policy": {
|
|
78403
|
+
get: {
|
|
78404
|
+
operationId: "getInvitePolicy",
|
|
78405
|
+
"x-required-scopes": [
|
|
78406
|
+
"team:read"
|
|
78407
|
+
],
|
|
78408
|
+
"x-audience": "public",
|
|
78409
|
+
summary: "Read the invitation policy",
|
|
78410
|
+
description: "Whether team managers may invite addresses outside the workspace's own e-mail domain\n(`external_domains`: `allow` or `block`), and that domain (`email_domain`).\n\nScope: `team:read`. The person behind the credential needs the `team` permission\n(Admins by default).\n",
|
|
78411
|
+
tags: [
|
|
78412
|
+
"Team"
|
|
78413
|
+
],
|
|
78414
|
+
responses: {
|
|
78415
|
+
"200": {
|
|
78416
|
+
description: "The invitation policy.",
|
|
78417
|
+
content: {
|
|
78418
|
+
"application/json": {
|
|
78419
|
+
schema: {
|
|
78420
|
+
type: "object",
|
|
78421
|
+
properties: {
|
|
78422
|
+
external_domains: {
|
|
78423
|
+
type: "string",
|
|
78424
|
+
enum: [
|
|
78425
|
+
"allow",
|
|
78426
|
+
"block"
|
|
78427
|
+
]
|
|
78428
|
+
},
|
|
78429
|
+
email_domain: {
|
|
78430
|
+
type: [
|
|
78431
|
+
"string",
|
|
78432
|
+
"null"
|
|
78433
|
+
]
|
|
78434
|
+
}
|
|
78435
|
+
}
|
|
78436
|
+
}
|
|
78437
|
+
}
|
|
78438
|
+
}
|
|
78439
|
+
},
|
|
78440
|
+
"401": {
|
|
78441
|
+
$ref: "#/components/responses/Unauthorized"
|
|
78442
|
+
},
|
|
78443
|
+
"403": {
|
|
78444
|
+
$ref: "#/components/responses/Forbidden"
|
|
78445
|
+
},
|
|
78446
|
+
"429": {
|
|
78447
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
78448
|
+
}
|
|
78449
|
+
}
|
|
78450
|
+
},
|
|
78451
|
+
put: {
|
|
78452
|
+
operationId: "setInvitePolicy",
|
|
78453
|
+
"x-required-scopes": [
|
|
78454
|
+
"team:write"
|
|
78455
|
+
],
|
|
78456
|
+
"x-audience": "public",
|
|
78457
|
+
summary: "Change the invitation policy",
|
|
78458
|
+
description: "Sets whether addresses outside the workspace's own e-mail domain may be invited. `block`\nneeds the workspace to have an e-mail domain of its own (400 otherwise).\n\nScope: `team:write`. The person behind the credential needs the `team` permission\n(Admins by default).\n",
|
|
78459
|
+
tags: [
|
|
78460
|
+
"Team"
|
|
78461
|
+
],
|
|
78462
|
+
requestBody: {
|
|
78463
|
+
required: true,
|
|
78464
|
+
content: {
|
|
78465
|
+
"application/json": {
|
|
78466
|
+
schema: {
|
|
78467
|
+
type: "object",
|
|
78468
|
+
properties: {
|
|
78469
|
+
external_domains: {
|
|
78470
|
+
type: "string",
|
|
78471
|
+
enum: [
|
|
78472
|
+
"allow",
|
|
78473
|
+
"block"
|
|
78474
|
+
]
|
|
78475
|
+
}
|
|
78476
|
+
},
|
|
78477
|
+
required: [
|
|
78478
|
+
"external_domains"
|
|
78479
|
+
]
|
|
78480
|
+
}
|
|
78481
|
+
}
|
|
78482
|
+
}
|
|
78483
|
+
},
|
|
78484
|
+
responses: {
|
|
78485
|
+
"200": {
|
|
78486
|
+
description: "Change the invitation policy: done.",
|
|
78487
|
+
content: {
|
|
78488
|
+
"application/json": {
|
|
78489
|
+
schema: {
|
|
78490
|
+
type: "object",
|
|
78491
|
+
properties: {
|
|
78492
|
+
external_domains: {
|
|
78493
|
+
type: "string",
|
|
78494
|
+
enum: [
|
|
78495
|
+
"allow",
|
|
78496
|
+
"block"
|
|
78497
|
+
]
|
|
78498
|
+
},
|
|
78499
|
+
email_domain: {
|
|
78500
|
+
type: [
|
|
78501
|
+
"string",
|
|
78502
|
+
"null"
|
|
78503
|
+
]
|
|
78504
|
+
}
|
|
78505
|
+
}
|
|
78506
|
+
}
|
|
78507
|
+
}
|
|
78508
|
+
}
|
|
78509
|
+
},
|
|
78510
|
+
"400": {
|
|
78511
|
+
$ref: "#/components/responses/BadRequest"
|
|
78512
|
+
},
|
|
78513
|
+
"401": {
|
|
78514
|
+
$ref: "#/components/responses/Unauthorized"
|
|
78515
|
+
},
|
|
78516
|
+
"403": {
|
|
78517
|
+
$ref: "#/components/responses/Forbidden"
|
|
78518
|
+
},
|
|
78519
|
+
"429": {
|
|
78520
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
78521
|
+
}
|
|
78522
|
+
}
|
|
78523
|
+
}
|
|
78524
|
+
},
|
|
78283
78525
|
"/v1/team/members/{userId}": {
|
|
78284
78526
|
patch: {
|
|
78285
78527
|
operationId: "changeMemberRole",
|
|
@@ -80607,6 +80849,64 @@ var openapi_default = {
|
|
|
80607
80849
|
}
|
|
80608
80850
|
}
|
|
80609
80851
|
},
|
|
80852
|
+
"/v1/thread/starters": {
|
|
80853
|
+
get: {
|
|
80854
|
+
operationId: "getThreadStarters",
|
|
80855
|
+
"x-audience": "public",
|
|
80856
|
+
"x-required-scopes": [
|
|
80857
|
+
"thread:read"
|
|
80858
|
+
],
|
|
80859
|
+
summary: "Read conversation starters",
|
|
80860
|
+
description: "What an empty conversation offers to start from, as data: whether you have written yet (`fresh`), up to three company names and three kinds of documents you can see, and whether the workspace keeps reported figures. 404 when the thread is not available to you.\n",
|
|
80861
|
+
tags: [
|
|
80862
|
+
"Thread"
|
|
80863
|
+
],
|
|
80864
|
+
responses: {
|
|
80865
|
+
"200": {
|
|
80866
|
+
description: "OK",
|
|
80867
|
+
content: {
|
|
80868
|
+
"application/json": {
|
|
80869
|
+
schema: {
|
|
80870
|
+
type: "object",
|
|
80871
|
+
properties: {
|
|
80872
|
+
fresh: {
|
|
80873
|
+
type: "boolean"
|
|
80874
|
+
},
|
|
80875
|
+
companies: {
|
|
80876
|
+
type: "array",
|
|
80877
|
+
items: {
|
|
80878
|
+
type: "string"
|
|
80879
|
+
}
|
|
80880
|
+
},
|
|
80881
|
+
kinds: {
|
|
80882
|
+
type: "array",
|
|
80883
|
+
items: {
|
|
80884
|
+
type: "string"
|
|
80885
|
+
}
|
|
80886
|
+
},
|
|
80887
|
+
reported_figures: {
|
|
80888
|
+
type: "boolean"
|
|
80889
|
+
}
|
|
80890
|
+
}
|
|
80891
|
+
}
|
|
80892
|
+
}
|
|
80893
|
+
}
|
|
80894
|
+
},
|
|
80895
|
+
"401": {
|
|
80896
|
+
$ref: "#/components/responses/Unauthorized"
|
|
80897
|
+
},
|
|
80898
|
+
"403": {
|
|
80899
|
+
$ref: "#/components/responses/Forbidden"
|
|
80900
|
+
},
|
|
80901
|
+
"404": {
|
|
80902
|
+
$ref: "#/components/responses/NotFound"
|
|
80903
|
+
},
|
|
80904
|
+
"429": {
|
|
80905
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
80906
|
+
}
|
|
80907
|
+
}
|
|
80908
|
+
}
|
|
80909
|
+
},
|
|
80610
80910
|
"/v1/thread/events": {
|
|
80611
80911
|
get: {
|
|
80612
80912
|
operationId: "listThreadEvents",
|
package/dist/index.js
CHANGED