@wevion/cli 1.0.3118 → 1.0.3121

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.
Files changed (2) hide show
  1. package/openapi.json +394 -6
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -139116,13 +139116,14 @@
139116
139116
  },
139117
139117
  {
139118
139118
  "schema": {
139119
+ "maxLength": 120,
139119
139120
  "minLength": 2,
139120
- "maxLength": 200,
139121
139121
  "type": "string"
139122
139122
  },
139123
139123
  "in": "query",
139124
139124
  "name": "search",
139125
- "required": false
139125
+ "required": false,
139126
+ "description": "Free-text search. Case-insensitive substring over the fields this list declares, AND-ed across whitespace-separated tokens; `%`, `_` and `\\` are matched literally. A uuid, a Stripe id (cus_/sub_/in_/pi_), an `act_…` ad account or an IP is matched by EQUALITY. The response echoes what was actually consulted in `search_meta`."
139126
139127
  },
139127
139128
  {
139128
139129
  "schema": {
@@ -139190,6 +139191,8 @@
139190
139191
  "status",
139191
139192
  "data",
139192
139193
  "error",
139194
+ "team_id",
139195
+ "user_id",
139193
139196
  "created_at",
139194
139197
  "completed_at",
139195
139198
  "expires_at"
@@ -139251,6 +139254,30 @@
139251
139254
  }
139252
139255
  ]
139253
139256
  },
139257
+ "team_id": {
139258
+ "description": "Workspace (team) the job belongs to. Reachable by name through `search`.",
139259
+ "anyOf": [
139260
+ {
139261
+ "format": "uuid",
139262
+ "type": "string"
139263
+ },
139264
+ {
139265
+ "type": "null"
139266
+ }
139267
+ ]
139268
+ },
139269
+ "user_id": {
139270
+ "description": "Owner of the job. Reachable by e-mail or name through `search`.",
139271
+ "anyOf": [
139272
+ {
139273
+ "format": "uuid",
139274
+ "type": "string"
139275
+ },
139276
+ {
139277
+ "type": "null"
139278
+ }
139279
+ ]
139280
+ },
139254
139281
  "created_at": {
139255
139282
  "format": "date-time",
139256
139283
  "type": "string"
@@ -139299,6 +139326,115 @@
139299
139326
  "type": "integer"
139300
139327
  }
139301
139328
  }
139329
+ },
139330
+ "search_meta": {
139331
+ "additionalProperties": false,
139332
+ "description": "What the search actually did, in machine tokens (D11). Absent on a response the caller never asked to search.",
139333
+ "type": "object",
139334
+ "required": [
139335
+ "applied",
139336
+ "degraded",
139337
+ "escaped",
139338
+ "fields_searched",
139339
+ "mode",
139340
+ "term",
139341
+ "truncated"
139342
+ ],
139343
+ "properties": {
139344
+ "applied": {
139345
+ "description": "false = THE LIST IS NOT FILTERED (kill-switch off, or the term normalized below the two-character floor). The page must say so instead of presenting the rows as results.",
139346
+ "type": "boolean"
139347
+ },
139348
+ "degraded": {
139349
+ "description": "true = the owner/identity expansion is INCOMPLETE (a resolution query failed, or a set hit its 500-id cap): matching rows may be missing and it is not the operator’s typing.",
139350
+ "type": "boolean"
139351
+ },
139352
+ "escaped": {
139353
+ "description": "true = at least one `\\`, `%` or `_` in the term was matched literally (D7).",
139354
+ "type": "boolean"
139355
+ },
139356
+ "fields_searched": {
139357
+ "description": "Wire tokens of the fields ACTUALLY consulted, deduped and sorted. Rendered by the frontend as `t(\"search.field.\" + camel(token))`.",
139358
+ "type": "array",
139359
+ "items": {
139360
+ "type": "string"
139361
+ }
139362
+ },
139363
+ "id_fallback": {
139364
+ "description": "Present only when the term classified as an identifier, matched no identifier field on this list, and was retried as text (D4).",
139365
+ "type": "boolean",
139366
+ "enum": [
139367
+ true
139368
+ ]
139369
+ },
139370
+ "mode": {
139371
+ "description": "How the term was interpreted. After an `id_fallback` retry this reads `text`.",
139372
+ "anyOf": [
139373
+ {
139374
+ "type": "string",
139375
+ "enum": [
139376
+ "id"
139377
+ ]
139378
+ },
139379
+ {
139380
+ "type": "string",
139381
+ "enum": [
139382
+ "email"
139383
+ ]
139384
+ },
139385
+ {
139386
+ "type": "string",
139387
+ "enum": [
139388
+ "text"
139389
+ ]
139390
+ }
139391
+ ]
139392
+ },
139393
+ "not_applied": {
139394
+ "description": "Why the list was not filtered. Present only when `applied` is false. Never reports the kill-switch: that path emits no `search_meta`, because the legacy predicate did filter the list.",
139395
+ "anyOf": [
139396
+ {
139397
+ "type": "string",
139398
+ "enum": [
139399
+ "below_min_length"
139400
+ ]
139401
+ },
139402
+ {
139403
+ "type": "string",
139404
+ "enum": [
139405
+ "no_applicable_field"
139406
+ ]
139407
+ }
139408
+ ]
139409
+ },
139410
+ "term": {
139411
+ "description": "The NORMALIZED term, echoed back for the UI. Never the raw input.",
139412
+ "type": "string"
139413
+ },
139414
+ "truncated": {
139415
+ "description": "Set when the LIST was cut (this page shows `shown` of `total`), else null.",
139416
+ "anyOf": [
139417
+ {
139418
+ "type": "object",
139419
+ "required": [
139420
+ "shown",
139421
+ "total"
139422
+ ],
139423
+ "properties": {
139424
+ "shown": {
139425
+ "type": "integer"
139426
+ },
139427
+ "total": {
139428
+ "type": "integer"
139429
+ }
139430
+ }
139431
+ },
139432
+ {
139433
+ "type": "null"
139434
+ }
139435
+ ]
139436
+ }
139437
+ }
139302
139438
  }
139303
139439
  }
139304
139440
  }
@@ -251586,7 +251722,7 @@
251586
251722
  "tags": [
251587
251723
  "team"
251588
251724
  ],
251589
- "description": "Lists the shared knowledge entries of the teams the caller can access. Active entries are injected into every Wavo conversation of the team.",
251725
+ "description": "Lists the shared knowledge entries of the team of the active workspace scope. Active entries are injected into every Wavo conversation of that team.",
251590
251726
  "security": [
251591
251727
  {
251592
251728
  "bearerAuth": []
@@ -251659,6 +251795,34 @@
251659
251795
  }
251660
251796
  }
251661
251797
  },
251798
+ "400": {
251799
+ "description": "Invalid request - schema validation failed",
251800
+ "content": {
251801
+ "application/json": {
251802
+ "schema": {
251803
+ "additionalProperties": false,
251804
+ "type": "object",
251805
+ "required": [
251806
+ "error"
251807
+ ],
251808
+ "properties": {
251809
+ "error": {
251810
+ "type": "string"
251811
+ },
251812
+ "code": {
251813
+ "type": "string"
251814
+ },
251815
+ "message": {
251816
+ "type": "string"
251817
+ },
251818
+ "statusCode": {
251819
+ "type": "number"
251820
+ }
251821
+ }
251822
+ }
251823
+ }
251824
+ }
251825
+ },
251662
251826
  "401": {
251663
251827
  "description": "Unauthorized - missing or invalid bearer token",
251664
251828
  "content": {
@@ -251669,6 +251833,62 @@
251669
251833
  }
251670
251834
  }
251671
251835
  },
251836
+ "403": {
251837
+ "description": "Forbidden - caller lacks the required role/permission",
251838
+ "content": {
251839
+ "application/json": {
251840
+ "schema": {
251841
+ "additionalProperties": false,
251842
+ "type": "object",
251843
+ "required": [
251844
+ "error"
251845
+ ],
251846
+ "properties": {
251847
+ "error": {
251848
+ "type": "string"
251849
+ },
251850
+ "code": {
251851
+ "type": "string"
251852
+ },
251853
+ "message": {
251854
+ "type": "string"
251855
+ },
251856
+ "statusCode": {
251857
+ "type": "number"
251858
+ }
251859
+ }
251860
+ }
251861
+ }
251862
+ }
251863
+ },
251864
+ "404": {
251865
+ "description": "Resource not found",
251866
+ "content": {
251867
+ "application/json": {
251868
+ "schema": {
251869
+ "additionalProperties": false,
251870
+ "type": "object",
251871
+ "required": [
251872
+ "error"
251873
+ ],
251874
+ "properties": {
251875
+ "error": {
251876
+ "type": "string"
251877
+ },
251878
+ "code": {
251879
+ "type": "string"
251880
+ },
251881
+ "message": {
251882
+ "type": "string"
251883
+ },
251884
+ "statusCode": {
251885
+ "type": "number"
251886
+ }
251887
+ }
251888
+ }
251889
+ }
251890
+ }
251891
+ },
251672
251892
  "500": {
251673
251893
  "description": "Internal server error",
251674
251894
  "content": {
@@ -251705,7 +251925,7 @@
251705
251925
  "tags": [
251706
251926
  "team"
251707
251927
  ],
251708
- "description": "Creates a shared knowledge entry for the caller's team. Fails with 409 once the team reaches 30 entries.",
251928
+ "description": "Creates a shared knowledge entry on the team of the active workspace scope. Fails with 409 once that team reaches 30 entries.",
251709
251929
  "requestBody": {
251710
251930
  "required": true,
251711
251931
  "content": {
@@ -251827,6 +252047,62 @@
251827
252047
  }
251828
252048
  }
251829
252049
  },
252050
+ "403": {
252051
+ "description": "Forbidden - caller lacks the required role/permission",
252052
+ "content": {
252053
+ "application/json": {
252054
+ "schema": {
252055
+ "additionalProperties": false,
252056
+ "type": "object",
252057
+ "required": [
252058
+ "error"
252059
+ ],
252060
+ "properties": {
252061
+ "error": {
252062
+ "type": "string"
252063
+ },
252064
+ "code": {
252065
+ "type": "string"
252066
+ },
252067
+ "message": {
252068
+ "type": "string"
252069
+ },
252070
+ "statusCode": {
252071
+ "type": "number"
252072
+ }
252073
+ }
252074
+ }
252075
+ }
252076
+ }
252077
+ },
252078
+ "404": {
252079
+ "description": "Resource not found",
252080
+ "content": {
252081
+ "application/json": {
252082
+ "schema": {
252083
+ "additionalProperties": false,
252084
+ "type": "object",
252085
+ "required": [
252086
+ "error"
252087
+ ],
252088
+ "properties": {
252089
+ "error": {
252090
+ "type": "string"
252091
+ },
252092
+ "code": {
252093
+ "type": "string"
252094
+ },
252095
+ "message": {
252096
+ "type": "string"
252097
+ },
252098
+ "statusCode": {
252099
+ "type": "number"
252100
+ }
252101
+ }
252102
+ }
252103
+ }
252104
+ }
252105
+ },
251830
252106
  "409": {
251831
252107
  "description": "Conflict - resource state prevents the operation",
251832
252108
  "content": {
@@ -251893,7 +252169,7 @@
251893
252169
  "tags": [
251894
252170
  "team"
251895
252171
  ],
251896
- "description": "Updates the title, body or active flag of an entry. Setting is_active to false keeps the entry but stops Wavo from using it.",
252172
+ "description": "Updates the title, body or active flag of an entry of the active workspace scope team. Setting is_active to false keeps the entry but stops Wavo from using it.",
251897
252173
  "requestBody": {
251898
252174
  "required": true,
251899
252175
  "content": {
@@ -251987,6 +252263,34 @@
251987
252263
  }
251988
252264
  }
251989
252265
  },
252266
+ "400": {
252267
+ "description": "Invalid request - schema validation failed",
252268
+ "content": {
252269
+ "application/json": {
252270
+ "schema": {
252271
+ "additionalProperties": false,
252272
+ "type": "object",
252273
+ "required": [
252274
+ "error"
252275
+ ],
252276
+ "properties": {
252277
+ "error": {
252278
+ "type": "string"
252279
+ },
252280
+ "code": {
252281
+ "type": "string"
252282
+ },
252283
+ "message": {
252284
+ "type": "string"
252285
+ },
252286
+ "statusCode": {
252287
+ "type": "number"
252288
+ }
252289
+ }
252290
+ }
252291
+ }
252292
+ }
252293
+ },
251990
252294
  "401": {
251991
252295
  "description": "Unauthorized - missing or invalid bearer token",
251992
252296
  "content": {
@@ -251997,6 +252301,34 @@
251997
252301
  }
251998
252302
  }
251999
252303
  },
252304
+ "403": {
252305
+ "description": "Forbidden - caller lacks the required role/permission",
252306
+ "content": {
252307
+ "application/json": {
252308
+ "schema": {
252309
+ "additionalProperties": false,
252310
+ "type": "object",
252311
+ "required": [
252312
+ "error"
252313
+ ],
252314
+ "properties": {
252315
+ "error": {
252316
+ "type": "string"
252317
+ },
252318
+ "code": {
252319
+ "type": "string"
252320
+ },
252321
+ "message": {
252322
+ "type": "string"
252323
+ },
252324
+ "statusCode": {
252325
+ "type": "number"
252326
+ }
252327
+ }
252328
+ }
252329
+ }
252330
+ }
252331
+ },
252000
252332
  "404": {
252001
252333
  "description": "Resource not found",
252002
252334
  "content": {
@@ -252061,7 +252393,7 @@
252061
252393
  "tags": [
252062
252394
  "team"
252063
252395
  ],
252064
- "description": "Permanently removes a shared knowledge entry from the team.",
252396
+ "description": "Permanently removes a shared knowledge entry from the active workspace scope team.",
252065
252397
  "parameters": [
252066
252398
  {
252067
252399
  "schema": {
@@ -252101,6 +252433,34 @@
252101
252433
  }
252102
252434
  }
252103
252435
  },
252436
+ "400": {
252437
+ "description": "Invalid request - schema validation failed",
252438
+ "content": {
252439
+ "application/json": {
252440
+ "schema": {
252441
+ "additionalProperties": false,
252442
+ "type": "object",
252443
+ "required": [
252444
+ "error"
252445
+ ],
252446
+ "properties": {
252447
+ "error": {
252448
+ "type": "string"
252449
+ },
252450
+ "code": {
252451
+ "type": "string"
252452
+ },
252453
+ "message": {
252454
+ "type": "string"
252455
+ },
252456
+ "statusCode": {
252457
+ "type": "number"
252458
+ }
252459
+ }
252460
+ }
252461
+ }
252462
+ }
252463
+ },
252104
252464
  "401": {
252105
252465
  "description": "Unauthorized - missing or invalid bearer token",
252106
252466
  "content": {
@@ -252111,6 +252471,34 @@
252111
252471
  }
252112
252472
  }
252113
252473
  },
252474
+ "403": {
252475
+ "description": "Forbidden - caller lacks the required role/permission",
252476
+ "content": {
252477
+ "application/json": {
252478
+ "schema": {
252479
+ "additionalProperties": false,
252480
+ "type": "object",
252481
+ "required": [
252482
+ "error"
252483
+ ],
252484
+ "properties": {
252485
+ "error": {
252486
+ "type": "string"
252487
+ },
252488
+ "code": {
252489
+ "type": "string"
252490
+ },
252491
+ "message": {
252492
+ "type": "string"
252493
+ },
252494
+ "statusCode": {
252495
+ "type": "number"
252496
+ }
252497
+ }
252498
+ }
252499
+ }
252500
+ }
252501
+ },
252114
252502
  "404": {
252115
252503
  "description": "Resource not found",
252116
252504
  "content": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wevion/cli",
3
- "version": "1.0.3118",
3
+ "version": "1.0.3121",
4
4
  "description": "Wevion API command-line interface — generated from the public OpenAPI spec",
5
5
  "type": "module",
6
6
  "bin": {