@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/openapi.json CHANGED
@@ -57330,6 +57330,105 @@
57330
57330
  }
57331
57331
  }
57332
57332
  },
57333
+ "/v1/sources/{id}/managers": {
57334
+ "get": {
57335
+ "operationId": "getSourceManagers",
57336
+ "x-audience": "public",
57337
+ "x-required-scopes": [
57338
+ "read"
57339
+ ],
57340
+ "summary": "Who manages a connection",
57341
+ "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",
57342
+ "tags": [
57343
+ "Sources"
57344
+ ],
57345
+ "parameters": [
57346
+ {
57347
+ "$ref": "#/components/parameters/ResourceId"
57348
+ }
57349
+ ],
57350
+ "responses": {
57351
+ "200": {
57352
+ "description": "The people who manage the connection.",
57353
+ "content": {
57354
+ "application/json": {
57355
+ "schema": {
57356
+ "$ref": "#/components/schemas/SourceManagers"
57357
+ }
57358
+ }
57359
+ }
57360
+ },
57361
+ "403": {
57362
+ "$ref": "#/components/responses/Forbidden"
57363
+ },
57364
+ "404": {
57365
+ "$ref": "#/components/responses/NotFound"
57366
+ }
57367
+ }
57368
+ },
57369
+ "put": {
57370
+ "operationId": "setSourceManagers",
57371
+ "x-audience": "public",
57372
+ "x-required-scopes": [
57373
+ "sources:write"
57374
+ ],
57375
+ "summary": "Name who manages a connection",
57376
+ "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",
57377
+ "tags": [
57378
+ "Sources"
57379
+ ],
57380
+ "parameters": [
57381
+ {
57382
+ "$ref": "#/components/parameters/ResourceId"
57383
+ }
57384
+ ],
57385
+ "requestBody": {
57386
+ "required": true,
57387
+ "content": {
57388
+ "application/json": {
57389
+ "schema": {
57390
+ "type": "object",
57391
+ "required": [
57392
+ "managers"
57393
+ ],
57394
+ "properties": {
57395
+ "managers": {
57396
+ "type": "array",
57397
+ "maxItems": 50,
57398
+ "items": {
57399
+ "type": "string",
57400
+ "format": "uuid"
57401
+ },
57402
+ "description": "User ids of the managers."
57403
+ }
57404
+ }
57405
+ }
57406
+ }
57407
+ }
57408
+ },
57409
+ "responses": {
57410
+ "200": {
57411
+ "description": "The people who manage the connection, as they stand.",
57412
+ "content": {
57413
+ "application/json": {
57414
+ "schema": {
57415
+ "$ref": "#/components/schemas/SourceManagers"
57416
+ }
57417
+ }
57418
+ }
57419
+ },
57420
+ "400": {
57421
+ "$ref": "#/components/responses/BadRequest"
57422
+ },
57423
+ "403": {
57424
+ "$ref": "#/components/responses/Forbidden"
57425
+ },
57426
+ "404": {
57427
+ "$ref": "#/components/responses/NotFound"
57428
+ }
57429
+ }
57430
+ }
57431
+ },
57333
57432
  "/v1/sources/{id}/record-roles": {
57334
57433
  "get": {
57335
57434
  "operationId": "getSourceRecordRoles",
@@ -67808,6 +67907,11 @@
67808
67907
  "type": "string",
67809
67908
  "format": "uuid"
67810
67909
  }
67910
+ },
67911
+ "move": {
67912
+ "type": "boolean",
67913
+ "default": false,
67914
+ "description": "On an account: move documents that belong to another account into this one instead of refusing them (409). Ignored on a plain collection."
67811
67915
  }
67812
67916
  },
67813
67917
  "required": [
@@ -78084,6 +78188,239 @@
78084
78188
  }
78085
78189
  }
78086
78190
  },
78191
+ "/v1/team/invites/{userId}/resend": {
78192
+ "post": {
78193
+ "operationId": "resendInvite",
78194
+ "x-required-scopes": [
78195
+ "team:write"
78196
+ ],
78197
+ "x-audience": "public",
78198
+ "summary": "Resend an invitation",
78199
+ "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",
78200
+ "tags": [
78201
+ "Team"
78202
+ ],
78203
+ "parameters": [
78204
+ {
78205
+ "name": "userId",
78206
+ "in": "path",
78207
+ "required": true,
78208
+ "schema": {
78209
+ "type": "string",
78210
+ "format": "uuid"
78211
+ }
78212
+ }
78213
+ ],
78214
+ "responses": {
78215
+ "201": {
78216
+ "description": "Resend an invitation: done.",
78217
+ "content": {
78218
+ "application/json": {
78219
+ "schema": {
78220
+ "type": [
78221
+ "object",
78222
+ "array"
78223
+ ]
78224
+ }
78225
+ }
78226
+ }
78227
+ },
78228
+ "400": {
78229
+ "$ref": "#/components/responses/BadRequest"
78230
+ },
78231
+ "401": {
78232
+ "$ref": "#/components/responses/Unauthorized"
78233
+ },
78234
+ "403": {
78235
+ "$ref": "#/components/responses/Forbidden"
78236
+ },
78237
+ "404": {
78238
+ "$ref": "#/components/responses/NotFound"
78239
+ },
78240
+ "429": {
78241
+ "$ref": "#/components/responses/RateLimitExceeded"
78242
+ }
78243
+ }
78244
+ }
78245
+ },
78246
+ "/v1/team/invites/{userId}": {
78247
+ "delete": {
78248
+ "operationId": "revokeInvite",
78249
+ "x-required-scopes": [
78250
+ "team:write"
78251
+ ],
78252
+ "x-audience": "public",
78253
+ "summary": "Withdraw an invitation",
78254
+ "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",
78255
+ "tags": [
78256
+ "Team"
78257
+ ],
78258
+ "parameters": [
78259
+ {
78260
+ "name": "userId",
78261
+ "in": "path",
78262
+ "required": true,
78263
+ "schema": {
78264
+ "type": "string",
78265
+ "format": "uuid"
78266
+ }
78267
+ }
78268
+ ],
78269
+ "responses": {
78270
+ "200": {
78271
+ "description": "Withdraw an invitation: done.",
78272
+ "content": {
78273
+ "application/json": {
78274
+ "schema": {
78275
+ "type": [
78276
+ "object",
78277
+ "array"
78278
+ ]
78279
+ }
78280
+ }
78281
+ }
78282
+ },
78283
+ "400": {
78284
+ "$ref": "#/components/responses/BadRequest"
78285
+ },
78286
+ "401": {
78287
+ "$ref": "#/components/responses/Unauthorized"
78288
+ },
78289
+ "403": {
78290
+ "$ref": "#/components/responses/Forbidden"
78291
+ },
78292
+ "404": {
78293
+ "$ref": "#/components/responses/NotFound"
78294
+ },
78295
+ "429": {
78296
+ "$ref": "#/components/responses/RateLimitExceeded"
78297
+ }
78298
+ }
78299
+ }
78300
+ },
78301
+ "/v1/team/invite-policy": {
78302
+ "get": {
78303
+ "operationId": "getInvitePolicy",
78304
+ "x-required-scopes": [
78305
+ "team:read"
78306
+ ],
78307
+ "x-audience": "public",
78308
+ "summary": "Read the invitation policy",
78309
+ "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",
78310
+ "tags": [
78311
+ "Team"
78312
+ ],
78313
+ "responses": {
78314
+ "200": {
78315
+ "description": "The invitation policy.",
78316
+ "content": {
78317
+ "application/json": {
78318
+ "schema": {
78319
+ "type": "object",
78320
+ "properties": {
78321
+ "external_domains": {
78322
+ "type": "string",
78323
+ "enum": [
78324
+ "allow",
78325
+ "block"
78326
+ ]
78327
+ },
78328
+ "email_domain": {
78329
+ "type": [
78330
+ "string",
78331
+ "null"
78332
+ ]
78333
+ }
78334
+ }
78335
+ }
78336
+ }
78337
+ }
78338
+ },
78339
+ "401": {
78340
+ "$ref": "#/components/responses/Unauthorized"
78341
+ },
78342
+ "403": {
78343
+ "$ref": "#/components/responses/Forbidden"
78344
+ },
78345
+ "429": {
78346
+ "$ref": "#/components/responses/RateLimitExceeded"
78347
+ }
78348
+ }
78349
+ },
78350
+ "put": {
78351
+ "operationId": "setInvitePolicy",
78352
+ "x-required-scopes": [
78353
+ "team:write"
78354
+ ],
78355
+ "x-audience": "public",
78356
+ "summary": "Change the invitation policy",
78357
+ "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",
78358
+ "tags": [
78359
+ "Team"
78360
+ ],
78361
+ "requestBody": {
78362
+ "required": true,
78363
+ "content": {
78364
+ "application/json": {
78365
+ "schema": {
78366
+ "type": "object",
78367
+ "properties": {
78368
+ "external_domains": {
78369
+ "type": "string",
78370
+ "enum": [
78371
+ "allow",
78372
+ "block"
78373
+ ]
78374
+ }
78375
+ },
78376
+ "required": [
78377
+ "external_domains"
78378
+ ]
78379
+ }
78380
+ }
78381
+ }
78382
+ },
78383
+ "responses": {
78384
+ "200": {
78385
+ "description": "Change the invitation policy: done.",
78386
+ "content": {
78387
+ "application/json": {
78388
+ "schema": {
78389
+ "type": "object",
78390
+ "properties": {
78391
+ "external_domains": {
78392
+ "type": "string",
78393
+ "enum": [
78394
+ "allow",
78395
+ "block"
78396
+ ]
78397
+ },
78398
+ "email_domain": {
78399
+ "type": [
78400
+ "string",
78401
+ "null"
78402
+ ]
78403
+ }
78404
+ }
78405
+ }
78406
+ }
78407
+ }
78408
+ },
78409
+ "400": {
78410
+ "$ref": "#/components/responses/BadRequest"
78411
+ },
78412
+ "401": {
78413
+ "$ref": "#/components/responses/Unauthorized"
78414
+ },
78415
+ "403": {
78416
+ "$ref": "#/components/responses/Forbidden"
78417
+ },
78418
+ "429": {
78419
+ "$ref": "#/components/responses/RateLimitExceeded"
78420
+ }
78421
+ }
78422
+ }
78423
+ },
78087
78424
  "/v1/team/members/{userId}": {
78088
78425
  "patch": {
78089
78426
  "operationId": "changeMemberRole",
@@ -80411,6 +80748,64 @@
80411
80748
  }
80412
80749
  }
80413
80750
  },
80751
+ "/v1/thread/starters": {
80752
+ "get": {
80753
+ "operationId": "getThreadStarters",
80754
+ "x-audience": "public",
80755
+ "x-required-scopes": [
80756
+ "thread:read"
80757
+ ],
80758
+ "summary": "Read conversation starters",
80759
+ "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",
80760
+ "tags": [
80761
+ "Thread"
80762
+ ],
80763
+ "responses": {
80764
+ "200": {
80765
+ "description": "OK",
80766
+ "content": {
80767
+ "application/json": {
80768
+ "schema": {
80769
+ "type": "object",
80770
+ "properties": {
80771
+ "fresh": {
80772
+ "type": "boolean"
80773
+ },
80774
+ "companies": {
80775
+ "type": "array",
80776
+ "items": {
80777
+ "type": "string"
80778
+ }
80779
+ },
80780
+ "kinds": {
80781
+ "type": "array",
80782
+ "items": {
80783
+ "type": "string"
80784
+ }
80785
+ },
80786
+ "reported_figures": {
80787
+ "type": "boolean"
80788
+ }
80789
+ }
80790
+ }
80791
+ }
80792
+ }
80793
+ },
80794
+ "401": {
80795
+ "$ref": "#/components/responses/Unauthorized"
80796
+ },
80797
+ "403": {
80798
+ "$ref": "#/components/responses/Forbidden"
80799
+ },
80800
+ "404": {
80801
+ "$ref": "#/components/responses/NotFound"
80802
+ },
80803
+ "429": {
80804
+ "$ref": "#/components/responses/RateLimitExceeded"
80805
+ }
80806
+ }
80807
+ }
80808
+ },
80414
80809
  "/v1/thread/events": {
80415
80810
  "get": {
80416
80811
  "operationId": "listThreadEvents",
@@ -118991,6 +119386,42 @@
118991
119386
  }
118992
119387
  }
118993
119388
  },
119389
+ "SourceManagers": {
119390
+ "type": "object",
119391
+ "required": [
119392
+ "connected_by",
119393
+ "managers",
119394
+ "can_edit",
119395
+ "available"
119396
+ ],
119397
+ "properties": {
119398
+ "connected_by": {
119399
+ "nullable": true,
119400
+ "description": "The person who connected the source, while they are an active member.",
119401
+ "allOf": [
119402
+ {
119403
+ "$ref": "#/components/schemas/SourceRecordRolePerson"
119404
+ }
119405
+ ]
119406
+ },
119407
+ "managers": {
119408
+ "type": "array",
119409
+ "description": "The members who manage the source beside that person.",
119410
+ "items": {
119411
+ "$ref": "#/components/schemas/SourceRecordRolePerson"
119412
+ }
119413
+ },
119414
+ "can_edit": {
119415
+ "type": "boolean",
119416
+ "description": "Whether you may change the list."
119417
+ },
119418
+ "available": {
119419
+ "type": "boolean",
119420
+ "description": "False for a connection to one person's own account",
119421
+ "which has no managers.": null
119422
+ }
119423
+ }
119424
+ },
118994
119425
  "SourceRecordRoles": {
118995
119426
  "type": "object",
118996
119427
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talonic/docs",
3
- "version": "0.21.98",
3
+ "version": "0.21.100",
4
4
  "description": "Talonic documentation components — API Reference & Platform Guide",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,