@talonic/docs 0.21.98 → 0.21.100
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 +437 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/seo.js +435 -0
- package/openapi.json +431 -0
- package/package.json +1 -1
package/dist/seo.js
CHANGED
|
@@ -131,6 +131,10 @@ var generated_nav_default = {
|
|
|
131
131
|
id: "ref-team",
|
|
132
132
|
label: "Team"
|
|
133
133
|
},
|
|
134
|
+
{
|
|
135
|
+
id: "ref-thread",
|
|
136
|
+
label: "Thread"
|
|
137
|
+
},
|
|
134
138
|
{
|
|
135
139
|
id: "ref-access-and-sharing",
|
|
136
140
|
label: "Access & sharing"
|
|
@@ -57490,6 +57494,105 @@ var openapi_default = {
|
|
|
57490
57494
|
}
|
|
57491
57495
|
}
|
|
57492
57496
|
},
|
|
57497
|
+
"/v1/sources/{id}/managers": {
|
|
57498
|
+
get: {
|
|
57499
|
+
operationId: "getSourceManagers",
|
|
57500
|
+
"x-audience": "public",
|
|
57501
|
+
"x-required-scopes": [
|
|
57502
|
+
"read"
|
|
57503
|
+
],
|
|
57504
|
+
summary: "Who manages a connection",
|
|
57505
|
+
description: "The person who connected the source (`connected_by`, null once they are no longer a member) and the members who manage it beside them (`managers`). A manager manages the source exactly as the connecting person does: its settings, its access rules, the roles on its records, and opens its tables as that person does. Its documents follow the access rules. `can_edit` says whether you may change the list, `available` whether managers can be named at all (never on a connection to one person's own account).\n\nAllowed for someone who manages the source or a member with the Integrations permission.\n\n**Scope:** `read`.\n",
|
|
57506
|
+
tags: [
|
|
57507
|
+
"Sources"
|
|
57508
|
+
],
|
|
57509
|
+
parameters: [
|
|
57510
|
+
{
|
|
57511
|
+
$ref: "#/components/parameters/ResourceId"
|
|
57512
|
+
}
|
|
57513
|
+
],
|
|
57514
|
+
responses: {
|
|
57515
|
+
"200": {
|
|
57516
|
+
description: "The people who manage the connection.",
|
|
57517
|
+
content: {
|
|
57518
|
+
"application/json": {
|
|
57519
|
+
schema: {
|
|
57520
|
+
$ref: "#/components/schemas/SourceManagers"
|
|
57521
|
+
}
|
|
57522
|
+
}
|
|
57523
|
+
}
|
|
57524
|
+
},
|
|
57525
|
+
"403": {
|
|
57526
|
+
$ref: "#/components/responses/Forbidden"
|
|
57527
|
+
},
|
|
57528
|
+
"404": {
|
|
57529
|
+
$ref: "#/components/responses/NotFound"
|
|
57530
|
+
}
|
|
57531
|
+
}
|
|
57532
|
+
},
|
|
57533
|
+
put: {
|
|
57534
|
+
operationId: "setSourceManagers",
|
|
57535
|
+
"x-audience": "public",
|
|
57536
|
+
"x-required-scopes": [
|
|
57537
|
+
"sources:write"
|
|
57538
|
+
],
|
|
57539
|
+
summary: "Name who manages a connection",
|
|
57540
|
+
description: "Names the members who manage the source beside the person who connected it. The list replaces the one before; an empty list leaves the connecting person alone. Every manager is an active member of the workspace; one who leaves stops managing without anything further.\n\nOnly the connecting person or a manager may. A workspace role alone does not, so a private source stays with its own people; a source nobody manages any more (its connecting person and every manager have left) falls to a workspace owner. A connection to one person's own account has no managers (`400`).\n\n**Scope:** `sources:write`. A key holding only the legacy `write` scope does not satisfy it.\n",
|
|
57541
|
+
tags: [
|
|
57542
|
+
"Sources"
|
|
57543
|
+
],
|
|
57544
|
+
parameters: [
|
|
57545
|
+
{
|
|
57546
|
+
$ref: "#/components/parameters/ResourceId"
|
|
57547
|
+
}
|
|
57548
|
+
],
|
|
57549
|
+
requestBody: {
|
|
57550
|
+
required: true,
|
|
57551
|
+
content: {
|
|
57552
|
+
"application/json": {
|
|
57553
|
+
schema: {
|
|
57554
|
+
type: "object",
|
|
57555
|
+
required: [
|
|
57556
|
+
"managers"
|
|
57557
|
+
],
|
|
57558
|
+
properties: {
|
|
57559
|
+
managers: {
|
|
57560
|
+
type: "array",
|
|
57561
|
+
maxItems: 50,
|
|
57562
|
+
items: {
|
|
57563
|
+
type: "string",
|
|
57564
|
+
format: "uuid"
|
|
57565
|
+
},
|
|
57566
|
+
description: "User ids of the managers."
|
|
57567
|
+
}
|
|
57568
|
+
}
|
|
57569
|
+
}
|
|
57570
|
+
}
|
|
57571
|
+
}
|
|
57572
|
+
},
|
|
57573
|
+
responses: {
|
|
57574
|
+
"200": {
|
|
57575
|
+
description: "The people who manage the connection, as they stand.",
|
|
57576
|
+
content: {
|
|
57577
|
+
"application/json": {
|
|
57578
|
+
schema: {
|
|
57579
|
+
$ref: "#/components/schemas/SourceManagers"
|
|
57580
|
+
}
|
|
57581
|
+
}
|
|
57582
|
+
}
|
|
57583
|
+
},
|
|
57584
|
+
"400": {
|
|
57585
|
+
$ref: "#/components/responses/BadRequest"
|
|
57586
|
+
},
|
|
57587
|
+
"403": {
|
|
57588
|
+
$ref: "#/components/responses/Forbidden"
|
|
57589
|
+
},
|
|
57590
|
+
"404": {
|
|
57591
|
+
$ref: "#/components/responses/NotFound"
|
|
57592
|
+
}
|
|
57593
|
+
}
|
|
57594
|
+
}
|
|
57595
|
+
},
|
|
57493
57596
|
"/v1/sources/{id}/record-roles": {
|
|
57494
57597
|
get: {
|
|
57495
57598
|
operationId: "getSourceRecordRoles",
|
|
@@ -67968,6 +68071,11 @@ var openapi_default = {
|
|
|
67968
68071
|
type: "string",
|
|
67969
68072
|
format: "uuid"
|
|
67970
68073
|
}
|
|
68074
|
+
},
|
|
68075
|
+
move: {
|
|
68076
|
+
type: "boolean",
|
|
68077
|
+
default: false,
|
|
68078
|
+
description: "On an account: move documents that belong to another account into this one instead of refusing them (409). Ignored on a plain collection."
|
|
67971
68079
|
}
|
|
67972
68080
|
},
|
|
67973
68081
|
required: [
|
|
@@ -78244,6 +78352,239 @@ var openapi_default = {
|
|
|
78244
78352
|
}
|
|
78245
78353
|
}
|
|
78246
78354
|
},
|
|
78355
|
+
"/v1/team/invites/{userId}/resend": {
|
|
78356
|
+
post: {
|
|
78357
|
+
operationId: "resendInvite",
|
|
78358
|
+
"x-required-scopes": [
|
|
78359
|
+
"team:write"
|
|
78360
|
+
],
|
|
78361
|
+
"x-audience": "public",
|
|
78362
|
+
summary: "Resend an invitation",
|
|
78363
|
+
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",
|
|
78364
|
+
tags: [
|
|
78365
|
+
"Team"
|
|
78366
|
+
],
|
|
78367
|
+
parameters: [
|
|
78368
|
+
{
|
|
78369
|
+
name: "userId",
|
|
78370
|
+
in: "path",
|
|
78371
|
+
required: true,
|
|
78372
|
+
schema: {
|
|
78373
|
+
type: "string",
|
|
78374
|
+
format: "uuid"
|
|
78375
|
+
}
|
|
78376
|
+
}
|
|
78377
|
+
],
|
|
78378
|
+
responses: {
|
|
78379
|
+
"201": {
|
|
78380
|
+
description: "Resend an invitation: done.",
|
|
78381
|
+
content: {
|
|
78382
|
+
"application/json": {
|
|
78383
|
+
schema: {
|
|
78384
|
+
type: [
|
|
78385
|
+
"object",
|
|
78386
|
+
"array"
|
|
78387
|
+
]
|
|
78388
|
+
}
|
|
78389
|
+
}
|
|
78390
|
+
}
|
|
78391
|
+
},
|
|
78392
|
+
"400": {
|
|
78393
|
+
$ref: "#/components/responses/BadRequest"
|
|
78394
|
+
},
|
|
78395
|
+
"401": {
|
|
78396
|
+
$ref: "#/components/responses/Unauthorized"
|
|
78397
|
+
},
|
|
78398
|
+
"403": {
|
|
78399
|
+
$ref: "#/components/responses/Forbidden"
|
|
78400
|
+
},
|
|
78401
|
+
"404": {
|
|
78402
|
+
$ref: "#/components/responses/NotFound"
|
|
78403
|
+
},
|
|
78404
|
+
"429": {
|
|
78405
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
78406
|
+
}
|
|
78407
|
+
}
|
|
78408
|
+
}
|
|
78409
|
+
},
|
|
78410
|
+
"/v1/team/invites/{userId}": {
|
|
78411
|
+
delete: {
|
|
78412
|
+
operationId: "revokeInvite",
|
|
78413
|
+
"x-required-scopes": [
|
|
78414
|
+
"team:write"
|
|
78415
|
+
],
|
|
78416
|
+
"x-audience": "public",
|
|
78417
|
+
summary: "Withdraw an invitation",
|
|
78418
|
+
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",
|
|
78419
|
+
tags: [
|
|
78420
|
+
"Team"
|
|
78421
|
+
],
|
|
78422
|
+
parameters: [
|
|
78423
|
+
{
|
|
78424
|
+
name: "userId",
|
|
78425
|
+
in: "path",
|
|
78426
|
+
required: true,
|
|
78427
|
+
schema: {
|
|
78428
|
+
type: "string",
|
|
78429
|
+
format: "uuid"
|
|
78430
|
+
}
|
|
78431
|
+
}
|
|
78432
|
+
],
|
|
78433
|
+
responses: {
|
|
78434
|
+
"200": {
|
|
78435
|
+
description: "Withdraw an invitation: done.",
|
|
78436
|
+
content: {
|
|
78437
|
+
"application/json": {
|
|
78438
|
+
schema: {
|
|
78439
|
+
type: [
|
|
78440
|
+
"object",
|
|
78441
|
+
"array"
|
|
78442
|
+
]
|
|
78443
|
+
}
|
|
78444
|
+
}
|
|
78445
|
+
}
|
|
78446
|
+
},
|
|
78447
|
+
"400": {
|
|
78448
|
+
$ref: "#/components/responses/BadRequest"
|
|
78449
|
+
},
|
|
78450
|
+
"401": {
|
|
78451
|
+
$ref: "#/components/responses/Unauthorized"
|
|
78452
|
+
},
|
|
78453
|
+
"403": {
|
|
78454
|
+
$ref: "#/components/responses/Forbidden"
|
|
78455
|
+
},
|
|
78456
|
+
"404": {
|
|
78457
|
+
$ref: "#/components/responses/NotFound"
|
|
78458
|
+
},
|
|
78459
|
+
"429": {
|
|
78460
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
78461
|
+
}
|
|
78462
|
+
}
|
|
78463
|
+
}
|
|
78464
|
+
},
|
|
78465
|
+
"/v1/team/invite-policy": {
|
|
78466
|
+
get: {
|
|
78467
|
+
operationId: "getInvitePolicy",
|
|
78468
|
+
"x-required-scopes": [
|
|
78469
|
+
"team:read"
|
|
78470
|
+
],
|
|
78471
|
+
"x-audience": "public",
|
|
78472
|
+
summary: "Read the invitation policy",
|
|
78473
|
+
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",
|
|
78474
|
+
tags: [
|
|
78475
|
+
"Team"
|
|
78476
|
+
],
|
|
78477
|
+
responses: {
|
|
78478
|
+
"200": {
|
|
78479
|
+
description: "The invitation policy.",
|
|
78480
|
+
content: {
|
|
78481
|
+
"application/json": {
|
|
78482
|
+
schema: {
|
|
78483
|
+
type: "object",
|
|
78484
|
+
properties: {
|
|
78485
|
+
external_domains: {
|
|
78486
|
+
type: "string",
|
|
78487
|
+
enum: [
|
|
78488
|
+
"allow",
|
|
78489
|
+
"block"
|
|
78490
|
+
]
|
|
78491
|
+
},
|
|
78492
|
+
email_domain: {
|
|
78493
|
+
type: [
|
|
78494
|
+
"string",
|
|
78495
|
+
"null"
|
|
78496
|
+
]
|
|
78497
|
+
}
|
|
78498
|
+
}
|
|
78499
|
+
}
|
|
78500
|
+
}
|
|
78501
|
+
}
|
|
78502
|
+
},
|
|
78503
|
+
"401": {
|
|
78504
|
+
$ref: "#/components/responses/Unauthorized"
|
|
78505
|
+
},
|
|
78506
|
+
"403": {
|
|
78507
|
+
$ref: "#/components/responses/Forbidden"
|
|
78508
|
+
},
|
|
78509
|
+
"429": {
|
|
78510
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
78511
|
+
}
|
|
78512
|
+
}
|
|
78513
|
+
},
|
|
78514
|
+
put: {
|
|
78515
|
+
operationId: "setInvitePolicy",
|
|
78516
|
+
"x-required-scopes": [
|
|
78517
|
+
"team:write"
|
|
78518
|
+
],
|
|
78519
|
+
"x-audience": "public",
|
|
78520
|
+
summary: "Change the invitation policy",
|
|
78521
|
+
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",
|
|
78522
|
+
tags: [
|
|
78523
|
+
"Team"
|
|
78524
|
+
],
|
|
78525
|
+
requestBody: {
|
|
78526
|
+
required: true,
|
|
78527
|
+
content: {
|
|
78528
|
+
"application/json": {
|
|
78529
|
+
schema: {
|
|
78530
|
+
type: "object",
|
|
78531
|
+
properties: {
|
|
78532
|
+
external_domains: {
|
|
78533
|
+
type: "string",
|
|
78534
|
+
enum: [
|
|
78535
|
+
"allow",
|
|
78536
|
+
"block"
|
|
78537
|
+
]
|
|
78538
|
+
}
|
|
78539
|
+
},
|
|
78540
|
+
required: [
|
|
78541
|
+
"external_domains"
|
|
78542
|
+
]
|
|
78543
|
+
}
|
|
78544
|
+
}
|
|
78545
|
+
}
|
|
78546
|
+
},
|
|
78547
|
+
responses: {
|
|
78548
|
+
"200": {
|
|
78549
|
+
description: "Change the invitation policy: done.",
|
|
78550
|
+
content: {
|
|
78551
|
+
"application/json": {
|
|
78552
|
+
schema: {
|
|
78553
|
+
type: "object",
|
|
78554
|
+
properties: {
|
|
78555
|
+
external_domains: {
|
|
78556
|
+
type: "string",
|
|
78557
|
+
enum: [
|
|
78558
|
+
"allow",
|
|
78559
|
+
"block"
|
|
78560
|
+
]
|
|
78561
|
+
},
|
|
78562
|
+
email_domain: {
|
|
78563
|
+
type: [
|
|
78564
|
+
"string",
|
|
78565
|
+
"null"
|
|
78566
|
+
]
|
|
78567
|
+
}
|
|
78568
|
+
}
|
|
78569
|
+
}
|
|
78570
|
+
}
|
|
78571
|
+
}
|
|
78572
|
+
},
|
|
78573
|
+
"400": {
|
|
78574
|
+
$ref: "#/components/responses/BadRequest"
|
|
78575
|
+
},
|
|
78576
|
+
"401": {
|
|
78577
|
+
$ref: "#/components/responses/Unauthorized"
|
|
78578
|
+
},
|
|
78579
|
+
"403": {
|
|
78580
|
+
$ref: "#/components/responses/Forbidden"
|
|
78581
|
+
},
|
|
78582
|
+
"429": {
|
|
78583
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
78584
|
+
}
|
|
78585
|
+
}
|
|
78586
|
+
}
|
|
78587
|
+
},
|
|
78247
78588
|
"/v1/team/members/{userId}": {
|
|
78248
78589
|
patch: {
|
|
78249
78590
|
operationId: "changeMemberRole",
|
|
@@ -80571,6 +80912,64 @@ var openapi_default = {
|
|
|
80571
80912
|
}
|
|
80572
80913
|
}
|
|
80573
80914
|
},
|
|
80915
|
+
"/v1/thread/starters": {
|
|
80916
|
+
get: {
|
|
80917
|
+
operationId: "getThreadStarters",
|
|
80918
|
+
"x-audience": "public",
|
|
80919
|
+
"x-required-scopes": [
|
|
80920
|
+
"thread:read"
|
|
80921
|
+
],
|
|
80922
|
+
summary: "Read conversation starters",
|
|
80923
|
+
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",
|
|
80924
|
+
tags: [
|
|
80925
|
+
"Thread"
|
|
80926
|
+
],
|
|
80927
|
+
responses: {
|
|
80928
|
+
"200": {
|
|
80929
|
+
description: "OK",
|
|
80930
|
+
content: {
|
|
80931
|
+
"application/json": {
|
|
80932
|
+
schema: {
|
|
80933
|
+
type: "object",
|
|
80934
|
+
properties: {
|
|
80935
|
+
fresh: {
|
|
80936
|
+
type: "boolean"
|
|
80937
|
+
},
|
|
80938
|
+
companies: {
|
|
80939
|
+
type: "array",
|
|
80940
|
+
items: {
|
|
80941
|
+
type: "string"
|
|
80942
|
+
}
|
|
80943
|
+
},
|
|
80944
|
+
kinds: {
|
|
80945
|
+
type: "array",
|
|
80946
|
+
items: {
|
|
80947
|
+
type: "string"
|
|
80948
|
+
}
|
|
80949
|
+
},
|
|
80950
|
+
reported_figures: {
|
|
80951
|
+
type: "boolean"
|
|
80952
|
+
}
|
|
80953
|
+
}
|
|
80954
|
+
}
|
|
80955
|
+
}
|
|
80956
|
+
}
|
|
80957
|
+
},
|
|
80958
|
+
"401": {
|
|
80959
|
+
$ref: "#/components/responses/Unauthorized"
|
|
80960
|
+
},
|
|
80961
|
+
"403": {
|
|
80962
|
+
$ref: "#/components/responses/Forbidden"
|
|
80963
|
+
},
|
|
80964
|
+
"404": {
|
|
80965
|
+
$ref: "#/components/responses/NotFound"
|
|
80966
|
+
},
|
|
80967
|
+
"429": {
|
|
80968
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
80969
|
+
}
|
|
80970
|
+
}
|
|
80971
|
+
}
|
|
80972
|
+
},
|
|
80574
80973
|
"/v1/thread/events": {
|
|
80575
80974
|
get: {
|
|
80576
80975
|
operationId: "listThreadEvents",
|
|
@@ -119151,6 +119550,42 @@ var openapi_default = {
|
|
|
119151
119550
|
}
|
|
119152
119551
|
}
|
|
119153
119552
|
},
|
|
119553
|
+
SourceManagers: {
|
|
119554
|
+
type: "object",
|
|
119555
|
+
required: [
|
|
119556
|
+
"connected_by",
|
|
119557
|
+
"managers",
|
|
119558
|
+
"can_edit",
|
|
119559
|
+
"available"
|
|
119560
|
+
],
|
|
119561
|
+
properties: {
|
|
119562
|
+
connected_by: {
|
|
119563
|
+
nullable: true,
|
|
119564
|
+
description: "The person who connected the source, while they are an active member.",
|
|
119565
|
+
allOf: [
|
|
119566
|
+
{
|
|
119567
|
+
$ref: "#/components/schemas/SourceRecordRolePerson"
|
|
119568
|
+
}
|
|
119569
|
+
]
|
|
119570
|
+
},
|
|
119571
|
+
managers: {
|
|
119572
|
+
type: "array",
|
|
119573
|
+
description: "The members who manage the source beside that person.",
|
|
119574
|
+
items: {
|
|
119575
|
+
$ref: "#/components/schemas/SourceRecordRolePerson"
|
|
119576
|
+
}
|
|
119577
|
+
},
|
|
119578
|
+
can_edit: {
|
|
119579
|
+
type: "boolean",
|
|
119580
|
+
description: "Whether you may change the list."
|
|
119581
|
+
},
|
|
119582
|
+
available: {
|
|
119583
|
+
type: "boolean",
|
|
119584
|
+
description: "False for a connection to one person's own account",
|
|
119585
|
+
"which has no managers.": null
|
|
119586
|
+
}
|
|
119587
|
+
}
|
|
119588
|
+
},
|
|
119154
119589
|
SourceRecordRoles: {
|
|
119155
119590
|
type: "object",
|
|
119156
119591
|
required: [
|