@evergis/api 4.0.20 → 4.0.22
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/Api.d.ts +1 -6
- package/dist/__generated__/AccountService.d.ts +13 -1
- package/dist/__generated__/LayersService.d.ts +2 -98
- package/dist/__generated__/StatisticService.d.ts +4 -40
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +60 -677
- package/dist/api.cjs.development.js +134 -1181
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +128 -1184
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Statistic.d.ts +2 -4
- package/dist/services/index.d.ts +0 -5
- package/package.json +3 -3
- package/dist/__generated__/CamerasService.d.ts +0 -105
- package/dist/__generated__/ExternalProvidersService.d.ts +0 -140
- package/dist/__generated__/IceRouterService.d.ts +0 -33
- package/dist/__generated__/PrintService.d.ts +0 -81
- package/dist/__generated__/StyleService.d.ts +0 -81
- package/dist/services/Cameras.d.ts +0 -3
- package/dist/services/External.d.ts +0 -7
- package/dist/services/IceRouter.d.ts +0 -3
- package/dist/services/Print.d.ts +0 -3
- package/dist/services/Styles.d.ts +0 -3
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { StatisticService } from '../__generated__/StatisticService';
|
|
2
|
-
import { ClassifyDc, ClassifyParams,
|
|
2
|
+
import { ClassifyDc, ClassifyParams, GetStatisticsDc, StatisticsDc } from "../__generated__/data-contracts";
|
|
3
3
|
export declare class Statistic extends StatisticService {
|
|
4
|
-
getStatistic(params:
|
|
5
|
-
postStatistic(params: GetStatisticsDc): Promise<StatisticsDc>;
|
|
4
|
+
getStatistic(params: GetStatisticsDc): Promise<StatisticsDc>;
|
|
6
5
|
getClassify(params: ClassifyParams & {
|
|
7
6
|
[key: string]: any;
|
|
8
7
|
}): Promise<ClassifyDc>;
|
|
9
|
-
postClassify(params: GetClassifyDc): Promise<ClassifyDc>;
|
|
10
8
|
}
|
package/dist/services/index.d.ts
CHANGED
|
@@ -1,27 +1,22 @@
|
|
|
1
1
|
export * from "./Account";
|
|
2
2
|
export * from "./AccountPreview";
|
|
3
3
|
export * from "./BulkOperations";
|
|
4
|
-
export * from "./Cameras";
|
|
5
4
|
export * from "./ClientSettings";
|
|
6
5
|
export * from "./Eql";
|
|
7
|
-
export * from "./External";
|
|
8
6
|
export * from "./Feedback";
|
|
9
7
|
export * from "./FileUpload";
|
|
10
8
|
export * from "./Filters";
|
|
11
9
|
export * from "./Geocode";
|
|
12
|
-
export * from "./IceRouter";
|
|
13
10
|
export * from "./Import";
|
|
14
11
|
export * from "./Layers";
|
|
15
12
|
export * from "./Names";
|
|
16
13
|
export * from "./Notification";
|
|
17
14
|
export * from "./PortalSettings";
|
|
18
|
-
export * from "./Print";
|
|
19
15
|
export * from "./Projects";
|
|
20
16
|
export * from "./RemoteTaskManager";
|
|
21
17
|
export * from "./Resources";
|
|
22
18
|
export * from "./Security";
|
|
23
19
|
export * from "./Statistic";
|
|
24
|
-
export * from "./Styles";
|
|
25
20
|
export * from "./Tables";
|
|
26
21
|
export * from "./Tools";
|
|
27
22
|
export * from "./VectorTiles";
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.0.
|
|
2
|
+
"version": "4.0.22",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"lint": "tsdx lint",
|
|
17
17
|
"lint:fix": "tsdx lint --fix",
|
|
18
18
|
"prepare": "tsdx build",
|
|
19
|
-
"generate": "node ../api-generator/src/generate.js --url=https://
|
|
19
|
+
"generate": "node ../api-generator/src/generate.js --url=https://dev.evergis.ru/sp/swagger/1.5.1.0/swagger.json -o ./src/__generated__"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@evergis/sgis": ">0.5.0-alpha.61"
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@evergis/sgis": "^0.5.0-alpha.68"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "abea42bda38a3b6950c2d3563b202cfb3c9a9c42"
|
|
49
49
|
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { ArchiveCalendarDc, ArchiveTimelineDc, CameraListDc, GetArchiveCalendarParams, GetArchiveFeedParams, GetArchiveSnapshotParams, GetArchiveTimelineParams, GetCamerasParams, GetLiveFeedParams, GetLivePreviewStreamParams } 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 CamerasService extends Service {
|
|
9
|
-
/**
|
|
10
|
-
* No description
|
|
11
|
-
*
|
|
12
|
-
* @tags Cameras
|
|
13
|
-
* @name GetCameras
|
|
14
|
-
* @operationId CamerasController_GetCameras
|
|
15
|
-
* @summary Get cameras list.
|
|
16
|
-
* @request GET:/cameras
|
|
17
|
-
* @secure
|
|
18
|
-
* @response `200` OK
|
|
19
|
-
*/
|
|
20
|
-
getCameras(query: GetCamerasParams): Promise<CameraListDc>;
|
|
21
|
-
/**
|
|
22
|
-
* No description
|
|
23
|
-
*
|
|
24
|
-
* @tags Cameras
|
|
25
|
-
* @name GetArchiveFeed
|
|
26
|
-
* @operationId CamerasController_GetArchiveFeed
|
|
27
|
-
* @summary Streams an FLV-over-HTTP archive feed starting at specific time.
|
|
28
|
-
* @request GET:/cameras/{cameraId}/archiveFeed
|
|
29
|
-
* @secure
|
|
30
|
-
* @response `200` OK
|
|
31
|
-
*/
|
|
32
|
-
getArchiveFeed({ cameraId, ...query }: GetArchiveFeedParams): Promise<Blob>;
|
|
33
|
-
/**
|
|
34
|
-
* No description
|
|
35
|
-
*
|
|
36
|
-
* @tags Cameras
|
|
37
|
-
* @name GetArchiveTimeline
|
|
38
|
-
* @operationId CamerasController_GetArchiveTimeline
|
|
39
|
-
* @summary Returns a list of records available within a given timeframe.
|
|
40
|
-
* @request GET:/cameras/{cameraId}/archiveTimeline
|
|
41
|
-
* @secure
|
|
42
|
-
* @response `200` OK
|
|
43
|
-
*/
|
|
44
|
-
getArchiveTimeline({ cameraId, ...query }: GetArchiveTimelineParams): Promise<ArchiveTimelineDc>;
|
|
45
|
-
/**
|
|
46
|
-
* No description
|
|
47
|
-
*
|
|
48
|
-
* @tags Cameras
|
|
49
|
-
* @name GetArchiveCalendar
|
|
50
|
-
* @operationId CamerasController_GetArchiveCalendar
|
|
51
|
-
* @summary Returns a list of records available within a given timeframe.
|
|
52
|
-
* @request GET:/cameras/{cameraId}/archiveCalendar
|
|
53
|
-
* @secure
|
|
54
|
-
* @response `200` OK
|
|
55
|
-
*/
|
|
56
|
-
getArchiveCalendar({ cameraId, ...query }: GetArchiveCalendarParams): Promise<ArchiveCalendarDc>;
|
|
57
|
-
/**
|
|
58
|
-
* No description
|
|
59
|
-
*
|
|
60
|
-
* @tags Cameras
|
|
61
|
-
* @name GetArchiveSnapshot
|
|
62
|
-
* @operationId CamerasController_GetArchiveSnapshot
|
|
63
|
-
* @summary Returns a JPEG image from the Camera’s archive.
|
|
64
|
-
* @request GET:/cameras/{cameraId}/archiveSnapshot
|
|
65
|
-
* @secure
|
|
66
|
-
* @response `200` OK
|
|
67
|
-
*/
|
|
68
|
-
getArchiveSnapshot({ cameraId, ...query }: GetArchiveSnapshotParams): Promise<Blob>;
|
|
69
|
-
/**
|
|
70
|
-
* No description
|
|
71
|
-
*
|
|
72
|
-
* @tags Cameras
|
|
73
|
-
* @name GetLiveFeed
|
|
74
|
-
* @operationId CamerasController_GetLiveFeed
|
|
75
|
-
* @summary Streams live video feed from the Camera.
|
|
76
|
-
* @request GET:/cameras/{cameraId}/liveFeed
|
|
77
|
-
* @secure
|
|
78
|
-
* @response `200` OK
|
|
79
|
-
*/
|
|
80
|
-
getLiveFeed({ cameraId, ...query }: GetLiveFeedParams): Promise<Blob>;
|
|
81
|
-
/**
|
|
82
|
-
* No description
|
|
83
|
-
*
|
|
84
|
-
* @tags Cameras
|
|
85
|
-
* @name GetLiveSnapshot
|
|
86
|
-
* @operationId CamerasController_GetLiveSnapshot
|
|
87
|
-
* @summary Returns a JPEG image from the Camera’s live feed.
|
|
88
|
-
* @request GET:/cameras/{cameraId}/liveSnapshot
|
|
89
|
-
* @secure
|
|
90
|
-
* @response `200` OK
|
|
91
|
-
*/
|
|
92
|
-
getLiveSnapshot(cameraId: string): Promise<Blob>;
|
|
93
|
-
/**
|
|
94
|
-
* No description
|
|
95
|
-
*
|
|
96
|
-
* @tags Cameras
|
|
97
|
-
* @name GetLivePreviewStream
|
|
98
|
-
* @operationId CamerasController_GetLivePreviewStream
|
|
99
|
-
* @summary Get live preview stream.
|
|
100
|
-
* @request GET:/cameras/{cameraId}/getLivePreviewsStream
|
|
101
|
-
* @secure
|
|
102
|
-
* @response `200` OK
|
|
103
|
-
*/
|
|
104
|
-
getLivePreviewStream({ cameraId, ...query }: GetLivePreviewStreamParams): Promise<object>;
|
|
105
|
-
}
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { Service } from './Service';
|
|
2
|
-
/**
|
|
3
|
-
* @title Spatial Processing Core API
|
|
4
|
-
* @version 1.5.1.0
|
|
5
|
-
* @baseUrl /sp
|
|
6
|
-
*/
|
|
7
|
-
export declare class ExternalProvidersService extends Service {
|
|
8
|
-
/**
|
|
9
|
-
* No description
|
|
10
|
-
*
|
|
11
|
-
* @tags ExternalProviders
|
|
12
|
-
* @name VkLogin
|
|
13
|
-
* @operationId ExternalProvidersController_VkLogin
|
|
14
|
-
* @summary The external login by vk.
|
|
15
|
-
* @request GET:/account/external/login/vk
|
|
16
|
-
* @secure
|
|
17
|
-
* @response `200` OK
|
|
18
|
-
*/
|
|
19
|
-
vkLogin(): string;
|
|
20
|
-
/**
|
|
21
|
-
* No description
|
|
22
|
-
*
|
|
23
|
-
* @tags ExternalProviders
|
|
24
|
-
* @name GoogleLogin
|
|
25
|
-
* @operationId ExternalProvidersController_GoogleLogin
|
|
26
|
-
* @summary The external login by google.
|
|
27
|
-
* @request GET:/account/external/login/google
|
|
28
|
-
* @secure
|
|
29
|
-
* @response `200` OK
|
|
30
|
-
*/
|
|
31
|
-
googleLogin(): string;
|
|
32
|
-
/**
|
|
33
|
-
* No description
|
|
34
|
-
*
|
|
35
|
-
* @tags ExternalProviders
|
|
36
|
-
* @name FacebookLogin
|
|
37
|
-
* @operationId ExternalProvidersController_FacebookLogin
|
|
38
|
-
* @summary The external login by facebook.
|
|
39
|
-
* @request GET:/account/external/login/facebook
|
|
40
|
-
* @secure
|
|
41
|
-
* @response `200` OK
|
|
42
|
-
*/
|
|
43
|
-
facebookLogin(): string;
|
|
44
|
-
/**
|
|
45
|
-
* No description
|
|
46
|
-
*
|
|
47
|
-
* @tags ExternalProviders
|
|
48
|
-
* @name LoginCallback
|
|
49
|
-
* @operationId ExternalProvidersController_LoginCallback
|
|
50
|
-
* @summary The external login callback.
|
|
51
|
-
* @request GET:/account/external/login/callback
|
|
52
|
-
* @secure
|
|
53
|
-
* @response `200` OK
|
|
54
|
-
*/
|
|
55
|
-
loginCallback(): Promise<void>;
|
|
56
|
-
/**
|
|
57
|
-
* No description
|
|
58
|
-
*
|
|
59
|
-
* @tags ExternalProviders
|
|
60
|
-
* @name UnbindVk
|
|
61
|
-
* @operationId ExternalProvidersController_UnbindVk
|
|
62
|
-
* @summary Unbind external login from current user account (google).
|
|
63
|
-
* @request DELETE:/account/external/unbind/vk
|
|
64
|
-
* @secure
|
|
65
|
-
* @response `200` OK
|
|
66
|
-
*/
|
|
67
|
-
unbindVk(): Promise<void>;
|
|
68
|
-
/**
|
|
69
|
-
* No description
|
|
70
|
-
*
|
|
71
|
-
* @tags ExternalProviders
|
|
72
|
-
* @name UnbindGoogle
|
|
73
|
-
* @operationId ExternalProvidersController_UnbindGoogle
|
|
74
|
-
* @summary Unbind external login from current user account (google).
|
|
75
|
-
* @request DELETE:/account/external/unbind/google
|
|
76
|
-
* @secure
|
|
77
|
-
* @response `200` OK
|
|
78
|
-
*/
|
|
79
|
-
unbindGoogle(): Promise<void>;
|
|
80
|
-
/**
|
|
81
|
-
* No description
|
|
82
|
-
*
|
|
83
|
-
* @tags ExternalProviders
|
|
84
|
-
* @name UnbindFacebook
|
|
85
|
-
* @operationId ExternalProvidersController_UnbindFacebook
|
|
86
|
-
* @summary Unbind external login from current user account (google).
|
|
87
|
-
* @request DELETE:/account/external/unbind/facebook
|
|
88
|
-
* @secure
|
|
89
|
-
* @response `200` OK
|
|
90
|
-
*/
|
|
91
|
-
unbindFacebook(): Promise<void>;
|
|
92
|
-
/**
|
|
93
|
-
* No description
|
|
94
|
-
*
|
|
95
|
-
* @tags ExternalProviders
|
|
96
|
-
* @name BindVk
|
|
97
|
-
* @operationId ExternalProvidersController_BindVk
|
|
98
|
-
* @summary The external login by vk.
|
|
99
|
-
* @request GET:/account/external/bind/vk
|
|
100
|
-
* @secure
|
|
101
|
-
* @response `200` OK
|
|
102
|
-
*/
|
|
103
|
-
bindVk(): string;
|
|
104
|
-
/**
|
|
105
|
-
* No description
|
|
106
|
-
*
|
|
107
|
-
* @tags ExternalProviders
|
|
108
|
-
* @name BindGoogle
|
|
109
|
-
* @operationId ExternalProvidersController_BindGoogle
|
|
110
|
-
* @summary The external login by vk.
|
|
111
|
-
* @request GET:/account/external/bind/google
|
|
112
|
-
* @secure
|
|
113
|
-
* @response `200` OK
|
|
114
|
-
*/
|
|
115
|
-
bindGoogle(): string;
|
|
116
|
-
/**
|
|
117
|
-
* No description
|
|
118
|
-
*
|
|
119
|
-
* @tags ExternalProviders
|
|
120
|
-
* @name BindFacebook
|
|
121
|
-
* @operationId ExternalProvidersController_BindFacebook
|
|
122
|
-
* @summary The external login by vk.
|
|
123
|
-
* @request GET:/account/external/bind/facebook
|
|
124
|
-
* @secure
|
|
125
|
-
* @response `200` OK
|
|
126
|
-
*/
|
|
127
|
-
bindFacebook(): string;
|
|
128
|
-
/**
|
|
129
|
-
* No description
|
|
130
|
-
*
|
|
131
|
-
* @tags ExternalProviders
|
|
132
|
-
* @name BindCallback
|
|
133
|
-
* @operationId ExternalProvidersController_BindCallback
|
|
134
|
-
* @summary Bind external login to current user account.
|
|
135
|
-
* @request GET:/account/external/bind/callback
|
|
136
|
-
* @secure
|
|
137
|
-
* @response `200` OK
|
|
138
|
-
*/
|
|
139
|
-
bindCallback(): Promise<void>;
|
|
140
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { IceRouterResultDc, IceRouteTaskDc } 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 IceRouterService extends Service {
|
|
9
|
-
/**
|
|
10
|
-
* No description
|
|
11
|
-
*
|
|
12
|
-
* @tags IceRouter
|
|
13
|
-
* @name StartTask
|
|
14
|
-
* @operationId IceRouterController_StartTask
|
|
15
|
-
* @summary Start route build between start and end points.
|
|
16
|
-
* @request POST:/ice-router/tasks
|
|
17
|
-
* @secure
|
|
18
|
-
* @response `200` OK
|
|
19
|
-
*/
|
|
20
|
-
startTask(data: IceRouteTaskDc): Promise<string>;
|
|
21
|
-
/**
|
|
22
|
-
* No description
|
|
23
|
-
*
|
|
24
|
-
* @tags IceRouter
|
|
25
|
-
* @name GetResult
|
|
26
|
-
* @operationId IceRouterController_GetResult
|
|
27
|
-
* @summary Get task result.
|
|
28
|
-
* @request GET:/ice-router/tasks/{id}
|
|
29
|
-
* @secure
|
|
30
|
-
* @response `200` OK
|
|
31
|
-
*/
|
|
32
|
-
getResult(id: string): Promise<IceRouterResultDc>;
|
|
33
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { PrintPayload, PrintToHtmlPayload, UploadTemplateParams, UploadTemplatePayload } 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 PrintService extends Service {
|
|
9
|
-
/**
|
|
10
|
-
* No description
|
|
11
|
-
*
|
|
12
|
-
* @tags Print
|
|
13
|
-
* @name Print
|
|
14
|
-
* @operationId PrintController_Print
|
|
15
|
-
* @summary Print map with template.
|
|
16
|
-
* @request POST:/print/print
|
|
17
|
-
* @secure
|
|
18
|
-
* @response `200` OK
|
|
19
|
-
*/
|
|
20
|
-
print(data: PrintPayload): Promise<void>;
|
|
21
|
-
/**
|
|
22
|
-
* No description
|
|
23
|
-
*
|
|
24
|
-
* @tags Print
|
|
25
|
-
* @name PrintToHtml
|
|
26
|
-
* @operationId PrintController_PrintToHtml
|
|
27
|
-
* @summary Print map with template to html string.
|
|
28
|
-
* @request POST:/print/printHtml
|
|
29
|
-
* @secure
|
|
30
|
-
* @response `200` OK
|
|
31
|
-
*/
|
|
32
|
-
printToHtml(data: PrintToHtmlPayload): Promise<string>;
|
|
33
|
-
/**
|
|
34
|
-
* No description
|
|
35
|
-
*
|
|
36
|
-
* @tags Print
|
|
37
|
-
* @name UploadTemplate
|
|
38
|
-
* @operationId PrintController_UploadTemplate
|
|
39
|
-
* @summary Upload template on server.
|
|
40
|
-
* @request POST:/print/templates
|
|
41
|
-
* @secure
|
|
42
|
-
* @response `200` OK
|
|
43
|
-
*/
|
|
44
|
-
uploadTemplate(query: UploadTemplateParams, data: UploadTemplatePayload | FormData): Promise<void>;
|
|
45
|
-
/**
|
|
46
|
-
* No description
|
|
47
|
-
*
|
|
48
|
-
* @tags Print
|
|
49
|
-
* @name GetTemplates
|
|
50
|
-
* @operationId PrintController_GetTemplates
|
|
51
|
-
* @summary Get all templates from server.
|
|
52
|
-
* @request GET:/print/templates
|
|
53
|
-
* @secure
|
|
54
|
-
* @response `200` OK
|
|
55
|
-
*/
|
|
56
|
-
getTemplates(): Promise<string[]>;
|
|
57
|
-
/**
|
|
58
|
-
* No description
|
|
59
|
-
*
|
|
60
|
-
* @tags Print
|
|
61
|
-
* @name DeleteTemplate
|
|
62
|
-
* @operationId PrintController_DeleteTemplate
|
|
63
|
-
* @summary Delete template from server.
|
|
64
|
-
* @request DELETE:/print/templates/{name}
|
|
65
|
-
* @secure
|
|
66
|
-
* @response `200` OK
|
|
67
|
-
*/
|
|
68
|
-
deleteTemplate(name: string): Promise<void>;
|
|
69
|
-
/**
|
|
70
|
-
* No description
|
|
71
|
-
*
|
|
72
|
-
* @tags Print
|
|
73
|
-
* @name GetTemplate
|
|
74
|
-
* @operationId PrintController_GetTemplate
|
|
75
|
-
* @summary Get template from server.
|
|
76
|
-
* @request GET:/print/templates/{name}
|
|
77
|
-
* @secure
|
|
78
|
-
* @response `200` OK
|
|
79
|
-
*/
|
|
80
|
-
getTemplate(name: string): Promise<string>;
|
|
81
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { AddFontPayload, RemoveFontParams, StyleCreationResponseDc, StyleDc } 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 StyleService extends Service {
|
|
9
|
-
/**
|
|
10
|
-
* No description
|
|
11
|
-
*
|
|
12
|
-
* @tags StyleService
|
|
13
|
-
* @name GetStyle
|
|
14
|
-
* @operationId StyleServiceController_GetStyle
|
|
15
|
-
* @summary Returns the style by its id.
|
|
16
|
-
* @request GET:/styles/{id}
|
|
17
|
-
* @secure
|
|
18
|
-
* @response `200` OK
|
|
19
|
-
*/
|
|
20
|
-
getStyle(id: string): Promise<StyleDc>;
|
|
21
|
-
/**
|
|
22
|
-
* No description
|
|
23
|
-
*
|
|
24
|
-
* @tags StyleService
|
|
25
|
-
* @name UpdateStyle
|
|
26
|
-
* @operationId StyleServiceController_UpdateStyle
|
|
27
|
-
* @summary Replaces a style and gives it a new id.
|
|
28
|
-
* @request POST:/styles/{id}
|
|
29
|
-
* @secure
|
|
30
|
-
* @response `200` OK
|
|
31
|
-
*/
|
|
32
|
-
updateStyle(id: string, data: StyleDc): Promise<StyleCreationResponseDc>;
|
|
33
|
-
/**
|
|
34
|
-
* No description
|
|
35
|
-
*
|
|
36
|
-
* @tags StyleService
|
|
37
|
-
* @name CreateStyle
|
|
38
|
-
* @operationId StyleServiceController_CreateStyle
|
|
39
|
-
* @summary Creates a new style.
|
|
40
|
-
* @request POST:/styles
|
|
41
|
-
* @secure
|
|
42
|
-
* @response `200` OK
|
|
43
|
-
*/
|
|
44
|
-
createStyle(data: StyleDc): Promise<StyleCreationResponseDc>;
|
|
45
|
-
/**
|
|
46
|
-
* No description
|
|
47
|
-
*
|
|
48
|
-
* @tags StyleService
|
|
49
|
-
* @name GetAllFonts
|
|
50
|
-
* @operationId StyleServiceController_GetAllFonts
|
|
51
|
-
* @summary Gets all installed fonts.
|
|
52
|
-
* @request GET:/styles/fonts
|
|
53
|
-
* @secure
|
|
54
|
-
* @response `200` OK
|
|
55
|
-
*/
|
|
56
|
-
getAllFonts(): Promise<string[]>;
|
|
57
|
-
/**
|
|
58
|
-
* No description
|
|
59
|
-
*
|
|
60
|
-
* @tags StyleService
|
|
61
|
-
* @name AddFont
|
|
62
|
-
* @operationId StyleServiceController_AddFont
|
|
63
|
-
* @summary Install new font.
|
|
64
|
-
* @request POST:/styles/fonts
|
|
65
|
-
* @secure
|
|
66
|
-
* @response `200` OK
|
|
67
|
-
*/
|
|
68
|
-
addFont(data: AddFontPayload | FormData): Promise<void>;
|
|
69
|
-
/**
|
|
70
|
-
* No description
|
|
71
|
-
*
|
|
72
|
-
* @tags StyleService
|
|
73
|
-
* @name RemoveFont
|
|
74
|
-
* @operationId StyleServiceController_RemoveFont
|
|
75
|
-
* @summary Remove installed font.
|
|
76
|
-
* @request DELETE:/styles/fonts
|
|
77
|
-
* @secure
|
|
78
|
-
* @response `200` OK
|
|
79
|
-
*/
|
|
80
|
-
removeFont(query: RemoveFontParams): Promise<void>;
|
|
81
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ExternalProvidersService } from '../__generated__/ExternalProvidersService';
|
|
2
|
-
import { SocAuthNetwork } from '../Api';
|
|
3
|
-
export declare class External extends ExternalProvidersService {
|
|
4
|
-
login(network?: SocAuthNetwork): string;
|
|
5
|
-
bind(network?: SocAuthNetwork): string;
|
|
6
|
-
unbind(network?: SocAuthNetwork): "" | Promise<void>;
|
|
7
|
-
}
|
package/dist/services/Print.d.ts
DELETED