@wevion/cli 1.0.3486 → 1.0.3489

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 +283 -3
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -154802,7 +154802,8 @@
154802
154802
  "token_status",
154803
154803
  "business_user_ids",
154804
154804
  "created_at",
154805
- "updated_at"
154805
+ "updated_at",
154806
+ "note"
154806
154807
  ],
154807
154808
  "properties": {
154808
154809
  "id": {
@@ -154897,6 +154898,16 @@
154897
154898
  "type": "null"
154898
154899
  }
154899
154900
  ]
154901
+ },
154902
+ "note": {
154903
+ "anyOf": [
154904
+ {
154905
+ "type": "string"
154906
+ },
154907
+ {
154908
+ "type": "null"
154909
+ }
154910
+ ]
154900
154911
  }
154901
154912
  }
154902
154913
  }
@@ -172343,6 +172354,253 @@
172343
172354
  }
172344
172355
  }
172345
172356
  },
172357
+ "/api/v1/platforms/users/note": {
172358
+ "put": {
172359
+ "operationId": "setPlatformUserNote",
172360
+ "summary": "Set the note on a Users row",
172361
+ "tags": [
172362
+ "platforms"
172363
+ ],
172364
+ "description": "Stores a free-text note against one connected profile of the Users page, so an account can be recognised by who runs it or which client it belongs to. Sending an empty note removes it. The row must belong to a session the caller can reach in the active workspace.",
172365
+ "requestBody": {
172366
+ "required": true,
172367
+ "content": {
172368
+ "application/json": {
172369
+ "schema": {
172370
+ "additionalProperties": false,
172371
+ "type": "object",
172372
+ "required": [
172373
+ "entity_key",
172374
+ "platform",
172375
+ "note"
172376
+ ],
172377
+ "properties": {
172378
+ "entity_key": {
172379
+ "description": "Row id exactly as the Users page exposes it: the meta_token/taboola_token uuid, or \"<platform>-<session_id>\".",
172380
+ "maxLength": 200,
172381
+ "minLength": 1,
172382
+ "type": "string"
172383
+ },
172384
+ "platform": {
172385
+ "anyOf": [
172386
+ {
172387
+ "type": "string",
172388
+ "enum": [
172389
+ "meta"
172390
+ ]
172391
+ },
172392
+ {
172393
+ "type": "string",
172394
+ "enum": [
172395
+ "google"
172396
+ ]
172397
+ },
172398
+ {
172399
+ "type": "string",
172400
+ "enum": [
172401
+ "tiktok"
172402
+ ]
172403
+ },
172404
+ {
172405
+ "type": "string",
172406
+ "enum": [
172407
+ "taboola"
172408
+ ]
172409
+ },
172410
+ {
172411
+ "type": "string",
172412
+ "enum": [
172413
+ "snapchat"
172414
+ ]
172415
+ },
172416
+ {
172417
+ "type": "string",
172418
+ "enum": [
172419
+ "outbrain"
172420
+ ]
172421
+ }
172422
+ ]
172423
+ },
172424
+ "note": {
172425
+ "description": "Free text. An empty string removes the note.",
172426
+ "maxLength": 500,
172427
+ "type": "string"
172428
+ }
172429
+ }
172430
+ }
172431
+ }
172432
+ }
172433
+ },
172434
+ "security": [
172435
+ {
172436
+ "bearerAuth": []
172437
+ },
172438
+ {
172439
+ "apiKeyAuth": []
172440
+ }
172441
+ ],
172442
+ "responses": {
172443
+ "200": {
172444
+ "description": "Successful response",
172445
+ "content": {
172446
+ "application/json": {
172447
+ "schema": {
172448
+ "type": "object",
172449
+ "required": [
172450
+ "entity_key",
172451
+ "platform",
172452
+ "note"
172453
+ ],
172454
+ "properties": {
172455
+ "entity_key": {
172456
+ "type": "string"
172457
+ },
172458
+ "platform": {
172459
+ "anyOf": [
172460
+ {
172461
+ "type": "string",
172462
+ "enum": [
172463
+ "meta"
172464
+ ]
172465
+ },
172466
+ {
172467
+ "type": "string",
172468
+ "enum": [
172469
+ "google"
172470
+ ]
172471
+ },
172472
+ {
172473
+ "type": "string",
172474
+ "enum": [
172475
+ "tiktok"
172476
+ ]
172477
+ },
172478
+ {
172479
+ "type": "string",
172480
+ "enum": [
172481
+ "taboola"
172482
+ ]
172483
+ },
172484
+ {
172485
+ "type": "string",
172486
+ "enum": [
172487
+ "snapchat"
172488
+ ]
172489
+ },
172490
+ {
172491
+ "type": "string",
172492
+ "enum": [
172493
+ "outbrain"
172494
+ ]
172495
+ }
172496
+ ]
172497
+ },
172498
+ "note": {
172499
+ "anyOf": [
172500
+ {
172501
+ "type": "string"
172502
+ },
172503
+ {
172504
+ "type": "null"
172505
+ }
172506
+ ]
172507
+ }
172508
+ }
172509
+ }
172510
+ }
172511
+ }
172512
+ },
172513
+ "401": {
172514
+ "description": "Unauthorized - missing or invalid bearer token",
172515
+ "content": {
172516
+ "application/json": {
172517
+ "schema": {
172518
+ "$ref": "#/components/schemas/ErrorResponse"
172519
+ }
172520
+ }
172521
+ }
172522
+ },
172523
+ "403": {
172524
+ "description": "Forbidden - caller lacks the required role/permission",
172525
+ "content": {
172526
+ "application/json": {
172527
+ "schema": {
172528
+ "type": "object",
172529
+ "required": [
172530
+ "statusCode",
172531
+ "error",
172532
+ "message"
172533
+ ],
172534
+ "properties": {
172535
+ "statusCode": {
172536
+ "type": "number"
172537
+ },
172538
+ "error": {
172539
+ "type": "string"
172540
+ },
172541
+ "message": {
172542
+ "type": "string"
172543
+ }
172544
+ }
172545
+ }
172546
+ }
172547
+ }
172548
+ },
172549
+ "404": {
172550
+ "description": "Resource not found",
172551
+ "content": {
172552
+ "application/json": {
172553
+ "schema": {
172554
+ "type": "object",
172555
+ "required": [
172556
+ "statusCode",
172557
+ "error",
172558
+ "message"
172559
+ ],
172560
+ "properties": {
172561
+ "statusCode": {
172562
+ "type": "number"
172563
+ },
172564
+ "error": {
172565
+ "type": "string"
172566
+ },
172567
+ "message": {
172568
+ "type": "string"
172569
+ }
172570
+ }
172571
+ }
172572
+ }
172573
+ }
172574
+ },
172575
+ "500": {
172576
+ "description": "Internal server error",
172577
+ "content": {
172578
+ "application/json": {
172579
+ "schema": {
172580
+ "type": "object",
172581
+ "required": [
172582
+ "statusCode",
172583
+ "error",
172584
+ "message"
172585
+ ],
172586
+ "properties": {
172587
+ "statusCode": {
172588
+ "type": "number"
172589
+ },
172590
+ "error": {
172591
+ "type": "string"
172592
+ },
172593
+ "message": {
172594
+ "type": "string"
172595
+ }
172596
+ }
172597
+ }
172598
+ }
172599
+ }
172600
+ }
172601
+ }
172602
+ }
172603
+ },
172346
172604
  "/api/v1/platforms/users": {
172347
172605
  "get": {
172348
172606
  "operationId": "listPlatformUsers",
@@ -172548,7 +172806,8 @@
172548
172806
  "business_user_ids",
172549
172807
  "platform",
172550
172808
  "created_at",
172551
- "updated_at"
172809
+ "updated_at",
172810
+ "note"
172552
172811
  ],
172553
172812
  "properties": {
172554
172813
  "id": {
@@ -172692,6 +172951,16 @@
172692
172951
  "type": "null"
172693
172952
  }
172694
172953
  ]
172954
+ },
172955
+ "note": {
172956
+ "anyOf": [
172957
+ {
172958
+ "type": "string"
172959
+ },
172960
+ {
172961
+ "type": "null"
172962
+ }
172963
+ ]
172695
172964
  }
172696
172965
  }
172697
172966
  }
@@ -234588,7 +234857,8 @@
234588
234857
  "member_email",
234589
234858
  "platform",
234590
234859
  "created_at",
234591
- "updated_at"
234860
+ "updated_at",
234861
+ "note"
234592
234862
  ],
234593
234863
  "properties": {
234594
234864
  "id": {
@@ -234665,6 +234935,16 @@
234665
234935
  "type": "null"
234666
234936
  }
234667
234937
  ]
234938
+ },
234939
+ "note": {
234940
+ "anyOf": [
234941
+ {
234942
+ "type": "string"
234943
+ },
234944
+ {
234945
+ "type": "null"
234946
+ }
234947
+ ]
234668
234948
  }
234669
234949
  }
234670
234950
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wevion/cli",
3
- "version": "1.0.3486",
3
+ "version": "1.0.3489",
4
4
  "description": "Wevion API command-line interface — generated from the public OpenAPI spec",
5
5
  "type": "module",
6
6
  "bin": {