@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
@@ -250,6 +250,7 @@ models/json-result-list-work-order-step-by-step-push-user-details-dto.ts
250
250
  models/json-result-maintenance-standard-entity.ts
251
251
  models/json-result-monitoring-coverage-alert-work-order-details-dto.ts
252
252
  models/json-result-network-monitor-repair-details-dto.ts
253
+ models/json-result-notice-entity.ts
253
254
  models/json-result-offline-alert-work-order-details-dto.ts
254
255
  models/json-result-page-dto-access-appointment-record-details-dto.ts
255
256
  models/json-result-page-dto-access-blacklist-details-dto.ts
@@ -311,7 +312,8 @@ models/network-monitor-repair-details-dto.ts
311
312
  models/network-repair-info.ts
312
313
  models/news-in-button.ts
313
314
  models/news-info.ts
314
- models/notice-vo.ts
315
+ models/notice-add-vo.ts
316
+ models/notice-entity.ts
315
317
  models/offline-alert-device-vo.ts
316
318
  models/offline-alert-submit-vo.ts
317
319
  models/offline-alert-work-order-details-dto.ts
@@ -439,7 +441,6 @@ models/sys-user-attachment-info.ts
439
441
  models/sys-user-drop-down-box-list-dto.ts
440
442
  models/sys-user-info-dto.ts
441
443
  models/sys-user-msg-dto.ts
442
- models/sys-user-msg-notice-add-vo.ts
443
444
  models/sys-user-role.ts
444
445
  models/sys-user.ts
445
446
  models/system-user-msg-source-type-enum.ts
@@ -32,8 +32,6 @@ import type { JsonResultVoid } from '../models';
32
32
  // @ts-ignore
33
33
  import type { MessagePushLogSearchListBO } from '../models';
34
34
  // @ts-ignore
35
- import type { SysUserMsgNoticeAddVO } from '../models';
36
- // @ts-ignore
37
35
  import type { SystemUserMsgTypeEnum } from '../models';
38
36
  /**
39
37
  * MessageApi - axios parameter creator
@@ -75,44 +73,6 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
75
73
 
76
74
 
77
75
 
78
- setSearchParams(localVarUrlObj, localVarQueryParameter);
79
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
81
-
82
- return {
83
- url: toPathString(localVarUrlObj),
84
- options: localVarRequestOptions,
85
- };
86
- },
87
- /**
88
- *
89
- * @summary 撤回公告
90
- * @param {number} noticeId
91
- * @param {*} [options] Override http request option.
92
- * @throws {RequiredError}
93
- */
94
- noticeRecall: async (noticeId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
95
- // verify required parameter 'noticeId' is not null or undefined
96
- assertParamExists('noticeRecall', 'noticeId', noticeId)
97
- const localVarPath = `/system/user/msg/noticeRecall/{noticeId}`
98
- .replace(`{${"noticeId"}}`, encodeURIComponent(String(noticeId)));
99
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
100
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
101
- let baseOptions;
102
- if (configuration) {
103
- baseOptions = configuration.baseOptions;
104
- }
105
-
106
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
107
- const localVarHeaderParameter = {} as any;
108
- const localVarQueryParameter = {} as any;
109
-
110
- // authentication tokenScheme required
111
- // http bearer authentication required
112
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
113
-
114
-
115
-
116
76
  setSearchParams(localVarUrlObj, localVarQueryParameter);
117
77
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
118
78
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -206,46 +166,6 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
206
166
  options: localVarRequestOptions,
207
167
  };
208
168
  },
209
- /**
210
- *
211
- * @summary 添加公告
212
- * @param {SysUserMsgNoticeAddVO} sysUserMsgNoticeAddVO
213
- * @param {*} [options] Override http request option.
214
- * @throws {RequiredError}
215
- */
216
- systemAddNotice: async (sysUserMsgNoticeAddVO: SysUserMsgNoticeAddVO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
217
- // verify required parameter 'sysUserMsgNoticeAddVO' is not null or undefined
218
- assertParamExists('systemAddNotice', 'sysUserMsgNoticeAddVO', sysUserMsgNoticeAddVO)
219
- const localVarPath = `/system/user/msg/addNotice`;
220
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
221
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
222
- let baseOptions;
223
- if (configuration) {
224
- baseOptions = configuration.baseOptions;
225
- }
226
-
227
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
228
- const localVarHeaderParameter = {} as any;
229
- const localVarQueryParameter = {} as any;
230
-
231
- // authentication tokenScheme required
232
- // http bearer authentication required
233
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
234
-
235
-
236
-
237
- localVarHeaderParameter['Content-Type'] = 'application/json';
238
-
239
- setSearchParams(localVarUrlObj, localVarQueryParameter);
240
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
241
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
242
- localVarRequestOptions.data = serializeDataIfNeeded(sysUserMsgNoticeAddVO, localVarRequestOptions, configuration)
243
-
244
- return {
245
- url: toPathString(localVarUrlObj),
246
- options: localVarRequestOptions,
247
- };
248
- },
249
169
  /**
250
170
  *
251
171
  * @summary 查询用户系统消息列表
@@ -389,19 +309,6 @@ export const MessageApiFp = function(configuration?: Configuration) {
389
309
  const localVarOperationServerBasePath = operationServerMap['MessageApi.export3']?.[localVarOperationServerIndex]?.url;
390
310
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
391
311
  },
392
- /**
393
- *
394
- * @summary 撤回公告
395
- * @param {number} noticeId
396
- * @param {*} [options] Override http request option.
397
- * @throws {RequiredError}
398
- */
399
- async noticeRecall(noticeId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
400
- const localVarAxiosArgs = await localVarAxiosParamCreator.noticeRecall(noticeId, options);
401
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
402
- const localVarOperationServerBasePath = operationServerMap['MessageApi.noticeRecall']?.[localVarOperationServerIndex]?.url;
403
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
404
- },
405
312
  /**
406
313
  *
407
314
  * @summary 查询详情
@@ -428,19 +335,6 @@ export const MessageApiFp = function(configuration?: Configuration) {
428
335
  const localVarOperationServerBasePath = operationServerMap['MessageApi.selectList1']?.[localVarOperationServerIndex]?.url;
429
336
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
430
337
  },
431
- /**
432
- *
433
- * @summary 添加公告
434
- * @param {SysUserMsgNoticeAddVO} sysUserMsgNoticeAddVO
435
- * @param {*} [options] Override http request option.
436
- * @throws {RequiredError}
437
- */
438
- async systemAddNotice(sysUserMsgNoticeAddVO: SysUserMsgNoticeAddVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
439
- const localVarAxiosArgs = await localVarAxiosParamCreator.systemAddNotice(sysUserMsgNoticeAddVO, options);
440
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
441
- const localVarOperationServerBasePath = operationServerMap['MessageApi.systemAddNotice']?.[localVarOperationServerIndex]?.url;
442
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
443
- },
444
338
  /**
445
339
  *
446
340
  * @summary 查询用户系统消息列表
@@ -494,16 +388,6 @@ export const MessageApiFactory = function (configuration?: Configuration, basePa
494
388
  export3(requestParameters: MessageApiExport3Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
495
389
  return localVarFp.export3(requestParameters.bo, options).then((request) => request(axios, basePath));
496
390
  },
497
- /**
498
- *
499
- * @summary 撤回公告
500
- * @param {MessageApiNoticeRecallRequest} requestParameters Request parameters.
501
- * @param {*} [options] Override http request option.
502
- * @throws {RequiredError}
503
- */
504
- noticeRecall(requestParameters: MessageApiNoticeRecallRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
505
- return localVarFp.noticeRecall(requestParameters.noticeId, options).then((request) => request(axios, basePath));
506
- },
507
391
  /**
508
392
  *
509
393
  * @summary 查询详情
@@ -524,16 +408,6 @@ export const MessageApiFactory = function (configuration?: Configuration, basePa
524
408
  selectList1(requestParameters: MessageApiSelectList1Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
525
409
  return localVarFp.selectList1(requestParameters.bo, options).then((request) => request(axios, basePath));
526
410
  },
527
- /**
528
- *
529
- * @summary 添加公告
530
- * @param {MessageApiSystemAddNoticeRequest} requestParameters Request parameters.
531
- * @param {*} [options] Override http request option.
532
- * @throws {RequiredError}
533
- */
534
- systemAddNotice(requestParameters: MessageApiSystemAddNoticeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
535
- return localVarFp.systemAddNotice(requestParameters.sysUserMsgNoticeAddVO, options).then((request) => request(axios, basePath));
536
- },
537
411
  /**
538
412
  *
539
413
  * @summary 查询用户系统消息列表
@@ -571,20 +445,6 @@ export interface MessageApiExport3Request {
571
445
  readonly bo: MessagePushLogSearchListBO
572
446
  }
573
447
 
574
- /**
575
- * Request parameters for noticeRecall operation in MessageApi.
576
- * @export
577
- * @interface MessageApiNoticeRecallRequest
578
- */
579
- export interface MessageApiNoticeRecallRequest {
580
- /**
581
- *
582
- * @type {number}
583
- * @memberof MessageApiNoticeRecall
584
- */
585
- readonly noticeId: number
586
- }
587
-
588
448
  /**
589
449
  * Request parameters for selectDetails operation in MessageApi.
590
450
  * @export
@@ -613,20 +473,6 @@ export interface MessageApiSelectList1Request {
613
473
  readonly bo: MessagePushLogSearchListBO
614
474
  }
615
475
 
616
- /**
617
- * Request parameters for systemAddNotice operation in MessageApi.
618
- * @export
619
- * @interface MessageApiSystemAddNoticeRequest
620
- */
621
- export interface MessageApiSystemAddNoticeRequest {
622
- /**
623
- *
624
- * @type {SysUserMsgNoticeAddVO}
625
- * @memberof MessageApiSystemAddNotice
626
- */
627
- readonly sysUserMsgNoticeAddVO: SysUserMsgNoticeAddVO
628
- }
629
-
630
476
  /**
631
477
  * Request parameters for systemSelectList operation in MessageApi.
632
478
  * @export
@@ -723,18 +569,6 @@ export class MessageApi extends BaseAPI {
723
569
  return MessageApiFp(this.configuration).export3(requestParameters.bo, options).then((request) => request(this.axios, this.basePath));
724
570
  }
725
571
 
726
- /**
727
- *
728
- * @summary 撤回公告
729
- * @param {MessageApiNoticeRecallRequest} requestParameters Request parameters.
730
- * @param {*} [options] Override http request option.
731
- * @throws {RequiredError}
732
- * @memberof MessageApi
733
- */
734
- public noticeRecall(requestParameters: MessageApiNoticeRecallRequest, options?: RawAxiosRequestConfig) {
735
- return MessageApiFp(this.configuration).noticeRecall(requestParameters.noticeId, options).then((request) => request(this.axios, this.basePath));
736
- }
737
-
738
572
  /**
739
573
  *
740
574
  * @summary 查询详情
@@ -759,18 +593,6 @@ export class MessageApi extends BaseAPI {
759
593
  return MessageApiFp(this.configuration).selectList1(requestParameters.bo, options).then((request) => request(this.axios, this.basePath));
760
594
  }
761
595
 
762
- /**
763
- *
764
- * @summary 添加公告
765
- * @param {MessageApiSystemAddNoticeRequest} requestParameters Request parameters.
766
- * @param {*} [options] Override http request option.
767
- * @throws {RequiredError}
768
- * @memberof MessageApi
769
- */
770
- public systemAddNotice(requestParameters: MessageApiSystemAddNoticeRequest, options?: RawAxiosRequestConfig) {
771
- return MessageApiFp(this.configuration).systemAddNotice(requestParameters.sysUserMsgNoticeAddVO, options).then((request) => request(this.axios, this.basePath));
772
- }
773
-
774
596
  /**
775
597
  *
776
598
  * @summary 查询用户系统消息列表