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

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