@evergis/api 4.0.1-alpha.0 → 4.0.3

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.
@@ -1,14 +1,3 @@
1
1
  import { AccountPreviewService } from '../__generated__/AccountPreviewService';
2
- import { HttpClient } from '../__generated__/HttpClient';
3
- import { Account, UserInfoWithPhoto } from './Account';
4
2
  export declare class AccountPreview extends AccountPreviewService {
5
- private userInfo?;
6
- constructor(http: HttpClient, account: Account);
7
- get user(): Partial<UserInfoWithPhoto> | undefined;
8
- get username(): string;
9
- updateCurrentUserPhoto(file?: File, payload?: {
10
- base64Image?: string;
11
- }): Promise<void>;
12
- fetchPreview1(): Promise<void>;
13
- deleteCurrentUserPhoto(): Promise<void>;
14
3
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.0.1-alpha.0",
2
+ "version": "4.0.3",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -45,5 +45,5 @@
45
45
  "devDependencies": {
46
46
  "@evergis/sgis": "^0.5.0-alpha.68"
47
47
  },
48
- "gitHead": "5f94408e1b6a94b760799207fe73039aa1e027d2"
48
+ "gitHead": "86c1a22813981cc8f125425f918e31a16fba3f5e"
49
49
  }
@@ -1,64 +0,0 @@
1
- import { AddPayload, PagedListScriptDc, RunPayload, UpdateBody } from './data-contracts';
2
- import { Service } from './Service';
3
- /**
4
- * @title Spatial Processing Core API
5
- * @version 1.5.1.0
6
- * @baseUrl /sp
7
- */
8
- export declare class PythonTestService extends Service {
9
- /**
10
- * No description
11
- *
12
- * @tags PythonTest
13
- * @name List
14
- * @operationId PythonTestController_ListAsync
15
- * @summary Get list of availiable scripts.
16
- * @request GET:/python/list
17
- * @response `200` OK
18
- */
19
- list(): Promise<PagedListScriptDc>;
20
- /**
21
- * No description
22
- *
23
- * @tags PythonTest
24
- * @name Add
25
- * @operationId PythonTestController_AddAsync
26
- * @summary Add new script.
27
- * @request POST:/python
28
- * @response `200` OK
29
- */
30
- add(data: AddPayload | FormData): Promise<void>;
31
- /**
32
- * No description
33
- *
34
- * @tags PythonTest
35
- * @name Update
36
- * @operationId PythonTestController_UpdateAsync
37
- * @summary Update script.
38
- * @request PATCH:/python
39
- * @response `200` OK
40
- */
41
- update(data: UpdateBody | FormData): Promise<void>;
42
- /**
43
- * No description
44
- *
45
- * @tags PythonTest
46
- * @name Delete
47
- * @operationId PythonTestController_DeleteAsync
48
- * @summary Remove script.
49
- * @request DELETE:/python/{name}
50
- * @response `200` OK
51
- */
52
- delete(name: string): Promise<void>;
53
- /**
54
- * No description
55
- *
56
- * @tags PythonTest
57
- * @name Run
58
- * @operationId PythonTestController_RunAsync
59
- * @summary Run script.
60
- * @request POST:/python/{name}/run
61
- * @response `200` OK
62
- */
63
- run(name: string, data: RunPayload): Promise<void>;
64
- }