@evergis/api 5.0.32 → 5.0.34

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Everpoint
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Everpoint
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # @evergis/api
2
-
3
- Библиотека API.
4
-
5
- ### Генерирование API
6
-
7
- ```shell
8
- $ yarn generate
9
- ```
10
-
11
- ***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы,
12
- размещенные в директории `src/__generated__`!
1
+ # @evergis/api
2
+
3
+ Библиотека API.
4
+
5
+ ### Генерирование API
6
+
7
+ ```shell
8
+ $ yarn generate
9
+ ```
10
+
11
+ ***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы,
12
+ размещенные в директории `src/__generated__`!
@@ -0,0 +1,69 @@
1
+ import { Service } from './Service';
2
+ import { SubscribeListOperationPayload, SubscribeOperationParams, UnsubscribeListOperationPayload, UnsubscribeOperationParams } from './data-contracts';
3
+ /**
4
+ * @title Spatial Processing Gateway API
5
+ * @version 1.5.1.0
6
+ * @baseUrl /sp
7
+ */
8
+ export declare class NotificationService extends Service {
9
+ /**
10
+ * No description
11
+ *
12
+ * @tags NotificationService
13
+ * @name GetSubscriptionList
14
+ * @operationId NotificationServiceController_GetSubscriptionList
15
+ * @summary Returns a list of notification tags that the current session is subscribed to.
16
+ * @request GET:/notifications/subscribes
17
+ * @secure
18
+ * @response `200` OK
19
+ */
20
+ getSubscriptionList(): Promise<string[]>;
21
+ /**
22
+ * No description
23
+ *
24
+ * @tags NotificationService
25
+ * @name SubscribeOperation
26
+ * @operationId NotificationServiceController_SubscribeOperation
27
+ * @summary Subscribe current session by subscribe tag. A subscribed session will receive all notifications added for the specified tag.
28
+ * @request POST:/notifications/subscribes
29
+ * @secure
30
+ * @response `200` OK
31
+ */
32
+ subscribeOperation(query: SubscribeOperationParams): Promise<void>;
33
+ /**
34
+ * No description
35
+ *
36
+ * @tags NotificationService
37
+ * @name UnsubscribeOperation
38
+ * @operationId NotificationServiceController_UnsubscribeOperation
39
+ * @summary Unsubscribe from receiving notifications that come for the specified tag.
40
+ * @request DELETE:/notifications/subscribes
41
+ * @secure
42
+ * @response `200` OK
43
+ */
44
+ unsubscribeOperation(query: UnsubscribeOperationParams): Promise<void>;
45
+ /**
46
+ * No description
47
+ *
48
+ * @tags NotificationService
49
+ * @name SubscribeListOperation
50
+ * @operationId NotificationServiceController_SubscribeListOperation
51
+ * @summary Subscribe current session by subscribe tags. A subscribed session will receive all notifications added for the specified tags.
52
+ * @request POST:/notifications/subscribe-list
53
+ * @secure
54
+ * @response `200` OK
55
+ */
56
+ subscribeListOperation(data: SubscribeListOperationPayload): Promise<void>;
57
+ /**
58
+ * No description
59
+ *
60
+ * @tags NotificationService
61
+ * @name UnsubscribeListOperation
62
+ * @operationId NotificationServiceController_UnsubscribeListOperation
63
+ * @summary Unsubscribe from receiving notifications that come for the specified tags.
64
+ * @request POST:/notifications/unsubscribe-list
65
+ * @secure
66
+ * @response `200` OK
67
+ */
68
+ unsubscribeListOperation(data: UnsubscribeListOperationPayload): Promise<void>;
69
+ }