@gpt-core/client 0.5.1 → 0.5.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.d.mts CHANGED
@@ -22390,7 +22390,7 @@ type GetWorkspacesByWorkspaceIdExtractionExportsData = {
22390
22390
  */
22391
22391
  workspace_id: string;
22392
22392
  };
22393
- query: {
22393
+ query?: {
22394
22394
  /**
22395
22395
  * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
22396
22396
  */
@@ -22422,9 +22422,9 @@ type GetWorkspacesByWorkspaceIdExtractionExportsData = {
22422
22422
  [key: string]: unknown | string | undefined;
22423
22423
  };
22424
22424
  /**
22425
- * Export statuses to filter by
22425
+ * Export statuses to filter by (optional for code interface)
22426
22426
  */
22427
- status: Array<"pending" | "processing" | "completed" | "failed">;
22427
+ status?: Array<"pending" | "processing" | "completed" | "failed">;
22428
22428
  };
22429
22429
  url: "/workspaces/{workspace_id}/extraction/exports";
22430
22430
  };
package/dist/index.d.ts CHANGED
@@ -22390,7 +22390,7 @@ type GetWorkspacesByWorkspaceIdExtractionExportsData = {
22390
22390
  */
22391
22391
  workspace_id: string;
22392
22392
  };
22393
- query: {
22393
+ query?: {
22394
22394
  /**
22395
22395
  * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
22396
22396
  */
@@ -22422,9 +22422,9 @@ type GetWorkspacesByWorkspaceIdExtractionExportsData = {
22422
22422
  [key: string]: unknown | string | undefined;
22423
22423
  };
22424
22424
  /**
22425
- * Export statuses to filter by
22425
+ * Export statuses to filter by (optional for code interface)
22426
22426
  */
22427
- status: Array<"pending" | "processing" | "completed" | "failed">;
22427
+ status?: Array<"pending" | "processing" | "completed" | "failed">;
22428
22428
  };
22429
22429
  url: "/workspaces/{workspace_id}/extraction/exports";
22430
22430
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "TypeScript SDK for GPT Core Client API - Document extraction, AI agents, and workspace management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",