@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
@@ -64,40 +64,6 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
64
64
  options: localVarRequestOptions,
65
65
  };
66
66
  }),
67
- /**
68
- *
69
- * @summary 批量删除/删除
70
- * @param {string} id
71
- * @param {*} [options] Override http request option.
72
- * @throws {RequiredError}
73
- */
74
- delBatchNotice: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
75
- // verify required parameter 'id' is not null or undefined
76
- assertParamExists('delBatchNotice', 'id', id);
77
- const localVarPath = `/gizone/notice/del/batch`;
78
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
79
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80
- let baseOptions;
81
- if (configuration) {
82
- baseOptions = configuration.baseOptions;
83
- }
84
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
85
- const localVarHeaderParameter = {};
86
- const localVarQueryParameter = {};
87
- // authentication tokenScheme required
88
- // http bearer authentication required
89
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
90
- if (id !== undefined) {
91
- localVarQueryParameter['id'] = id;
92
- }
93
- setSearchParams(localVarUrlObj, localVarQueryParameter);
94
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
95
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
96
- return {
97
- url: toPathString(localVarUrlObj),
98
- options: localVarRequestOptions,
99
- };
100
- }),
101
67
  /**
102
68
  *
103
69
  * @param {Array<number>} noticeIds
@@ -131,15 +97,15 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
131
97
  }),
132
98
  /**
133
99
  *
134
- * @summary 全部标为已读
135
- * @param {number} parkId
100
+ * @param {number} noticeId
136
101
  * @param {*} [options] Override http request option.
137
102
  * @throws {RequiredError}
138
103
  */
139
- editBatchState: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
140
- // verify required parameter 'parkId' is not null or undefined
141
- assertParamExists('editBatchState', 'parkId', parkId);
142
- const localVarPath = `/gizone/notice/edit/batch/state`;
104
+ getNotification: (noticeId_1, ...args_1) => __awaiter(this, [noticeId_1, ...args_1], void 0, function* (noticeId, options = {}) {
105
+ // verify required parameter 'noticeId' is not null or undefined
106
+ assertParamExists('getNotification', 'noticeId', noticeId);
107
+ const localVarPath = `/system/notice/{noticeId}`
108
+ .replace(`{${"noticeId"}}`, encodeURIComponent(String(noticeId)));
143
109
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
144
110
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
145
111
  let baseOptions;
@@ -152,9 +118,6 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
152
118
  // authentication tokenScheme required
153
119
  // http bearer authentication required
154
120
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
155
- if (parkId !== undefined) {
156
- localVarQueryParameter['parkId'] = parkId;
157
- }
158
121
  setSearchParams(localVarUrlObj, localVarQueryParameter);
159
122
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
160
123
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -165,15 +128,14 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
165
128
  }),
166
129
  /**
167
130
  *
168
- * @summary 修改状态
169
- * @param {number} id
131
+ * @param {SysNotice} notice
170
132
  * @param {*} [options] Override http request option.
171
133
  * @throws {RequiredError}
172
134
  */
173
- editStateNotice: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
174
- // verify required parameter 'id' is not null or undefined
175
- assertParamExists('editStateNotice', 'id', id);
176
- const localVarPath = `/gizone/notice/edit/state`;
135
+ listNotification: (notice_1, ...args_1) => __awaiter(this, [notice_1, ...args_1], void 0, function* (notice, options = {}) {
136
+ // verify required parameter 'notice' is not null or undefined
137
+ assertParamExists('listNotification', 'notice', notice);
138
+ const localVarPath = `/system/notice/list`;
177
139
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
178
140
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
179
141
  let baseOptions;
@@ -186,8 +148,10 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
186
148
  // authentication tokenScheme required
187
149
  // http bearer authentication required
188
150
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
189
- if (id !== undefined) {
190
- localVarQueryParameter['id'] = id;
151
+ if (notice !== undefined) {
152
+ for (const [key, value] of Object.entries(notice)) {
153
+ localVarQueryParameter[key] = value;
154
+ }
191
155
  }
192
156
  setSearchParams(localVarUrlObj, localVarQueryParameter);
193
157
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -199,30 +163,32 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
199
163
  }),
200
164
  /**
201
165
  *
202
- * @param {number} noticeId
166
+ * @summary 添加园区公告
167
+ * @param {NoticeAddVo} noticeAddVo
203
168
  * @param {*} [options] Override http request option.
204
169
  * @throws {RequiredError}
205
170
  */
206
- getNotification: (noticeId_1, ...args_1) => __awaiter(this, [noticeId_1, ...args_1], void 0, function* (noticeId, options = {}) {
207
- // verify required parameter 'noticeId' is not null or undefined
208
- assertParamExists('getNotification', 'noticeId', noticeId);
209
- const localVarPath = `/system/notice/{noticeId}`
210
- .replace(`{${"noticeId"}}`, encodeURIComponent(String(noticeId)));
171
+ noticeAdd: (noticeAddVo_1, ...args_1) => __awaiter(this, [noticeAddVo_1, ...args_1], void 0, function* (noticeAddVo, options = {}) {
172
+ // verify required parameter 'noticeAddVo' is not null or undefined
173
+ assertParamExists('noticeAdd', 'noticeAddVo', noticeAddVo);
174
+ const localVarPath = `/gizone/notice`;
211
175
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
212
176
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
213
177
  let baseOptions;
214
178
  if (configuration) {
215
179
  baseOptions = configuration.baseOptions;
216
180
  }
217
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
181
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
218
182
  const localVarHeaderParameter = {};
219
183
  const localVarQueryParameter = {};
220
184
  // authentication tokenScheme required
221
185
  // http bearer authentication required
222
186
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
187
+ localVarHeaderParameter['Content-Type'] = 'application/json';
223
188
  setSearchParams(localVarUrlObj, localVarQueryParameter);
224
189
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
225
190
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
191
+ localVarRequestOptions.data = serializeDataIfNeeded(noticeAddVo, localVarRequestOptions, configuration);
226
192
  return {
227
193
  url: toPathString(localVarUrlObj),
228
194
  options: localVarRequestOptions,
@@ -230,31 +196,28 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
230
196
  }),
231
197
  /**
232
198
  *
233
- * @param {SysNotice} notice
199
+ * @summary 删除园区公告
200
+ * @param {number} id
234
201
  * @param {*} [options] Override http request option.
235
202
  * @throws {RequiredError}
236
203
  */
237
- listNotification: (notice_1, ...args_1) => __awaiter(this, [notice_1, ...args_1], void 0, function* (notice, options = {}) {
238
- // verify required parameter 'notice' is not null or undefined
239
- assertParamExists('listNotification', 'notice', notice);
240
- const localVarPath = `/system/notice/list`;
204
+ noticeDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
205
+ // verify required parameter 'id' is not null or undefined
206
+ assertParamExists('noticeDelete', 'id', id);
207
+ const localVarPath = `/gizone/notice/{id}`
208
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
241
209
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
242
210
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
243
211
  let baseOptions;
244
212
  if (configuration) {
245
213
  baseOptions = configuration.baseOptions;
246
214
  }
247
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
215
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
248
216
  const localVarHeaderParameter = {};
249
217
  const localVarQueryParameter = {};
250
218
  // authentication tokenScheme required
251
219
  // http bearer authentication required
252
220
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
253
- if (notice !== undefined) {
254
- for (const [key, value] of Object.entries(notice)) {
255
- localVarQueryParameter[key] = value;
256
- }
257
- }
258
221
  setSearchParams(localVarUrlObj, localVarQueryParameter);
259
222
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
260
223
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -265,32 +228,31 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
265
228
  }),
266
229
  /**
267
230
  *
268
- * @summary 消息通知列表
269
- * @param {NoticeVo} noticeVo
231
+ * @summary 园区公告详情
232
+ * @param {number} id
270
233
  * @param {*} [options] Override http request option.
271
234
  * @throws {RequiredError}
272
235
  */
273
- noticeList: (noticeVo_1, ...args_1) => __awaiter(this, [noticeVo_1, ...args_1], void 0, function* (noticeVo, options = {}) {
274
- // verify required parameter 'noticeVo' is not null or undefined
275
- assertParamExists('noticeList', 'noticeVo', noticeVo);
276
- const localVarPath = `/gizone/notice/list`;
236
+ noticeDetails: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
237
+ // verify required parameter 'id' is not null or undefined
238
+ assertParamExists('noticeDetails', 'id', id);
239
+ const localVarPath = `/gizone/notice/{id}`
240
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
277
241
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
278
242
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
279
243
  let baseOptions;
280
244
  if (configuration) {
281
245
  baseOptions = configuration.baseOptions;
282
246
  }
283
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
247
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
284
248
  const localVarHeaderParameter = {};
285
249
  const localVarQueryParameter = {};
286
250
  // authentication tokenScheme required
287
251
  // http bearer authentication required
288
252
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
289
- localVarHeaderParameter['Content-Type'] = 'application/json';
290
253
  setSearchParams(localVarUrlObj, localVarQueryParameter);
291
254
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
292
255
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
293
- localVarRequestOptions.data = serializeDataIfNeeded(noticeVo, localVarRequestOptions, configuration);
294
256
  return {
295
257
  url: toPathString(localVarUrlObj),
296
258
  options: localVarRequestOptions,
@@ -352,22 +314,6 @@ export const NotificationApiFp = function (configuration) {
352
314
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
353
315
  });
354
316
  },
355
- /**
356
- *
357
- * @summary 批量删除/删除
358
- * @param {string} id
359
- * @param {*} [options] Override http request option.
360
- * @throws {RequiredError}
361
- */
362
- delBatchNotice(id, options) {
363
- return __awaiter(this, void 0, void 0, function* () {
364
- var _a, _b, _c;
365
- const localVarAxiosArgs = yield localVarAxiosParamCreator.delBatchNotice(id, options);
366
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
367
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NotificationApi.delBatchNotice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
368
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
369
- });
370
- },
371
317
  /**
372
318
  *
373
319
  * @param {Array<number>} noticeIds
@@ -385,79 +331,79 @@ export const NotificationApiFp = function (configuration) {
385
331
  },
386
332
  /**
387
333
  *
388
- * @summary 全部标为已读
389
- * @param {number} parkId
334
+ * @param {number} noticeId
390
335
  * @param {*} [options] Override http request option.
391
336
  * @throws {RequiredError}
392
337
  */
393
- editBatchState(parkId, options) {
338
+ getNotification(noticeId, options) {
394
339
  return __awaiter(this, void 0, void 0, function* () {
395
340
  var _a, _b, _c;
396
- const localVarAxiosArgs = yield localVarAxiosParamCreator.editBatchState(parkId, options);
341
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getNotification(noticeId, options);
397
342
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
398
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NotificationApi.editBatchState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
343
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NotificationApi.getNotification']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
399
344
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
400
345
  });
401
346
  },
402
347
  /**
403
348
  *
404
- * @summary 修改状态
405
- * @param {number} id
349
+ * @param {SysNotice} notice
406
350
  * @param {*} [options] Override http request option.
407
351
  * @throws {RequiredError}
408
352
  */
409
- editStateNotice(id, options) {
353
+ listNotification(notice, options) {
410
354
  return __awaiter(this, void 0, void 0, function* () {
411
355
  var _a, _b, _c;
412
- const localVarAxiosArgs = yield localVarAxiosParamCreator.editStateNotice(id, options);
356
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listNotification(notice, options);
413
357
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
414
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NotificationApi.editStateNotice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
358
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NotificationApi.listNotification']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
415
359
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
416
360
  });
417
361
  },
418
362
  /**
419
363
  *
420
- * @param {number} noticeId
364
+ * @summary 添加园区公告
365
+ * @param {NoticeAddVo} noticeAddVo
421
366
  * @param {*} [options] Override http request option.
422
367
  * @throws {RequiredError}
423
368
  */
424
- getNotification(noticeId, options) {
369
+ noticeAdd(noticeAddVo, options) {
425
370
  return __awaiter(this, void 0, void 0, function* () {
426
371
  var _a, _b, _c;
427
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getNotification(noticeId, options);
372
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeAdd(noticeAddVo, options);
428
373
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
429
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NotificationApi.getNotification']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
374
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NotificationApi.noticeAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
430
375
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
431
376
  });
432
377
  },
433
378
  /**
434
379
  *
435
- * @param {SysNotice} notice
380
+ * @summary 删除园区公告
381
+ * @param {number} id
436
382
  * @param {*} [options] Override http request option.
437
383
  * @throws {RequiredError}
438
384
  */
439
- listNotification(notice, options) {
385
+ noticeDelete(id, options) {
440
386
  return __awaiter(this, void 0, void 0, function* () {
441
387
  var _a, _b, _c;
442
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listNotification(notice, options);
388
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeDelete(id, options);
443
389
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
444
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NotificationApi.listNotification']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
390
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NotificationApi.noticeDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
445
391
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
446
392
  });
447
393
  },
448
394
  /**
449
395
  *
450
- * @summary 消息通知列表
451
- * @param {NoticeVo} noticeVo
396
+ * @summary 园区公告详情
397
+ * @param {number} id
452
398
  * @param {*} [options] Override http request option.
453
399
  * @throws {RequiredError}
454
400
  */
455
- noticeList(noticeVo, options) {
401
+ noticeDetails(id, options) {
456
402
  return __awaiter(this, void 0, void 0, function* () {
457
403
  var _a, _b, _c;
458
- const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeList(noticeVo, options);
404
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeDetails(id, options);
459
405
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
460
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NotificationApi.noticeList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
406
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NotificationApi.noticeDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
461
407
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
462
408
  });
463
409
  },
@@ -494,16 +440,6 @@ export const NotificationApiFactory = function (configuration, basePath, axios)
494
440
  createNotification(requestParameters, options) {
495
441
  return localVarFp.createNotification(requestParameters.sysNotice, options).then((request) => request(axios, basePath));
496
442
  },
497
- /**
498
- *
499
- * @summary 批量删除/删除
500
- * @param {NotificationApiDelBatchNoticeRequest} requestParameters Request parameters.
501
- * @param {*} [options] Override http request option.
502
- * @throws {RequiredError}
503
- */
504
- delBatchNotice(requestParameters, options) {
505
- return localVarFp.delBatchNotice(requestParameters.id, options).then((request) => request(axios, basePath));
506
- },
507
443
  /**
508
444
  *
509
445
  * @param {NotificationApiDeleteManyNotificationRequest} requestParameters Request parameters.
@@ -515,51 +451,51 @@ export const NotificationApiFactory = function (configuration, basePath, axios)
515
451
  },
516
452
  /**
517
453
  *
518
- * @summary 全部标为已读
519
- * @param {NotificationApiEditBatchStateRequest} requestParameters Request parameters.
454
+ * @param {NotificationApiGetNotificationRequest} requestParameters Request parameters.
520
455
  * @param {*} [options] Override http request option.
521
456
  * @throws {RequiredError}
522
457
  */
523
- editBatchState(requestParameters, options) {
524
- return localVarFp.editBatchState(requestParameters.parkId, options).then((request) => request(axios, basePath));
458
+ getNotification(requestParameters, options) {
459
+ return localVarFp.getNotification(requestParameters.noticeId, options).then((request) => request(axios, basePath));
525
460
  },
526
461
  /**
527
462
  *
528
- * @summary 修改状态
529
- * @param {NotificationApiEditStateNoticeRequest} requestParameters Request parameters.
463
+ * @param {NotificationApiListNotificationRequest} requestParameters Request parameters.
530
464
  * @param {*} [options] Override http request option.
531
465
  * @throws {RequiredError}
532
466
  */
533
- editStateNotice(requestParameters, options) {
534
- return localVarFp.editStateNotice(requestParameters.id, options).then((request) => request(axios, basePath));
467
+ listNotification(requestParameters, options) {
468
+ return localVarFp.listNotification(requestParameters.notice, options).then((request) => request(axios, basePath));
535
469
  },
536
470
  /**
537
471
  *
538
- * @param {NotificationApiGetNotificationRequest} requestParameters Request parameters.
472
+ * @summary 添加园区公告
473
+ * @param {NotificationApiNoticeAddRequest} requestParameters Request parameters.
539
474
  * @param {*} [options] Override http request option.
540
475
  * @throws {RequiredError}
541
476
  */
542
- getNotification(requestParameters, options) {
543
- return localVarFp.getNotification(requestParameters.noticeId, options).then((request) => request(axios, basePath));
477
+ noticeAdd(requestParameters, options) {
478
+ return localVarFp.noticeAdd(requestParameters.noticeAddVo, options).then((request) => request(axios, basePath));
544
479
  },
545
480
  /**
546
481
  *
547
- * @param {NotificationApiListNotificationRequest} requestParameters Request parameters.
482
+ * @summary 删除园区公告
483
+ * @param {NotificationApiNoticeDeleteRequest} requestParameters Request parameters.
548
484
  * @param {*} [options] Override http request option.
549
485
  * @throws {RequiredError}
550
486
  */
551
- listNotification(requestParameters, options) {
552
- return localVarFp.listNotification(requestParameters.notice, options).then((request) => request(axios, basePath));
487
+ noticeDelete(requestParameters, options) {
488
+ return localVarFp.noticeDelete(requestParameters.id, options).then((request) => request(axios, basePath));
553
489
  },
554
490
  /**
555
491
  *
556
- * @summary 消息通知列表
557
- * @param {NotificationApiNoticeListRequest} requestParameters Request parameters.
492
+ * @summary 园区公告详情
493
+ * @param {NotificationApiNoticeDetailsRequest} requestParameters Request parameters.
558
494
  * @param {*} [options] Override http request option.
559
495
  * @throws {RequiredError}
560
496
  */
561
- noticeList(requestParameters, options) {
562
- return localVarFp.noticeList(requestParameters.noticeVo, options).then((request) => request(axios, basePath));
497
+ noticeDetails(requestParameters, options) {
498
+ return localVarFp.noticeDetails(requestParameters.id, options).then((request) => request(axios, basePath));
563
499
  },
564
500
  /**
565
501
  *
@@ -589,17 +525,6 @@ export class NotificationApi extends BaseAPI {
589
525
  createNotification(requestParameters, options) {
590
526
  return NotificationApiFp(this.configuration).createNotification(requestParameters.sysNotice, options).then((request) => request(this.axios, this.basePath));
591
527
  }
592
- /**
593
- *
594
- * @summary 批量删除/删除
595
- * @param {NotificationApiDelBatchNoticeRequest} requestParameters Request parameters.
596
- * @param {*} [options] Override http request option.
597
- * @throws {RequiredError}
598
- * @memberof NotificationApi
599
- */
600
- delBatchNotice(requestParameters, options) {
601
- return NotificationApiFp(this.configuration).delBatchNotice(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
602
- }
603
528
  /**
604
529
  *
605
530
  * @param {NotificationApiDeleteManyNotificationRequest} requestParameters Request parameters.
@@ -612,56 +537,56 @@ export class NotificationApi extends BaseAPI {
612
537
  }
613
538
  /**
614
539
  *
615
- * @summary 全部标为已读
616
- * @param {NotificationApiEditBatchStateRequest} requestParameters Request parameters.
540
+ * @param {NotificationApiGetNotificationRequest} requestParameters Request parameters.
617
541
  * @param {*} [options] Override http request option.
618
542
  * @throws {RequiredError}
619
543
  * @memberof NotificationApi
620
544
  */
621
- editBatchState(requestParameters, options) {
622
- return NotificationApiFp(this.configuration).editBatchState(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
545
+ getNotification(requestParameters, options) {
546
+ return NotificationApiFp(this.configuration).getNotification(requestParameters.noticeId, options).then((request) => request(this.axios, this.basePath));
623
547
  }
624
548
  /**
625
549
  *
626
- * @summary 修改状态
627
- * @param {NotificationApiEditStateNoticeRequest} requestParameters Request parameters.
550
+ * @param {NotificationApiListNotificationRequest} requestParameters Request parameters.
628
551
  * @param {*} [options] Override http request option.
629
552
  * @throws {RequiredError}
630
553
  * @memberof NotificationApi
631
554
  */
632
- editStateNotice(requestParameters, options) {
633
- return NotificationApiFp(this.configuration).editStateNotice(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
555
+ listNotification(requestParameters, options) {
556
+ return NotificationApiFp(this.configuration).listNotification(requestParameters.notice, options).then((request) => request(this.axios, this.basePath));
634
557
  }
635
558
  /**
636
559
  *
637
- * @param {NotificationApiGetNotificationRequest} requestParameters Request parameters.
560
+ * @summary 添加园区公告
561
+ * @param {NotificationApiNoticeAddRequest} requestParameters Request parameters.
638
562
  * @param {*} [options] Override http request option.
639
563
  * @throws {RequiredError}
640
564
  * @memberof NotificationApi
641
565
  */
642
- getNotification(requestParameters, options) {
643
- return NotificationApiFp(this.configuration).getNotification(requestParameters.noticeId, options).then((request) => request(this.axios, this.basePath));
566
+ noticeAdd(requestParameters, options) {
567
+ return NotificationApiFp(this.configuration).noticeAdd(requestParameters.noticeAddVo, options).then((request) => request(this.axios, this.basePath));
644
568
  }
645
569
  /**
646
570
  *
647
- * @param {NotificationApiListNotificationRequest} requestParameters Request parameters.
571
+ * @summary 删除园区公告
572
+ * @param {NotificationApiNoticeDeleteRequest} requestParameters Request parameters.
648
573
  * @param {*} [options] Override http request option.
649
574
  * @throws {RequiredError}
650
575
  * @memberof NotificationApi
651
576
  */
652
- listNotification(requestParameters, options) {
653
- return NotificationApiFp(this.configuration).listNotification(requestParameters.notice, options).then((request) => request(this.axios, this.basePath));
577
+ noticeDelete(requestParameters, options) {
578
+ return NotificationApiFp(this.configuration).noticeDelete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
654
579
  }
655
580
  /**
656
581
  *
657
- * @summary 消息通知列表
658
- * @param {NotificationApiNoticeListRequest} requestParameters Request parameters.
582
+ * @summary 园区公告详情
583
+ * @param {NotificationApiNoticeDetailsRequest} requestParameters Request parameters.
659
584
  * @param {*} [options] Override http request option.
660
585
  * @throws {RequiredError}
661
586
  * @memberof NotificationApi
662
587
  */
663
- noticeList(requestParameters, options) {
664
- return NotificationApiFp(this.configuration).noticeList(requestParameters.noticeVo, options).then((request) => request(this.axios, this.basePath));
588
+ noticeDetails(requestParameters, options) {
589
+ return NotificationApiFp(this.configuration).noticeDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
665
590
  }
666
591
  /**
667
592
  *
@@ -207,6 +207,7 @@ export * from './json-result-list-work-order-step-by-step-push-user-details-dto'
207
207
  export * from './json-result-maintenance-standard-entity';
208
208
  export * from './json-result-monitoring-coverage-alert-work-order-details-dto';
209
209
  export * from './json-result-network-monitor-repair-details-dto';
210
+ export * from './json-result-notice-entity';
210
211
  export * from './json-result-offline-alert-work-order-details-dto';
211
212
  export * from './json-result-page-dto-access-appointment-record-details-dto';
212
213
  export * from './json-result-page-dto-access-blacklist-details-dto';
@@ -267,7 +268,8 @@ export * from './network-monitor-repair-details-dto';
267
268
  export * from './network-repair-info';
268
269
  export * from './news-in-button';
269
270
  export * from './news-info';
270
- export * from './notice-vo';
271
+ export * from './notice-add-vo';
272
+ export * from './notice-entity';
271
273
  export * from './offline-alert-device-vo';
272
274
  export * from './offline-alert-submit-vo';
273
275
  export * from './offline-alert-work-order-details-dto';
@@ -396,7 +398,6 @@ export * from './sys-user-attachment-info';
396
398
  export * from './sys-user-drop-down-box-list-dto';
397
399
  export * from './sys-user-info-dto';
398
400
  export * from './sys-user-msg-dto';
399
- export * from './sys-user-msg-notice-add-vo';
400
401
  export * from './sys-user-role';
401
402
  export * from './system-user-msg-source-type-enum';
402
403
  export * from './system-user-msg-type-enum';
@@ -207,6 +207,7 @@ export * from './json-result-list-work-order-step-by-step-push-user-details-dto'
207
207
  export * from './json-result-maintenance-standard-entity';
208
208
  export * from './json-result-monitoring-coverage-alert-work-order-details-dto';
209
209
  export * from './json-result-network-monitor-repair-details-dto';
210
+ export * from './json-result-notice-entity';
210
211
  export * from './json-result-offline-alert-work-order-details-dto';
211
212
  export * from './json-result-page-dto-access-appointment-record-details-dto';
212
213
  export * from './json-result-page-dto-access-blacklist-details-dto';
@@ -267,7 +268,8 @@ export * from './network-monitor-repair-details-dto';
267
268
  export * from './network-repair-info';
268
269
  export * from './news-in-button';
269
270
  export * from './news-info';
270
- export * from './notice-vo';
271
+ export * from './notice-add-vo';
272
+ export * from './notice-entity';
271
273
  export * from './offline-alert-device-vo';
272
274
  export * from './offline-alert-submit-vo';
273
275
  export * from './offline-alert-work-order-details-dto';
@@ -396,7 +398,6 @@ export * from './sys-user-attachment-info';
396
398
  export * from './sys-user-drop-down-box-list-dto';
397
399
  export * from './sys-user-info-dto';
398
400
  export * from './sys-user-msg-dto';
399
- export * from './sys-user-msg-notice-add-vo';
400
401
  export * from './sys-user-role';
401
402
  export * from './system-user-msg-source-type-enum';
402
403
  export * from './system-user-msg-type-enum';
@@ -0,0 +1,62 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { BaseErrorResult } from './base-error-result';
13
+ import type { NoticeEntity } from './notice-entity';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface JsonResultNoticeEntity
18
+ */
19
+ export interface JsonResultNoticeEntity {
20
+ /**
21
+ * 错误码,0:成功,其他:失败
22
+ * @type {number}
23
+ * @memberof JsonResultNoticeEntity
24
+ */
25
+ 'code'?: number;
26
+ /**
27
+ * 错误消息
28
+ * @type {string}
29
+ * @memberof JsonResultNoticeEntity
30
+ */
31
+ 'msg'?: string;
32
+ /**
33
+ * 错误堆栈
34
+ * @type {string}
35
+ * @memberof JsonResultNoticeEntity
36
+ */
37
+ 'stacks'?: string;
38
+ /**
39
+ *
40
+ * @type {NoticeEntity}
41
+ * @memberof JsonResultNoticeEntity
42
+ */
43
+ 'data'?: NoticeEntity | null;
44
+ /**
45
+ *
46
+ * @type {BaseErrorResult}
47
+ * @memberof JsonResultNoticeEntity
48
+ */
49
+ 'error'?: BaseErrorResult | null;
50
+ /**
51
+ * 日志追踪ID
52
+ * @type {string}
53
+ * @memberof JsonResultNoticeEntity
54
+ */
55
+ 'traceId'?: string | null;
56
+ /**
57
+ * requestId
58
+ * @type {string}
59
+ * @memberof JsonResultNoticeEntity
60
+ */
61
+ 'requestId'?: string | null;
62
+ }