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

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 查询用户系统消息列表
@@ -71,38 +71,6 @@ const MessageApiAxiosParamCreator = function (configuration) {
71
71
  options: localVarRequestOptions,
72
72
  };
73
73
  }),
74
- /**
75
- *
76
- * @summary 撤回公告
77
- * @param {number} noticeId
78
- * @param {*} [options] Override http request option.
79
- * @throws {RequiredError}
80
- */
81
- noticeRecall: (noticeId_1, ...args_1) => __awaiter(this, [noticeId_1, ...args_1], void 0, function* (noticeId, options = {}) {
82
- // verify required parameter 'noticeId' is not null or undefined
83
- (0, common_1.assertParamExists)('noticeRecall', 'noticeId', noticeId);
84
- const localVarPath = `/system/user/msg/noticeRecall/{noticeId}`
85
- .replace(`{${"noticeId"}}`, encodeURIComponent(String(noticeId)));
86
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
87
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
88
- let baseOptions;
89
- if (configuration) {
90
- baseOptions = configuration.baseOptions;
91
- }
92
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
93
- const localVarHeaderParameter = {};
94
- const localVarQueryParameter = {};
95
- // authentication tokenScheme required
96
- // http bearer authentication required
97
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
98
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
99
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
100
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
101
- return {
102
- url: (0, common_1.toPathString)(localVarUrlObj),
103
- options: localVarRequestOptions,
104
- };
105
- }),
106
74
  /**
107
75
  *
108
76
  * @summary 查询详情
@@ -173,39 +141,6 @@ const MessageApiAxiosParamCreator = function (configuration) {
173
141
  options: localVarRequestOptions,
174
142
  };
175
143
  }),
176
- /**
177
- *
178
- * @summary 添加公告
179
- * @param {SysUserMsgNoticeAddVO} sysUserMsgNoticeAddVO
180
- * @param {*} [options] Override http request option.
181
- * @throws {RequiredError}
182
- */
183
- systemAddNotice: (sysUserMsgNoticeAddVO_1, ...args_1) => __awaiter(this, [sysUserMsgNoticeAddVO_1, ...args_1], void 0, function* (sysUserMsgNoticeAddVO, options = {}) {
184
- // verify required parameter 'sysUserMsgNoticeAddVO' is not null or undefined
185
- (0, common_1.assertParamExists)('systemAddNotice', 'sysUserMsgNoticeAddVO', sysUserMsgNoticeAddVO);
186
- const localVarPath = `/system/user/msg/addNotice`;
187
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
188
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
189
- let baseOptions;
190
- if (configuration) {
191
- baseOptions = configuration.baseOptions;
192
- }
193
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
194
- const localVarHeaderParameter = {};
195
- const localVarQueryParameter = {};
196
- // authentication tokenScheme required
197
- // http bearer authentication required
198
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
199
- localVarHeaderParameter['Content-Type'] = 'application/json';
200
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
201
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
202
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
203
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sysUserMsgNoticeAddVO, localVarRequestOptions, configuration);
204
- return {
205
- url: (0, common_1.toPathString)(localVarUrlObj),
206
- options: localVarRequestOptions,
207
- };
208
- }),
209
144
  /**
210
145
  *
211
146
  * @summary 查询用户系统消息列表
@@ -332,22 +267,6 @@ const MessageApiFp = function (configuration) {
332
267
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
333
268
  });
334
269
  },
335
- /**
336
- *
337
- * @summary 撤回公告
338
- * @param {number} noticeId
339
- * @param {*} [options] Override http request option.
340
- * @throws {RequiredError}
341
- */
342
- noticeRecall(noticeId, options) {
343
- return __awaiter(this, void 0, void 0, function* () {
344
- var _a, _b, _c;
345
- const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeRecall(noticeId, options);
346
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
347
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MessageApi.noticeRecall']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
348
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
349
- });
350
- },
351
270
  /**
352
271
  *
353
272
  * @summary 查询详情
@@ -380,22 +299,6 @@ const MessageApiFp = function (configuration) {
380
299
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
381
300
  });
382
301
  },
383
- /**
384
- *
385
- * @summary 添加公告
386
- * @param {SysUserMsgNoticeAddVO} sysUserMsgNoticeAddVO
387
- * @param {*} [options] Override http request option.
388
- * @throws {RequiredError}
389
- */
390
- systemAddNotice(sysUserMsgNoticeAddVO, options) {
391
- return __awaiter(this, void 0, void 0, function* () {
392
- var _a, _b, _c;
393
- const localVarAxiosArgs = yield localVarAxiosParamCreator.systemAddNotice(sysUserMsgNoticeAddVO, options);
394
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
395
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MessageApi.systemAddNotice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
396
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
397
- });
398
- },
399
302
  /**
400
303
  *
401
304
  * @summary 查询用户系统消息列表
@@ -455,16 +358,6 @@ const MessageApiFactory = function (configuration, basePath, axios) {
455
358
  export3(requestParameters, options) {
456
359
  return localVarFp.export3(requestParameters.bo, options).then((request) => request(axios, basePath));
457
360
  },
458
- /**
459
- *
460
- * @summary 撤回公告
461
- * @param {MessageApiNoticeRecallRequest} requestParameters Request parameters.
462
- * @param {*} [options] Override http request option.
463
- * @throws {RequiredError}
464
- */
465
- noticeRecall(requestParameters, options) {
466
- return localVarFp.noticeRecall(requestParameters.noticeId, options).then((request) => request(axios, basePath));
467
- },
468
361
  /**
469
362
  *
470
363
  * @summary 查询详情
@@ -485,16 +378,6 @@ const MessageApiFactory = function (configuration, basePath, axios) {
485
378
  selectList1(requestParameters, options) {
486
379
  return localVarFp.selectList1(requestParameters.bo, options).then((request) => request(axios, basePath));
487
380
  },
488
- /**
489
- *
490
- * @summary 添加公告
491
- * @param {MessageApiSystemAddNoticeRequest} requestParameters Request parameters.
492
- * @param {*} [options] Override http request option.
493
- * @throws {RequiredError}
494
- */
495
- systemAddNotice(requestParameters, options) {
496
- return localVarFp.systemAddNotice(requestParameters.sysUserMsgNoticeAddVO, options).then((request) => request(axios, basePath));
497
- },
498
381
  /**
499
382
  *
500
383
  * @summary 查询用户系统消息列表
@@ -536,17 +419,6 @@ class MessageApi extends base_1.BaseAPI {
536
419
  export3(requestParameters, options) {
537
420
  return (0, exports.MessageApiFp)(this.configuration).export3(requestParameters.bo, options).then((request) => request(this.axios, this.basePath));
538
421
  }
539
- /**
540
- *
541
- * @summary 撤回公告
542
- * @param {MessageApiNoticeRecallRequest} requestParameters Request parameters.
543
- * @param {*} [options] Override http request option.
544
- * @throws {RequiredError}
545
- * @memberof MessageApi
546
- */
547
- noticeRecall(requestParameters, options) {
548
- return (0, exports.MessageApiFp)(this.configuration).noticeRecall(requestParameters.noticeId, options).then((request) => request(this.axios, this.basePath));
549
- }
550
422
  /**
551
423
  *
552
424
  * @summary 查询详情
@@ -569,17 +441,6 @@ class MessageApi extends base_1.BaseAPI {
569
441
  selectList1(requestParameters, options) {
570
442
  return (0, exports.MessageApiFp)(this.configuration).selectList1(requestParameters.bo, options).then((request) => request(this.axios, this.basePath));
571
443
  }
572
- /**
573
- *
574
- * @summary 添加公告
575
- * @param {MessageApiSystemAddNoticeRequest} requestParameters Request parameters.
576
- * @param {*} [options] Override http request option.
577
- * @throws {RequiredError}
578
- * @memberof MessageApi
579
- */
580
- systemAddNotice(requestParameters, options) {
581
- return (0, exports.MessageApiFp)(this.configuration).systemAddNotice(requestParameters.sysUserMsgNoticeAddVO, options).then((request) => request(this.axios, this.basePath));
582
- }
583
444
  /**
584
445
  *
585
446
  * @summary 查询用户系统消息列表