@geowiki/evoland-api-proxy 0.16.9-dev.9 → 0.16.10-dev.0

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 = {
@@ -392,7 +394,7 @@ type Questionnaire = {
392
394
  };
393
395
 
394
396
  type RasterRequest = {
395
- item_buffer: string;
397
+ asset_url: (string | null);
396
398
  };
397
399
 
398
400
  type RemoveUserRequest = {
@@ -705,7 +707,7 @@ declare class LocationService {
705
707
  static uploadLocationTaskUploadlocationtaskPost(formData: Body_upload_location_task_uploadlocationtask__post): CancelablePromise<Record<string, any>>;
706
708
  /**
707
709
  * Bulk Upload Locations
708
- * Accepts a geojson, validates rows and insert in locations table, returns status of inserted and error row
710
+ * Accepts a parquet file, validates rows and insert in locations table, returns status of inserted and error row
709
711
  * @param formData
710
712
  * @returns any Successful Response
711
713
  * @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 = {
@@ -392,7 +394,7 @@ type Questionnaire = {
392
394
  };
393
395
 
394
396
  type RasterRequest = {
395
- item_buffer: string;
397
+ asset_url: (string | null);
396
398
  };
397
399
 
398
400
  type RemoveUserRequest = {
@@ -705,7 +707,7 @@ declare class LocationService {
705
707
  static uploadLocationTaskUploadlocationtaskPost(formData: Body_upload_location_task_uploadlocationtask__post): CancelablePromise<Record<string, any>>;
706
708
  /**
707
709
  * Bulk Upload Locations
708
- * Accepts a geojson, validates rows and insert in locations table, returns status of inserted and error row
710
+ * Accepts a parquet file, validates rows and insert in locations table, returns status of inserted and error row
709
711
  * @param formData
710
712
  * @returns any Successful Response
711
713
  * @throws ApiError
package/dist/index.js CHANGED
@@ -28,8 +28,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
 
30
30
  // index.ts
31
- var evoland_api_proxy_exports = {};
32
- __export(evoland_api_proxy_exports, {
31
+ var index_exports = {};
32
+ __export(index_exports, {
33
33
  AiService: () => AiService,
34
34
  ApiError: () => ApiError,
35
35
  CancelError: () => CancelError,
@@ -44,7 +44,7 @@ __export(evoland_api_proxy_exports, {
44
44
  TaskType: () => TaskType,
45
45
  UserRank: () => UserRank
46
46
  });
47
- module.exports = __toCommonJS(evoland_api_proxy_exports);
47
+ module.exports = __toCommonJS(index_exports);
48
48
 
49
49
  // core/ApiError.ts
50
50
  var ApiError = class extends Error {
@@ -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.9-dev.9",
3
+ "version": "0.16.10-dev.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -12,13 +12,13 @@
12
12
  "access": "public"
13
13
  },
14
14
  "peerDependencies": {
15
- "axios": "^1.12.0",
15
+ "axios": "^1.15.2",
16
16
  "form-data": "^4.0.4"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/node": "18.17.1",
20
- "eslint": "^8.46.0",
21
- "tsup": "^8.0.2",
20
+ "eslint": "^8.57.1",
21
+ "tsup": "^8.5.1",
22
22
  "typescript": "5.4.2",
23
23
  "eslint-config-custom": "0.0.0",
24
24
  "tsconfig": "0.0.0"