harvester_sdk 1.0.46 → 1.0.48

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 (3) hide show
  1. package/dist/sdk.d.ts +2 -0
  2. package/package.json +1 -1
  3. package/sdk.ts +3 -0
package/dist/sdk.d.ts CHANGED
@@ -55,6 +55,7 @@ export interface GetDataParams extends PaginationParams {
55
55
  exclude_fields?: string[];
56
56
  data_topics?: string[];
57
57
  data_keywords?: string[];
58
+ cursor?: string;
58
59
  }
59
60
  export interface PaginatedResponse<T> {
60
61
  data: T[];
@@ -65,6 +66,7 @@ export interface PaginatedResponse<T> {
65
66
  total_pages: number;
66
67
  has_next: boolean;
67
68
  has_prev: boolean;
69
+ cursor?: string;
68
70
  };
69
71
  }
70
72
  export interface SDKResponse<T> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harvester_sdk",
3
- "version": "1.0.46",
3
+ "version": "1.0.48",
4
4
  "description": "SDK for interacting with the Harvester API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/sdk.ts CHANGED
@@ -90,6 +90,8 @@ export interface GetDataParams extends PaginationParams {
90
90
  // Additional filters
91
91
  data_topics?: string[];
92
92
  data_keywords?: string[];
93
+
94
+ cursor?: string; // For cursor-based pagination
93
95
  }
94
96
 
95
97
  // Response types
@@ -102,6 +104,7 @@ export interface PaginatedResponse<T> {
102
104
  total_pages: number;
103
105
  has_next: boolean;
104
106
  has_prev: boolean;
107
+ cursor?: string;
105
108
  };
106
109
  }
107
110