@geowiki/evoland-api-proxy 0.16.11 → 0.16.12

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
@@ -96,7 +96,7 @@ type ActiveLearningResponse = {
96
96
  type AnnotationRequest = {
97
97
  is_annual_annotation: boolean;
98
98
  project_id: number;
99
- item_buffer: string;
99
+ asset_url: (string | null);
100
100
  };
101
101
 
102
102
  type Answer = {
@@ -117,18 +117,18 @@ type AssetElement = {
117
117
  };
118
118
 
119
119
  type Body_bulk_upload_locations_uploadlocations__post = {
120
- file: Blob;
120
+ file: string;
121
121
  project_id: number;
122
122
  group_id: number;
123
123
  };
124
124
 
125
125
  type Body_bulk_upload_review_tasks_uploadreviewtasks_post = {
126
- file: Blob;
126
+ file: string;
127
127
  project_id: number;
128
128
  };
129
129
 
130
130
  type Body_upload_location_task_uploadlocationtask__post = {
131
- file: Blob;
131
+ file: string;
132
132
  project_id: number;
133
133
  };
134
134
 
@@ -238,6 +238,8 @@ type ValidationError = {
238
238
  loc: Array<(string | number)>;
239
239
  msg: string;
240
240
  type: string;
241
+ input?: any;
242
+ ctx?: Record<string, any>;
241
243
  };
242
244
 
243
245
  type HTTPValidationError = {
@@ -377,6 +379,7 @@ type ProjectGroupResponse = {
377
379
  group_name: string;
378
380
  group_id: number;
379
381
  n_locations: number;
382
+ n_locations_annotated: number;
380
383
  is_active: boolean;
381
384
  };
382
385
 
@@ -392,7 +395,7 @@ type Questionnaire = {
392
395
  };
393
396
 
394
397
  type RasterRequest = {
395
- item_buffer: string;
398
+ asset_url: (string | null);
396
399
  };
397
400
 
398
401
  type RemoveUserRequest = {
@@ -705,7 +708,7 @@ declare class LocationService {
705
708
  static uploadLocationTaskUploadlocationtaskPost(formData: Body_upload_location_task_uploadlocationtask__post): CancelablePromise<Record<string, any>>;
706
709
  /**
707
710
  * Bulk Upload Locations
708
- * Accepts a geojson, validates rows and insert in locations table, returns status of inserted and error row
711
+ * Accepts a parquet file, validates rows and insert in locations table, returns status of inserted and error row
709
712
  * @param formData
710
713
  * @returns any Successful Response
711
714
  * @throws ApiError
package/dist/index.d.ts CHANGED
@@ -96,7 +96,7 @@ type ActiveLearningResponse = {
96
96
  type AnnotationRequest = {
97
97
  is_annual_annotation: boolean;
98
98
  project_id: number;
99
- item_buffer: string;
99
+ asset_url: (string | null);
100
100
  };
101
101
 
102
102
  type Answer = {
@@ -117,18 +117,18 @@ type AssetElement = {
117
117
  };
118
118
 
119
119
  type Body_bulk_upload_locations_uploadlocations__post = {
120
- file: Blob;
120
+ file: string;
121
121
  project_id: number;
122
122
  group_id: number;
123
123
  };
124
124
 
125
125
  type Body_bulk_upload_review_tasks_uploadreviewtasks_post = {
126
- file: Blob;
126
+ file: string;
127
127
  project_id: number;
128
128
  };
129
129
 
130
130
  type Body_upload_location_task_uploadlocationtask__post = {
131
- file: Blob;
131
+ file: string;
132
132
  project_id: number;
133
133
  };
134
134
 
@@ -238,6 +238,8 @@ type ValidationError = {
238
238
  loc: Array<(string | number)>;
239
239
  msg: string;
240
240
  type: string;
241
+ input?: any;
242
+ ctx?: Record<string, any>;
241
243
  };
242
244
 
243
245
  type HTTPValidationError = {
@@ -377,6 +379,7 @@ type ProjectGroupResponse = {
377
379
  group_name: string;
378
380
  group_id: number;
379
381
  n_locations: number;
382
+ n_locations_annotated: number;
380
383
  is_active: boolean;
381
384
  };
382
385
 
@@ -392,7 +395,7 @@ type Questionnaire = {
392
395
  };
393
396
 
394
397
  type RasterRequest = {
395
- item_buffer: string;
398
+ asset_url: (string | null);
396
399
  };
397
400
 
398
401
  type RemoveUserRequest = {
@@ -705,7 +708,7 @@ declare class LocationService {
705
708
  static uploadLocationTaskUploadlocationtaskPost(formData: Body_upload_location_task_uploadlocationtask__post): CancelablePromise<Record<string, any>>;
706
709
  /**
707
710
  * Bulk Upload Locations
708
- * Accepts a geojson, validates rows and insert in locations table, returns status of inserted and error row
711
+ * Accepts a parquet file, validates rows and insert in locations table, returns status of inserted and error row
709
712
  * @param formData
710
713
  * @returns any Successful Response
711
714
  * @throws ApiError
package/dist/index.js CHANGED
@@ -638,7 +638,7 @@ var LocationService = class {
638
638
  }
639
639
  /**
640
640
  * Bulk Upload Locations
641
- * Accepts a geojson, validates rows and insert in locations table, returns status of inserted and error row
641
+ * Accepts a parquet file, validates rows and insert in locations table, returns status of inserted and error row
642
642
  * @param formData
643
643
  * @returns any Successful Response
644
644
  * @throws ApiError
package/dist/index.mjs CHANGED
@@ -590,7 +590,7 @@ var LocationService = class {
590
590
  }
591
591
  /**
592
592
  * Bulk Upload Locations
593
- * Accepts a geojson, validates rows and insert in locations table, returns status of inserted and error row
593
+ * Accepts a parquet file, validates rows and insert in locations table, returns status of inserted and error row
594
594
  * @param formData
595
595
  * @returns any Successful Response
596
596
  * @throws ApiError
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geowiki/evoland-api-proxy",
3
- "version": "0.16.11",
3
+ "version": "0.16.12",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [