@gizone/rrs-client 4.2.0-alpha.373 → 4.2.0-alpha.375
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 +2 -21
- package/api.ts +0 -1
- package/apis/message-api.ts +178 -0
- package/apis/notification-api.ts +227 -133
- package/apis/open-api-api.ts +0 -214
- package/apis/setting-api.ts +0 -307
- package/apis/web-hook-api.ts +0 -182
- package/apis/work-order-api.ts +15 -450
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/apis/message-api.d.ts +93 -0
- package/dist/apis/message-api.js +139 -0
- package/dist/apis/notification-api.d.ts +135 -90
- package/dist/apis/notification-api.js +174 -99
- package/dist/apis/open-api-api.d.ts +0 -110
- package/dist/apis/open-api-api.js +0 -156
- package/dist/apis/setting-api.d.ts +0 -166
- package/dist/apis/setting-api.js +0 -223
- package/dist/apis/web-hook-api.d.ts +0 -94
- package/dist/apis/web-hook-api.js +0 -140
- package/dist/apis/work-order-api.d.ts +6 -243
- package/dist/apis/work-order-api.js +15 -322
- package/dist/esm/api.d.ts +0 -1
- package/dist/esm/api.js +0 -1
- package/dist/esm/apis/message-api.d.ts +93 -0
- package/dist/esm/apis/message-api.js +140 -1
- package/dist/esm/apis/notification-api.d.ts +135 -90
- package/dist/esm/apis/notification-api.js +174 -99
- package/dist/esm/apis/open-api-api.d.ts +0 -110
- package/dist/esm/apis/open-api-api.js +0 -156
- package/dist/esm/apis/setting-api.d.ts +0 -166
- package/dist/esm/apis/setting-api.js +0 -223
- package/dist/esm/apis/web-hook-api.d.ts +0 -94
- package/dist/esm/apis/web-hook-api.js +0 -140
- package/dist/esm/apis/work-order-api.d.ts +6 -243
- package/dist/esm/apis/work-order-api.js +15 -322
- package/dist/esm/models/disaster-warning-standard-add-or-update-vo.d.ts +1 -1
- package/dist/esm/models/disaster-warning-standard-entity.d.ts +1 -1
- package/dist/esm/models/index.d.ts +2 -20
- package/dist/esm/models/index.js +2 -20
- package/dist/esm/models/inspection-standard-add-or-update-vo.d.ts +1 -1
- package/dist/esm/models/inspection-standard-dto.d.ts +1 -1
- package/dist/esm/models/inspection-standard-entity.d.ts +1 -1
- package/dist/esm/models/login-type-enum.d.ts +0 -2
- package/dist/esm/models/login-type-enum.js +1 -3
- package/dist/esm/models/maintenance-standard-add-or-update-vo.d.ts +1 -1
- package/dist/esm/models/maintenance-standard-dto.d.ts +1 -1
- package/dist/esm/models/maintenance-standard-entity.d.ts +1 -1
- package/dist/esm/models/monitoring-coverage-alert-work-order-details-dto.d.ts +0 -12
- package/dist/esm/models/network-monitor-repair-add-vo.d.ts +0 -6
- package/dist/esm/models/network-monitor-repair-details-dto.d.ts +0 -12
- package/dist/esm/models/notice-vo.d.ts +86 -0
- package/dist/esm/models/offline-alert-submit-vo.d.ts +0 -6
- package/dist/esm/models/offline-alert-work-order-details-dto.d.ts +0 -12
- package/dist/esm/models/offline-alert-work-order-vo.d.ts +0 -6
- package/dist/esm/models/park-info-dto.d.ts +0 -12
- package/dist/esm/models/period-detail-resp.d.ts +1 -7
- package/dist/esm/models/sys-post.d.ts +0 -6
- package/dist/esm/models/sys-role.d.ts +0 -6
- package/dist/esm/models/{notice-add-vo.d.ts → sys-user-msg-notice-add-vo.d.ts} +8 -8
- package/dist/esm/models/sys-user.d.ts +0 -13
- package/dist/esm/models/violation-work-order-add-vo.d.ts +0 -6
- package/dist/esm/models/violation-work-order-details-dto.d.ts +0 -12
- package/dist/esm/models/work-order-approval-vo.d.ts +0 -6
- package/dist/esm/models/work-order-detail-dto.d.ts +0 -6
- package/dist/esm/models/work-order-ext-data.d.ts +0 -7
- package/dist/esm/models/work-order-internal-status-enum.d.ts +0 -2
- package/dist/esm/models/work-order-internal-status-enum.js +1 -3
- package/dist/esm/models/work-order-issue-type-enum.d.ts +1 -2
- package/dist/esm/models/work-order-issue-type-enum.js +2 -3
- package/dist/esm/models/work-order-search-dto.d.ts +1 -13
- package/dist/esm/models/work-order-settings-type-enum.d.ts +0 -1
- package/dist/esm/models/work-order-settings-type-enum.js +1 -2
- package/dist/esm/models/work-order-status-enum.d.ts +1 -0
- package/dist/esm/models/work-order-status-enum.js +1 -0
- package/dist/esm/models/work-order-submit-vo.d.ts +0 -7
- package/dist/esm/models/work-order-type-enum.d.ts +0 -1
- package/dist/esm/models/work-order-type-enum.js +1 -2
- package/dist/models/disaster-warning-standard-add-or-update-vo.d.ts +1 -1
- package/dist/models/disaster-warning-standard-entity.d.ts +1 -1
- package/dist/models/index.d.ts +2 -20
- package/dist/models/index.js +2 -20
- package/dist/models/inspection-standard-add-or-update-vo.d.ts +1 -1
- package/dist/models/inspection-standard-dto.d.ts +1 -1
- package/dist/models/inspection-standard-entity.d.ts +1 -1
- package/dist/models/login-type-enum.d.ts +0 -2
- package/dist/models/login-type-enum.js +1 -3
- package/dist/models/maintenance-standard-add-or-update-vo.d.ts +1 -1
- package/dist/models/maintenance-standard-dto.d.ts +1 -1
- package/dist/models/maintenance-standard-entity.d.ts +1 -1
- package/dist/models/monitoring-coverage-alert-work-order-details-dto.d.ts +0 -12
- package/dist/models/network-monitor-repair-add-vo.d.ts +0 -6
- package/dist/models/network-monitor-repair-details-dto.d.ts +0 -12
- package/dist/models/notice-vo.d.ts +86 -0
- package/dist/models/offline-alert-submit-vo.d.ts +0 -6
- package/dist/models/offline-alert-work-order-details-dto.d.ts +0 -12
- package/dist/models/offline-alert-work-order-vo.d.ts +0 -6
- package/dist/models/park-info-dto.d.ts +0 -12
- package/dist/models/period-detail-resp.d.ts +1 -7
- package/dist/models/sys-post.d.ts +0 -6
- package/dist/models/sys-role.d.ts +0 -6
- package/dist/models/{notice-add-vo.d.ts → sys-user-msg-notice-add-vo.d.ts} +8 -8
- package/dist/models/sys-user.d.ts +0 -13
- package/dist/models/violation-work-order-add-vo.d.ts +0 -6
- package/dist/models/violation-work-order-details-dto.d.ts +0 -12
- package/dist/models/work-order-approval-vo.d.ts +0 -6
- package/dist/models/work-order-detail-dto.d.ts +0 -6
- package/dist/models/work-order-ext-data.d.ts +0 -7
- package/dist/models/work-order-internal-status-enum.d.ts +0 -2
- package/dist/models/work-order-internal-status-enum.js +1 -3
- package/dist/models/work-order-issue-type-enum.d.ts +1 -2
- package/dist/models/work-order-issue-type-enum.js +2 -3
- package/dist/models/work-order-search-dto.d.ts +1 -13
- package/dist/models/work-order-settings-type-enum.d.ts +0 -1
- package/dist/models/work-order-settings-type-enum.js +1 -2
- package/dist/models/work-order-status-enum.d.ts +1 -0
- package/dist/models/work-order-status-enum.js +1 -0
- package/dist/models/work-order-submit-vo.d.ts +0 -7
- package/dist/models/work-order-type-enum.d.ts +0 -1
- package/dist/models/work-order-type-enum.js +1 -2
- package/models/disaster-warning-standard-add-or-update-vo.ts +1 -1
- package/models/disaster-warning-standard-entity.ts +1 -1
- package/models/index.ts +2 -20
- package/models/inspection-standard-add-or-update-vo.ts +1 -1
- package/models/inspection-standard-dto.ts +1 -1
- package/models/inspection-standard-entity.ts +1 -1
- package/models/login-type-enum.ts +1 -3
- package/models/maintenance-standard-add-or-update-vo.ts +1 -1
- package/models/maintenance-standard-dto.ts +1 -1
- package/models/maintenance-standard-entity.ts +1 -1
- package/models/monitoring-coverage-alert-work-order-details-dto.ts +0 -12
- package/models/network-monitor-repair-add-vo.ts +0 -6
- package/models/network-monitor-repair-details-dto.ts +0 -12
- package/models/notice-vo.ts +90 -0
- package/models/offline-alert-submit-vo.ts +0 -6
- package/models/offline-alert-work-order-details-dto.ts +0 -12
- package/models/offline-alert-work-order-vo.ts +0 -6
- package/models/park-info-dto.ts +0 -12
- package/models/period-detail-resp.ts +1 -7
- package/models/sys-post.ts +0 -6
- package/models/sys-role.ts +0 -6
- package/models/{notice-add-vo.ts → sys-user-msg-notice-add-vo.ts} +8 -8
- package/models/sys-user.ts +0 -17
- package/models/violation-work-order-add-vo.ts +0 -6
- package/models/violation-work-order-details-dto.ts +0 -12
- package/models/work-order-approval-vo.ts +0 -6
- package/models/work-order-detail-dto.ts +0 -6
- package/models/work-order-ext-data.ts +0 -9
- package/models/work-order-internal-status-enum.ts +1 -3
- package/models/work-order-issue-type-enum.ts +2 -3
- package/models/work-order-search-dto.ts +1 -13
- package/models/work-order-settings-type-enum.ts +1 -2
- package/models/work-order-status-enum.ts +1 -0
- package/models/work-order-submit-vo.ts +0 -9
- package/models/work-order-type-enum.ts +1 -2
- package/package.json +1 -1
- package/apis/hwork-api.ts +0 -167
- package/dist/apis/hwork-api.d.ts +0 -96
- package/dist/apis/hwork-api.js +0 -145
- package/dist/esm/apis/hwork-api.d.ts +0 -96
- package/dist/esm/apis/hwork-api.js +0 -138
- package/dist/esm/models/exploration-work-order-details-dto.d.ts +0 -123
- package/dist/esm/models/exploration-work-order-info.d.ts +0 -111
- package/dist/esm/models/exploration-work-order-info.js +0 -19
- package/dist/esm/models/exploration-work-order-submit-vo.d.ts +0 -36
- package/dist/esm/models/exploration-work-order-type-enum.d.ts +0 -20
- package/dist/esm/models/exploration-work-order-type-enum.js +0 -21
- package/dist/esm/models/insurance-notice-vo.d.ts +0 -54
- package/dist/esm/models/insurance-notice-vo.js +0 -14
- package/dist/esm/models/insurance-work-order-issue-vo.d.ts +0 -86
- package/dist/esm/models/insurance-work-order-issue-vo.js +0 -19
- package/dist/esm/models/insurance-work-order-vo.d.ts +0 -37
- package/dist/esm/models/insurance-work-order-vo.js +0 -14
- package/dist/esm/models/json-result-exploration-work-order-details-dto.d.ts +0 -62
- package/dist/esm/models/json-result-exploration-work-order-details-dto.js +0 -14
- package/dist/esm/models/json-result-list-work-order-issue-type-settings-entity.d.ts +0 -62
- package/dist/esm/models/json-result-list-work-order-issue-type-settings-entity.js +0 -14
- package/dist/esm/models/json-result-notice-entity.d.ts +0 -62
- package/dist/esm/models/json-result-notice-entity.js +0 -14
- package/dist/esm/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +0 -62
- package/dist/esm/models/json-result-page-dto-open-api-equipment-list-dto.js +0 -14
- package/dist/esm/models/json-result-work-order-issue-type-settings-entity.d.ts +0 -62
- package/dist/esm/models/json-result-work-order-issue-type-settings-entity.js +0 -14
- package/dist/esm/models/notice-add-vo.js +0 -14
- package/dist/esm/models/notice-entity.d.ts +0 -90
- package/dist/esm/models/notice-entity.js +0 -14
- package/dist/esm/models/open-api-equipment-list-dto.d.ts +0 -110
- package/dist/esm/models/open-api-equipment-list-dto.js +0 -14
- package/dist/esm/models/page-dto-open-api-equipment-list-dto.d.ts +0 -31
- package/dist/esm/models/page-dto-open-api-equipment-list-dto.js +0 -14
- package/dist/esm/models/user-source-enum.d.ts +0 -21
- package/dist/esm/models/user-source-enum.js +0 -22
- package/dist/esm/models/work-order-equipment-dto.d.ts +0 -36
- package/dist/esm/models/work-order-equipment-dto.js +0 -14
- package/dist/esm/models/work-order-issue-type-settings-add-or-update-vo.d.ts +0 -44
- package/dist/esm/models/work-order-issue-type-settings-add-or-update-vo.js +0 -14
- package/dist/esm/models/work-order-issue-type-settings-entity.d.ts +0 -68
- package/dist/esm/models/work-order-issue-type-settings-entity.js +0 -14
- package/dist/models/exploration-work-order-details-dto.d.ts +0 -123
- package/dist/models/exploration-work-order-info.d.ts +0 -111
- package/dist/models/exploration-work-order-info.js +0 -22
- package/dist/models/exploration-work-order-submit-vo.d.ts +0 -36
- package/dist/models/exploration-work-order-type-enum.d.ts +0 -20
- package/dist/models/exploration-work-order-type-enum.js +0 -24
- package/dist/models/insurance-notice-vo.d.ts +0 -54
- package/dist/models/insurance-notice-vo.js +0 -15
- package/dist/models/insurance-work-order-issue-vo.d.ts +0 -86
- package/dist/models/insurance-work-order-issue-vo.js +0 -22
- package/dist/models/insurance-work-order-vo.d.ts +0 -37
- package/dist/models/insurance-work-order-vo.js +0 -15
- package/dist/models/json-result-exploration-work-order-details-dto.d.ts +0 -62
- package/dist/models/json-result-exploration-work-order-details-dto.js +0 -15
- package/dist/models/json-result-list-work-order-issue-type-settings-entity.d.ts +0 -62
- package/dist/models/json-result-list-work-order-issue-type-settings-entity.js +0 -15
- package/dist/models/json-result-notice-entity.d.ts +0 -62
- package/dist/models/json-result-notice-entity.js +0 -15
- package/dist/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +0 -62
- package/dist/models/json-result-page-dto-open-api-equipment-list-dto.js +0 -15
- package/dist/models/json-result-work-order-issue-type-settings-entity.d.ts +0 -62
- package/dist/models/json-result-work-order-issue-type-settings-entity.js +0 -15
- package/dist/models/notice-add-vo.js +0 -15
- package/dist/models/notice-entity.d.ts +0 -90
- package/dist/models/notice-entity.js +0 -15
- package/dist/models/open-api-equipment-list-dto.d.ts +0 -110
- package/dist/models/open-api-equipment-list-dto.js +0 -15
- package/dist/models/page-dto-open-api-equipment-list-dto.d.ts +0 -31
- package/dist/models/page-dto-open-api-equipment-list-dto.js +0 -15
- package/dist/models/user-source-enum.d.ts +0 -21
- package/dist/models/user-source-enum.js +0 -25
- package/dist/models/work-order-equipment-dto.d.ts +0 -36
- package/dist/models/work-order-equipment-dto.js +0 -15
- package/dist/models/work-order-issue-type-settings-add-or-update-vo.d.ts +0 -44
- package/dist/models/work-order-issue-type-settings-add-or-update-vo.js +0 -15
- package/dist/models/work-order-issue-type-settings-entity.d.ts +0 -68
- package/dist/models/work-order-issue-type-settings-entity.js +0 -15
- package/models/exploration-work-order-details-dto.ts +0 -149
- package/models/exploration-work-order-info.ts +0 -124
- package/models/exploration-work-order-submit-vo.ts +0 -42
- package/models/exploration-work-order-type-enum.ts +0 -30
- package/models/insurance-notice-vo.ts +0 -60
- package/models/insurance-work-order-issue-vo.ts +0 -97
- package/models/insurance-work-order-vo.ts +0 -45
- package/models/json-result-exploration-work-order-details-dto.ts +0 -72
- package/models/json-result-list-work-order-issue-type-settings-entity.ts +0 -72
- package/models/json-result-notice-entity.ts +0 -72
- package/models/json-result-page-dto-open-api-equipment-list-dto.ts +0 -72
- package/models/json-result-work-order-issue-type-settings-entity.ts +0 -72
- package/models/notice-entity.ts +0 -96
- package/models/open-api-equipment-list-dto.ts +0 -122
- package/models/page-dto-open-api-equipment-list-dto.ts +0 -39
- package/models/user-source-enum.ts +0 -31
- package/models/work-order-equipment-dto.ts +0 -42
- package/models/work-order-issue-type-settings-add-or-update-vo.ts +0 -56
- package/models/work-order-issue-type-settings-entity.ts +0 -80
- /package/dist/esm/models/{exploration-work-order-details-dto.js → notice-vo.js} +0 -0
- /package/dist/esm/models/{exploration-work-order-submit-vo.js → sys-user-msg-notice-add-vo.js} +0 -0
- /package/dist/models/{exploration-work-order-details-dto.js → notice-vo.js} +0 -0
- /package/dist/models/{exploration-work-order-submit-vo.js → sys-user-msg-notice-add-vo.js} +0 -0
|
@@ -67,6 +67,40 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
67
67
|
options: localVarRequestOptions,
|
|
68
68
|
};
|
|
69
69
|
}),
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @summary 批量删除/删除
|
|
73
|
+
* @param {string} id
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
delBatchNotice: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
78
|
+
// verify required parameter 'id' is not null or undefined
|
|
79
|
+
(0, common_1.assertParamExists)('delBatchNotice', 'id', id);
|
|
80
|
+
const localVarPath = `/gizone/notice/del/batch`;
|
|
81
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
82
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
83
|
+
let baseOptions;
|
|
84
|
+
if (configuration) {
|
|
85
|
+
baseOptions = configuration.baseOptions;
|
|
86
|
+
}
|
|
87
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
88
|
+
const localVarHeaderParameter = {};
|
|
89
|
+
const localVarQueryParameter = {};
|
|
90
|
+
// authentication tokenScheme required
|
|
91
|
+
// http bearer authentication required
|
|
92
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
93
|
+
if (id !== undefined) {
|
|
94
|
+
localVarQueryParameter['id'] = id;
|
|
95
|
+
}
|
|
96
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
97
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
98
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
99
|
+
return {
|
|
100
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
101
|
+
options: localVarRequestOptions,
|
|
102
|
+
};
|
|
103
|
+
}),
|
|
70
104
|
/**
|
|
71
105
|
*
|
|
72
106
|
* @param {Array<number>} noticeIds
|
|
@@ -100,15 +134,15 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
100
134
|
}),
|
|
101
135
|
/**
|
|
102
136
|
*
|
|
103
|
-
* @
|
|
137
|
+
* @summary 全部标为已读
|
|
138
|
+
* @param {number} parkId
|
|
104
139
|
* @param {*} [options] Override http request option.
|
|
105
140
|
* @throws {RequiredError}
|
|
106
141
|
*/
|
|
107
|
-
|
|
108
|
-
// verify required parameter '
|
|
109
|
-
(0, common_1.assertParamExists)('
|
|
110
|
-
const localVarPath = `/
|
|
111
|
-
.replace(`{${"noticeId"}}`, encodeURIComponent(String(noticeId)));
|
|
142
|
+
editBatchState: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
|
|
143
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
144
|
+
(0, common_1.assertParamExists)('editBatchState', 'parkId', parkId);
|
|
145
|
+
const localVarPath = `/gizone/notice/edit/batch/state`;
|
|
112
146
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
113
147
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
148
|
let baseOptions;
|
|
@@ -121,6 +155,9 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
121
155
|
// authentication tokenScheme required
|
|
122
156
|
// http bearer authentication required
|
|
123
157
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
158
|
+
if (parkId !== undefined) {
|
|
159
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
160
|
+
}
|
|
124
161
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
125
162
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
163
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -131,14 +168,15 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
131
168
|
}),
|
|
132
169
|
/**
|
|
133
170
|
*
|
|
134
|
-
* @
|
|
171
|
+
* @summary 修改状态
|
|
172
|
+
* @param {number} id
|
|
135
173
|
* @param {*} [options] Override http request option.
|
|
136
174
|
* @throws {RequiredError}
|
|
137
175
|
*/
|
|
138
|
-
|
|
139
|
-
// verify required parameter '
|
|
140
|
-
(0, common_1.assertParamExists)('
|
|
141
|
-
const localVarPath = `/
|
|
176
|
+
editStateNotice: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
177
|
+
// verify required parameter 'id' is not null or undefined
|
|
178
|
+
(0, common_1.assertParamExists)('editStateNotice', 'id', id);
|
|
179
|
+
const localVarPath = `/gizone/notice/edit/state`;
|
|
142
180
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
143
181
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
144
182
|
let baseOptions;
|
|
@@ -151,10 +189,8 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
151
189
|
// authentication tokenScheme required
|
|
152
190
|
// http bearer authentication required
|
|
153
191
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
154
|
-
if (
|
|
155
|
-
|
|
156
|
-
localVarQueryParameter[key] = value;
|
|
157
|
-
}
|
|
192
|
+
if (id !== undefined) {
|
|
193
|
+
localVarQueryParameter['id'] = id;
|
|
158
194
|
}
|
|
159
195
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
160
196
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -166,32 +202,30 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
166
202
|
}),
|
|
167
203
|
/**
|
|
168
204
|
*
|
|
169
|
-
* @
|
|
170
|
-
* @param {NoticeAddVo} noticeAddVo
|
|
205
|
+
* @param {number} noticeId
|
|
171
206
|
* @param {*} [options] Override http request option.
|
|
172
207
|
* @throws {RequiredError}
|
|
173
208
|
*/
|
|
174
|
-
|
|
175
|
-
// verify required parameter '
|
|
176
|
-
(0, common_1.assertParamExists)('
|
|
177
|
-
const localVarPath = `/
|
|
209
|
+
getNotification: (noticeId_1, ...args_1) => __awaiter(this, [noticeId_1, ...args_1], void 0, function* (noticeId, options = {}) {
|
|
210
|
+
// verify required parameter 'noticeId' is not null or undefined
|
|
211
|
+
(0, common_1.assertParamExists)('getNotification', 'noticeId', noticeId);
|
|
212
|
+
const localVarPath = `/system/notice/{noticeId}`
|
|
213
|
+
.replace(`{${"noticeId"}}`, encodeURIComponent(String(noticeId)));
|
|
178
214
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
179
215
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
180
216
|
let baseOptions;
|
|
181
217
|
if (configuration) {
|
|
182
218
|
baseOptions = configuration.baseOptions;
|
|
183
219
|
}
|
|
184
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
220
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
185
221
|
const localVarHeaderParameter = {};
|
|
186
222
|
const localVarQueryParameter = {};
|
|
187
223
|
// authentication tokenScheme required
|
|
188
224
|
// http bearer authentication required
|
|
189
225
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
190
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
191
226
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
192
227
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
193
228
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
194
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(noticeAddVo, localVarRequestOptions, configuration);
|
|
195
229
|
return {
|
|
196
230
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
197
231
|
options: localVarRequestOptions,
|
|
@@ -199,28 +233,31 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
199
233
|
}),
|
|
200
234
|
/**
|
|
201
235
|
*
|
|
202
|
-
* @
|
|
203
|
-
* @param {number} id
|
|
236
|
+
* @param {SysNotice} notice
|
|
204
237
|
* @param {*} [options] Override http request option.
|
|
205
238
|
* @throws {RequiredError}
|
|
206
239
|
*/
|
|
207
|
-
|
|
208
|
-
// verify required parameter '
|
|
209
|
-
(0, common_1.assertParamExists)('
|
|
210
|
-
const localVarPath = `/
|
|
211
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
240
|
+
listNotification: (notice_1, ...args_1) => __awaiter(this, [notice_1, ...args_1], void 0, function* (notice, options = {}) {
|
|
241
|
+
// verify required parameter 'notice' is not null or undefined
|
|
242
|
+
(0, common_1.assertParamExists)('listNotification', 'notice', notice);
|
|
243
|
+
const localVarPath = `/system/notice/list`;
|
|
212
244
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
213
245
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
214
246
|
let baseOptions;
|
|
215
247
|
if (configuration) {
|
|
216
248
|
baseOptions = configuration.baseOptions;
|
|
217
249
|
}
|
|
218
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
250
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
219
251
|
const localVarHeaderParameter = {};
|
|
220
252
|
const localVarQueryParameter = {};
|
|
221
253
|
// authentication tokenScheme required
|
|
222
254
|
// http bearer authentication required
|
|
223
255
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
256
|
+
if (notice !== undefined) {
|
|
257
|
+
for (const [key, value] of Object.entries(notice)) {
|
|
258
|
+
localVarQueryParameter[key] = value;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
224
261
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
225
262
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
226
263
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -231,31 +268,32 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
231
268
|
}),
|
|
232
269
|
/**
|
|
233
270
|
*
|
|
234
|
-
* @summary
|
|
235
|
-
* @param {
|
|
271
|
+
* @summary 消息通知列表
|
|
272
|
+
* @param {NoticeVo} noticeVo
|
|
236
273
|
* @param {*} [options] Override http request option.
|
|
237
274
|
* @throws {RequiredError}
|
|
238
275
|
*/
|
|
239
|
-
|
|
240
|
-
// verify required parameter '
|
|
241
|
-
(0, common_1.assertParamExists)('
|
|
242
|
-
const localVarPath = `/gizone/notice/
|
|
243
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
276
|
+
noticeList: (noticeVo_1, ...args_1) => __awaiter(this, [noticeVo_1, ...args_1], void 0, function* (noticeVo, options = {}) {
|
|
277
|
+
// verify required parameter 'noticeVo' is not null or undefined
|
|
278
|
+
(0, common_1.assertParamExists)('noticeList', 'noticeVo', noticeVo);
|
|
279
|
+
const localVarPath = `/gizone/notice/list`;
|
|
244
280
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
245
281
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
246
282
|
let baseOptions;
|
|
247
283
|
if (configuration) {
|
|
248
284
|
baseOptions = configuration.baseOptions;
|
|
249
285
|
}
|
|
250
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
286
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
251
287
|
const localVarHeaderParameter = {};
|
|
252
288
|
const localVarQueryParameter = {};
|
|
253
289
|
// authentication tokenScheme required
|
|
254
290
|
// http bearer authentication required
|
|
255
291
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
292
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
256
293
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
257
294
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
258
295
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
296
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(noticeVo, localVarRequestOptions, configuration);
|
|
259
297
|
return {
|
|
260
298
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
261
299
|
options: localVarRequestOptions,
|
|
@@ -318,6 +356,22 @@ const NotificationApiFp = function (configuration) {
|
|
|
318
356
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
319
357
|
});
|
|
320
358
|
},
|
|
359
|
+
/**
|
|
360
|
+
*
|
|
361
|
+
* @summary 批量删除/删除
|
|
362
|
+
* @param {string} id
|
|
363
|
+
* @param {*} [options] Override http request option.
|
|
364
|
+
* @throws {RequiredError}
|
|
365
|
+
*/
|
|
366
|
+
delBatchNotice(id, options) {
|
|
367
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
368
|
+
var _a, _b, _c;
|
|
369
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.delBatchNotice(id, options);
|
|
370
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
371
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationApi.delBatchNotice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
372
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
373
|
+
});
|
|
374
|
+
},
|
|
321
375
|
/**
|
|
322
376
|
*
|
|
323
377
|
* @param {Array<number>} noticeIds
|
|
@@ -335,79 +389,79 @@ const NotificationApiFp = function (configuration) {
|
|
|
335
389
|
},
|
|
336
390
|
/**
|
|
337
391
|
*
|
|
338
|
-
* @
|
|
392
|
+
* @summary 全部标为已读
|
|
393
|
+
* @param {number} parkId
|
|
339
394
|
* @param {*} [options] Override http request option.
|
|
340
395
|
* @throws {RequiredError}
|
|
341
396
|
*/
|
|
342
|
-
|
|
397
|
+
editBatchState(parkId, options) {
|
|
343
398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
344
399
|
var _a, _b, _c;
|
|
345
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
400
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editBatchState(parkId, options);
|
|
346
401
|
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['NotificationApi.
|
|
402
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationApi.editBatchState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
348
403
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
349
404
|
});
|
|
350
405
|
},
|
|
351
406
|
/**
|
|
352
407
|
*
|
|
353
|
-
* @
|
|
408
|
+
* @summary 修改状态
|
|
409
|
+
* @param {number} id
|
|
354
410
|
* @param {*} [options] Override http request option.
|
|
355
411
|
* @throws {RequiredError}
|
|
356
412
|
*/
|
|
357
|
-
|
|
413
|
+
editStateNotice(id, options) {
|
|
358
414
|
return __awaiter(this, void 0, void 0, function* () {
|
|
359
415
|
var _a, _b, _c;
|
|
360
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
416
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editStateNotice(id, options);
|
|
361
417
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
362
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationApi.
|
|
418
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationApi.editStateNotice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
363
419
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
364
420
|
});
|
|
365
421
|
},
|
|
366
422
|
/**
|
|
367
423
|
*
|
|
368
|
-
* @
|
|
369
|
-
* @param {NoticeAddVo} noticeAddVo
|
|
424
|
+
* @param {number} noticeId
|
|
370
425
|
* @param {*} [options] Override http request option.
|
|
371
426
|
* @throws {RequiredError}
|
|
372
427
|
*/
|
|
373
|
-
|
|
428
|
+
getNotification(noticeId, options) {
|
|
374
429
|
return __awaiter(this, void 0, void 0, function* () {
|
|
375
430
|
var _a, _b, _c;
|
|
376
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
431
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getNotification(noticeId, options);
|
|
377
432
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
378
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationApi.
|
|
433
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationApi.getNotification']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
379
434
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
380
435
|
});
|
|
381
436
|
},
|
|
382
437
|
/**
|
|
383
438
|
*
|
|
384
|
-
* @
|
|
385
|
-
* @param {number} id
|
|
439
|
+
* @param {SysNotice} notice
|
|
386
440
|
* @param {*} [options] Override http request option.
|
|
387
441
|
* @throws {RequiredError}
|
|
388
442
|
*/
|
|
389
|
-
|
|
443
|
+
listNotification(notice, options) {
|
|
390
444
|
return __awaiter(this, void 0, void 0, function* () {
|
|
391
445
|
var _a, _b, _c;
|
|
392
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
446
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listNotification(notice, options);
|
|
393
447
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
394
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationApi.
|
|
448
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationApi.listNotification']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
395
449
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
396
450
|
});
|
|
397
451
|
},
|
|
398
452
|
/**
|
|
399
453
|
*
|
|
400
|
-
* @summary
|
|
401
|
-
* @param {
|
|
454
|
+
* @summary 消息通知列表
|
|
455
|
+
* @param {NoticeVo} noticeVo
|
|
402
456
|
* @param {*} [options] Override http request option.
|
|
403
457
|
* @throws {RequiredError}
|
|
404
458
|
*/
|
|
405
|
-
|
|
459
|
+
noticeList(noticeVo, options) {
|
|
406
460
|
return __awaiter(this, void 0, void 0, function* () {
|
|
407
461
|
var _a, _b, _c;
|
|
408
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
462
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeList(noticeVo, options);
|
|
409
463
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
410
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationApi.
|
|
464
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationApi.noticeList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
411
465
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
412
466
|
});
|
|
413
467
|
},
|
|
@@ -445,6 +499,16 @@ const NotificationApiFactory = function (configuration, basePath, axios) {
|
|
|
445
499
|
createNotification(requestParameters, options) {
|
|
446
500
|
return localVarFp.createNotification(requestParameters.sysNotice, options).then((request) => request(axios, basePath));
|
|
447
501
|
},
|
|
502
|
+
/**
|
|
503
|
+
*
|
|
504
|
+
* @summary 批量删除/删除
|
|
505
|
+
* @param {NotificationApiDelBatchNoticeRequest} requestParameters Request parameters.
|
|
506
|
+
* @param {*} [options] Override http request option.
|
|
507
|
+
* @throws {RequiredError}
|
|
508
|
+
*/
|
|
509
|
+
delBatchNotice(requestParameters, options) {
|
|
510
|
+
return localVarFp.delBatchNotice(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
511
|
+
},
|
|
448
512
|
/**
|
|
449
513
|
*
|
|
450
514
|
* @param {NotificationApiDeleteManyNotificationRequest} requestParameters Request parameters.
|
|
@@ -456,51 +520,51 @@ const NotificationApiFactory = function (configuration, basePath, axios) {
|
|
|
456
520
|
},
|
|
457
521
|
/**
|
|
458
522
|
*
|
|
459
|
-
* @
|
|
523
|
+
* @summary 全部标为已读
|
|
524
|
+
* @param {NotificationApiEditBatchStateRequest} requestParameters Request parameters.
|
|
460
525
|
* @param {*} [options] Override http request option.
|
|
461
526
|
* @throws {RequiredError}
|
|
462
527
|
*/
|
|
463
|
-
|
|
464
|
-
return localVarFp.
|
|
528
|
+
editBatchState(requestParameters, options) {
|
|
529
|
+
return localVarFp.editBatchState(requestParameters.parkId, options).then((request) => request(axios, basePath));
|
|
465
530
|
},
|
|
466
531
|
/**
|
|
467
532
|
*
|
|
468
|
-
* @
|
|
533
|
+
* @summary 修改状态
|
|
534
|
+
* @param {NotificationApiEditStateNoticeRequest} requestParameters Request parameters.
|
|
469
535
|
* @param {*} [options] Override http request option.
|
|
470
536
|
* @throws {RequiredError}
|
|
471
537
|
*/
|
|
472
|
-
|
|
473
|
-
return localVarFp.
|
|
538
|
+
editStateNotice(requestParameters, options) {
|
|
539
|
+
return localVarFp.editStateNotice(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
474
540
|
},
|
|
475
541
|
/**
|
|
476
542
|
*
|
|
477
|
-
* @
|
|
478
|
-
* @param {NotificationApiNoticeAddRequest} requestParameters Request parameters.
|
|
543
|
+
* @param {NotificationApiGetNotificationRequest} requestParameters Request parameters.
|
|
479
544
|
* @param {*} [options] Override http request option.
|
|
480
545
|
* @throws {RequiredError}
|
|
481
546
|
*/
|
|
482
|
-
|
|
483
|
-
return localVarFp.
|
|
547
|
+
getNotification(requestParameters, options) {
|
|
548
|
+
return localVarFp.getNotification(requestParameters.noticeId, options).then((request) => request(axios, basePath));
|
|
484
549
|
},
|
|
485
550
|
/**
|
|
486
551
|
*
|
|
487
|
-
* @
|
|
488
|
-
* @param {NotificationApiNoticeDeleteRequest} requestParameters Request parameters.
|
|
552
|
+
* @param {NotificationApiListNotificationRequest} requestParameters Request parameters.
|
|
489
553
|
* @param {*} [options] Override http request option.
|
|
490
554
|
* @throws {RequiredError}
|
|
491
555
|
*/
|
|
492
|
-
|
|
493
|
-
return localVarFp.
|
|
556
|
+
listNotification(requestParameters, options) {
|
|
557
|
+
return localVarFp.listNotification(requestParameters.notice, options).then((request) => request(axios, basePath));
|
|
494
558
|
},
|
|
495
559
|
/**
|
|
496
560
|
*
|
|
497
|
-
* @summary
|
|
498
|
-
* @param {
|
|
561
|
+
* @summary 消息通知列表
|
|
562
|
+
* @param {NotificationApiNoticeListRequest} requestParameters Request parameters.
|
|
499
563
|
* @param {*} [options] Override http request option.
|
|
500
564
|
* @throws {RequiredError}
|
|
501
565
|
*/
|
|
502
|
-
|
|
503
|
-
return localVarFp.
|
|
566
|
+
noticeList(requestParameters, options) {
|
|
567
|
+
return localVarFp.noticeList(requestParameters.noticeVo, options).then((request) => request(axios, basePath));
|
|
504
568
|
},
|
|
505
569
|
/**
|
|
506
570
|
*
|
|
@@ -531,6 +595,17 @@ class NotificationApi extends base_1.BaseAPI {
|
|
|
531
595
|
createNotification(requestParameters, options) {
|
|
532
596
|
return (0, exports.NotificationApiFp)(this.configuration).createNotification(requestParameters.sysNotice, options).then((request) => request(this.axios, this.basePath));
|
|
533
597
|
}
|
|
598
|
+
/**
|
|
599
|
+
*
|
|
600
|
+
* @summary 批量删除/删除
|
|
601
|
+
* @param {NotificationApiDelBatchNoticeRequest} requestParameters Request parameters.
|
|
602
|
+
* @param {*} [options] Override http request option.
|
|
603
|
+
* @throws {RequiredError}
|
|
604
|
+
* @memberof NotificationApi
|
|
605
|
+
*/
|
|
606
|
+
delBatchNotice(requestParameters, options) {
|
|
607
|
+
return (0, exports.NotificationApiFp)(this.configuration).delBatchNotice(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
608
|
+
}
|
|
534
609
|
/**
|
|
535
610
|
*
|
|
536
611
|
* @param {NotificationApiDeleteManyNotificationRequest} requestParameters Request parameters.
|
|
@@ -543,56 +618,56 @@ class NotificationApi extends base_1.BaseAPI {
|
|
|
543
618
|
}
|
|
544
619
|
/**
|
|
545
620
|
*
|
|
546
|
-
* @
|
|
621
|
+
* @summary 全部标为已读
|
|
622
|
+
* @param {NotificationApiEditBatchStateRequest} requestParameters Request parameters.
|
|
547
623
|
* @param {*} [options] Override http request option.
|
|
548
624
|
* @throws {RequiredError}
|
|
549
625
|
* @memberof NotificationApi
|
|
550
626
|
*/
|
|
551
|
-
|
|
552
|
-
return (0, exports.NotificationApiFp)(this.configuration).
|
|
627
|
+
editBatchState(requestParameters, options) {
|
|
628
|
+
return (0, exports.NotificationApiFp)(this.configuration).editBatchState(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
|
|
553
629
|
}
|
|
554
630
|
/**
|
|
555
631
|
*
|
|
556
|
-
* @
|
|
632
|
+
* @summary 修改状态
|
|
633
|
+
* @param {NotificationApiEditStateNoticeRequest} requestParameters Request parameters.
|
|
557
634
|
* @param {*} [options] Override http request option.
|
|
558
635
|
* @throws {RequiredError}
|
|
559
636
|
* @memberof NotificationApi
|
|
560
637
|
*/
|
|
561
|
-
|
|
562
|
-
return (0, exports.NotificationApiFp)(this.configuration).
|
|
638
|
+
editStateNotice(requestParameters, options) {
|
|
639
|
+
return (0, exports.NotificationApiFp)(this.configuration).editStateNotice(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
563
640
|
}
|
|
564
641
|
/**
|
|
565
642
|
*
|
|
566
|
-
* @
|
|
567
|
-
* @param {NotificationApiNoticeAddRequest} requestParameters Request parameters.
|
|
643
|
+
* @param {NotificationApiGetNotificationRequest} requestParameters Request parameters.
|
|
568
644
|
* @param {*} [options] Override http request option.
|
|
569
645
|
* @throws {RequiredError}
|
|
570
646
|
* @memberof NotificationApi
|
|
571
647
|
*/
|
|
572
|
-
|
|
573
|
-
return (0, exports.NotificationApiFp)(this.configuration).
|
|
648
|
+
getNotification(requestParameters, options) {
|
|
649
|
+
return (0, exports.NotificationApiFp)(this.configuration).getNotification(requestParameters.noticeId, options).then((request) => request(this.axios, this.basePath));
|
|
574
650
|
}
|
|
575
651
|
/**
|
|
576
652
|
*
|
|
577
|
-
* @
|
|
578
|
-
* @param {NotificationApiNoticeDeleteRequest} requestParameters Request parameters.
|
|
653
|
+
* @param {NotificationApiListNotificationRequest} requestParameters Request parameters.
|
|
579
654
|
* @param {*} [options] Override http request option.
|
|
580
655
|
* @throws {RequiredError}
|
|
581
656
|
* @memberof NotificationApi
|
|
582
657
|
*/
|
|
583
|
-
|
|
584
|
-
return (0, exports.NotificationApiFp)(this.configuration).
|
|
658
|
+
listNotification(requestParameters, options) {
|
|
659
|
+
return (0, exports.NotificationApiFp)(this.configuration).listNotification(requestParameters.notice, options).then((request) => request(this.axios, this.basePath));
|
|
585
660
|
}
|
|
586
661
|
/**
|
|
587
662
|
*
|
|
588
|
-
* @summary
|
|
589
|
-
* @param {
|
|
663
|
+
* @summary 消息通知列表
|
|
664
|
+
* @param {NotificationApiNoticeListRequest} requestParameters Request parameters.
|
|
590
665
|
* @param {*} [options] Override http request option.
|
|
591
666
|
* @throws {RequiredError}
|
|
592
667
|
* @memberof NotificationApi
|
|
593
668
|
*/
|
|
594
|
-
|
|
595
|
-
return (0, exports.NotificationApiFp)(this.configuration).
|
|
669
|
+
noticeList(requestParameters, options) {
|
|
670
|
+
return (0, exports.NotificationApiFp)(this.configuration).noticeList(requestParameters.noticeVo, options).then((request) => request(this.axios, this.basePath));
|
|
596
671
|
}
|
|
597
672
|
/**
|
|
598
673
|
*
|