@openfilz-sdk/typescript-ee 1.14.5 → 1.14.6
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/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +3 -3
- package/api/collaboration-controller-api.ts +4 -4
- package/api/notifications-api.ts +8 -8
- package/dist/api/collaboration-controller-api.d.ts +4 -4
- package/dist/api/collaboration-controller-api.js +4 -4
- package/dist/api/notifications-api.d.ts +8 -8
- package/dist/api/notifications-api.js +8 -8
- package/dist/esm/api/collaboration-controller-api.d.ts +4 -4
- package/dist/esm/api/collaboration-controller-api.js +4 -4
- package/dist/esm/api/notifications-api.d.ts +8 -8
- package/dist/esm/api/notifications-api.js +8 -8
- package/docs/CollaborationControllerApi.md +1 -1
- package/docs/NotificationsApi.md +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
f934993d994e1399aefd36e15e29a9546e6005d5afa7c057ce2d970dbababce0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @openfilz-sdk/typescript-ee@1.14.
|
|
1
|
+
## @openfilz-sdk/typescript-ee@1.14.6
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @openfilz-sdk/typescript-ee@1.14.
|
|
39
|
+
npm install @openfilz-sdk/typescript-ee@1.14.6 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -224,7 +224,7 @@ Class | Method | HTTP request | Description
|
|
|
224
224
|
*McpTokenAdminControllerApi* | [**mint**](docs/McpTokenAdminControllerApi.md#mint) | **POST** /api/v1/admin/mcp/tokens | Mint an MCP agent token for a dedicated user (admin only)
|
|
225
225
|
*McpTokenAdminControllerApi* | [**revoke1**](docs/McpTokenAdminControllerApi.md#revoke1) | **DELETE** /api/v1/admin/mcp/tokens/{jti} | Revoke an MCP agent token
|
|
226
226
|
*MetadataKeyControllerApi* | [**listMetadataKeys**](docs/MetadataKeyControllerApi.md#listmetadatakeys) | **GET** /api/v1/documents/metadata-keys | List metadata keys
|
|
227
|
-
*NotificationsApi* | [**getNotifications**](docs/NotificationsApi.md#getnotifications) | **GET** /api/v1/notifications | Get
|
|
227
|
+
*NotificationsApi* | [**getNotifications**](docs/NotificationsApi.md#getnotifications) | **GET** /api/v1/notifications | Get notifications
|
|
228
228
|
*NotificationsApi* | [**getUnreadCount**](docs/NotificationsApi.md#getunreadcount) | **GET** /api/v1/notifications/unread/count | Get unread notification count
|
|
229
229
|
*NotificationsApi* | [**markAllAsRead**](docs/NotificationsApi.md#markallasread) | **PUT** /api/v1/notifications/read-all | Mark all notifications as read
|
|
230
230
|
*NotificationsApi* | [**markAsRead**](docs/NotificationsApi.md#markasread) | **PUT** /api/v1/notifications/{id}/read | Mark notification as read
|
|
@@ -316,7 +316,7 @@ export const CollaborationControllerApiAxiosParamCreator = function (configurati
|
|
|
316
316
|
};
|
|
317
317
|
},
|
|
318
318
|
/**
|
|
319
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
319
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
320
320
|
* @summary Delete a team
|
|
321
321
|
* @param {string} teamId
|
|
322
322
|
* @param {*} [options] Override http request option.
|
|
@@ -727,7 +727,7 @@ export const CollaborationControllerApiFp = function(configuration?: Configurati
|
|
|
727
727
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
728
728
|
},
|
|
729
729
|
/**
|
|
730
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
730
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
731
731
|
* @summary Delete a team
|
|
732
732
|
* @param {string} teamId
|
|
733
733
|
* @param {*} [options] Override http request option.
|
|
@@ -913,7 +913,7 @@ export const CollaborationControllerApiFactory = function (configuration?: Confi
|
|
|
913
913
|
return localVarFp.deleteSharedDocuments(deleteShareRequest, options).then((request) => request(axios, basePath));
|
|
914
914
|
},
|
|
915
915
|
/**
|
|
916
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
916
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
917
917
|
* @summary Delete a team
|
|
918
918
|
* @param {string} teamId
|
|
919
919
|
* @param {*} [options] Override http request option.
|
|
@@ -1080,7 +1080,7 @@ export class CollaborationControllerApi extends BaseAPI {
|
|
|
1080
1080
|
}
|
|
1081
1081
|
|
|
1082
1082
|
/**
|
|
1083
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
1083
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
1084
1084
|
* @summary Delete a team
|
|
1085
1085
|
* @param {string} teamId
|
|
1086
1086
|
* @param {*} [options] Override http request option.
|
package/api/notifications-api.ts
CHANGED
|
@@ -29,8 +29,8 @@ import type { NotificationDTO } from '../models';
|
|
|
29
29
|
export const NotificationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
30
|
return {
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @summary Get
|
|
32
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
33
|
+
* @summary Get notifications
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
*/
|
|
@@ -210,8 +210,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
|
210
210
|
const localVarAxiosParamCreator = NotificationsApiAxiosParamCreator(configuration)
|
|
211
211
|
return {
|
|
212
212
|
/**
|
|
213
|
-
*
|
|
214
|
-
* @summary Get
|
|
213
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
214
|
+
* @summary Get notifications
|
|
215
215
|
* @param {*} [options] Override http request option.
|
|
216
216
|
* @throws {RequiredError}
|
|
217
217
|
*/
|
|
@@ -280,8 +280,8 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
|
280
280
|
const localVarFp = NotificationsApiFp(configuration)
|
|
281
281
|
return {
|
|
282
282
|
/**
|
|
283
|
-
*
|
|
284
|
-
* @summary Get
|
|
283
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
284
|
+
* @summary Get notifications
|
|
285
285
|
* @param {*} [options] Override http request option.
|
|
286
286
|
* @throws {RequiredError}
|
|
287
287
|
*/
|
|
@@ -333,8 +333,8 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
|
333
333
|
*/
|
|
334
334
|
export class NotificationsApi extends BaseAPI {
|
|
335
335
|
/**
|
|
336
|
-
*
|
|
337
|
-
* @summary Get
|
|
336
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
337
|
+
* @summary Get notifications
|
|
338
338
|
* @param {*} [options] Override http request option.
|
|
339
339
|
* @throws {RequiredError}
|
|
340
340
|
*/
|
|
@@ -82,7 +82,7 @@ export declare const CollaborationControllerApiAxiosParamCreator: (configuration
|
|
|
82
82
|
*/
|
|
83
83
|
deleteSharedDocuments: (deleteShareRequest: DeleteShareRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
84
|
/**
|
|
85
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
85
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
86
86
|
* @summary Delete a team
|
|
87
87
|
* @param {string} teamId
|
|
88
88
|
* @param {*} [options] Override http request option.
|
|
@@ -210,7 +210,7 @@ export declare const CollaborationControllerApiFp: (configuration?: Configuratio
|
|
|
210
210
|
*/
|
|
211
211
|
deleteSharedDocuments(deleteShareRequest: DeleteShareRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShareResultResponse>>;
|
|
212
212
|
/**
|
|
213
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
213
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
214
214
|
* @summary Delete a team
|
|
215
215
|
* @param {string} teamId
|
|
216
216
|
* @param {*} [options] Override http request option.
|
|
@@ -338,7 +338,7 @@ export declare const CollaborationControllerApiFactory: (configuration?: Configu
|
|
|
338
338
|
*/
|
|
339
339
|
deleteSharedDocuments(deleteShareRequest: DeleteShareRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShareResultResponse>;
|
|
340
340
|
/**
|
|
341
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
341
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
342
342
|
* @summary Delete a team
|
|
343
343
|
* @param {string} teamId
|
|
344
344
|
* @param {*} [options] Override http request option.
|
|
@@ -466,7 +466,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
466
466
|
*/
|
|
467
467
|
deleteSharedDocuments(deleteShareRequest: DeleteShareRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareResultResponse, any, {}, any>>;
|
|
468
468
|
/**
|
|
469
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
469
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
470
470
|
* @summary Delete a team
|
|
471
471
|
* @param {string} teamId
|
|
472
472
|
* @param {*} [options] Override http request option.
|
|
@@ -273,7 +273,7 @@ const CollaborationControllerApiAxiosParamCreator = function (configuration) {
|
|
|
273
273
|
};
|
|
274
274
|
}),
|
|
275
275
|
/**
|
|
276
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
276
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
277
277
|
* @summary Delete a team
|
|
278
278
|
* @param {string} teamId
|
|
279
279
|
* @param {*} [options] Override http request option.
|
|
@@ -665,7 +665,7 @@ const CollaborationControllerApiFp = function (configuration) {
|
|
|
665
665
|
});
|
|
666
666
|
},
|
|
667
667
|
/**
|
|
668
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
668
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
669
669
|
* @summary Delete a team
|
|
670
670
|
* @param {string} teamId
|
|
671
671
|
* @param {*} [options] Override http request option.
|
|
@@ -875,7 +875,7 @@ const CollaborationControllerApiFactory = function (configuration, basePath, axi
|
|
|
875
875
|
return localVarFp.deleteSharedDocuments(deleteShareRequest, options).then((request) => request(axios, basePath));
|
|
876
876
|
},
|
|
877
877
|
/**
|
|
878
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
878
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
879
879
|
* @summary Delete a team
|
|
880
880
|
* @param {string} teamId
|
|
881
881
|
* @param {*} [options] Override http request option.
|
|
@@ -1035,7 +1035,7 @@ class CollaborationControllerApi extends base_1.BaseAPI {
|
|
|
1035
1035
|
return (0, exports.CollaborationControllerApiFp)(this.configuration).deleteSharedDocuments(deleteShareRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1036
1036
|
}
|
|
1037
1037
|
/**
|
|
1038
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
1038
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
1039
1039
|
* @summary Delete a team
|
|
1040
1040
|
* @param {string} teamId
|
|
1041
1041
|
* @param {*} [options] Override http request option.
|
|
@@ -18,8 +18,8 @@ import type { NotificationDTO } from '../models';
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const NotificationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @summary Get
|
|
21
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
22
|
+
* @summary Get notifications
|
|
23
23
|
* @param {*} [options] Override http request option.
|
|
24
24
|
* @throws {RequiredError}
|
|
25
25
|
*/
|
|
@@ -59,8 +59,8 @@ export declare const NotificationsApiAxiosParamCreator: (configuration?: Configu
|
|
|
59
59
|
*/
|
|
60
60
|
export declare const NotificationsApiFp: (configuration?: Configuration) => {
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
63
|
-
* @summary Get
|
|
62
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
63
|
+
* @summary Get notifications
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
*/
|
|
@@ -100,8 +100,8 @@ export declare const NotificationsApiFp: (configuration?: Configuration) => {
|
|
|
100
100
|
*/
|
|
101
101
|
export declare const NotificationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
104
|
-
* @summary Get
|
|
103
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
104
|
+
* @summary Get notifications
|
|
105
105
|
* @param {*} [options] Override http request option.
|
|
106
106
|
* @throws {RequiredError}
|
|
107
107
|
*/
|
|
@@ -141,8 +141,8 @@ export declare const NotificationsApiFactory: (configuration?: Configuration, ba
|
|
|
141
141
|
*/
|
|
142
142
|
export declare class NotificationsApi extends BaseAPI {
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
145
|
-
* @summary Get
|
|
144
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
145
|
+
* @summary Get notifications
|
|
146
146
|
* @param {*} [options] Override http request option.
|
|
147
147
|
* @throws {RequiredError}
|
|
148
148
|
*/
|
|
@@ -35,8 +35,8 @@ const base_1 = require("../base");
|
|
|
35
35
|
const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @summary Get
|
|
38
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
39
|
+
* @summary Get notifications
|
|
40
40
|
* @param {*} [options] Override http request option.
|
|
41
41
|
* @throws {RequiredError}
|
|
42
42
|
*/
|
|
@@ -191,8 +191,8 @@ const NotificationsApiFp = function (configuration) {
|
|
|
191
191
|
const localVarAxiosParamCreator = (0, exports.NotificationsApiAxiosParamCreator)(configuration);
|
|
192
192
|
return {
|
|
193
193
|
/**
|
|
194
|
-
*
|
|
195
|
-
* @summary Get
|
|
194
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
195
|
+
* @summary Get notifications
|
|
196
196
|
* @param {*} [options] Override http request option.
|
|
197
197
|
* @throws {RequiredError}
|
|
198
198
|
*/
|
|
@@ -276,8 +276,8 @@ const NotificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
276
276
|
const localVarFp = (0, exports.NotificationsApiFp)(configuration);
|
|
277
277
|
return {
|
|
278
278
|
/**
|
|
279
|
-
*
|
|
280
|
-
* @summary Get
|
|
279
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
280
|
+
* @summary Get notifications
|
|
281
281
|
* @param {*} [options] Override http request option.
|
|
282
282
|
* @throws {RequiredError}
|
|
283
283
|
*/
|
|
@@ -329,8 +329,8 @@ exports.NotificationsApiFactory = NotificationsApiFactory;
|
|
|
329
329
|
*/
|
|
330
330
|
class NotificationsApi extends base_1.BaseAPI {
|
|
331
331
|
/**
|
|
332
|
-
*
|
|
333
|
-
* @summary Get
|
|
332
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
333
|
+
* @summary Get notifications
|
|
334
334
|
* @param {*} [options] Override http request option.
|
|
335
335
|
* @throws {RequiredError}
|
|
336
336
|
*/
|
|
@@ -82,7 +82,7 @@ export declare const CollaborationControllerApiAxiosParamCreator: (configuration
|
|
|
82
82
|
*/
|
|
83
83
|
deleteSharedDocuments: (deleteShareRequest: DeleteShareRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
84
|
/**
|
|
85
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
85
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
86
86
|
* @summary Delete a team
|
|
87
87
|
* @param {string} teamId
|
|
88
88
|
* @param {*} [options] Override http request option.
|
|
@@ -210,7 +210,7 @@ export declare const CollaborationControllerApiFp: (configuration?: Configuratio
|
|
|
210
210
|
*/
|
|
211
211
|
deleteSharedDocuments(deleteShareRequest: DeleteShareRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShareResultResponse>>;
|
|
212
212
|
/**
|
|
213
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
213
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
214
214
|
* @summary Delete a team
|
|
215
215
|
* @param {string} teamId
|
|
216
216
|
* @param {*} [options] Override http request option.
|
|
@@ -338,7 +338,7 @@ export declare const CollaborationControllerApiFactory: (configuration?: Configu
|
|
|
338
338
|
*/
|
|
339
339
|
deleteSharedDocuments(deleteShareRequest: DeleteShareRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShareResultResponse>;
|
|
340
340
|
/**
|
|
341
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
341
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
342
342
|
* @summary Delete a team
|
|
343
343
|
* @param {string} teamId
|
|
344
344
|
* @param {*} [options] Override http request option.
|
|
@@ -466,7 +466,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
466
466
|
*/
|
|
467
467
|
deleteSharedDocuments(deleteShareRequest: DeleteShareRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareResultResponse, any, {}, any>>;
|
|
468
468
|
/**
|
|
469
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
469
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
470
470
|
* @summary Delete a team
|
|
471
471
|
* @param {string} teamId
|
|
472
472
|
* @param {*} [options] Override http request option.
|
|
@@ -270,7 +270,7 @@ export const CollaborationControllerApiAxiosParamCreator = function (configurati
|
|
|
270
270
|
};
|
|
271
271
|
}),
|
|
272
272
|
/**
|
|
273
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
273
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
274
274
|
* @summary Delete a team
|
|
275
275
|
* @param {string} teamId
|
|
276
276
|
* @param {*} [options] Override http request option.
|
|
@@ -661,7 +661,7 @@ export const CollaborationControllerApiFp = function (configuration) {
|
|
|
661
661
|
});
|
|
662
662
|
},
|
|
663
663
|
/**
|
|
664
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
664
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
665
665
|
* @summary Delete a team
|
|
666
666
|
* @param {string} teamId
|
|
667
667
|
* @param {*} [options] Override http request option.
|
|
@@ -870,7 +870,7 @@ export const CollaborationControllerApiFactory = function (configuration, basePa
|
|
|
870
870
|
return localVarFp.deleteSharedDocuments(deleteShareRequest, options).then((request) => request(axios, basePath));
|
|
871
871
|
},
|
|
872
872
|
/**
|
|
873
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
873
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
874
874
|
* @summary Delete a team
|
|
875
875
|
* @param {string} teamId
|
|
876
876
|
* @param {*} [options] Override http request option.
|
|
@@ -1029,7 +1029,7 @@ export class CollaborationControllerApi extends BaseAPI {
|
|
|
1029
1029
|
return CollaborationControllerApiFp(this.configuration).deleteSharedDocuments(deleteShareRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1030
1030
|
}
|
|
1031
1031
|
/**
|
|
1032
|
-
* Deletes a team. Requires ADMIN_USERS role.
|
|
1032
|
+
* Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
1033
1033
|
* @summary Delete a team
|
|
1034
1034
|
* @param {string} teamId
|
|
1035
1035
|
* @param {*} [options] Override http request option.
|
|
@@ -18,8 +18,8 @@ import type { NotificationDTO } from '../models';
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const NotificationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @summary Get
|
|
21
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
22
|
+
* @summary Get notifications
|
|
23
23
|
* @param {*} [options] Override http request option.
|
|
24
24
|
* @throws {RequiredError}
|
|
25
25
|
*/
|
|
@@ -59,8 +59,8 @@ export declare const NotificationsApiAxiosParamCreator: (configuration?: Configu
|
|
|
59
59
|
*/
|
|
60
60
|
export declare const NotificationsApiFp: (configuration?: Configuration) => {
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
63
|
-
* @summary Get
|
|
62
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
63
|
+
* @summary Get notifications
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
*/
|
|
@@ -100,8 +100,8 @@ export declare const NotificationsApiFp: (configuration?: Configuration) => {
|
|
|
100
100
|
*/
|
|
101
101
|
export declare const NotificationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
104
|
-
* @summary Get
|
|
103
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
104
|
+
* @summary Get notifications
|
|
105
105
|
* @param {*} [options] Override http request option.
|
|
106
106
|
* @throws {RequiredError}
|
|
107
107
|
*/
|
|
@@ -141,8 +141,8 @@ export declare const NotificationsApiFactory: (configuration?: Configuration, ba
|
|
|
141
141
|
*/
|
|
142
142
|
export declare class NotificationsApi extends BaseAPI {
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
145
|
-
* @summary Get
|
|
144
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
145
|
+
* @summary Get notifications
|
|
146
146
|
* @param {*} [options] Override http request option.
|
|
147
147
|
* @throws {RequiredError}
|
|
148
148
|
*/
|
|
@@ -32,8 +32,8 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
32
32
|
export const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
33
33
|
return {
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
36
|
-
* @summary Get
|
|
35
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
36
|
+
* @summary Get notifications
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
@@ -187,8 +187,8 @@ export const NotificationsApiFp = function (configuration) {
|
|
|
187
187
|
const localVarAxiosParamCreator = NotificationsApiAxiosParamCreator(configuration);
|
|
188
188
|
return {
|
|
189
189
|
/**
|
|
190
|
-
*
|
|
191
|
-
* @summary Get
|
|
190
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
191
|
+
* @summary Get notifications
|
|
192
192
|
* @param {*} [options] Override http request option.
|
|
193
193
|
* @throws {RequiredError}
|
|
194
194
|
*/
|
|
@@ -271,8 +271,8 @@ export const NotificationsApiFactory = function (configuration, basePath, axios)
|
|
|
271
271
|
const localVarFp = NotificationsApiFp(configuration);
|
|
272
272
|
return {
|
|
273
273
|
/**
|
|
274
|
-
*
|
|
275
|
-
* @summary Get
|
|
274
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
275
|
+
* @summary Get notifications
|
|
276
276
|
* @param {*} [options] Override http request option.
|
|
277
277
|
* @throws {RequiredError}
|
|
278
278
|
*/
|
|
@@ -323,8 +323,8 @@ export const NotificationsApiFactory = function (configuration, basePath, axios)
|
|
|
323
323
|
*/
|
|
324
324
|
export class NotificationsApi extends BaseAPI {
|
|
325
325
|
/**
|
|
326
|
-
*
|
|
327
|
-
* @summary Get
|
|
326
|
+
* The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
327
|
+
* @summary Get notifications
|
|
328
328
|
* @param {*} [options] Override http request option.
|
|
329
329
|
* @throws {RequiredError}
|
|
330
330
|
*/
|
|
@@ -389,7 +389,7 @@ const { status, data } = await apiInstance.deleteSharedDocuments(
|
|
|
389
389
|
# **deleteTeam**
|
|
390
390
|
> deleteTeam()
|
|
391
391
|
|
|
392
|
-
Deletes a team. Requires ADMIN_USERS role.
|
|
392
|
+
Deletes a team of any kind; its members are told by a notification. Requires ADMIN_USERS role.
|
|
393
393
|
|
|
394
394
|
### Example
|
|
395
395
|
|
package/docs/NotificationsApi.md
CHANGED
|
@@ -4,7 +4,7 @@ All URIs are relative to *http://localhost:8081*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**getNotifications**](#getnotifications) | **GET** /api/v1/notifications | Get
|
|
7
|
+
|[**getNotifications**](#getnotifications) | **GET** /api/v1/notifications | Get notifications|
|
|
8
8
|
|[**getUnreadCount**](#getunreadcount) | **GET** /api/v1/notifications/unread/count | Get unread notification count|
|
|
9
9
|
|[**markAllAsRead**](#markallasread) | **PUT** /api/v1/notifications/read-all | Mark all notifications as read|
|
|
10
10
|
|[**markAsRead**](#markasread) | **PUT** /api/v1/notifications/{id}/read | Mark notification as read|
|
|
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:8081*
|
|
|
13
13
|
# **getNotifications**
|
|
14
14
|
> Array<NotificationDTO> getNotifications()
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
The most recent notifications of the authenticated user, newest first (100 by default, 500 at most)
|
|
17
17
|
|
|
18
18
|
### Example
|
|
19
19
|
|