@naturali/sdk 0.78.1 → 0.78.3

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.cjs CHANGED
@@ -634,7 +634,7 @@ var Actors = class {
634
634
  /**
635
635
  * List actors
636
636
  *
637
- * Returns all actors the caller has access to. If projectId is provided, returns only actors in that project. project keys are scoped to a single project automatically. JWT users without projectId receive actors across all their accessible projects.
637
+ * Returns all actors in the project named in the path.
638
638
  */
639
639
  static listActors(options) {
640
640
  return (options.client ?? client).get({
@@ -645,7 +645,7 @@ var Actors = class {
645
645
  /**
646
646
  * Create an actor
647
647
  *
648
- * Creates a new actor. project keys automatically infer the project from the key's scope; JWT callers must supply projectId.
648
+ * Creates a new actor in the project named in the path.
649
649
  */
650
650
  static createActor(options) {
651
651
  return (options.client ?? client).post({
@@ -1624,7 +1624,7 @@ var Conversations = class {
1624
1624
  /**
1625
1625
  * List conversations
1626
1626
  *
1627
- * Returns all conversations the caller has access to. If projectId is provided, returns only conversations in that project. project keys are scoped to a single project automatically.
1627
+ * Returns all conversations in the project named in the path.
1628
1628
  */
1629
1629
  static listConversations(options) {
1630
1630
  return (options.client ?? client).get({
@@ -1635,7 +1635,7 @@ var Conversations = class {
1635
1635
  /**
1636
1636
  * Create a conversation
1637
1637
  *
1638
- * Creates a new conversation. project keys automatically infer the project from the key's scope; JWT callers must supply projectId.
1638
+ * Creates a new conversation in the project named in the path.
1639
1639
  */
1640
1640
  static createConversation(options) {
1641
1641
  return (options.client ?? client).post({
@@ -1791,7 +1791,7 @@ var Documents = class {
1791
1791
  /**
1792
1792
  * List documents
1793
1793
  *
1794
- * Returns all documents the caller has access to. If projectId is provided, returns only documents in that project. project keys are scoped to a single project automatically. JWT users without projectId receive documents across all their accessible projects.
1794
+ * Returns all documents in the project named in the path.
1795
1795
  */
1796
1796
  static listDocuments(options) {
1797
1797
  return (options.client ?? client).get({
@@ -1802,7 +1802,7 @@ var Documents = class {
1802
1802
  /**
1803
1803
  * Create a document
1804
1804
  *
1805
- * Creates a new text document and generates an embedding vector for semantic search. project keys automatically infer the project from the key's scope; JWT callers must supply projectId.
1805
+ * Creates a new text document and generates an embedding vector for semantic search, in the project named in the path.
1806
1806
  */
1807
1807
  static createDocument(options) {
1808
1808
  return (options.client ?? client).post({
package/dist/index.d.cts CHANGED
@@ -16688,13 +16688,13 @@ declare class Actors {
16688
16688
  /**
16689
16689
  * List actors
16690
16690
  *
16691
- * Returns all actors the caller has access to. If projectId is provided, returns only actors in that project. project keys are scoped to a single project automatically. JWT users without projectId receive actors across all their accessible projects.
16691
+ * Returns all actors in the project named in the path.
16692
16692
  */
16693
16693
  static listActors<ThrowOnError extends boolean = false>(options: Options<ListActorsData, ThrowOnError>): RequestResult<ListActorsResponses, ListActorsErrors, ThrowOnError>;
16694
16694
  /**
16695
16695
  * Create an actor
16696
16696
  *
16697
- * Creates a new actor. project keys automatically infer the project from the key's scope; JWT callers must supply projectId.
16697
+ * Creates a new actor in the project named in the path.
16698
16698
  */
16699
16699
  static createActor<ThrowOnError extends boolean = false>(options: Options<CreateActorData, ThrowOnError>): RequestResult<CreateActorResponses, CreateActorErrors, ThrowOnError>;
16700
16700
  /**
@@ -17197,13 +17197,13 @@ declare class Conversations {
17197
17197
  /**
17198
17198
  * List conversations
17199
17199
  *
17200
- * Returns all conversations the caller has access to. If projectId is provided, returns only conversations in that project. project keys are scoped to a single project automatically.
17200
+ * Returns all conversations in the project named in the path.
17201
17201
  */
17202
17202
  static listConversations<ThrowOnError extends boolean = false>(options: Options<ListConversationsData, ThrowOnError>): RequestResult<ListConversationsResponses, ListConversationsErrors, ThrowOnError>;
17203
17203
  /**
17204
17204
  * Create a conversation
17205
17205
  *
17206
- * Creates a new conversation. project keys automatically infer the project from the key's scope; JWT callers must supply projectId.
17206
+ * Creates a new conversation in the project named in the path.
17207
17207
  */
17208
17208
  static createConversation<ThrowOnError extends boolean = false>(options: Options<CreateConversationData, ThrowOnError>): RequestResult<CreateConversationResponses, CreateConversationErrors, ThrowOnError>;
17209
17209
  /**
@@ -17280,13 +17280,13 @@ declare class Documents {
17280
17280
  /**
17281
17281
  * List documents
17282
17282
  *
17283
- * Returns all documents the caller has access to. If projectId is provided, returns only documents in that project. project keys are scoped to a single project automatically. JWT users without projectId receive documents across all their accessible projects.
17283
+ * Returns all documents in the project named in the path.
17284
17284
  */
17285
17285
  static listDocuments<ThrowOnError extends boolean = false>(options: Options<ListDocumentsData, ThrowOnError>): RequestResult<ListDocumentsResponses, ListDocumentsErrors, ThrowOnError>;
17286
17286
  /**
17287
17287
  * Create a document
17288
17288
  *
17289
- * Creates a new text document and generates an embedding vector for semantic search. project keys automatically infer the project from the key's scope; JWT callers must supply projectId.
17289
+ * Creates a new text document and generates an embedding vector for semantic search, in the project named in the path.
17290
17290
  */
17291
17291
  static createDocument<ThrowOnError extends boolean = false>(options: Options<CreateDocumentData, ThrowOnError>): RequestResult<CreateDocumentResponses, CreateDocumentErrors, ThrowOnError>;
17292
17292
  /**
package/dist/index.d.mts CHANGED
@@ -16688,13 +16688,13 @@ declare class Actors {
16688
16688
  /**
16689
16689
  * List actors
16690
16690
  *
16691
- * Returns all actors the caller has access to. If projectId is provided, returns only actors in that project. project keys are scoped to a single project automatically. JWT users without projectId receive actors across all their accessible projects.
16691
+ * Returns all actors in the project named in the path.
16692
16692
  */
16693
16693
  static listActors<ThrowOnError extends boolean = false>(options: Options<ListActorsData, ThrowOnError>): RequestResult<ListActorsResponses, ListActorsErrors, ThrowOnError>;
16694
16694
  /**
16695
16695
  * Create an actor
16696
16696
  *
16697
- * Creates a new actor. project keys automatically infer the project from the key's scope; JWT callers must supply projectId.
16697
+ * Creates a new actor in the project named in the path.
16698
16698
  */
16699
16699
  static createActor<ThrowOnError extends boolean = false>(options: Options<CreateActorData, ThrowOnError>): RequestResult<CreateActorResponses, CreateActorErrors, ThrowOnError>;
16700
16700
  /**
@@ -17197,13 +17197,13 @@ declare class Conversations {
17197
17197
  /**
17198
17198
  * List conversations
17199
17199
  *
17200
- * Returns all conversations the caller has access to. If projectId is provided, returns only conversations in that project. project keys are scoped to a single project automatically.
17200
+ * Returns all conversations in the project named in the path.
17201
17201
  */
17202
17202
  static listConversations<ThrowOnError extends boolean = false>(options: Options<ListConversationsData, ThrowOnError>): RequestResult<ListConversationsResponses, ListConversationsErrors, ThrowOnError>;
17203
17203
  /**
17204
17204
  * Create a conversation
17205
17205
  *
17206
- * Creates a new conversation. project keys automatically infer the project from the key's scope; JWT callers must supply projectId.
17206
+ * Creates a new conversation in the project named in the path.
17207
17207
  */
17208
17208
  static createConversation<ThrowOnError extends boolean = false>(options: Options<CreateConversationData, ThrowOnError>): RequestResult<CreateConversationResponses, CreateConversationErrors, ThrowOnError>;
17209
17209
  /**
@@ -17280,13 +17280,13 @@ declare class Documents {
17280
17280
  /**
17281
17281
  * List documents
17282
17282
  *
17283
- * Returns all documents the caller has access to. If projectId is provided, returns only documents in that project. project keys are scoped to a single project automatically. JWT users without projectId receive documents across all their accessible projects.
17283
+ * Returns all documents in the project named in the path.
17284
17284
  */
17285
17285
  static listDocuments<ThrowOnError extends boolean = false>(options: Options<ListDocumentsData, ThrowOnError>): RequestResult<ListDocumentsResponses, ListDocumentsErrors, ThrowOnError>;
17286
17286
  /**
17287
17287
  * Create a document
17288
17288
  *
17289
- * Creates a new text document and generates an embedding vector for semantic search. project keys automatically infer the project from the key's scope; JWT callers must supply projectId.
17289
+ * Creates a new text document and generates an embedding vector for semantic search, in the project named in the path.
17290
17290
  */
17291
17291
  static createDocument<ThrowOnError extends boolean = false>(options: Options<CreateDocumentData, ThrowOnError>): RequestResult<CreateDocumentResponses, CreateDocumentErrors, ThrowOnError>;
17292
17292
  /**
package/dist/index.mjs CHANGED
@@ -633,7 +633,7 @@ var Actors = class {
633
633
  /**
634
634
  * List actors
635
635
  *
636
- * Returns all actors the caller has access to. If projectId is provided, returns only actors in that project. project keys are scoped to a single project automatically. JWT users without projectId receive actors across all their accessible projects.
636
+ * Returns all actors in the project named in the path.
637
637
  */
638
638
  static listActors(options) {
639
639
  return (options.client ?? client).get({
@@ -644,7 +644,7 @@ var Actors = class {
644
644
  /**
645
645
  * Create an actor
646
646
  *
647
- * Creates a new actor. project keys automatically infer the project from the key's scope; JWT callers must supply projectId.
647
+ * Creates a new actor in the project named in the path.
648
648
  */
649
649
  static createActor(options) {
650
650
  return (options.client ?? client).post({
@@ -1623,7 +1623,7 @@ var Conversations = class {
1623
1623
  /**
1624
1624
  * List conversations
1625
1625
  *
1626
- * Returns all conversations the caller has access to. If projectId is provided, returns only conversations in that project. project keys are scoped to a single project automatically.
1626
+ * Returns all conversations in the project named in the path.
1627
1627
  */
1628
1628
  static listConversations(options) {
1629
1629
  return (options.client ?? client).get({
@@ -1634,7 +1634,7 @@ var Conversations = class {
1634
1634
  /**
1635
1635
  * Create a conversation
1636
1636
  *
1637
- * Creates a new conversation. project keys automatically infer the project from the key's scope; JWT callers must supply projectId.
1637
+ * Creates a new conversation in the project named in the path.
1638
1638
  */
1639
1639
  static createConversation(options) {
1640
1640
  return (options.client ?? client).post({
@@ -1790,7 +1790,7 @@ var Documents = class {
1790
1790
  /**
1791
1791
  * List documents
1792
1792
  *
1793
- * Returns all documents the caller has access to. If projectId is provided, returns only documents in that project. project keys are scoped to a single project automatically. JWT users without projectId receive documents across all their accessible projects.
1793
+ * Returns all documents in the project named in the path.
1794
1794
  */
1795
1795
  static listDocuments(options) {
1796
1796
  return (options.client ?? client).get({
@@ -1801,7 +1801,7 @@ var Documents = class {
1801
1801
  /**
1802
1802
  * Create a document
1803
1803
  *
1804
- * Creates a new text document and generates an embedding vector for semantic search. project keys automatically infer the project from the key's scope; JWT callers must supply projectId.
1804
+ * Creates a new text document and generates an embedding vector for semantic search, in the project named in the path.
1805
1805
  */
1806
1806
  static createDocument(options) {
1807
1807
  return (options.client ?? client).post({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.78.1",
3
+ "version": "0.78.3",
4
4
  "description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -37,7 +37,7 @@
37
37
  "tsx": "^4.23.1",
38
38
  "typescript": "~6.0.3",
39
39
  "vitest": "^4.1.10",
40
- "@naturali/api": "0.78.1"
40
+ "@naturali/api": "0.78.3"
41
41
  },
42
42
  "scripts": {
43
43
  "generate": "tsx scripts/generate.ts",