@naturali/sdk 0.28.0 → 0.28.1

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
@@ -1282,7 +1282,7 @@ var Knowledge = class {
1282
1282
  */
1283
1283
  static queryKnowledgeCollection(options) {
1284
1284
  return (options.client ?? client).post({
1285
- url: "/v1/projects/{project_id}/knowledge/collections/{collection_id}",
1285
+ url: "/v1/projects/{project_id}/knowledge/collections/{collection_id}:query",
1286
1286
  ...options,
1287
1287
  headers: {
1288
1288
  "Content-Type": "application/json",
@@ -1345,7 +1345,7 @@ var Knowledge = class {
1345
1345
  */
1346
1346
  static reingestKnowledgeDocument(options) {
1347
1347
  return (options.client ?? client).post({
1348
- url: "/v1/projects/{project_id}/knowledge/collections/{collection_id}/documents/{document_id}",
1348
+ url: "/v1/projects/{project_id}/knowledge/collections/{collection_id}/documents/{document_id}:reingest",
1349
1349
  ...options
1350
1350
  });
1351
1351
  }
package/dist/index.d.cts CHANGED
@@ -3762,7 +3762,7 @@ type QueryKnowledgeCollectionData = {
3762
3762
  collection_id: string;
3763
3763
  };
3764
3764
  query?: never;
3765
- url: '/v1/projects/{project_id}/knowledge/collections/{collection_id}';
3765
+ url: '/v1/projects/{project_id}/knowledge/collections/{collection_id}:query';
3766
3766
  };
3767
3767
  type QueryKnowledgeCollectionErrors = {
3768
3768
  /**
@@ -3982,7 +3982,7 @@ type ReingestKnowledgeDocumentData = {
3982
3982
  document_id: string;
3983
3983
  };
3984
3984
  query?: never;
3985
- url: '/v1/projects/{project_id}/knowledge/collections/{collection_id}/documents/{document_id}';
3985
+ url: '/v1/projects/{project_id}/knowledge/collections/{collection_id}/documents/{document_id}:reingest';
3986
3986
  };
3987
3987
  type ReingestKnowledgeDocumentErrors = {
3988
3988
  /**
package/dist/index.d.mts CHANGED
@@ -3762,7 +3762,7 @@ type QueryKnowledgeCollectionData = {
3762
3762
  collection_id: string;
3763
3763
  };
3764
3764
  query?: never;
3765
- url: '/v1/projects/{project_id}/knowledge/collections/{collection_id}';
3765
+ url: '/v1/projects/{project_id}/knowledge/collections/{collection_id}:query';
3766
3766
  };
3767
3767
  type QueryKnowledgeCollectionErrors = {
3768
3768
  /**
@@ -3982,7 +3982,7 @@ type ReingestKnowledgeDocumentData = {
3982
3982
  document_id: string;
3983
3983
  };
3984
3984
  query?: never;
3985
- url: '/v1/projects/{project_id}/knowledge/collections/{collection_id}/documents/{document_id}';
3985
+ url: '/v1/projects/{project_id}/knowledge/collections/{collection_id}/documents/{document_id}:reingest';
3986
3986
  };
3987
3987
  type ReingestKnowledgeDocumentErrors = {
3988
3988
  /**
package/dist/index.mjs CHANGED
@@ -1281,7 +1281,7 @@ var Knowledge = class {
1281
1281
  */
1282
1282
  static queryKnowledgeCollection(options) {
1283
1283
  return (options.client ?? client).post({
1284
- url: "/v1/projects/{project_id}/knowledge/collections/{collection_id}",
1284
+ url: "/v1/projects/{project_id}/knowledge/collections/{collection_id}:query",
1285
1285
  ...options,
1286
1286
  headers: {
1287
1287
  "Content-Type": "application/json",
@@ -1344,7 +1344,7 @@ var Knowledge = class {
1344
1344
  */
1345
1345
  static reingestKnowledgeDocument(options) {
1346
1346
  return (options.client ?? client).post({
1347
- url: "/v1/projects/{project_id}/knowledge/collections/{collection_id}/documents/{document_id}",
1347
+ url: "/v1/projects/{project_id}/knowledge/collections/{collection_id}/documents/{document_id}:reingest",
1348
1348
  ...options
1349
1349
  });
1350
1350
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.28.0",
3
+ "version": "0.28.1",
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.28.0"
40
+ "@naturali/api": "0.28.1"
41
41
  },
42
42
  "scripts": {
43
43
  "generate": "tsx scripts/generate.ts",