@gizone/rrs-client 4.2.0-alpha.362 → 4.2.0-alpha.363

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.
Files changed (41) hide show
  1. package/.openapi-generator/FILES +3 -2
  2. package/apis/message-api.ts +0 -178
  3. package/apis/notification-api.ts +133 -227
  4. package/dist/apis/message-api.d.ts +0 -93
  5. package/dist/apis/message-api.js +0 -139
  6. package/dist/apis/notification-api.d.ts +90 -135
  7. package/dist/apis/notification-api.js +99 -174
  8. package/dist/esm/apis/message-api.d.ts +0 -93
  9. package/dist/esm/apis/message-api.js +1 -140
  10. package/dist/esm/apis/notification-api.d.ts +90 -135
  11. package/dist/esm/apis/notification-api.js +99 -174
  12. package/dist/esm/models/index.d.ts +3 -2
  13. package/dist/esm/models/index.js +3 -2
  14. package/dist/esm/models/json-result-notice-entity.d.ts +62 -0
  15. package/dist/{models/sys-user-msg-notice-add-vo.d.ts → esm/models/notice-add-vo.d.ts} +8 -8
  16. package/dist/esm/models/notice-entity.d.ts +90 -0
  17. package/dist/esm/models/notice-entity.js +14 -0
  18. package/dist/esm/models/work-order-issue-type-settings-add-or-update-vo.d.ts +6 -0
  19. package/dist/esm/models/work-order-issue-type-settings-entity.d.ts +6 -0
  20. package/dist/models/index.d.ts +3 -2
  21. package/dist/models/index.js +3 -2
  22. package/dist/models/json-result-notice-entity.d.ts +62 -0
  23. package/dist/{esm/models/sys-user-msg-notice-add-vo.d.ts → models/notice-add-vo.d.ts} +8 -8
  24. package/dist/models/notice-entity.d.ts +90 -0
  25. package/dist/models/notice-entity.js +15 -0
  26. package/dist/models/work-order-issue-type-settings-add-or-update-vo.d.ts +6 -0
  27. package/dist/models/work-order-issue-type-settings-entity.d.ts +6 -0
  28. package/models/index.ts +3 -2
  29. package/models/json-result-notice-entity.ts +72 -0
  30. package/models/{sys-user-msg-notice-add-vo.ts → notice-add-vo.ts} +8 -8
  31. package/models/notice-entity.ts +96 -0
  32. package/models/work-order-issue-type-settings-add-or-update-vo.ts +6 -0
  33. package/models/work-order-issue-type-settings-entity.ts +6 -0
  34. package/package.json +1 -1
  35. package/dist/esm/models/notice-vo.d.ts +0 -86
  36. package/dist/models/notice-vo.d.ts +0 -86
  37. package/models/notice-vo.ts +0 -90
  38. /package/dist/esm/models/{notice-vo.js → json-result-notice-entity.js} +0 -0
  39. /package/dist/esm/models/{sys-user-msg-notice-add-vo.js → notice-add-vo.js} +0 -0
  40. /package/dist/models/{notice-vo.js → json-result-notice-entity.js} +0 -0
  41. /package/dist/models/{sys-user-msg-notice-add-vo.js → notice-add-vo.js} +0 -0
@@ -17,7 +17,6 @@ import type { JsonResultPageDtoSysUserMsgDTO } from '../models';
17
17
  import type { JsonResultSysUserMsgDTO } from '../models';
18
18
  import type { JsonResultVoid } from '../models';
19
19
  import type { MessagePushLogSearchListBO } from '../models';
20
- import type { SysUserMsgNoticeAddVO } from '../models';
21
20
  import type { SystemUserMsgTypeEnum } from '../models';
22
21
  /**
23
22
  * MessageApi - axios parameter creator
@@ -32,14 +31,6 @@ export declare const MessageApiAxiosParamCreator: (configuration?: Configuration
32
31
  * @throws {RequiredError}
33
32
  */
34
33
  export3: (bo: MessagePushLogSearchListBO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
35
- /**
36
- *
37
- * @summary 撤回公告
38
- * @param {number} noticeId
39
- * @param {*} [options] Override http request option.
40
- * @throws {RequiredError}
41
- */
42
- noticeRecall: (noticeId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
34
  /**
44
35
  *
45
36
  * @summary 查询详情
@@ -56,14 +47,6 @@ export declare const MessageApiAxiosParamCreator: (configuration?: Configuration
56
47
  * @throws {RequiredError}
57
48
  */
58
49
  selectList1: (bo: MessagePushLogSearchListBO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
59
- /**
60
- *
61
- * @summary 添加公告
62
- * @param {SysUserMsgNoticeAddVO} sysUserMsgNoticeAddVO
63
- * @param {*} [options] Override http request option.
64
- * @throws {RequiredError}
65
- */
66
- systemAddNotice: (sysUserMsgNoticeAddVO: SysUserMsgNoticeAddVO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67
50
  /**
68
51
  *
69
52
  * @summary 查询用户系统消息列表
@@ -101,14 +84,6 @@ export declare const MessageApiFp: (configuration?: Configuration) => {
101
84
  * @throws {RequiredError}
102
85
  */
103
86
  export3(bo: MessagePushLogSearchListBO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
104
- /**
105
- *
106
- * @summary 撤回公告
107
- * @param {number} noticeId
108
- * @param {*} [options] Override http request option.
109
- * @throws {RequiredError}
110
- */
111
- noticeRecall(noticeId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
112
87
  /**
113
88
  *
114
89
  * @summary 查询详情
@@ -125,14 +100,6 @@ export declare const MessageApiFp: (configuration?: Configuration) => {
125
100
  * @throws {RequiredError}
126
101
  */
127
102
  selectList1(bo: MessagePushLogSearchListBO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
128
- /**
129
- *
130
- * @summary 添加公告
131
- * @param {SysUserMsgNoticeAddVO} sysUserMsgNoticeAddVO
132
- * @param {*} [options] Override http request option.
133
- * @throws {RequiredError}
134
- */
135
- systemAddNotice(sysUserMsgNoticeAddVO: SysUserMsgNoticeAddVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
136
103
  /**
137
104
  *
138
105
  * @summary 查询用户系统消息列表
@@ -170,14 +137,6 @@ export declare const MessageApiFactory: (configuration?: Configuration, basePath
170
137
  * @throws {RequiredError}
171
138
  */
172
139
  export3(requestParameters: MessageApiExport3Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
173
- /**
174
- *
175
- * @summary 撤回公告
176
- * @param {MessageApiNoticeRecallRequest} requestParameters Request parameters.
177
- * @param {*} [options] Override http request option.
178
- * @throws {RequiredError}
179
- */
180
- noticeRecall(requestParameters: MessageApiNoticeRecallRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
181
140
  /**
182
141
  *
183
142
  * @summary 查询详情
@@ -194,14 +153,6 @@ export declare const MessageApiFactory: (configuration?: Configuration, basePath
194
153
  * @throws {RequiredError}
195
154
  */
196
155
  selectList1(requestParameters: MessageApiSelectList1Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
197
- /**
198
- *
199
- * @summary 添加公告
200
- * @param {MessageApiSystemAddNoticeRequest} requestParameters Request parameters.
201
- * @param {*} [options] Override http request option.
202
- * @throws {RequiredError}
203
- */
204
- systemAddNotice(requestParameters: MessageApiSystemAddNoticeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
205
156
  /**
206
157
  *
207
158
  * @summary 查询用户系统消息列表
@@ -232,19 +183,6 @@ export interface MessageApiExport3Request {
232
183
  */
233
184
  readonly bo: MessagePushLogSearchListBO;
234
185
  }
235
- /**
236
- * Request parameters for noticeRecall operation in MessageApi.
237
- * @export
238
- * @interface MessageApiNoticeRecallRequest
239
- */
240
- export interface MessageApiNoticeRecallRequest {
241
- /**
242
- *
243
- * @type {number}
244
- * @memberof MessageApiNoticeRecall
245
- */
246
- readonly noticeId: number;
247
- }
248
186
  /**
249
187
  * Request parameters for selectDetails operation in MessageApi.
250
188
  * @export
@@ -271,19 +209,6 @@ export interface MessageApiSelectList1Request {
271
209
  */
272
210
  readonly bo: MessagePushLogSearchListBO;
273
211
  }
274
- /**
275
- * Request parameters for systemAddNotice operation in MessageApi.
276
- * @export
277
- * @interface MessageApiSystemAddNoticeRequest
278
- */
279
- export interface MessageApiSystemAddNoticeRequest {
280
- /**
281
- *
282
- * @type {SysUserMsgNoticeAddVO}
283
- * @memberof MessageApiSystemAddNotice
284
- */
285
- readonly sysUserMsgNoticeAddVO: SysUserMsgNoticeAddVO;
286
- }
287
212
  /**
288
213
  * Request parameters for systemSelectList operation in MessageApi.
289
214
  * @export
@@ -368,15 +293,6 @@ export declare class MessageApi extends BaseAPI {
368
293
  * @memberof MessageApi
369
294
  */
370
295
  export3(requestParameters: MessageApiExport3Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
371
- /**
372
- *
373
- * @summary 撤回公告
374
- * @param {MessageApiNoticeRecallRequest} requestParameters Request parameters.
375
- * @param {*} [options] Override http request option.
376
- * @throws {RequiredError}
377
- * @memberof MessageApi
378
- */
379
- noticeRecall(requestParameters: MessageApiNoticeRecallRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
380
296
  /**
381
297
  *
382
298
  * @summary 查询详情
@@ -395,15 +311,6 @@ export declare class MessageApi extends BaseAPI {
395
311
  * @memberof MessageApi
396
312
  */
397
313
  selectList1(requestParameters: MessageApiSelectList1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any>>;
398
- /**
399
- *
400
- * @summary 添加公告
401
- * @param {MessageApiSystemAddNoticeRequest} requestParameters Request parameters.
402
- * @param {*} [options] Override http request option.
403
- * @throws {RequiredError}
404
- * @memberof MessageApi
405
- */
406
- systemAddNotice(requestParameters: MessageApiSystemAddNoticeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
407
314
  /**
408
315
  *
409
316
  * @summary 查询用户系统消息列表
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  import globalAxios from 'axios';
24
24
  // Some imports not used depending on template conditions
25
25
  // @ts-ignore
26
- import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
26
+ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
27
27
  // @ts-ignore
28
28
  import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
29
  /**
@@ -68,38 +68,6 @@ export const MessageApiAxiosParamCreator = function (configuration) {
68
68
  options: localVarRequestOptions,
69
69
  };
70
70
  }),
71
- /**
72
- *
73
- * @summary 撤回公告
74
- * @param {number} noticeId
75
- * @param {*} [options] Override http request option.
76
- * @throws {RequiredError}
77
- */
78
- noticeRecall: (noticeId_1, ...args_1) => __awaiter(this, [noticeId_1, ...args_1], void 0, function* (noticeId, options = {}) {
79
- // verify required parameter 'noticeId' is not null or undefined
80
- assertParamExists('noticeRecall', 'noticeId', noticeId);
81
- const localVarPath = `/system/user/msg/noticeRecall/{noticeId}`
82
- .replace(`{${"noticeId"}}`, encodeURIComponent(String(noticeId)));
83
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
84
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
85
- let baseOptions;
86
- if (configuration) {
87
- baseOptions = configuration.baseOptions;
88
- }
89
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
90
- const localVarHeaderParameter = {};
91
- const localVarQueryParameter = {};
92
- // authentication tokenScheme required
93
- // http bearer authentication required
94
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
95
- setSearchParams(localVarUrlObj, localVarQueryParameter);
96
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
97
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
98
- return {
99
- url: toPathString(localVarUrlObj),
100
- options: localVarRequestOptions,
101
- };
102
- }),
103
71
  /**
104
72
  *
105
73
  * @summary 查询详情
@@ -170,39 +138,6 @@ export const MessageApiAxiosParamCreator = function (configuration) {
170
138
  options: localVarRequestOptions,
171
139
  };
172
140
  }),
173
- /**
174
- *
175
- * @summary 添加公告
176
- * @param {SysUserMsgNoticeAddVO} sysUserMsgNoticeAddVO
177
- * @param {*} [options] Override http request option.
178
- * @throws {RequiredError}
179
- */
180
- systemAddNotice: (sysUserMsgNoticeAddVO_1, ...args_1) => __awaiter(this, [sysUserMsgNoticeAddVO_1, ...args_1], void 0, function* (sysUserMsgNoticeAddVO, options = {}) {
181
- // verify required parameter 'sysUserMsgNoticeAddVO' is not null or undefined
182
- assertParamExists('systemAddNotice', 'sysUserMsgNoticeAddVO', sysUserMsgNoticeAddVO);
183
- const localVarPath = `/system/user/msg/addNotice`;
184
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
185
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
186
- let baseOptions;
187
- if (configuration) {
188
- baseOptions = configuration.baseOptions;
189
- }
190
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
191
- const localVarHeaderParameter = {};
192
- const localVarQueryParameter = {};
193
- // authentication tokenScheme required
194
- // http bearer authentication required
195
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
196
- localVarHeaderParameter['Content-Type'] = 'application/json';
197
- setSearchParams(localVarUrlObj, localVarQueryParameter);
198
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
199
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
200
- localVarRequestOptions.data = serializeDataIfNeeded(sysUserMsgNoticeAddVO, localVarRequestOptions, configuration);
201
- return {
202
- url: toPathString(localVarUrlObj),
203
- options: localVarRequestOptions,
204
- };
205
- }),
206
141
  /**
207
142
  *
208
143
  * @summary 查询用户系统消息列表
@@ -328,22 +263,6 @@ export const MessageApiFp = function (configuration) {
328
263
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
329
264
  });
330
265
  },
331
- /**
332
- *
333
- * @summary 撤回公告
334
- * @param {number} noticeId
335
- * @param {*} [options] Override http request option.
336
- * @throws {RequiredError}
337
- */
338
- noticeRecall(noticeId, options) {
339
- return __awaiter(this, void 0, void 0, function* () {
340
- var _a, _b, _c;
341
- const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeRecall(noticeId, options);
342
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
343
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MessageApi.noticeRecall']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
344
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
345
- });
346
- },
347
266
  /**
348
267
  *
349
268
  * @summary 查询详情
@@ -376,22 +295,6 @@ export const MessageApiFp = function (configuration) {
376
295
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
377
296
  });
378
297
  },
379
- /**
380
- *
381
- * @summary 添加公告
382
- * @param {SysUserMsgNoticeAddVO} sysUserMsgNoticeAddVO
383
- * @param {*} [options] Override http request option.
384
- * @throws {RequiredError}
385
- */
386
- systemAddNotice(sysUserMsgNoticeAddVO, options) {
387
- return __awaiter(this, void 0, void 0, function* () {
388
- var _a, _b, _c;
389
- const localVarAxiosArgs = yield localVarAxiosParamCreator.systemAddNotice(sysUserMsgNoticeAddVO, options);
390
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
391
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MessageApi.systemAddNotice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
392
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
393
- });
394
- },
395
298
  /**
396
299
  *
397
300
  * @summary 查询用户系统消息列表
@@ -450,16 +353,6 @@ export const MessageApiFactory = function (configuration, basePath, axios) {
450
353
  export3(requestParameters, options) {
451
354
  return localVarFp.export3(requestParameters.bo, options).then((request) => request(axios, basePath));
452
355
  },
453
- /**
454
- *
455
- * @summary 撤回公告
456
- * @param {MessageApiNoticeRecallRequest} requestParameters Request parameters.
457
- * @param {*} [options] Override http request option.
458
- * @throws {RequiredError}
459
- */
460
- noticeRecall(requestParameters, options) {
461
- return localVarFp.noticeRecall(requestParameters.noticeId, options).then((request) => request(axios, basePath));
462
- },
463
356
  /**
464
357
  *
465
358
  * @summary 查询详情
@@ -480,16 +373,6 @@ export const MessageApiFactory = function (configuration, basePath, axios) {
480
373
  selectList1(requestParameters, options) {
481
374
  return localVarFp.selectList1(requestParameters.bo, options).then((request) => request(axios, basePath));
482
375
  },
483
- /**
484
- *
485
- * @summary 添加公告
486
- * @param {MessageApiSystemAddNoticeRequest} requestParameters Request parameters.
487
- * @param {*} [options] Override http request option.
488
- * @throws {RequiredError}
489
- */
490
- systemAddNotice(requestParameters, options) {
491
- return localVarFp.systemAddNotice(requestParameters.sysUserMsgNoticeAddVO, options).then((request) => request(axios, basePath));
492
- },
493
376
  /**
494
377
  *
495
378
  * @summary 查询用户系统消息列表
@@ -530,17 +413,6 @@ export class MessageApi extends BaseAPI {
530
413
  export3(requestParameters, options) {
531
414
  return MessageApiFp(this.configuration).export3(requestParameters.bo, options).then((request) => request(this.axios, this.basePath));
532
415
  }
533
- /**
534
- *
535
- * @summary 撤回公告
536
- * @param {MessageApiNoticeRecallRequest} requestParameters Request parameters.
537
- * @param {*} [options] Override http request option.
538
- * @throws {RequiredError}
539
- * @memberof MessageApi
540
- */
541
- noticeRecall(requestParameters, options) {
542
- return MessageApiFp(this.configuration).noticeRecall(requestParameters.noticeId, options).then((request) => request(this.axios, this.basePath));
543
- }
544
416
  /**
545
417
  *
546
418
  * @summary 查询详情
@@ -563,17 +435,6 @@ export class MessageApi extends BaseAPI {
563
435
  selectList1(requestParameters, options) {
564
436
  return MessageApiFp(this.configuration).selectList1(requestParameters.bo, options).then((request) => request(this.axios, this.basePath));
565
437
  }
566
- /**
567
- *
568
- * @summary 添加公告
569
- * @param {MessageApiSystemAddNoticeRequest} requestParameters Request parameters.
570
- * @param {*} [options] Override http request option.
571
- * @throws {RequiredError}
572
- * @memberof MessageApi
573
- */
574
- systemAddNotice(requestParameters, options) {
575
- return MessageApiFp(this.configuration).systemAddNotice(requestParameters.sysUserMsgNoticeAddVO, options).then((request) => request(this.axios, this.basePath));
576
- }
577
438
  /**
578
439
  *
579
440
  * @summary 查询用户系统消息列表