@naturali/cli 0.78.0 → 0.78.2
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/index.mjs +13 -13
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
14
14
|
};
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region package.json
|
|
17
|
-
var version = "0.78.
|
|
17
|
+
var version = "0.78.2";
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region ../sdk/src/generated/core/bodySerializer.gen.ts
|
|
20
20
|
const serializeFormDataPair = (data, key, value) => {
|
|
@@ -651,7 +651,7 @@ var Actors = class {
|
|
|
651
651
|
/**
|
|
652
652
|
* List actors
|
|
653
653
|
*
|
|
654
|
-
* Returns all actors
|
|
654
|
+
* Returns all actors in the project named in the path.
|
|
655
655
|
*/
|
|
656
656
|
static listActors(options) {
|
|
657
657
|
return (options.client ?? client).get({
|
|
@@ -662,7 +662,7 @@ var Actors = class {
|
|
|
662
662
|
/**
|
|
663
663
|
* Create an actor
|
|
664
664
|
*
|
|
665
|
-
* Creates a new actor
|
|
665
|
+
* Creates a new actor in the project named in the path.
|
|
666
666
|
*/
|
|
667
667
|
static createActor(options) {
|
|
668
668
|
return (options.client ?? client).post({
|
|
@@ -1641,7 +1641,7 @@ var Conversations = class {
|
|
|
1641
1641
|
/**
|
|
1642
1642
|
* List conversations
|
|
1643
1643
|
*
|
|
1644
|
-
* Returns all conversations
|
|
1644
|
+
* Returns all conversations in the project named in the path.
|
|
1645
1645
|
*/
|
|
1646
1646
|
static listConversations(options) {
|
|
1647
1647
|
return (options.client ?? client).get({
|
|
@@ -1652,7 +1652,7 @@ var Conversations = class {
|
|
|
1652
1652
|
/**
|
|
1653
1653
|
* Create a conversation
|
|
1654
1654
|
*
|
|
1655
|
-
* Creates a new conversation
|
|
1655
|
+
* Creates a new conversation in the project named in the path.
|
|
1656
1656
|
*/
|
|
1657
1657
|
static createConversation(options) {
|
|
1658
1658
|
return (options.client ?? client).post({
|
|
@@ -1808,7 +1808,7 @@ var Documents = class {
|
|
|
1808
1808
|
/**
|
|
1809
1809
|
* List documents
|
|
1810
1810
|
*
|
|
1811
|
-
* Returns all documents
|
|
1811
|
+
* Returns all documents in the project named in the path.
|
|
1812
1812
|
*/
|
|
1813
1813
|
static listDocuments(options) {
|
|
1814
1814
|
return (options.client ?? client).get({
|
|
@@ -1819,7 +1819,7 @@ var Documents = class {
|
|
|
1819
1819
|
/**
|
|
1820
1820
|
* Create a document
|
|
1821
1821
|
*
|
|
1822
|
-
* Creates a new text document and generates an embedding vector for semantic search
|
|
1822
|
+
* Creates a new text document and generates an embedding vector for semantic search, in the project named in the path.
|
|
1823
1823
|
*/
|
|
1824
1824
|
static createDocument(options) {
|
|
1825
1825
|
return (options.client ?? client).post({
|
|
@@ -4829,7 +4829,7 @@ const routes = {
|
|
|
4829
4829
|
"list-actors": {
|
|
4830
4830
|
serviceClass: "Actors",
|
|
4831
4831
|
operationId: "listActors",
|
|
4832
|
-
description: "Returns all actors
|
|
4832
|
+
description: "Returns all actors in the project named in the path.",
|
|
4833
4833
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/actors",
|
|
4834
4834
|
httpMethod: "get",
|
|
4835
4835
|
pathParams: ["project_id"],
|
|
@@ -4896,7 +4896,7 @@ const routes = {
|
|
|
4896
4896
|
"create-actor": {
|
|
4897
4897
|
serviceClass: "Actors",
|
|
4898
4898
|
operationId: "createActor",
|
|
4899
|
-
description: "Creates a new actor
|
|
4899
|
+
description: "Creates a new actor in the project named in the path.",
|
|
4900
4900
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/actors",
|
|
4901
4901
|
httpMethod: "post",
|
|
4902
4902
|
pathParams: ["project_id"],
|
|
@@ -7951,7 +7951,7 @@ const routes = {
|
|
|
7951
7951
|
"list-conversations": {
|
|
7952
7952
|
serviceClass: "Conversations",
|
|
7953
7953
|
operationId: "listConversations",
|
|
7954
|
-
description: "Returns all conversations
|
|
7954
|
+
description: "Returns all conversations in the project named in the path.",
|
|
7955
7955
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/conversations",
|
|
7956
7956
|
httpMethod: "get",
|
|
7957
7957
|
pathParams: ["project_id"],
|
|
@@ -7994,7 +7994,7 @@ const routes = {
|
|
|
7994
7994
|
"create-conversation": {
|
|
7995
7995
|
serviceClass: "Conversations",
|
|
7996
7996
|
operationId: "createConversation",
|
|
7997
|
-
description: "Creates a new conversation
|
|
7997
|
+
description: "Creates a new conversation in the project named in the path.",
|
|
7998
7998
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/conversations",
|
|
7999
7999
|
httpMethod: "post",
|
|
8000
8000
|
pathParams: ["project_id"],
|
|
@@ -8377,7 +8377,7 @@ const routes = {
|
|
|
8377
8377
|
"list-documents": {
|
|
8378
8378
|
serviceClass: "Documents",
|
|
8379
8379
|
operationId: "listDocuments",
|
|
8380
|
-
description: "Returns all documents
|
|
8380
|
+
description: "Returns all documents in the project named in the path.",
|
|
8381
8381
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/documents",
|
|
8382
8382
|
httpMethod: "get",
|
|
8383
8383
|
pathParams: ["project_id"],
|
|
@@ -8420,7 +8420,7 @@ const routes = {
|
|
|
8420
8420
|
"create-document": {
|
|
8421
8421
|
serviceClass: "Documents",
|
|
8422
8422
|
operationId: "createDocument",
|
|
8423
|
-
description: "Creates a new text document and generates an embedding vector for semantic search
|
|
8423
|
+
description: "Creates a new text document and generates an embedding vector for semantic search, in the project named in the path.",
|
|
8424
8424
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/documents",
|
|
8425
8425
|
httpMethod: "post",
|
|
8426
8426
|
pathParams: ["project_id"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/cli",
|
|
3
|
-
"version": "0.78.
|
|
3
|
+
"version": "0.78.2",
|
|
4
4
|
"description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"tsx": "^4.23.1",
|
|
31
31
|
"typescript": "~6.0.3",
|
|
32
32
|
"vitest": "^4.1.10",
|
|
33
|
-
"@naturali/sdk": "0.78.
|
|
33
|
+
"@naturali/sdk": "0.78.2"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"generate": "tsx scripts/generate.ts",
|