@gizone/rrs-client 4.2.0-alpha.361 → 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.
- package/.openapi-generator/FILES +7 -6
- package/apis/message-api.ts +0 -178
- package/apis/notification-api.ts +133 -227
- package/apis/setting-api.ts +61 -61
- package/apis/work-order-api.ts +129 -129
- package/dist/apis/message-api.d.ts +0 -93
- package/dist/apis/message-api.js +0 -139
- package/dist/apis/notification-api.d.ts +90 -135
- package/dist/apis/notification-api.js +99 -174
- package/dist/apis/setting-api.d.ts +40 -40
- package/dist/apis/setting-api.js +40 -40
- package/dist/apis/work-order-api.d.ts +81 -81
- package/dist/apis/work-order-api.js +92 -92
- package/dist/esm/apis/message-api.d.ts +0 -93
- package/dist/esm/apis/message-api.js +1 -140
- package/dist/esm/apis/notification-api.d.ts +90 -135
- package/dist/esm/apis/notification-api.js +99 -174
- package/dist/esm/apis/setting-api.d.ts +40 -40
- package/dist/esm/apis/setting-api.js +40 -40
- package/dist/esm/apis/work-order-api.d.ts +81 -81
- package/dist/esm/apis/work-order-api.js +92 -92
- package/dist/esm/models/index.d.ts +7 -6
- package/dist/esm/models/index.js +7 -6
- package/dist/esm/models/{json-result-list-work-order-execution-time-settings-entity.d.ts → json-result-list-work-order-issue-type-settings-entity.d.ts} +12 -12
- package/dist/{models/json-result-work-order-execution-time-settings-entity.d.ts → esm/models/json-result-notice-entity.d.ts} +12 -12
- package/dist/esm/models/{json-result-work-order-execution-time-settings-entity.d.ts → json-result-work-order-issue-type-settings-entity.d.ts} +12 -12
- package/dist/{models/sys-user-msg-notice-add-vo.d.ts → esm/models/notice-add-vo.d.ts} +8 -8
- package/dist/esm/models/notice-entity.d.ts +90 -0
- package/dist/esm/models/{work-order-execution-time-settings-add-or-update-vo.d.ts → work-order-issue-type-settings-add-or-update-vo.d.ts} +11 -5
- package/dist/esm/models/{work-order-execution-time-settings-entity.d.ts → work-order-issue-type-settings-entity.d.ts} +15 -9
- package/dist/esm/models/work-order-issue-type-settings-entity.js +14 -0
- package/dist/models/index.d.ts +7 -6
- package/dist/models/index.js +7 -6
- package/dist/models/{json-result-list-work-order-execution-time-settings-entity.d.ts → json-result-list-work-order-issue-type-settings-entity.d.ts} +12 -12
- package/dist/models/json-result-notice-entity.d.ts +62 -0
- package/dist/models/json-result-work-order-issue-type-settings-entity.d.ts +62 -0
- package/dist/{esm/models/sys-user-msg-notice-add-vo.d.ts → models/notice-add-vo.d.ts} +8 -8
- package/dist/models/notice-entity.d.ts +90 -0
- package/dist/models/{work-order-execution-time-settings-add-or-update-vo.d.ts → work-order-issue-type-settings-add-or-update-vo.d.ts} +11 -5
- package/dist/models/{work-order-execution-time-settings-entity.d.ts → work-order-issue-type-settings-entity.d.ts} +15 -9
- package/dist/models/work-order-issue-type-settings-entity.js +15 -0
- package/models/index.ts +7 -6
- package/models/{json-result-list-work-order-execution-time-settings-entity.ts → json-result-list-work-order-issue-type-settings-entity.ts} +12 -12
- package/models/{json-result-work-order-execution-time-settings-entity.ts → json-result-notice-entity.ts} +12 -12
- package/models/json-result-work-order-issue-type-settings-entity.ts +72 -0
- package/models/{sys-user-msg-notice-add-vo.ts → notice-add-vo.ts} +8 -8
- package/models/notice-entity.ts +96 -0
- package/models/{work-order-execution-time-settings-add-or-update-vo.ts → work-order-issue-type-settings-add-or-update-vo.ts} +11 -5
- package/models/{work-order-execution-time-settings-entity.ts → work-order-issue-type-settings-entity.ts} +15 -9
- package/package.json +1 -1
- package/dist/esm/models/notice-vo.d.ts +0 -86
- package/dist/models/notice-vo.d.ts +0 -86
- package/models/notice-vo.ts +0 -90
- /package/dist/esm/models/{json-result-list-work-order-execution-time-settings-entity.js → json-result-list-work-order-issue-type-settings-entity.js} +0 -0
- /package/dist/esm/models/{json-result-work-order-execution-time-settings-entity.js → json-result-notice-entity.js} +0 -0
- /package/dist/esm/models/{notice-vo.js → json-result-work-order-issue-type-settings-entity.js} +0 -0
- /package/dist/esm/models/{sys-user-msg-notice-add-vo.js → notice-add-vo.js} +0 -0
- /package/dist/esm/models/{work-order-execution-time-settings-add-or-update-vo.js → notice-entity.js} +0 -0
- /package/dist/esm/models/{work-order-execution-time-settings-entity.js → work-order-issue-type-settings-add-or-update-vo.js} +0 -0
- /package/dist/models/{json-result-list-work-order-execution-time-settings-entity.js → json-result-list-work-order-issue-type-settings-entity.js} +0 -0
- /package/dist/models/{json-result-work-order-execution-time-settings-entity.js → json-result-notice-entity.js} +0 -0
- /package/dist/models/{notice-vo.js → json-result-work-order-issue-type-settings-entity.js} +0 -0
- /package/dist/models/{sys-user-msg-notice-add-vo.js → notice-add-vo.js} +0 -0
- /package/dist/models/{work-order-execution-time-settings-add-or-update-vo.js → notice-entity.js} +0 -0
- /package/dist/models/{work-order-execution-time-settings-entity.js → work-order-issue-type-settings-add-or-update-vo.js} +0 -0
package/apis/notification-api.ts
CHANGED
|
@@ -22,9 +22,11 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
-
import type {
|
|
25
|
+
import type { JsonResultNoticeEntity } from '../models';
|
|
26
26
|
// @ts-ignore
|
|
27
|
-
import type {
|
|
27
|
+
import type { JsonResultVoid } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { NoticeAddVo } from '../models';
|
|
28
30
|
// @ts-ignore
|
|
29
31
|
import type { SysNotice } from '../models';
|
|
30
32
|
// @ts-ignore
|
|
@@ -74,47 +76,6 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
74
76
|
options: localVarRequestOptions,
|
|
75
77
|
};
|
|
76
78
|
},
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @summary 批量删除/删除
|
|
80
|
-
* @param {string} id
|
|
81
|
-
* @param {*} [options] Override http request option.
|
|
82
|
-
* @throws {RequiredError}
|
|
83
|
-
*/
|
|
84
|
-
delBatchNotice: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
85
|
-
// verify required parameter 'id' is not null or undefined
|
|
86
|
-
assertParamExists('delBatchNotice', 'id', id)
|
|
87
|
-
const localVarPath = `/gizone/notice/del/batch`;
|
|
88
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
89
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
90
|
-
let baseOptions;
|
|
91
|
-
if (configuration) {
|
|
92
|
-
baseOptions = configuration.baseOptions;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
96
|
-
const localVarHeaderParameter = {} as any;
|
|
97
|
-
const localVarQueryParameter = {} as any;
|
|
98
|
-
|
|
99
|
-
// authentication tokenScheme required
|
|
100
|
-
// http bearer authentication required
|
|
101
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
102
|
-
|
|
103
|
-
if (id !== undefined) {
|
|
104
|
-
localVarQueryParameter['id'] = id;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
110
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
111
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
112
|
-
|
|
113
|
-
return {
|
|
114
|
-
url: toPathString(localVarUrlObj),
|
|
115
|
-
options: localVarRequestOptions,
|
|
116
|
-
};
|
|
117
|
-
},
|
|
118
79
|
/**
|
|
119
80
|
*
|
|
120
81
|
* @param {Array<number>} noticeIds
|
|
@@ -154,15 +115,15 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
154
115
|
},
|
|
155
116
|
/**
|
|
156
117
|
*
|
|
157
|
-
* @
|
|
158
|
-
* @param {number} parkId
|
|
118
|
+
* @param {number} noticeId
|
|
159
119
|
* @param {*} [options] Override http request option.
|
|
160
120
|
* @throws {RequiredError}
|
|
161
121
|
*/
|
|
162
|
-
|
|
163
|
-
// verify required parameter '
|
|
164
|
-
assertParamExists('
|
|
165
|
-
const localVarPath = `/
|
|
122
|
+
getNotification: async (noticeId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
123
|
+
// verify required parameter 'noticeId' is not null or undefined
|
|
124
|
+
assertParamExists('getNotification', 'noticeId', noticeId)
|
|
125
|
+
const localVarPath = `/system/notice/{noticeId}`
|
|
126
|
+
.replace(`{${"noticeId"}}`, encodeURIComponent(String(noticeId)));
|
|
166
127
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
167
128
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
168
129
|
let baseOptions;
|
|
@@ -178,10 +139,6 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
178
139
|
// http bearer authentication required
|
|
179
140
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
180
141
|
|
|
181
|
-
if (parkId !== undefined) {
|
|
182
|
-
localVarQueryParameter['parkId'] = parkId;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
142
|
|
|
186
143
|
|
|
187
144
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -195,15 +152,14 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
195
152
|
},
|
|
196
153
|
/**
|
|
197
154
|
*
|
|
198
|
-
* @
|
|
199
|
-
* @param {number} id
|
|
155
|
+
* @param {SysNotice} notice
|
|
200
156
|
* @param {*} [options] Override http request option.
|
|
201
157
|
* @throws {RequiredError}
|
|
202
158
|
*/
|
|
203
|
-
|
|
204
|
-
// verify required parameter '
|
|
205
|
-
assertParamExists('
|
|
206
|
-
const localVarPath = `/
|
|
159
|
+
listNotification: async (notice: SysNotice, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
160
|
+
// verify required parameter 'notice' is not null or undefined
|
|
161
|
+
assertParamExists('listNotification', 'notice', notice)
|
|
162
|
+
const localVarPath = `/system/notice/list`;
|
|
207
163
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
208
164
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
209
165
|
let baseOptions;
|
|
@@ -219,8 +175,10 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
219
175
|
// http bearer authentication required
|
|
220
176
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
221
177
|
|
|
222
|
-
if (
|
|
223
|
-
|
|
178
|
+
if (notice !== undefined) {
|
|
179
|
+
for (const [key, value] of Object.entries(notice)) {
|
|
180
|
+
localVarQueryParameter[key] = value;
|
|
181
|
+
}
|
|
224
182
|
}
|
|
225
183
|
|
|
226
184
|
|
|
@@ -236,15 +194,15 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
236
194
|
},
|
|
237
195
|
/**
|
|
238
196
|
*
|
|
239
|
-
* @
|
|
197
|
+
* @summary 添加园区公告
|
|
198
|
+
* @param {NoticeAddVo} noticeAddVo
|
|
240
199
|
* @param {*} [options] Override http request option.
|
|
241
200
|
* @throws {RequiredError}
|
|
242
201
|
*/
|
|
243
|
-
|
|
244
|
-
// verify required parameter '
|
|
245
|
-
assertParamExists('
|
|
246
|
-
const localVarPath = `/
|
|
247
|
-
.replace(`{${"noticeId"}}`, encodeURIComponent(String(noticeId)));
|
|
202
|
+
noticeAdd: async (noticeAddVo: NoticeAddVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
203
|
+
// verify required parameter 'noticeAddVo' is not null or undefined
|
|
204
|
+
assertParamExists('noticeAdd', 'noticeAddVo', noticeAddVo)
|
|
205
|
+
const localVarPath = `/gizone/notice`;
|
|
248
206
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
249
207
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
250
208
|
let baseOptions;
|
|
@@ -252,7 +210,7 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
252
210
|
baseOptions = configuration.baseOptions;
|
|
253
211
|
}
|
|
254
212
|
|
|
255
|
-
const localVarRequestOptions = { method: '
|
|
213
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
256
214
|
const localVarHeaderParameter = {} as any;
|
|
257
215
|
const localVarQueryParameter = {} as any;
|
|
258
216
|
|
|
@@ -262,9 +220,12 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
262
220
|
|
|
263
221
|
|
|
264
222
|
|
|
223
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
224
|
+
|
|
265
225
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
266
226
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
267
227
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
228
|
+
localVarRequestOptions.data = serializeDataIfNeeded(noticeAddVo, localVarRequestOptions, configuration)
|
|
268
229
|
|
|
269
230
|
return {
|
|
270
231
|
url: toPathString(localVarUrlObj),
|
|
@@ -273,14 +234,16 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
273
234
|
},
|
|
274
235
|
/**
|
|
275
236
|
*
|
|
276
|
-
* @
|
|
237
|
+
* @summary 删除园区公告
|
|
238
|
+
* @param {number} id
|
|
277
239
|
* @param {*} [options] Override http request option.
|
|
278
240
|
* @throws {RequiredError}
|
|
279
241
|
*/
|
|
280
|
-
|
|
281
|
-
// verify required parameter '
|
|
282
|
-
assertParamExists('
|
|
283
|
-
const localVarPath = `/
|
|
242
|
+
noticeDelete: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
243
|
+
// verify required parameter 'id' is not null or undefined
|
|
244
|
+
assertParamExists('noticeDelete', 'id', id)
|
|
245
|
+
const localVarPath = `/gizone/notice/{id}`
|
|
246
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
284
247
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
285
248
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
286
249
|
let baseOptions;
|
|
@@ -288,7 +251,7 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
288
251
|
baseOptions = configuration.baseOptions;
|
|
289
252
|
}
|
|
290
253
|
|
|
291
|
-
const localVarRequestOptions = { method: '
|
|
254
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
292
255
|
const localVarHeaderParameter = {} as any;
|
|
293
256
|
const localVarQueryParameter = {} as any;
|
|
294
257
|
|
|
@@ -296,12 +259,6 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
296
259
|
// http bearer authentication required
|
|
297
260
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
298
261
|
|
|
299
|
-
if (notice !== undefined) {
|
|
300
|
-
for (const [key, value] of Object.entries(notice)) {
|
|
301
|
-
localVarQueryParameter[key] = value;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
|
|
305
262
|
|
|
306
263
|
|
|
307
264
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -315,15 +272,16 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
315
272
|
},
|
|
316
273
|
/**
|
|
317
274
|
*
|
|
318
|
-
* @summary
|
|
319
|
-
* @param {
|
|
275
|
+
* @summary 园区公告详情
|
|
276
|
+
* @param {number} id
|
|
320
277
|
* @param {*} [options] Override http request option.
|
|
321
278
|
* @throws {RequiredError}
|
|
322
279
|
*/
|
|
323
|
-
|
|
324
|
-
// verify required parameter '
|
|
325
|
-
assertParamExists('
|
|
326
|
-
const localVarPath = `/gizone/notice/
|
|
280
|
+
noticeDetails: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
281
|
+
// verify required parameter 'id' is not null or undefined
|
|
282
|
+
assertParamExists('noticeDetails', 'id', id)
|
|
283
|
+
const localVarPath = `/gizone/notice/{id}`
|
|
284
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
327
285
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
328
286
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
329
287
|
let baseOptions;
|
|
@@ -331,7 +289,7 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
331
289
|
baseOptions = configuration.baseOptions;
|
|
332
290
|
}
|
|
333
291
|
|
|
334
|
-
const localVarRequestOptions = { method: '
|
|
292
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
335
293
|
const localVarHeaderParameter = {} as any;
|
|
336
294
|
const localVarQueryParameter = {} as any;
|
|
337
295
|
|
|
@@ -341,12 +299,9 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
341
299
|
|
|
342
300
|
|
|
343
301
|
|
|
344
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
345
|
-
|
|
346
302
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
347
303
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
348
304
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
349
|
-
localVarRequestOptions.data = serializeDataIfNeeded(noticeVo, localVarRequestOptions, configuration)
|
|
350
305
|
|
|
351
306
|
return {
|
|
352
307
|
url: toPathString(localVarUrlObj),
|
|
@@ -414,19 +369,6 @@ export const NotificationApiFp = function(configuration?: Configuration) {
|
|
|
414
369
|
const localVarOperationServerBasePath = operationServerMap['NotificationApi.createNotification']?.[localVarOperationServerIndex]?.url;
|
|
415
370
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
416
371
|
},
|
|
417
|
-
/**
|
|
418
|
-
*
|
|
419
|
-
* @summary 批量删除/删除
|
|
420
|
-
* @param {string} id
|
|
421
|
-
* @param {*} [options] Override http request option.
|
|
422
|
-
* @throws {RequiredError}
|
|
423
|
-
*/
|
|
424
|
-
async delBatchNotice(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
425
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.delBatchNotice(id, options);
|
|
426
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
427
|
-
const localVarOperationServerBasePath = operationServerMap['NotificationApi.delBatchNotice']?.[localVarOperationServerIndex]?.url;
|
|
428
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
429
|
-
},
|
|
430
372
|
/**
|
|
431
373
|
*
|
|
432
374
|
* @param {Array<number>} noticeIds
|
|
@@ -441,65 +383,65 @@ export const NotificationApiFp = function(configuration?: Configuration) {
|
|
|
441
383
|
},
|
|
442
384
|
/**
|
|
443
385
|
*
|
|
444
|
-
* @
|
|
445
|
-
* @param {number} parkId
|
|
386
|
+
* @param {number} noticeId
|
|
446
387
|
* @param {*} [options] Override http request option.
|
|
447
388
|
* @throws {RequiredError}
|
|
448
389
|
*/
|
|
449
|
-
async
|
|
450
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
390
|
+
async getNotification(noticeId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: object; }>> {
|
|
391
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNotification(noticeId, options);
|
|
451
392
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
452
|
-
const localVarOperationServerBasePath = operationServerMap['NotificationApi.
|
|
393
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationApi.getNotification']?.[localVarOperationServerIndex]?.url;
|
|
453
394
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
454
395
|
},
|
|
455
396
|
/**
|
|
456
397
|
*
|
|
457
|
-
* @
|
|
458
|
-
* @param {number} id
|
|
398
|
+
* @param {SysNotice} notice
|
|
459
399
|
* @param {*} [options] Override http request option.
|
|
460
400
|
* @throws {RequiredError}
|
|
461
401
|
*/
|
|
462
|
-
async
|
|
463
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
402
|
+
async listNotification(notice: SysNotice, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TableDataInfo>> {
|
|
403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listNotification(notice, options);
|
|
464
404
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
465
|
-
const localVarOperationServerBasePath = operationServerMap['NotificationApi.
|
|
405
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationApi.listNotification']?.[localVarOperationServerIndex]?.url;
|
|
466
406
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
467
407
|
},
|
|
468
408
|
/**
|
|
469
409
|
*
|
|
470
|
-
* @
|
|
410
|
+
* @summary 添加园区公告
|
|
411
|
+
* @param {NoticeAddVo} noticeAddVo
|
|
471
412
|
* @param {*} [options] Override http request option.
|
|
472
413
|
* @throws {RequiredError}
|
|
473
414
|
*/
|
|
474
|
-
async
|
|
475
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
415
|
+
async noticeAdd(noticeAddVo: NoticeAddVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
416
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.noticeAdd(noticeAddVo, options);
|
|
476
417
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
477
|
-
const localVarOperationServerBasePath = operationServerMap['NotificationApi.
|
|
418
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationApi.noticeAdd']?.[localVarOperationServerIndex]?.url;
|
|
478
419
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
479
420
|
},
|
|
480
421
|
/**
|
|
481
422
|
*
|
|
482
|
-
* @
|
|
423
|
+
* @summary 删除园区公告
|
|
424
|
+
* @param {number} id
|
|
483
425
|
* @param {*} [options] Override http request option.
|
|
484
426
|
* @throws {RequiredError}
|
|
485
427
|
*/
|
|
486
|
-
async
|
|
487
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
428
|
+
async noticeDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
429
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.noticeDelete(id, options);
|
|
488
430
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
489
|
-
const localVarOperationServerBasePath = operationServerMap['NotificationApi.
|
|
431
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationApi.noticeDelete']?.[localVarOperationServerIndex]?.url;
|
|
490
432
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
491
433
|
},
|
|
492
434
|
/**
|
|
493
435
|
*
|
|
494
|
-
* @summary
|
|
495
|
-
* @param {
|
|
436
|
+
* @summary 园区公告详情
|
|
437
|
+
* @param {number} id
|
|
496
438
|
* @param {*} [options] Override http request option.
|
|
497
439
|
* @throws {RequiredError}
|
|
498
440
|
*/
|
|
499
|
-
async
|
|
500
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
441
|
+
async noticeDetails(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultNoticeEntity>> {
|
|
442
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.noticeDetails(id, options);
|
|
501
443
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
502
|
-
const localVarOperationServerBasePath = operationServerMap['NotificationApi.
|
|
444
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationApi.noticeDetails']?.[localVarOperationServerIndex]?.url;
|
|
503
445
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
504
446
|
},
|
|
505
447
|
/**
|
|
@@ -533,16 +475,6 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
|
|
|
533
475
|
createNotification(requestParameters: NotificationApiCreateNotificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: object; }> {
|
|
534
476
|
return localVarFp.createNotification(requestParameters.sysNotice, options).then((request) => request(axios, basePath));
|
|
535
477
|
},
|
|
536
|
-
/**
|
|
537
|
-
*
|
|
538
|
-
* @summary 批量删除/删除
|
|
539
|
-
* @param {NotificationApiDelBatchNoticeRequest} requestParameters Request parameters.
|
|
540
|
-
* @param {*} [options] Override http request option.
|
|
541
|
-
* @throws {RequiredError}
|
|
542
|
-
*/
|
|
543
|
-
delBatchNotice(requestParameters: NotificationApiDelBatchNoticeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
544
|
-
return localVarFp.delBatchNotice(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
545
|
-
},
|
|
546
478
|
/**
|
|
547
479
|
*
|
|
548
480
|
* @param {NotificationApiDeleteManyNotificationRequest} requestParameters Request parameters.
|
|
@@ -554,51 +486,51 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
|
|
|
554
486
|
},
|
|
555
487
|
/**
|
|
556
488
|
*
|
|
557
|
-
* @
|
|
558
|
-
* @param {NotificationApiEditBatchStateRequest} requestParameters Request parameters.
|
|
489
|
+
* @param {NotificationApiGetNotificationRequest} requestParameters Request parameters.
|
|
559
490
|
* @param {*} [options] Override http request option.
|
|
560
491
|
* @throws {RequiredError}
|
|
561
492
|
*/
|
|
562
|
-
|
|
563
|
-
return localVarFp.
|
|
493
|
+
getNotification(requestParameters: NotificationApiGetNotificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: object; }> {
|
|
494
|
+
return localVarFp.getNotification(requestParameters.noticeId, options).then((request) => request(axios, basePath));
|
|
564
495
|
},
|
|
565
496
|
/**
|
|
566
497
|
*
|
|
567
|
-
* @
|
|
568
|
-
* @param {NotificationApiEditStateNoticeRequest} requestParameters Request parameters.
|
|
498
|
+
* @param {NotificationApiListNotificationRequest} requestParameters Request parameters.
|
|
569
499
|
* @param {*} [options] Override http request option.
|
|
570
500
|
* @throws {RequiredError}
|
|
571
501
|
*/
|
|
572
|
-
|
|
573
|
-
return localVarFp.
|
|
502
|
+
listNotification(requestParameters: NotificationApiListNotificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<TableDataInfo> {
|
|
503
|
+
return localVarFp.listNotification(requestParameters.notice, options).then((request) => request(axios, basePath));
|
|
574
504
|
},
|
|
575
505
|
/**
|
|
576
506
|
*
|
|
577
|
-
* @
|
|
507
|
+
* @summary 添加园区公告
|
|
508
|
+
* @param {NotificationApiNoticeAddRequest} requestParameters Request parameters.
|
|
578
509
|
* @param {*} [options] Override http request option.
|
|
579
510
|
* @throws {RequiredError}
|
|
580
511
|
*/
|
|
581
|
-
|
|
582
|
-
return localVarFp.
|
|
512
|
+
noticeAdd(requestParameters: NotificationApiNoticeAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
513
|
+
return localVarFp.noticeAdd(requestParameters.noticeAddVo, options).then((request) => request(axios, basePath));
|
|
583
514
|
},
|
|
584
515
|
/**
|
|
585
516
|
*
|
|
586
|
-
* @
|
|
517
|
+
* @summary 删除园区公告
|
|
518
|
+
* @param {NotificationApiNoticeDeleteRequest} requestParameters Request parameters.
|
|
587
519
|
* @param {*} [options] Override http request option.
|
|
588
520
|
* @throws {RequiredError}
|
|
589
521
|
*/
|
|
590
|
-
|
|
591
|
-
return localVarFp.
|
|
522
|
+
noticeDelete(requestParameters: NotificationApiNoticeDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
523
|
+
return localVarFp.noticeDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
592
524
|
},
|
|
593
525
|
/**
|
|
594
526
|
*
|
|
595
|
-
* @summary
|
|
596
|
-
* @param {
|
|
527
|
+
* @summary 园区公告详情
|
|
528
|
+
* @param {NotificationApiNoticeDetailsRequest} requestParameters Request parameters.
|
|
597
529
|
* @param {*} [options] Override http request option.
|
|
598
530
|
* @throws {RequiredError}
|
|
599
531
|
*/
|
|
600
|
-
|
|
601
|
-
return localVarFp.
|
|
532
|
+
noticeDetails(requestParameters: NotificationApiNoticeDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultNoticeEntity> {
|
|
533
|
+
return localVarFp.noticeDetails(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
602
534
|
},
|
|
603
535
|
/**
|
|
604
536
|
*
|
|
@@ -626,20 +558,6 @@ export interface NotificationApiCreateNotificationRequest {
|
|
|
626
558
|
readonly sysNotice: SysNotice
|
|
627
559
|
}
|
|
628
560
|
|
|
629
|
-
/**
|
|
630
|
-
* Request parameters for delBatchNotice operation in NotificationApi.
|
|
631
|
-
* @export
|
|
632
|
-
* @interface NotificationApiDelBatchNoticeRequest
|
|
633
|
-
*/
|
|
634
|
-
export interface NotificationApiDelBatchNoticeRequest {
|
|
635
|
-
/**
|
|
636
|
-
*
|
|
637
|
-
* @type {string}
|
|
638
|
-
* @memberof NotificationApiDelBatchNotice
|
|
639
|
-
*/
|
|
640
|
-
readonly id: string
|
|
641
|
-
}
|
|
642
|
-
|
|
643
561
|
/**
|
|
644
562
|
* Request parameters for deleteManyNotification operation in NotificationApi.
|
|
645
563
|
* @export
|
|
@@ -655,73 +573,73 @@ export interface NotificationApiDeleteManyNotificationRequest {
|
|
|
655
573
|
}
|
|
656
574
|
|
|
657
575
|
/**
|
|
658
|
-
* Request parameters for
|
|
576
|
+
* Request parameters for getNotification operation in NotificationApi.
|
|
659
577
|
* @export
|
|
660
|
-
* @interface
|
|
578
|
+
* @interface NotificationApiGetNotificationRequest
|
|
661
579
|
*/
|
|
662
|
-
export interface
|
|
580
|
+
export interface NotificationApiGetNotificationRequest {
|
|
663
581
|
/**
|
|
664
582
|
*
|
|
665
583
|
* @type {number}
|
|
666
|
-
* @memberof
|
|
584
|
+
* @memberof NotificationApiGetNotification
|
|
667
585
|
*/
|
|
668
|
-
readonly
|
|
586
|
+
readonly noticeId: number
|
|
669
587
|
}
|
|
670
588
|
|
|
671
589
|
/**
|
|
672
|
-
* Request parameters for
|
|
590
|
+
* Request parameters for listNotification operation in NotificationApi.
|
|
673
591
|
* @export
|
|
674
|
-
* @interface
|
|
592
|
+
* @interface NotificationApiListNotificationRequest
|
|
675
593
|
*/
|
|
676
|
-
export interface
|
|
594
|
+
export interface NotificationApiListNotificationRequest {
|
|
677
595
|
/**
|
|
678
596
|
*
|
|
679
|
-
* @type {
|
|
680
|
-
* @memberof
|
|
597
|
+
* @type {SysNotice}
|
|
598
|
+
* @memberof NotificationApiListNotification
|
|
681
599
|
*/
|
|
682
|
-
readonly
|
|
600
|
+
readonly notice: SysNotice
|
|
683
601
|
}
|
|
684
602
|
|
|
685
603
|
/**
|
|
686
|
-
* Request parameters for
|
|
604
|
+
* Request parameters for noticeAdd operation in NotificationApi.
|
|
687
605
|
* @export
|
|
688
|
-
* @interface
|
|
606
|
+
* @interface NotificationApiNoticeAddRequest
|
|
689
607
|
*/
|
|
690
|
-
export interface
|
|
608
|
+
export interface NotificationApiNoticeAddRequest {
|
|
691
609
|
/**
|
|
692
610
|
*
|
|
693
|
-
* @type {
|
|
694
|
-
* @memberof
|
|
611
|
+
* @type {NoticeAddVo}
|
|
612
|
+
* @memberof NotificationApiNoticeAdd
|
|
695
613
|
*/
|
|
696
|
-
readonly
|
|
614
|
+
readonly noticeAddVo: NoticeAddVo
|
|
697
615
|
}
|
|
698
616
|
|
|
699
617
|
/**
|
|
700
|
-
* Request parameters for
|
|
618
|
+
* Request parameters for noticeDelete operation in NotificationApi.
|
|
701
619
|
* @export
|
|
702
|
-
* @interface
|
|
620
|
+
* @interface NotificationApiNoticeDeleteRequest
|
|
703
621
|
*/
|
|
704
|
-
export interface
|
|
622
|
+
export interface NotificationApiNoticeDeleteRequest {
|
|
705
623
|
/**
|
|
706
624
|
*
|
|
707
|
-
* @type {
|
|
708
|
-
* @memberof
|
|
625
|
+
* @type {number}
|
|
626
|
+
* @memberof NotificationApiNoticeDelete
|
|
709
627
|
*/
|
|
710
|
-
readonly
|
|
628
|
+
readonly id: number
|
|
711
629
|
}
|
|
712
630
|
|
|
713
631
|
/**
|
|
714
|
-
* Request parameters for
|
|
632
|
+
* Request parameters for noticeDetails operation in NotificationApi.
|
|
715
633
|
* @export
|
|
716
|
-
* @interface
|
|
634
|
+
* @interface NotificationApiNoticeDetailsRequest
|
|
717
635
|
*/
|
|
718
|
-
export interface
|
|
636
|
+
export interface NotificationApiNoticeDetailsRequest {
|
|
719
637
|
/**
|
|
720
638
|
*
|
|
721
|
-
* @type {
|
|
722
|
-
* @memberof
|
|
639
|
+
* @type {number}
|
|
640
|
+
* @memberof NotificationApiNoticeDetails
|
|
723
641
|
*/
|
|
724
|
-
readonly
|
|
642
|
+
readonly id: number
|
|
725
643
|
}
|
|
726
644
|
|
|
727
645
|
/**
|
|
@@ -756,18 +674,6 @@ export class NotificationApi extends BaseAPI {
|
|
|
756
674
|
return NotificationApiFp(this.configuration).createNotification(requestParameters.sysNotice, options).then((request) => request(this.axios, this.basePath));
|
|
757
675
|
}
|
|
758
676
|
|
|
759
|
-
/**
|
|
760
|
-
*
|
|
761
|
-
* @summary 批量删除/删除
|
|
762
|
-
* @param {NotificationApiDelBatchNoticeRequest} requestParameters Request parameters.
|
|
763
|
-
* @param {*} [options] Override http request option.
|
|
764
|
-
* @throws {RequiredError}
|
|
765
|
-
* @memberof NotificationApi
|
|
766
|
-
*/
|
|
767
|
-
public delBatchNotice(requestParameters: NotificationApiDelBatchNoticeRequest, options?: RawAxiosRequestConfig) {
|
|
768
|
-
return NotificationApiFp(this.configuration).delBatchNotice(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
769
|
-
}
|
|
770
|
-
|
|
771
677
|
/**
|
|
772
678
|
*
|
|
773
679
|
* @param {NotificationApiDeleteManyNotificationRequest} requestParameters Request parameters.
|
|
@@ -781,60 +687,60 @@ export class NotificationApi extends BaseAPI {
|
|
|
781
687
|
|
|
782
688
|
/**
|
|
783
689
|
*
|
|
784
|
-
* @
|
|
785
|
-
* @param {NotificationApiEditBatchStateRequest} requestParameters Request parameters.
|
|
690
|
+
* @param {NotificationApiGetNotificationRequest} requestParameters Request parameters.
|
|
786
691
|
* @param {*} [options] Override http request option.
|
|
787
692
|
* @throws {RequiredError}
|
|
788
693
|
* @memberof NotificationApi
|
|
789
694
|
*/
|
|
790
|
-
public
|
|
791
|
-
return NotificationApiFp(this.configuration).
|
|
695
|
+
public getNotification(requestParameters: NotificationApiGetNotificationRequest, options?: RawAxiosRequestConfig) {
|
|
696
|
+
return NotificationApiFp(this.configuration).getNotification(requestParameters.noticeId, options).then((request) => request(this.axios, this.basePath));
|
|
792
697
|
}
|
|
793
698
|
|
|
794
699
|
/**
|
|
795
700
|
*
|
|
796
|
-
* @
|
|
797
|
-
* @param {NotificationApiEditStateNoticeRequest} requestParameters Request parameters.
|
|
701
|
+
* @param {NotificationApiListNotificationRequest} requestParameters Request parameters.
|
|
798
702
|
* @param {*} [options] Override http request option.
|
|
799
703
|
* @throws {RequiredError}
|
|
800
704
|
* @memberof NotificationApi
|
|
801
705
|
*/
|
|
802
|
-
public
|
|
803
|
-
return NotificationApiFp(this.configuration).
|
|
706
|
+
public listNotification(requestParameters: NotificationApiListNotificationRequest, options?: RawAxiosRequestConfig) {
|
|
707
|
+
return NotificationApiFp(this.configuration).listNotification(requestParameters.notice, options).then((request) => request(this.axios, this.basePath));
|
|
804
708
|
}
|
|
805
709
|
|
|
806
710
|
/**
|
|
807
711
|
*
|
|
808
|
-
* @
|
|
712
|
+
* @summary 添加园区公告
|
|
713
|
+
* @param {NotificationApiNoticeAddRequest} requestParameters Request parameters.
|
|
809
714
|
* @param {*} [options] Override http request option.
|
|
810
715
|
* @throws {RequiredError}
|
|
811
716
|
* @memberof NotificationApi
|
|
812
717
|
*/
|
|
813
|
-
public
|
|
814
|
-
return NotificationApiFp(this.configuration).
|
|
718
|
+
public noticeAdd(requestParameters: NotificationApiNoticeAddRequest, options?: RawAxiosRequestConfig) {
|
|
719
|
+
return NotificationApiFp(this.configuration).noticeAdd(requestParameters.noticeAddVo, options).then((request) => request(this.axios, this.basePath));
|
|
815
720
|
}
|
|
816
721
|
|
|
817
722
|
/**
|
|
818
723
|
*
|
|
819
|
-
* @
|
|
724
|
+
* @summary 删除园区公告
|
|
725
|
+
* @param {NotificationApiNoticeDeleteRequest} requestParameters Request parameters.
|
|
820
726
|
* @param {*} [options] Override http request option.
|
|
821
727
|
* @throws {RequiredError}
|
|
822
728
|
* @memberof NotificationApi
|
|
823
729
|
*/
|
|
824
|
-
public
|
|
825
|
-
return NotificationApiFp(this.configuration).
|
|
730
|
+
public noticeDelete(requestParameters: NotificationApiNoticeDeleteRequest, options?: RawAxiosRequestConfig) {
|
|
731
|
+
return NotificationApiFp(this.configuration).noticeDelete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
826
732
|
}
|
|
827
733
|
|
|
828
734
|
/**
|
|
829
735
|
*
|
|
830
|
-
* @summary
|
|
831
|
-
* @param {
|
|
736
|
+
* @summary 园区公告详情
|
|
737
|
+
* @param {NotificationApiNoticeDetailsRequest} requestParameters Request parameters.
|
|
832
738
|
* @param {*} [options] Override http request option.
|
|
833
739
|
* @throws {RequiredError}
|
|
834
740
|
* @memberof NotificationApi
|
|
835
741
|
*/
|
|
836
|
-
public
|
|
837
|
-
return NotificationApiFp(this.configuration).
|
|
742
|
+
public noticeDetails(requestParameters: NotificationApiNoticeDetailsRequest, options?: RawAxiosRequestConfig) {
|
|
743
|
+
return NotificationApiFp(this.configuration).noticeDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
838
744
|
}
|
|
839
745
|
|
|
840
746
|
/**
|