@soat/cli 0.4.4 → 0.4.5

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/dist/esm/index.js +37 -37
  2. package/package.json +2 -2
package/dist/esm/index.js CHANGED
@@ -16,7 +16,7 @@ import { program } from "commander";
16
16
  // package.json
17
17
  var package_default = {
18
18
  name: "@soat/cli",
19
- version: "0.4.4",
19
+ version: "0.4.5",
20
20
  type: "module",
21
21
  scripts: {
22
22
  generate: "tsx scripts/generate.ts",
@@ -124,42 +124,42 @@ var routes = {
124
124
  serviceClass: "Actors",
125
125
  operationId: "getActor",
126
126
  description: "Get an actor by ID",
127
- pathParams: ["id"],
127
+ pathParams: ["actor_id"],
128
128
  queryParams: []
129
129
  },
130
130
  "update-actor": {
131
131
  serviceClass: "Actors",
132
132
  operationId: "updateActor",
133
133
  description: "Update an actor",
134
- pathParams: ["id"],
134
+ pathParams: ["actor_id"],
135
135
  queryParams: []
136
136
  },
137
137
  "delete-actor": {
138
138
  serviceClass: "Actors",
139
139
  operationId: "deleteActor",
140
140
  description: "Delete an actor",
141
- pathParams: ["id"],
141
+ pathParams: ["actor_id"],
142
142
  queryParams: []
143
143
  },
144
144
  "get-actor-tags": {
145
145
  serviceClass: "Actors",
146
146
  operationId: "getActorTags",
147
147
  description: "Get actor tags",
148
- pathParams: ["id"],
148
+ pathParams: ["actor_id"],
149
149
  queryParams: []
150
150
  },
151
151
  "replace-actor-tags": {
152
152
  serviceClass: "Actors",
153
153
  operationId: "replaceActorTags",
154
154
  description: "Replace actor tags",
155
- pathParams: ["id"],
155
+ pathParams: ["actor_id"],
156
156
  queryParams: []
157
157
  },
158
158
  "merge-actor-tags": {
159
159
  serviceClass: "Actors",
160
160
  operationId: "mergeActorTags",
161
161
  description: "Merge actor tags",
162
- pathParams: ["id"],
162
+ pathParams: ["actor_id"],
163
163
  queryParams: []
164
164
  },
165
165
  "list-agent-tools": {
@@ -313,21 +313,21 @@ var routes = {
313
313
  serviceClass: "APIKeys",
314
314
  operationId: "getApiKey",
315
315
  description: "Get an API key",
316
- pathParams: ["id"],
316
+ pathParams: ["api_key_id"],
317
317
  queryParams: []
318
318
  },
319
319
  "update-api-key": {
320
320
  serviceClass: "APIKeys",
321
321
  operationId: "updateApiKey",
322
322
  description: "Update an API key",
323
- pathParams: ["id"],
323
+ pathParams: ["api_key_id"],
324
324
  queryParams: []
325
325
  },
326
326
  "delete-api-key": {
327
327
  serviceClass: "APIKeys",
328
328
  operationId: "deleteApiKey",
329
329
  description: "Delete an API key",
330
- pathParams: ["id"],
330
+ pathParams: ["api_key_id"],
331
331
  queryParams: []
332
332
  },
333
333
  "list-chats": {
@@ -397,77 +397,77 @@ var routes = {
397
397
  serviceClass: "Conversations",
398
398
  operationId: "getConversation",
399
399
  description: "Get a conversation by ID",
400
- pathParams: ["id"],
400
+ pathParams: ["conversation_id"],
401
401
  queryParams: []
402
402
  },
403
403
  "update-conversation": {
404
404
  serviceClass: "Conversations",
405
405
  operationId: "updateConversation",
406
406
  description: "Update a conversation",
407
- pathParams: ["id"],
407
+ pathParams: ["conversation_id"],
408
408
  queryParams: []
409
409
  },
410
410
  "delete-conversation": {
411
411
  serviceClass: "Conversations",
412
412
  operationId: "deleteConversation",
413
413
  description: "Delete a conversation",
414
- pathParams: ["id"],
414
+ pathParams: ["conversation_id"],
415
415
  queryParams: []
416
416
  },
417
417
  "list-conversation-messages": {
418
418
  serviceClass: "Conversations",
419
419
  operationId: "listConversationMessages",
420
420
  description: "List conversation messages",
421
- pathParams: ["id"],
421
+ pathParams: ["conversation_id"],
422
422
  queryParams: ["limit", "offset"]
423
423
  },
424
424
  "add-conversation-message": {
425
425
  serviceClass: "Conversations",
426
426
  operationId: "addConversationMessage",
427
427
  description: "Add a message to a conversation",
428
- pathParams: ["id"],
428
+ pathParams: ["conversation_id"],
429
429
  queryParams: []
430
430
  },
431
431
  "generate-conversation-message": {
432
432
  serviceClass: "Conversations",
433
433
  operationId: "generateConversationMessage",
434
434
  description: "Generate the next message in a conversation",
435
- pathParams: ["id"],
435
+ pathParams: ["conversation_id"],
436
436
  queryParams: []
437
437
  },
438
438
  "list-conversation-actors": {
439
439
  serviceClass: "Conversations",
440
440
  operationId: "listConversationActors",
441
441
  description: "List actors in a conversation",
442
- pathParams: ["id"],
442
+ pathParams: ["conversation_id"],
443
443
  queryParams: []
444
444
  },
445
445
  "remove-conversation-message": {
446
446
  serviceClass: "Conversations",
447
447
  operationId: "removeConversationMessage",
448
448
  description: "Remove a message from a conversation",
449
- pathParams: ["id", "document_id"],
449
+ pathParams: ["conversation_id", "document_id"],
450
450
  queryParams: []
451
451
  },
452
452
  "get-conversation-tags": {
453
453
  serviceClass: "Conversations",
454
454
  operationId: "getConversationTags",
455
455
  description: "Get conversation tags",
456
- pathParams: ["id"],
456
+ pathParams: ["conversation_id"],
457
457
  queryParams: []
458
458
  },
459
459
  "replace-conversation-tags": {
460
460
  serviceClass: "Conversations",
461
461
  operationId: "replaceConversationTags",
462
462
  description: "Replace conversation tags",
463
- pathParams: ["id"],
463
+ pathParams: ["conversation_id"],
464
464
  queryParams: []
465
465
  },
466
466
  "merge-conversation-tags": {
467
467
  serviceClass: "Conversations",
468
468
  operationId: "mergeConversationTags",
469
469
  description: "Merge conversation tags",
470
- pathParams: ["id"],
470
+ pathParams: ["conversation_id"],
471
471
  queryParams: []
472
472
  },
473
473
  "list-documents": {
@@ -488,42 +488,42 @@ var routes = {
488
488
  serviceClass: "Documents",
489
489
  operationId: "getDocument",
490
490
  description: "Get a document by ID",
491
- pathParams: ["id"],
491
+ pathParams: ["document_id"],
492
492
  queryParams: []
493
493
  },
494
494
  "update-document": {
495
495
  serviceClass: "Documents",
496
496
  operationId: "updateDocument",
497
497
  description: "Update a document",
498
- pathParams: ["id"],
498
+ pathParams: ["document_id"],
499
499
  queryParams: []
500
500
  },
501
501
  "delete-document": {
502
502
  serviceClass: "Documents",
503
503
  operationId: "deleteDocument",
504
504
  description: "Delete a document",
505
- pathParams: ["id"],
505
+ pathParams: ["document_id"],
506
506
  queryParams: []
507
507
  },
508
508
  "get-document-tags": {
509
509
  serviceClass: "Documents",
510
510
  operationId: "getDocumentTags",
511
511
  description: "Get document tags",
512
- pathParams: ["id"],
512
+ pathParams: ["document_id"],
513
513
  queryParams: []
514
514
  },
515
515
  "replace-document-tags": {
516
516
  serviceClass: "Documents",
517
517
  operationId: "replaceDocumentTags",
518
518
  description: "Replace document tags",
519
- pathParams: ["id"],
519
+ pathParams: ["document_id"],
520
520
  queryParams: []
521
521
  },
522
522
  "merge-document-tags": {
523
523
  serviceClass: "Documents",
524
524
  operationId: "mergeDocumentTags",
525
525
  description: "Merge document tags",
526
- pathParams: ["id"],
526
+ pathParams: ["document_id"],
527
527
  queryParams: []
528
528
  },
529
529
  "search-documents": {
@@ -565,56 +565,56 @@ var routes = {
565
565
  serviceClass: "Files",
566
566
  operationId: "getFile",
567
567
  description: "Get a file by ID",
568
- pathParams: ["id"],
568
+ pathParams: ["file_id"],
569
569
  queryParams: []
570
570
  },
571
571
  "delete-file": {
572
572
  serviceClass: "Files",
573
573
  operationId: "deleteFile",
574
574
  description: "Delete a file",
575
- pathParams: ["id"],
575
+ pathParams: ["file_id"],
576
576
  queryParams: []
577
577
  },
578
578
  "download-file": {
579
579
  serviceClass: "Files",
580
580
  operationId: "downloadFile",
581
581
  description: "Download a file",
582
- pathParams: ["id"],
582
+ pathParams: ["file_id"],
583
583
  queryParams: []
584
584
  },
585
585
  "update-file-metadata": {
586
586
  serviceClass: "Files",
587
587
  operationId: "updateFileMetadata",
588
588
  description: "Update file metadata",
589
- pathParams: ["id"],
589
+ pathParams: ["file_id"],
590
590
  queryParams: []
591
591
  },
592
592
  "download-file-base64": {
593
593
  serviceClass: "Files",
594
594
  operationId: "downloadFileBase64",
595
595
  description: "Download file as base64",
596
- pathParams: ["id"],
596
+ pathParams: ["file_id"],
597
597
  queryParams: []
598
598
  },
599
599
  "get-file-tags": {
600
600
  serviceClass: "Files",
601
601
  operationId: "getFileTags",
602
602
  description: "Get file tags",
603
- pathParams: ["id"],
603
+ pathParams: ["file_id"],
604
604
  queryParams: []
605
605
  },
606
606
  "replace-file-tags": {
607
607
  serviceClass: "Files",
608
608
  operationId: "replaceFileTags",
609
609
  description: "Replace file tags",
610
- pathParams: ["id"],
610
+ pathParams: ["file_id"],
611
611
  queryParams: []
612
612
  },
613
613
  "merge-file-tags": {
614
614
  serviceClass: "Files",
615
615
  operationId: "mergeFileTags",
616
616
  description: "Merge file tags",
617
- pathParams: ["id"],
617
+ pathParams: ["file_id"],
618
618
  queryParams: []
619
619
  },
620
620
  "list-policies": {
@@ -810,14 +810,14 @@ var routes = {
810
810
  serviceClass: "Users",
811
811
  operationId: "getUser",
812
812
  description: "Get a user by ID",
813
- pathParams: ["id"],
813
+ pathParams: ["user_id"],
814
814
  queryParams: []
815
815
  },
816
816
  "delete-user": {
817
817
  serviceClass: "Users",
818
818
  operationId: "deleteUser",
819
819
  description: "Delete a user by ID",
820
- pathParams: ["id"],
820
+ pathParams: ["user_id"],
821
821
  queryParams: []
822
822
  },
823
823
  "bootstrap-user": {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@soat/cli",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@inquirer/input": "^5.0.12",
7
7
  "@inquirer/password": "^5.0.12",
8
8
  "@ttoss/logger": "^0.8.10",
9
9
  "commander": "^14.0.3",
10
- "@soat/sdk": "0.4.4"
10
+ "@soat/sdk": "0.4.5"
11
11
  },
12
12
  "devDependencies": {
13
13
  "@ttoss/config": "^1.37.10",