@gizone/rrs-client 3.11.12-alpha.22 → 3.11.12-alpha.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/FILES +14 -26
- package/api.ts +1 -2
- package/apis/access-api.ts +31 -31
- package/apis/calendar-api.ts +209 -231
- package/apis/common-api.ts +0 -192
- package/apis/{maintenance-standard-api.ts → inspection-api.ts} +692 -289
- package/apis/message-api.ts +223 -201
- package/apis/setting-api.ts +243 -596
- package/apis/space-api.ts +329 -0
- package/apis/work-order-api.ts +204 -339
- package/dist/api.d.ts +1 -2
- package/dist/api.js +1 -2
- package/dist/apis/access-api.d.ts +21 -21
- package/dist/apis/access-api.js +22 -22
- package/dist/apis/calendar-api.d.ts +123 -131
- package/dist/apis/calendar-api.js +164 -177
- package/dist/apis/common-api.d.ts +0 -102
- package/dist/apis/common-api.js +0 -144
- package/dist/apis/inspection-api.d.ts +846 -0
- package/dist/apis/{maintenance-standard-api.js → inspection-api.js} +485 -226
- package/dist/apis/message-api.d.ts +125 -117
- package/dist/apis/message-api.js +171 -132
- package/dist/apis/setting-api.d.ts +144 -334
- package/dist/apis/setting-api.js +187 -433
- package/dist/apis/space-api.d.ts +159 -0
- package/dist/apis/space-api.js +272 -0
- package/dist/apis/work-order-api.d.ts +116 -191
- package/dist/apis/work-order-api.js +160 -241
- package/dist/esm/api.d.ts +1 -2
- package/dist/esm/api.js +1 -2
- package/dist/esm/apis/access-api.d.ts +21 -21
- package/dist/esm/apis/access-api.js +22 -22
- package/dist/esm/apis/calendar-api.d.ts +123 -131
- package/dist/esm/apis/calendar-api.js +164 -177
- package/dist/esm/apis/common-api.d.ts +0 -102
- package/dist/esm/apis/common-api.js +0 -144
- package/dist/esm/apis/inspection-api.d.ts +846 -0
- package/dist/esm/apis/{maintenance-standard-api.js → inspection-api.js} +480 -221
- package/dist/esm/apis/message-api.d.ts +125 -117
- package/dist/esm/apis/message-api.js +171 -132
- package/dist/esm/apis/setting-api.d.ts +144 -334
- package/dist/esm/apis/setting-api.js +187 -433
- package/dist/esm/apis/space-api.d.ts +159 -0
- package/dist/esm/apis/space-api.js +272 -0
- package/dist/esm/apis/work-order-api.d.ts +116 -191
- package/dist/esm/apis/work-order-api.js +160 -241
- package/dist/esm/models/{excel-import-result-dtocalendar-export-dto.d.ts → calendar-add-redis-list-vo.d.ts} +21 -9
- package/dist/esm/models/file-dto.d.ts +3 -3
- package/dist/esm/models/get-user-wx200-response.d.ts +4 -4
- package/dist/esm/models/index.d.ts +13 -24
- package/dist/esm/models/index.js +13 -24
- package/dist/esm/models/inspection-point-item.d.ts +0 -12
- package/dist/esm/models/ipage-access-vo.d.ts +6 -6
- package/dist/esm/models/{json-result-sys-user-msg-dto.d.ts → json-result-calendar-add-redis-list-vo.d.ts} +11 -11
- package/dist/esm/models/{json-result-page-dto-sys-user-msg-dto.d.ts → json-result-page-dto-sys-user-msg-list-dto.d.ts} +11 -11
- package/dist/esm/models/json-result-space-edit-before-and-after-dto.d.ts +56 -0
- package/dist/{models/json-result-park-info-dto.d.ts → esm/models/json-result-sys-user-msg-do.d.ts} +11 -11
- package/dist/esm/models/maintenance-history-dto.d.ts +6 -0
- package/dist/esm/models/maintenance-history-dto.js +6 -0
- package/dist/esm/models/{page-dto-sys-user-msg-dto.d.ts → page-dto-sys-user-msg-list-dto.d.ts} +7 -7
- package/dist/esm/models/period-detail-resp.d.ts +6 -0
- package/dist/esm/models/period-detail-resp.js +6 -0
- package/dist/esm/models/plan-add-vo.d.ts +1 -1
- package/dist/esm/models/plan-edit-vo.d.ts +1 -1
- package/dist/esm/models/plan-item-add-vo.d.ts +1 -1
- package/dist/esm/models/plan-item-edit-vo.d.ts +1 -1
- package/dist/esm/models/space-edit-before-and-after-dto.d.ts +31 -0
- package/dist/esm/models/space-edit-excel-dto.d.ts +78 -0
- package/dist/esm/models/sys-dept.d.ts +0 -6
- package/dist/esm/models/sys-user-msg-do.d.ts +90 -0
- package/dist/{models/sys-user-msg-dto.d.ts → esm/models/sys-user-msg-list-dto.d.ts} +28 -30
- package/dist/esm/models/sys-user-msg-search-list-vo.d.ts +54 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/esm/models/work-order-add-vo.d.ts +4 -23
- package/dist/esm/models/{system-user-msg-type-enum.d.ts → work-order-check-before-acceptance-adopt-vo.d.ts} +15 -6
- package/dist/{models/work-order-dept-settings-add-or-update-vo.d.ts → esm/models/work-order-check-before-acceptance-no-vo.d.ts} +12 -12
- package/dist/esm/models/work-order-detail-dto.d.ts +6 -19
- package/dist/esm/models/work-order-detail-dto.js +6 -0
- package/dist/esm/models/work-order-search-dto.d.ts +6 -0
- package/dist/esm/models/work-order-search-dto.js +6 -0
- package/dist/esm/models/work-order-type-enum.d.ts +1 -1
- package/dist/esm/models/work-order-type-enum.js +1 -1
- package/dist/models/{excel-import-result-dtocalendar-export-dto.d.ts → calendar-add-redis-list-vo.d.ts} +21 -9
- package/dist/models/file-dto.d.ts +3 -3
- package/dist/models/get-user-wx200-response.d.ts +4 -4
- package/dist/models/index.d.ts +13 -24
- package/dist/models/index.js +13 -24
- package/dist/models/inspection-point-item.d.ts +0 -12
- package/dist/models/ipage-access-vo.d.ts +6 -6
- package/dist/models/{json-result-page-dto-sys-user-msg-dto.d.ts → json-result-calendar-add-redis-list-vo.d.ts} +11 -11
- package/dist/models/json-result-page-dto-sys-user-msg-list-dto.d.ts +56 -0
- package/dist/models/json-result-space-edit-before-and-after-dto.d.ts +56 -0
- package/dist/{esm/models/json-result-park-info-dto.d.ts → models/json-result-sys-user-msg-do.d.ts} +11 -11
- package/dist/models/maintenance-history-dto.d.ts +6 -0
- package/dist/models/maintenance-history-dto.js +6 -0
- package/dist/models/{page-dto-sys-user-msg-dto.d.ts → page-dto-sys-user-msg-list-dto.d.ts} +7 -7
- package/dist/models/period-detail-resp.d.ts +6 -0
- package/dist/models/period-detail-resp.js +6 -0
- package/dist/models/plan-add-vo.d.ts +1 -1
- package/dist/models/plan-edit-vo.d.ts +1 -1
- package/dist/models/plan-item-add-vo.d.ts +1 -1
- package/dist/models/plan-item-edit-vo.d.ts +1 -1
- package/dist/models/space-edit-before-and-after-dto.d.ts +31 -0
- package/dist/models/space-edit-excel-dto.d.ts +78 -0
- package/dist/models/sys-dept.d.ts +0 -6
- package/dist/models/sys-user-msg-do.d.ts +90 -0
- package/dist/{esm/models/sys-user-msg-dto.d.ts → models/sys-user-msg-list-dto.d.ts} +28 -30
- package/dist/models/sys-user-msg-search-list-vo.d.ts +54 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/dist/models/work-order-add-vo.d.ts +4 -23
- package/dist/{esm/models/system-user-msg-type-enum.js → models/work-order-check-before-acceptance-adopt-vo.d.ts} +15 -7
- package/dist/{esm/models/work-order-dept-settings-add-or-update-vo.d.ts → models/work-order-check-before-acceptance-no-vo.d.ts} +12 -12
- package/dist/models/work-order-detail-dto.d.ts +6 -19
- package/dist/models/work-order-detail-dto.js +6 -0
- package/dist/models/work-order-search-dto.d.ts +6 -0
- package/dist/models/work-order-search-dto.js +6 -0
- package/dist/models/work-order-type-enum.d.ts +1 -1
- package/dist/models/work-order-type-enum.js +1 -1
- package/models/{excel-import-result-dtocalendar-export-dto.ts → calendar-add-redis-list-vo.ts} +21 -9
- package/models/file-dto.ts +3 -3
- package/models/get-user-wx200-response.ts +4 -4
- package/models/index.ts +13 -24
- package/models/inspection-point-item.ts +0 -12
- package/models/ipage-access-vo.ts +6 -6
- package/models/{json-result-sys-user-msg-dto.ts → json-result-calendar-add-redis-list-vo.ts} +11 -11
- package/models/{json-result-page-dto-sys-user-msg-dto.ts → json-result-page-dto-sys-user-msg-list-dto.ts} +11 -11
- package/models/{json-result-work-order-dept-settings-entity.ts → json-result-space-edit-before-and-after-dto.ts} +11 -11
- package/models/{json-result-park-info-dto.ts → json-result-sys-user-msg-do.ts} +11 -11
- package/models/maintenance-history-dto.ts +6 -0
- package/models/{page-dto-sys-user-msg-dto.ts → page-dto-sys-user-msg-list-dto.ts} +7 -7
- package/models/period-detail-resp.ts +6 -0
- package/models/plan-add-vo.ts +1 -1
- package/models/plan-edit-vo.ts +1 -1
- package/models/plan-item-add-vo.ts +1 -1
- package/models/plan-item-edit-vo.ts +1 -1
- package/models/space-edit-before-and-after-dto.ts +39 -0
- package/models/space-edit-excel-dto.ts +84 -0
- package/models/sys-dept.ts +0 -6
- package/models/sys-user-msg-do.ts +96 -0
- package/models/{sys-user-msg-dto.ts → sys-user-msg-list-dto.ts} +28 -36
- package/models/sys-user-msg-search-list-vo.ts +60 -0
- package/models/sys-user.ts +4 -4
- package/models/work-order-add-vo.ts +4 -25
- package/models/{system-user-msg-type-enum.ts → work-order-check-before-acceptance-adopt-vo.ts} +15 -10
- package/models/{work-order-dept-settings-add-or-update-vo.ts → work-order-check-before-acceptance-no-vo.ts} +12 -12
- package/models/work-order-detail-dto.ts +6 -21
- package/models/work-order-search-dto.ts +6 -0
- package/models/work-order-type-enum.ts +1 -1
- package/package.json +1 -1
- package/apis/inspection-standard-api.ts +0 -1111
- package/dist/apis/inspection-standard-api.d.ts +0 -574
- package/dist/apis/inspection-standard-api.js +0 -872
- package/dist/apis/maintenance-standard-api.d.ts +0 -614
- package/dist/esm/apis/inspection-standard-api.d.ts +0 -574
- package/dist/esm/apis/inspection-standard-api.js +0 -865
- package/dist/esm/apis/maintenance-standard-api.d.ts +0 -614
- package/dist/esm/models/dept-relation-dto.d.ts +0 -120
- package/dist/esm/models/dept-relation.d.ts +0 -84
- package/dist/esm/models/excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -31
- package/dist/esm/models/excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -31
- package/dist/esm/models/inspection-standard-import-dto.d.ts +0 -108
- package/dist/esm/models/json-result-excel-import-result-dtocalendar-export-dto.d.ts +0 -56
- package/dist/esm/models/json-result-excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -56
- package/dist/esm/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -56
- package/dist/esm/models/json-result-list-work-order-dept-settings-entity.d.ts +0 -56
- package/dist/esm/models/json-result-work-order-dept-settings-entity.d.ts +0 -56
- package/dist/esm/models/json-result-work-order-dept-settings-entity.js +0 -14
- package/dist/esm/models/maintenance-standard-import-dto.d.ts +0 -114
- package/dist/esm/models/maintenance-standard-import-dto.js +0 -14
- package/dist/esm/models/page-dto-sys-user-msg-dto.js +0 -14
- package/dist/esm/models/park-info-dto.d.ts +0 -85
- package/dist/esm/models/park-info-dto.js +0 -14
- package/dist/esm/models/park-info-edit-vo.d.ts +0 -49
- package/dist/esm/models/park-info-edit-vo.js +0 -14
- package/dist/esm/models/sys-user-msg-dto.js +0 -14
- package/dist/esm/models/system-user-msg-source-type-enum.d.ts +0 -23
- package/dist/esm/models/system-user-msg-source-type-enum.js +0 -24
- package/dist/esm/models/work-order-dept-settings-add-or-update-vo.js +0 -14
- package/dist/esm/models/work-order-dept-settings-entity.d.ts +0 -67
- package/dist/esm/models/work-order-dept-settings-entity.js +0 -14
- package/dist/esm/models/work-order-issue-type-enum.d.ts +0 -26
- package/dist/esm/models/work-order-issue-type-enum.js +0 -27
- package/dist/models/dept-relation-dto.d.ts +0 -120
- package/dist/models/dept-relation.d.ts +0 -84
- package/dist/models/excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -31
- package/dist/models/excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -31
- package/dist/models/inspection-standard-import-dto.d.ts +0 -108
- package/dist/models/json-result-excel-import-result-dtocalendar-export-dto.d.ts +0 -56
- package/dist/models/json-result-excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -56
- package/dist/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -56
- package/dist/models/json-result-list-work-order-dept-settings-entity.d.ts +0 -56
- package/dist/models/json-result-sys-user-msg-dto.d.ts +0 -56
- package/dist/models/json-result-work-order-dept-settings-entity.d.ts +0 -56
- package/dist/models/json-result-work-order-dept-settings-entity.js +0 -15
- package/dist/models/maintenance-standard-import-dto.d.ts +0 -114
- package/dist/models/maintenance-standard-import-dto.js +0 -15
- package/dist/models/page-dto-sys-user-msg-dto.js +0 -15
- package/dist/models/park-info-dto.d.ts +0 -85
- package/dist/models/park-info-dto.js +0 -15
- package/dist/models/park-info-edit-vo.d.ts +0 -49
- package/dist/models/park-info-edit-vo.js +0 -15
- package/dist/models/sys-user-msg-dto.js +0 -15
- package/dist/models/system-user-msg-source-type-enum.d.ts +0 -23
- package/dist/models/system-user-msg-source-type-enum.js +0 -27
- package/dist/models/system-user-msg-type-enum.d.ts +0 -21
- package/dist/models/system-user-msg-type-enum.js +0 -25
- package/dist/models/work-order-dept-settings-add-or-update-vo.js +0 -15
- package/dist/models/work-order-dept-settings-entity.d.ts +0 -67
- package/dist/models/work-order-dept-settings-entity.js +0 -15
- package/dist/models/work-order-issue-type-enum.d.ts +0 -26
- package/dist/models/work-order-issue-type-enum.js +0 -30
- package/models/dept-relation-dto.ts +0 -126
- package/models/dept-relation.ts +0 -90
- package/models/excel-import-result-dtoinspection-standard-import-dto.ts +0 -39
- package/models/excel-import-result-dtomaintenance-standard-import-dto.ts +0 -39
- package/models/inspection-standard-import-dto.ts +0 -114
- package/models/json-result-excel-import-result-dtocalendar-export-dto.ts +0 -66
- package/models/json-result-excel-import-result-dtoinspection-standard-import-dto.ts +0 -66
- package/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.ts +0 -66
- package/models/json-result-list-work-order-dept-settings-entity.ts +0 -66
- package/models/maintenance-standard-import-dto.ts +0 -120
- package/models/park-info-dto.ts +0 -93
- package/models/park-info-edit-vo.ts +0 -57
- package/models/system-user-msg-source-type-enum.ts +0 -33
- package/models/work-order-dept-settings-entity.ts +0 -77
- package/models/work-order-issue-type-enum.ts +0 -36
- /package/dist/esm/models/{dept-relation-dto.js → calendar-add-redis-list-vo.js} +0 -0
- /package/dist/esm/models/{dept-relation.js → json-result-calendar-add-redis-list-vo.js} +0 -0
- /package/dist/esm/models/{excel-import-result-dtocalendar-export-dto.js → json-result-page-dto-sys-user-msg-list-dto.js} +0 -0
- /package/dist/esm/models/{excel-import-result-dtoinspection-standard-import-dto.js → json-result-space-edit-before-and-after-dto.js} +0 -0
- /package/dist/esm/models/{excel-import-result-dtomaintenance-standard-import-dto.js → json-result-sys-user-msg-do.js} +0 -0
- /package/dist/esm/models/{inspection-standard-import-dto.js → page-dto-sys-user-msg-list-dto.js} +0 -0
- /package/dist/esm/models/{json-result-excel-import-result-dtocalendar-export-dto.js → space-edit-before-and-after-dto.js} +0 -0
- /package/dist/esm/models/{json-result-excel-import-result-dtoinspection-standard-import-dto.js → space-edit-excel-dto.js} +0 -0
- /package/dist/esm/models/{json-result-excel-import-result-dtomaintenance-standard-import-dto.js → sys-user-msg-do.js} +0 -0
- /package/dist/esm/models/{json-result-list-work-order-dept-settings-entity.js → sys-user-msg-list-dto.js} +0 -0
- /package/dist/esm/models/{json-result-page-dto-sys-user-msg-dto.js → sys-user-msg-search-list-vo.js} +0 -0
- /package/dist/esm/models/{json-result-park-info-dto.js → work-order-check-before-acceptance-adopt-vo.js} +0 -0
- /package/dist/esm/models/{json-result-sys-user-msg-dto.js → work-order-check-before-acceptance-no-vo.js} +0 -0
- /package/dist/models/{dept-relation-dto.js → calendar-add-redis-list-vo.js} +0 -0
- /package/dist/models/{dept-relation.js → json-result-calendar-add-redis-list-vo.js} +0 -0
- /package/dist/models/{excel-import-result-dtocalendar-export-dto.js → json-result-page-dto-sys-user-msg-list-dto.js} +0 -0
- /package/dist/models/{excel-import-result-dtoinspection-standard-import-dto.js → json-result-space-edit-before-and-after-dto.js} +0 -0
- /package/dist/models/{excel-import-result-dtomaintenance-standard-import-dto.js → json-result-sys-user-msg-do.js} +0 -0
- /package/dist/models/{inspection-standard-import-dto.js → page-dto-sys-user-msg-list-dto.js} +0 -0
- /package/dist/models/{json-result-excel-import-result-dtocalendar-export-dto.js → space-edit-before-and-after-dto.js} +0 -0
- /package/dist/models/{json-result-excel-import-result-dtoinspection-standard-import-dto.js → space-edit-excel-dto.js} +0 -0
- /package/dist/models/{json-result-excel-import-result-dtomaintenance-standard-import-dto.js → sys-user-msg-do.js} +0 -0
- /package/dist/models/{json-result-list-work-order-dept-settings-entity.js → sys-user-msg-list-dto.js} +0 -0
- /package/dist/models/{json-result-page-dto-sys-user-msg-dto.js → sys-user-msg-search-list-vo.js} +0 -0
- /package/dist/models/{json-result-park-info-dto.js → work-order-check-before-acceptance-adopt-vo.js} +0 -0
- /package/dist/models/{json-result-sys-user-msg-dto.js → work-order-check-before-acceptance-no-vo.js} +0 -0
package/apis/message-api.ts
CHANGED
|
@@ -24,23 +24,67 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
import type { JsonResult } from '../models';
|
|
26
26
|
// @ts-ignore
|
|
27
|
-
import type {
|
|
27
|
+
import type { JsonResultInteger } from '../models';
|
|
28
28
|
// @ts-ignore
|
|
29
|
-
import type {
|
|
29
|
+
import type { JsonResultPageDtoSysUserMsgListDTO } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { JsonResultSysUserMsgDO } from '../models';
|
|
30
32
|
// @ts-ignore
|
|
31
33
|
import type { JsonResultVoid } from '../models';
|
|
32
34
|
// @ts-ignore
|
|
33
35
|
import type { MessagePushLogSearchListBO } from '../models';
|
|
34
36
|
// @ts-ignore
|
|
37
|
+
import type { ResponseData } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
35
39
|
import type { SysUserMsgNoticeAddVO } from '../models';
|
|
36
40
|
// @ts-ignore
|
|
37
|
-
import type {
|
|
41
|
+
import type { SysUserMsgSearchListVO } from '../models';
|
|
38
42
|
/**
|
|
39
43
|
* MessageApi - axios parameter creator
|
|
40
44
|
* @export
|
|
41
45
|
*/
|
|
42
46
|
export const MessageApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
43
47
|
return {
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @summary 添加系统公告
|
|
51
|
+
* @param {SysUserMsgNoticeAddVO} sysUserMsgNoticeAddVO
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
*/
|
|
55
|
+
addSysUserMsgNotice: async (sysUserMsgNoticeAddVO: SysUserMsgNoticeAddVO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56
|
+
// verify required parameter 'sysUserMsgNoticeAddVO' is not null or undefined
|
|
57
|
+
assertParamExists('addSysUserMsgNotice', 'sysUserMsgNoticeAddVO', sysUserMsgNoticeAddVO)
|
|
58
|
+
const localVarPath = `/fusion/sys/user/msg/addSysUserMsgNotice`;
|
|
59
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61
|
+
let baseOptions;
|
|
62
|
+
if (configuration) {
|
|
63
|
+
baseOptions = configuration.baseOptions;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
67
|
+
const localVarHeaderParameter = {} as any;
|
|
68
|
+
const localVarQueryParameter = {} as any;
|
|
69
|
+
|
|
70
|
+
// authentication tokenScheme required
|
|
71
|
+
// http bearer authentication required
|
|
72
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
77
|
+
|
|
78
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
81
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sysUserMsgNoticeAddVO, localVarRequestOptions, configuration)
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
url: toPathString(localVarUrlObj),
|
|
85
|
+
options: localVarRequestOptions,
|
|
86
|
+
};
|
|
87
|
+
},
|
|
44
88
|
/**
|
|
45
89
|
*
|
|
46
90
|
* @summary 导出
|
|
@@ -86,16 +130,15 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
86
130
|
},
|
|
87
131
|
/**
|
|
88
132
|
*
|
|
89
|
-
* @summary
|
|
90
|
-
* @param {
|
|
133
|
+
* @summary 查询用户系统消息列表
|
|
134
|
+
* @param {SysUserMsgSearchListVO} sysUserMsgSearchListVO
|
|
91
135
|
* @param {*} [options] Override http request option.
|
|
92
136
|
* @throws {RequiredError}
|
|
93
137
|
*/
|
|
94
|
-
|
|
95
|
-
// verify required parameter '
|
|
96
|
-
assertParamExists('
|
|
97
|
-
const localVarPath = `/
|
|
98
|
-
.replace(`{${"noticeId"}}`, encodeURIComponent(String(noticeId)));
|
|
138
|
+
getSysUserMsgList: async (sysUserMsgSearchListVO: SysUserMsgSearchListVO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
139
|
+
// verify required parameter 'sysUserMsgSearchListVO' is not null or undefined
|
|
140
|
+
assertParamExists('getSysUserMsgList', 'sysUserMsgSearchListVO', sysUserMsgSearchListVO)
|
|
141
|
+
const localVarPath = `/fusion/sys/user/msg/getSysUserMsgList`;
|
|
99
142
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
100
143
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
101
144
|
let baseOptions;
|
|
@@ -113,9 +156,12 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
113
156
|
|
|
114
157
|
|
|
115
158
|
|
|
159
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
160
|
+
|
|
116
161
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117
162
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
118
163
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
164
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sysUserMsgSearchListVO, localVarRequestOptions, configuration)
|
|
119
165
|
|
|
120
166
|
return {
|
|
121
167
|
url: toPathString(localVarUrlObj),
|
|
@@ -124,15 +170,16 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
124
170
|
},
|
|
125
171
|
/**
|
|
126
172
|
*
|
|
127
|
-
* @summary
|
|
128
|
-
* @param {number}
|
|
173
|
+
* @summary 撤回公告
|
|
174
|
+
* @param {number} noticeId
|
|
129
175
|
* @param {*} [options] Override http request option.
|
|
130
176
|
* @throws {RequiredError}
|
|
131
177
|
*/
|
|
132
|
-
|
|
133
|
-
// verify required parameter '
|
|
134
|
-
assertParamExists('
|
|
135
|
-
const localVarPath = `/
|
|
178
|
+
noticeRecall: async (noticeId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
179
|
+
// verify required parameter 'noticeId' is not null or undefined
|
|
180
|
+
assertParamExists('noticeRecall', 'noticeId', noticeId)
|
|
181
|
+
const localVarPath = `/fusion/sys/user/msg/noticeRecall/{noticeId}`
|
|
182
|
+
.replace(`{${"noticeId"}}`, encodeURIComponent(String(noticeId)));
|
|
136
183
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
137
184
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
138
185
|
let baseOptions;
|
|
@@ -140,7 +187,7 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
140
187
|
baseOptions = configuration.baseOptions;
|
|
141
188
|
}
|
|
142
189
|
|
|
143
|
-
const localVarRequestOptions = { method: '
|
|
190
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
144
191
|
const localVarHeaderParameter = {} as any;
|
|
145
192
|
const localVarQueryParameter = {} as any;
|
|
146
193
|
|
|
@@ -148,10 +195,6 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
148
195
|
// http bearer authentication required
|
|
149
196
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
150
197
|
|
|
151
|
-
if (id !== undefined) {
|
|
152
|
-
localVarQueryParameter['id'] = id;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
198
|
|
|
156
199
|
|
|
157
200
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -165,15 +208,15 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
165
208
|
},
|
|
166
209
|
/**
|
|
167
210
|
*
|
|
168
|
-
* @summary
|
|
169
|
-
* @param {
|
|
211
|
+
* @summary 查询详情
|
|
212
|
+
* @param {number} id
|
|
170
213
|
* @param {*} [options] Override http request option.
|
|
171
214
|
* @throws {RequiredError}
|
|
172
215
|
*/
|
|
173
|
-
|
|
174
|
-
// verify required parameter '
|
|
175
|
-
assertParamExists('
|
|
176
|
-
const localVarPath = `/messageLog/
|
|
216
|
+
selectDetails: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
217
|
+
// verify required parameter 'id' is not null or undefined
|
|
218
|
+
assertParamExists('selectDetails', 'id', id)
|
|
219
|
+
const localVarPath = `/messageLog/selectDetails`;
|
|
177
220
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
178
221
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
179
222
|
let baseOptions;
|
|
@@ -189,10 +232,8 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
189
232
|
// http bearer authentication required
|
|
190
233
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
191
234
|
|
|
192
|
-
if (
|
|
193
|
-
|
|
194
|
-
localVarQueryParameter[key] = value;
|
|
195
|
-
}
|
|
235
|
+
if (id !== undefined) {
|
|
236
|
+
localVarQueryParameter['id'] = id;
|
|
196
237
|
}
|
|
197
238
|
|
|
198
239
|
|
|
@@ -208,15 +249,15 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
208
249
|
},
|
|
209
250
|
/**
|
|
210
251
|
*
|
|
211
|
-
* @summary
|
|
212
|
-
* @param {
|
|
252
|
+
* @summary 查询列表
|
|
253
|
+
* @param {MessagePushLogSearchListBO} bo
|
|
213
254
|
* @param {*} [options] Override http request option.
|
|
214
255
|
* @throws {RequiredError}
|
|
215
256
|
*/
|
|
216
|
-
|
|
217
|
-
// verify required parameter '
|
|
218
|
-
assertParamExists('
|
|
219
|
-
const localVarPath = `/
|
|
257
|
+
selectList1: async (bo: MessagePushLogSearchListBO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
258
|
+
// verify required parameter 'bo' is not null or undefined
|
|
259
|
+
assertParamExists('selectList1', 'bo', bo)
|
|
260
|
+
const localVarPath = `/messageLog/selectList`;
|
|
220
261
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
221
262
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
222
263
|
let baseOptions;
|
|
@@ -224,7 +265,7 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
224
265
|
baseOptions = configuration.baseOptions;
|
|
225
266
|
}
|
|
226
267
|
|
|
227
|
-
const localVarRequestOptions = { method: '
|
|
268
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
228
269
|
const localVarHeaderParameter = {} as any;
|
|
229
270
|
const localVarQueryParameter = {} as any;
|
|
230
271
|
|
|
@@ -232,14 +273,17 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
232
273
|
// http bearer authentication required
|
|
233
274
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
234
275
|
|
|
276
|
+
if (bo !== undefined) {
|
|
277
|
+
for (const [key, value] of Object.entries(bo)) {
|
|
278
|
+
localVarQueryParameter[key] = value;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
235
281
|
|
|
236
|
-
|
|
237
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
238
282
|
|
|
283
|
+
|
|
239
284
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
240
285
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
241
286
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
242
|
-
localVarRequestOptions.data = serializeDataIfNeeded(sysUserMsgNoticeAddVO, localVarRequestOptions, configuration)
|
|
243
287
|
|
|
244
288
|
return {
|
|
245
289
|
url: toPathString(localVarUrlObj),
|
|
@@ -248,26 +292,15 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
248
292
|
},
|
|
249
293
|
/**
|
|
250
294
|
*
|
|
251
|
-
* @summary
|
|
252
|
-
* @param {number}
|
|
253
|
-
* @param {number} pageSize 每页条数
|
|
254
|
-
* @param {number} userId 用户id
|
|
255
|
-
* @param {number} parkId 园区id
|
|
256
|
-
* @param {string} [date] 时间 年月日
|
|
257
|
-
* @param {SystemUserMsgTypeEnum} [type] 消息类型
|
|
295
|
+
* @summary 查询用户系统消息未读数量
|
|
296
|
+
* @param {number} parkId
|
|
258
297
|
* @param {*} [options] Override http request option.
|
|
259
298
|
* @throws {RequiredError}
|
|
260
299
|
*/
|
|
261
|
-
|
|
262
|
-
// verify required parameter 'page' is not null or undefined
|
|
263
|
-
assertParamExists('systemSelectList', 'page', page)
|
|
264
|
-
// verify required parameter 'pageSize' is not null or undefined
|
|
265
|
-
assertParamExists('systemSelectList', 'pageSize', pageSize)
|
|
266
|
-
// verify required parameter 'userId' is not null or undefined
|
|
267
|
-
assertParamExists('systemSelectList', 'userId', userId)
|
|
300
|
+
selectSysUserMsgUnreadQuantity: async (parkId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
268
301
|
// verify required parameter 'parkId' is not null or undefined
|
|
269
|
-
assertParamExists('
|
|
270
|
-
const localVarPath = `/
|
|
302
|
+
assertParamExists('selectSysUserMsgUnreadQuantity', 'parkId', parkId)
|
|
303
|
+
const localVarPath = `/fusion/sys/user/msg/selectSysUserMsgUnreadQuantity`;
|
|
271
304
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
272
305
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
273
306
|
let baseOptions;
|
|
@@ -283,26 +316,6 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
283
316
|
// http bearer authentication required
|
|
284
317
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
285
318
|
|
|
286
|
-
if (date !== undefined) {
|
|
287
|
-
localVarQueryParameter['date'] = date;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
if (type !== undefined) {
|
|
291
|
-
localVarQueryParameter['type'] = type;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
if (page !== undefined) {
|
|
295
|
-
localVarQueryParameter['page'] = page;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
if (pageSize !== undefined) {
|
|
299
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
if (userId !== undefined) {
|
|
303
|
-
localVarQueryParameter['userId'] = userId;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
319
|
if (parkId !== undefined) {
|
|
307
320
|
localVarQueryParameter['parkId'] = parkId;
|
|
308
321
|
}
|
|
@@ -325,10 +338,10 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
325
338
|
* @param {*} [options] Override http request option.
|
|
326
339
|
* @throws {RequiredError}
|
|
327
340
|
*/
|
|
328
|
-
|
|
341
|
+
sysUserMsgDetails: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
329
342
|
// verify required parameter 'id' is not null or undefined
|
|
330
|
-
assertParamExists('
|
|
331
|
-
const localVarPath = `/
|
|
343
|
+
assertParamExists('sysUserMsgDetails', 'id', id)
|
|
344
|
+
const localVarPath = `/fusion/sys/user/msg/{id}`
|
|
332
345
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
333
346
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
334
347
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -366,6 +379,19 @@ export const MessageApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
366
379
|
export const MessageApiFp = function(configuration?: Configuration) {
|
|
367
380
|
const localVarAxiosParamCreator = MessageApiAxiosParamCreator(configuration)
|
|
368
381
|
return {
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @summary 添加系统公告
|
|
385
|
+
* @param {SysUserMsgNoticeAddVO} sysUserMsgNoticeAddVO
|
|
386
|
+
* @param {*} [options] Override http request option.
|
|
387
|
+
* @throws {RequiredError}
|
|
388
|
+
*/
|
|
389
|
+
async addSysUserMsgNotice(sysUserMsgNoticeAddVO: SysUserMsgNoticeAddVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseData>> {
|
|
390
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addSysUserMsgNotice(sysUserMsgNoticeAddVO, options);
|
|
391
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
392
|
+
const localVarOperationServerBasePath = operationServerMap['MessageApi.addSysUserMsgNotice']?.[localVarOperationServerIndex]?.url;
|
|
393
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
394
|
+
},
|
|
369
395
|
/**
|
|
370
396
|
*
|
|
371
397
|
* @summary 导出
|
|
@@ -379,6 +405,19 @@ export const MessageApiFp = function(configuration?: Configuration) {
|
|
|
379
405
|
const localVarOperationServerBasePath = operationServerMap['MessageApi.export3']?.[localVarOperationServerIndex]?.url;
|
|
380
406
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
381
407
|
},
|
|
408
|
+
/**
|
|
409
|
+
*
|
|
410
|
+
* @summary 查询用户系统消息列表
|
|
411
|
+
* @param {SysUserMsgSearchListVO} sysUserMsgSearchListVO
|
|
412
|
+
* @param {*} [options] Override http request option.
|
|
413
|
+
* @throws {RequiredError}
|
|
414
|
+
*/
|
|
415
|
+
async getSysUserMsgList(sysUserMsgSearchListVO: SysUserMsgSearchListVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoSysUserMsgListDTO>> {
|
|
416
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSysUserMsgList(sysUserMsgSearchListVO, options);
|
|
417
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
418
|
+
const localVarOperationServerBasePath = operationServerMap['MessageApi.getSysUserMsgList']?.[localVarOperationServerIndex]?.url;
|
|
419
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
420
|
+
},
|
|
382
421
|
/**
|
|
383
422
|
*
|
|
384
423
|
* @summary 撤回公告
|
|
@@ -386,7 +425,7 @@ export const MessageApiFp = function(configuration?: Configuration) {
|
|
|
386
425
|
* @param {*} [options] Override http request option.
|
|
387
426
|
* @throws {RequiredError}
|
|
388
427
|
*/
|
|
389
|
-
async noticeRecall(noticeId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
428
|
+
async noticeRecall(noticeId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
390
429
|
const localVarAxiosArgs = await localVarAxiosParamCreator.noticeRecall(noticeId, options);
|
|
391
430
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
392
431
|
const localVarOperationServerBasePath = operationServerMap['MessageApi.noticeRecall']?.[localVarOperationServerIndex]?.url;
|
|
@@ -420,33 +459,15 @@ export const MessageApiFp = function(configuration?: Configuration) {
|
|
|
420
459
|
},
|
|
421
460
|
/**
|
|
422
461
|
*
|
|
423
|
-
* @summary
|
|
424
|
-
* @param {
|
|
425
|
-
* @param {*} [options] Override http request option.
|
|
426
|
-
* @throws {RequiredError}
|
|
427
|
-
*/
|
|
428
|
-
async systemAddNotice(sysUserMsgNoticeAddVO: SysUserMsgNoticeAddVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
429
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.systemAddNotice(sysUserMsgNoticeAddVO, options);
|
|
430
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
431
|
-
const localVarOperationServerBasePath = operationServerMap['MessageApi.systemAddNotice']?.[localVarOperationServerIndex]?.url;
|
|
432
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
433
|
-
},
|
|
434
|
-
/**
|
|
435
|
-
*
|
|
436
|
-
* @summary 查询用户系统消息列表
|
|
437
|
-
* @param {number} page 页码
|
|
438
|
-
* @param {number} pageSize 每页条数
|
|
439
|
-
* @param {number} userId 用户id
|
|
440
|
-
* @param {number} parkId 园区id
|
|
441
|
-
* @param {string} [date] 时间 年月日
|
|
442
|
-
* @param {SystemUserMsgTypeEnum} [type] 消息类型
|
|
462
|
+
* @summary 查询用户系统消息未读数量
|
|
463
|
+
* @param {number} parkId
|
|
443
464
|
* @param {*} [options] Override http request option.
|
|
444
465
|
* @throws {RequiredError}
|
|
445
466
|
*/
|
|
446
|
-
async
|
|
447
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
467
|
+
async selectSysUserMsgUnreadQuantity(parkId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultInteger>> {
|
|
468
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.selectSysUserMsgUnreadQuantity(parkId, options);
|
|
448
469
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
449
|
-
const localVarOperationServerBasePath = operationServerMap['MessageApi.
|
|
470
|
+
const localVarOperationServerBasePath = operationServerMap['MessageApi.selectSysUserMsgUnreadQuantity']?.[localVarOperationServerIndex]?.url;
|
|
450
471
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
451
472
|
},
|
|
452
473
|
/**
|
|
@@ -456,10 +477,10 @@ export const MessageApiFp = function(configuration?: Configuration) {
|
|
|
456
477
|
* @param {*} [options] Override http request option.
|
|
457
478
|
* @throws {RequiredError}
|
|
458
479
|
*/
|
|
459
|
-
async
|
|
460
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
480
|
+
async sysUserMsgDetails(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSysUserMsgDO>> {
|
|
481
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sysUserMsgDetails(id, options);
|
|
461
482
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
462
|
-
const localVarOperationServerBasePath = operationServerMap['MessageApi.
|
|
483
|
+
const localVarOperationServerBasePath = operationServerMap['MessageApi.sysUserMsgDetails']?.[localVarOperationServerIndex]?.url;
|
|
463
484
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
464
485
|
},
|
|
465
486
|
}
|
|
@@ -472,6 +493,16 @@ export const MessageApiFp = function(configuration?: Configuration) {
|
|
|
472
493
|
export const MessageApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
473
494
|
const localVarFp = MessageApiFp(configuration)
|
|
474
495
|
return {
|
|
496
|
+
/**
|
|
497
|
+
*
|
|
498
|
+
* @summary 添加系统公告
|
|
499
|
+
* @param {MessageApiAddSysUserMsgNoticeRequest} requestParameters Request parameters.
|
|
500
|
+
* @param {*} [options] Override http request option.
|
|
501
|
+
* @throws {RequiredError}
|
|
502
|
+
*/
|
|
503
|
+
addSysUserMsgNotice(requestParameters: MessageApiAddSysUserMsgNoticeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ResponseData> {
|
|
504
|
+
return localVarFp.addSysUserMsgNotice(requestParameters.sysUserMsgNoticeAddVO, options).then((request) => request(axios, basePath));
|
|
505
|
+
},
|
|
475
506
|
/**
|
|
476
507
|
*
|
|
477
508
|
* @summary 导出
|
|
@@ -482,6 +513,16 @@ export const MessageApiFactory = function (configuration?: Configuration, basePa
|
|
|
482
513
|
export3(requestParameters: MessageApiExport3Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
483
514
|
return localVarFp.export3(requestParameters.bo, options).then((request) => request(axios, basePath));
|
|
484
515
|
},
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @summary 查询用户系统消息列表
|
|
519
|
+
* @param {MessageApiGetSysUserMsgListRequest} requestParameters Request parameters.
|
|
520
|
+
* @param {*} [options] Override http request option.
|
|
521
|
+
* @throws {RequiredError}
|
|
522
|
+
*/
|
|
523
|
+
getSysUserMsgList(requestParameters: MessageApiGetSysUserMsgListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoSysUserMsgListDTO> {
|
|
524
|
+
return localVarFp.getSysUserMsgList(requestParameters.sysUserMsgSearchListVO, options).then((request) => request(axios, basePath));
|
|
525
|
+
},
|
|
485
526
|
/**
|
|
486
527
|
*
|
|
487
528
|
* @summary 撤回公告
|
|
@@ -489,7 +530,7 @@ export const MessageApiFactory = function (configuration?: Configuration, basePa
|
|
|
489
530
|
* @param {*} [options] Override http request option.
|
|
490
531
|
* @throws {RequiredError}
|
|
491
532
|
*/
|
|
492
|
-
noticeRecall(requestParameters: MessageApiNoticeRecallRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
533
|
+
noticeRecall(requestParameters: MessageApiNoticeRecallRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
493
534
|
return localVarFp.noticeRecall(requestParameters.noticeId, options).then((request) => request(axios, basePath));
|
|
494
535
|
},
|
|
495
536
|
/**
|
|
@@ -514,37 +555,41 @@ export const MessageApiFactory = function (configuration?: Configuration, basePa
|
|
|
514
555
|
},
|
|
515
556
|
/**
|
|
516
557
|
*
|
|
517
|
-
* @summary
|
|
518
|
-
* @param {
|
|
558
|
+
* @summary 查询用户系统消息未读数量
|
|
559
|
+
* @param {MessageApiSelectSysUserMsgUnreadQuantityRequest} requestParameters Request parameters.
|
|
519
560
|
* @param {*} [options] Override http request option.
|
|
520
561
|
* @throws {RequiredError}
|
|
521
562
|
*/
|
|
522
|
-
|
|
523
|
-
return localVarFp.
|
|
524
|
-
},
|
|
525
|
-
/**
|
|
526
|
-
*
|
|
527
|
-
* @summary 查询用户系统消息列表
|
|
528
|
-
* @param {MessageApiSystemSelectListRequest} requestParameters Request parameters.
|
|
529
|
-
* @param {*} [options] Override http request option.
|
|
530
|
-
* @throws {RequiredError}
|
|
531
|
-
*/
|
|
532
|
-
systemSelectList(requestParameters: MessageApiSystemSelectListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoSysUserMsgDTO> {
|
|
533
|
-
return localVarFp.systemSelectList(requestParameters.page, requestParameters.pageSize, requestParameters.userId, requestParameters.parkId, requestParameters.date, requestParameters.type, options).then((request) => request(axios, basePath));
|
|
563
|
+
selectSysUserMsgUnreadQuantity(requestParameters: MessageApiSelectSysUserMsgUnreadQuantityRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultInteger> {
|
|
564
|
+
return localVarFp.selectSysUserMsgUnreadQuantity(requestParameters.parkId, options).then((request) => request(axios, basePath));
|
|
534
565
|
},
|
|
535
566
|
/**
|
|
536
567
|
*
|
|
537
568
|
* @summary 查询用户系统消息详情
|
|
538
|
-
* @param {
|
|
569
|
+
* @param {MessageApiSysUserMsgDetailsRequest} requestParameters Request parameters.
|
|
539
570
|
* @param {*} [options] Override http request option.
|
|
540
571
|
* @throws {RequiredError}
|
|
541
572
|
*/
|
|
542
|
-
|
|
543
|
-
return localVarFp.
|
|
573
|
+
sysUserMsgDetails(requestParameters: MessageApiSysUserMsgDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSysUserMsgDO> {
|
|
574
|
+
return localVarFp.sysUserMsgDetails(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
544
575
|
},
|
|
545
576
|
};
|
|
546
577
|
};
|
|
547
578
|
|
|
579
|
+
/**
|
|
580
|
+
* Request parameters for addSysUserMsgNotice operation in MessageApi.
|
|
581
|
+
* @export
|
|
582
|
+
* @interface MessageApiAddSysUserMsgNoticeRequest
|
|
583
|
+
*/
|
|
584
|
+
export interface MessageApiAddSysUserMsgNoticeRequest {
|
|
585
|
+
/**
|
|
586
|
+
*
|
|
587
|
+
* @type {SysUserMsgNoticeAddVO}
|
|
588
|
+
* @memberof MessageApiAddSysUserMsgNotice
|
|
589
|
+
*/
|
|
590
|
+
readonly sysUserMsgNoticeAddVO: SysUserMsgNoticeAddVO
|
|
591
|
+
}
|
|
592
|
+
|
|
548
593
|
/**
|
|
549
594
|
* Request parameters for export3 operation in MessageApi.
|
|
550
595
|
* @export
|
|
@@ -559,6 +604,20 @@ export interface MessageApiExport3Request {
|
|
|
559
604
|
readonly bo: MessagePushLogSearchListBO
|
|
560
605
|
}
|
|
561
606
|
|
|
607
|
+
/**
|
|
608
|
+
* Request parameters for getSysUserMsgList operation in MessageApi.
|
|
609
|
+
* @export
|
|
610
|
+
* @interface MessageApiGetSysUserMsgListRequest
|
|
611
|
+
*/
|
|
612
|
+
export interface MessageApiGetSysUserMsgListRequest {
|
|
613
|
+
/**
|
|
614
|
+
*
|
|
615
|
+
* @type {SysUserMsgSearchListVO}
|
|
616
|
+
* @memberof MessageApiGetSysUserMsgList
|
|
617
|
+
*/
|
|
618
|
+
readonly sysUserMsgSearchListVO: SysUserMsgSearchListVO
|
|
619
|
+
}
|
|
620
|
+
|
|
562
621
|
/**
|
|
563
622
|
* Request parameters for noticeRecall operation in MessageApi.
|
|
564
623
|
* @export
|
|
@@ -602,78 +661,29 @@ export interface MessageApiSelectList1Request {
|
|
|
602
661
|
}
|
|
603
662
|
|
|
604
663
|
/**
|
|
605
|
-
* Request parameters for
|
|
664
|
+
* Request parameters for selectSysUserMsgUnreadQuantity operation in MessageApi.
|
|
606
665
|
* @export
|
|
607
|
-
* @interface
|
|
666
|
+
* @interface MessageApiSelectSysUserMsgUnreadQuantityRequest
|
|
608
667
|
*/
|
|
609
|
-
export interface
|
|
668
|
+
export interface MessageApiSelectSysUserMsgUnreadQuantityRequest {
|
|
610
669
|
/**
|
|
611
670
|
*
|
|
612
|
-
* @type {SysUserMsgNoticeAddVO}
|
|
613
|
-
* @memberof MessageApiSystemAddNotice
|
|
614
|
-
*/
|
|
615
|
-
readonly sysUserMsgNoticeAddVO: SysUserMsgNoticeAddVO
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
/**
|
|
619
|
-
* Request parameters for systemSelectList operation in MessageApi.
|
|
620
|
-
* @export
|
|
621
|
-
* @interface MessageApiSystemSelectListRequest
|
|
622
|
-
*/
|
|
623
|
-
export interface MessageApiSystemSelectListRequest {
|
|
624
|
-
/**
|
|
625
|
-
* 页码
|
|
626
671
|
* @type {number}
|
|
627
|
-
* @memberof
|
|
628
|
-
*/
|
|
629
|
-
readonly page: number
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
* 每页条数
|
|
633
|
-
* @type {number}
|
|
634
|
-
* @memberof MessageApiSystemSelectList
|
|
635
|
-
*/
|
|
636
|
-
readonly pageSize: number
|
|
637
|
-
|
|
638
|
-
/**
|
|
639
|
-
* 用户id
|
|
640
|
-
* @type {number}
|
|
641
|
-
* @memberof MessageApiSystemSelectList
|
|
642
|
-
*/
|
|
643
|
-
readonly userId: number
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
* 园区id
|
|
647
|
-
* @type {number}
|
|
648
|
-
* @memberof MessageApiSystemSelectList
|
|
672
|
+
* @memberof MessageApiSelectSysUserMsgUnreadQuantity
|
|
649
673
|
*/
|
|
650
674
|
readonly parkId: number
|
|
651
|
-
|
|
652
|
-
/**
|
|
653
|
-
* 时间 年月日
|
|
654
|
-
* @type {string}
|
|
655
|
-
* @memberof MessageApiSystemSelectList
|
|
656
|
-
*/
|
|
657
|
-
readonly date?: string
|
|
658
|
-
|
|
659
|
-
/**
|
|
660
|
-
* 消息类型
|
|
661
|
-
* @type {SystemUserMsgTypeEnum}
|
|
662
|
-
* @memberof MessageApiSystemSelectList
|
|
663
|
-
*/
|
|
664
|
-
readonly type?: SystemUserMsgTypeEnum
|
|
665
675
|
}
|
|
666
676
|
|
|
667
677
|
/**
|
|
668
|
-
* Request parameters for
|
|
678
|
+
* Request parameters for sysUserMsgDetails operation in MessageApi.
|
|
669
679
|
* @export
|
|
670
|
-
* @interface
|
|
680
|
+
* @interface MessageApiSysUserMsgDetailsRequest
|
|
671
681
|
*/
|
|
672
|
-
export interface
|
|
682
|
+
export interface MessageApiSysUserMsgDetailsRequest {
|
|
673
683
|
/**
|
|
674
684
|
*
|
|
675
685
|
* @type {number}
|
|
676
|
-
* @memberof
|
|
686
|
+
* @memberof MessageApiSysUserMsgDetails
|
|
677
687
|
*/
|
|
678
688
|
readonly id: number
|
|
679
689
|
}
|
|
@@ -685,6 +695,18 @@ export interface MessageApiSystemUserMsgDetailsRequest {
|
|
|
685
695
|
* @extends {BaseAPI}
|
|
686
696
|
*/
|
|
687
697
|
export class MessageApi extends BaseAPI {
|
|
698
|
+
/**
|
|
699
|
+
*
|
|
700
|
+
* @summary 添加系统公告
|
|
701
|
+
* @param {MessageApiAddSysUserMsgNoticeRequest} requestParameters Request parameters.
|
|
702
|
+
* @param {*} [options] Override http request option.
|
|
703
|
+
* @throws {RequiredError}
|
|
704
|
+
* @memberof MessageApi
|
|
705
|
+
*/
|
|
706
|
+
public addSysUserMsgNotice(requestParameters: MessageApiAddSysUserMsgNoticeRequest, options?: RawAxiosRequestConfig) {
|
|
707
|
+
return MessageApiFp(this.configuration).addSysUserMsgNotice(requestParameters.sysUserMsgNoticeAddVO, options).then((request) => request(this.axios, this.basePath));
|
|
708
|
+
}
|
|
709
|
+
|
|
688
710
|
/**
|
|
689
711
|
*
|
|
690
712
|
* @summary 导出
|
|
@@ -697,6 +719,18 @@ export class MessageApi extends BaseAPI {
|
|
|
697
719
|
return MessageApiFp(this.configuration).export3(requestParameters.bo, options).then((request) => request(this.axios, this.basePath));
|
|
698
720
|
}
|
|
699
721
|
|
|
722
|
+
/**
|
|
723
|
+
*
|
|
724
|
+
* @summary 查询用户系统消息列表
|
|
725
|
+
* @param {MessageApiGetSysUserMsgListRequest} requestParameters Request parameters.
|
|
726
|
+
* @param {*} [options] Override http request option.
|
|
727
|
+
* @throws {RequiredError}
|
|
728
|
+
* @memberof MessageApi
|
|
729
|
+
*/
|
|
730
|
+
public getSysUserMsgList(requestParameters: MessageApiGetSysUserMsgListRequest, options?: RawAxiosRequestConfig) {
|
|
731
|
+
return MessageApiFp(this.configuration).getSysUserMsgList(requestParameters.sysUserMsgSearchListVO, options).then((request) => request(this.axios, this.basePath));
|
|
732
|
+
}
|
|
733
|
+
|
|
700
734
|
/**
|
|
701
735
|
*
|
|
702
736
|
* @summary 撤回公告
|
|
@@ -735,38 +769,26 @@ export class MessageApi extends BaseAPI {
|
|
|
735
769
|
|
|
736
770
|
/**
|
|
737
771
|
*
|
|
738
|
-
* @summary
|
|
739
|
-
* @param {
|
|
740
|
-
* @param {*} [options] Override http request option.
|
|
741
|
-
* @throws {RequiredError}
|
|
742
|
-
* @memberof MessageApi
|
|
743
|
-
*/
|
|
744
|
-
public systemAddNotice(requestParameters: MessageApiSystemAddNoticeRequest, options?: RawAxiosRequestConfig) {
|
|
745
|
-
return MessageApiFp(this.configuration).systemAddNotice(requestParameters.sysUserMsgNoticeAddVO, options).then((request) => request(this.axios, this.basePath));
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
*
|
|
750
|
-
* @summary 查询用户系统消息列表
|
|
751
|
-
* @param {MessageApiSystemSelectListRequest} requestParameters Request parameters.
|
|
772
|
+
* @summary 查询用户系统消息未读数量
|
|
773
|
+
* @param {MessageApiSelectSysUserMsgUnreadQuantityRequest} requestParameters Request parameters.
|
|
752
774
|
* @param {*} [options] Override http request option.
|
|
753
775
|
* @throws {RequiredError}
|
|
754
776
|
* @memberof MessageApi
|
|
755
777
|
*/
|
|
756
|
-
public
|
|
757
|
-
return MessageApiFp(this.configuration).
|
|
778
|
+
public selectSysUserMsgUnreadQuantity(requestParameters: MessageApiSelectSysUserMsgUnreadQuantityRequest, options?: RawAxiosRequestConfig) {
|
|
779
|
+
return MessageApiFp(this.configuration).selectSysUserMsgUnreadQuantity(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
|
|
758
780
|
}
|
|
759
781
|
|
|
760
782
|
/**
|
|
761
783
|
*
|
|
762
784
|
* @summary 查询用户系统消息详情
|
|
763
|
-
* @param {
|
|
785
|
+
* @param {MessageApiSysUserMsgDetailsRequest} requestParameters Request parameters.
|
|
764
786
|
* @param {*} [options] Override http request option.
|
|
765
787
|
* @throws {RequiredError}
|
|
766
788
|
* @memberof MessageApi
|
|
767
789
|
*/
|
|
768
|
-
public
|
|
769
|
-
return MessageApiFp(this.configuration).
|
|
790
|
+
public sysUserMsgDetails(requestParameters: MessageApiSysUserMsgDetailsRequest, options?: RawAxiosRequestConfig) {
|
|
791
|
+
return MessageApiFp(this.configuration).sysUserMsgDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
770
792
|
}
|
|
771
793
|
}
|
|
772
794
|
|