@gizone/rrs-client 3.11.13-alpha.67 → 3.11.14-alpha.68

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 (38) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +2 -2
  3. package/apis/inspection-standard-api.ts +77 -10
  4. package/configuration.ts +1 -1
  5. package/dist/apis/inspection-standard-api.d.ts +45 -4
  6. package/dist/apis/inspection-standard-api.js +35 -10
  7. package/dist/configuration.js +1 -1
  8. package/dist/esm/apis/inspection-standard-api.d.ts +45 -4
  9. package/dist/esm/apis/inspection-standard-api.js +35 -10
  10. package/dist/esm/configuration.js +1 -1
  11. package/dist/esm/models/get-user-wx200-response.d.ts +4 -4
  12. package/dist/esm/models/index.d.ts +1 -0
  13. package/dist/esm/models/index.js +1 -0
  14. package/dist/esm/models/inspection-category-enum.d.ts +3 -1
  15. package/dist/esm/models/inspection-category-enum.js +4 -2
  16. package/dist/esm/models/inspection-standard-add-or-update-vo.d.ts +14 -1
  17. package/dist/esm/models/inspection-standard-entity.d.ts +20 -0
  18. package/dist/esm/models/inspection-standard-import-dto.d.ts +26 -0
  19. package/dist/esm/models/inspection-standard-type-enum.d.ts +21 -0
  20. package/dist/esm/models/inspection-standard-type-enum.js +22 -0
  21. package/dist/models/get-user-wx200-response.d.ts +4 -4
  22. package/dist/models/index.d.ts +1 -0
  23. package/dist/models/index.js +1 -0
  24. package/dist/models/inspection-category-enum.d.ts +3 -1
  25. package/dist/models/inspection-category-enum.js +4 -2
  26. package/dist/models/inspection-standard-add-or-update-vo.d.ts +14 -1
  27. package/dist/models/inspection-standard-entity.d.ts +20 -0
  28. package/dist/models/inspection-standard-import-dto.d.ts +26 -0
  29. package/dist/models/inspection-standard-type-enum.d.ts +21 -0
  30. package/dist/models/inspection-standard-type-enum.js +25 -0
  31. package/models/get-user-wx200-response.ts +4 -4
  32. package/models/index.ts +1 -0
  33. package/models/inspection-category-enum.ts +4 -2
  34. package/models/inspection-standard-add-or-update-vo.ts +16 -1
  35. package/models/inspection-standard-entity.ts +24 -0
  36. package/models/inspection-standard-import-dto.ts +32 -0
  37. package/models/inspection-standard-type-enum.ts +31 -0
  38. package/package.json +1 -1
@@ -356,6 +356,7 @@ models/inspection-standard-add-or-update-vo.ts
356
356
  models/inspection-standard-dto.ts
357
357
  models/inspection-standard-entity.ts
358
358
  models/inspection-standard-import-dto.ts
359
+ models/inspection-standard-type-enum.ts
359
360
  models/internet-access-park-vehicle-vo.ts
360
361
  models/internet-meter-add-vo.ts
361
362
  models/internet-meter-details-add-vo.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @gizone/rrs-client@3.11.13
1
+ ## @gizone/rrs-client@3.11.14
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @gizone/rrs-client@3.11.13 --save
39
+ npm install @gizone/rrs-client@3.11.14 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -26,6 +26,8 @@ import type { InspectionCategoryEnum } from '../models';
26
26
  // @ts-ignore
27
27
  import type { InspectionStandardAddOrUpdateVO } from '../models';
28
28
  // @ts-ignore
29
+ import type { InspectionStandardTypeEnum } from '../models';
30
+ // @ts-ignore
29
31
  import type { JsonResultExcelImportResultDTOInspectionStandardImportDTO } from '../models';
30
32
  // @ts-ignore
31
33
  import type { JsonResultInspectionStandardEntity } from '../models';
@@ -206,10 +208,12 @@ export const InspectionStandardApiAxiosParamCreator = function (configuration?:
206
208
  * @param {string} [searchValue] 内容
207
209
  * @param {InspectionCategoryEnum} [category] 巡检分类
208
210
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
211
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
212
+ * @param {number} [equipmentSystemId] 设备系统ID
209
213
  * @param {*} [options] Override http request option.
210
214
  * @throws {RequiredError}
211
215
  */
212
- inspectionStandardBatchExport: async (parkId: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
216
+ inspectionStandardBatchExport: async (parkId: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, type?: InspectionStandardTypeEnum, equipmentSystemId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
213
217
  // verify required parameter 'parkId' is not null or undefined
214
218
  assertParamExists('inspectionStandardBatchExport', 'parkId', parkId)
215
219
  const localVarPath = `/gizone/inspectionStandard/batchExport`;
@@ -244,6 +248,14 @@ export const InspectionStandardApiAxiosParamCreator = function (configuration?:
244
248
  localVarQueryParameter['repeats'] = repeats;
245
249
  }
246
250
 
251
+ if (type !== undefined) {
252
+ localVarQueryParameter['type'] = type;
253
+ }
254
+
255
+ if (equipmentSystemId !== undefined) {
256
+ localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
257
+ }
258
+
247
259
 
248
260
 
249
261
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -423,10 +435,13 @@ export const InspectionStandardApiAxiosParamCreator = function (configuration?:
423
435
  * @param {string} [searchValue] 内容
424
436
  * @param {InspectionCategoryEnum} [category] 巡检分类
425
437
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
438
+ * @param {number} [equipmentSystemId] 设备系统ID
439
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
440
+ * @param {number} [eachDays] 天数
426
441
  * @param {*} [options] Override http request option.
427
442
  * @throws {RequiredError}
428
443
  */
429
- listInspectionStandard: async (parkId: number, pageSize: number, page: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
444
+ listInspectionStandard: async (parkId: number, pageSize: number, page: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, equipmentSystemId?: number, type?: InspectionStandardTypeEnum, eachDays?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
430
445
  // verify required parameter 'parkId' is not null or undefined
431
446
  assertParamExists('listInspectionStandard', 'parkId', parkId)
432
447
  // verify required parameter 'pageSize' is not null or undefined
@@ -473,6 +488,18 @@ export const InspectionStandardApiAxiosParamCreator = function (configuration?:
473
488
  localVarQueryParameter['repeats'] = repeats;
474
489
  }
475
490
 
491
+ if (equipmentSystemId !== undefined) {
492
+ localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
493
+ }
494
+
495
+ if (type !== undefined) {
496
+ localVarQueryParameter['type'] = type;
497
+ }
498
+
499
+ if (eachDays !== undefined) {
500
+ localVarQueryParameter['eachDays'] = eachDays;
501
+ }
502
+
476
503
 
477
504
 
478
505
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -727,11 +754,13 @@ export const InspectionStandardApiFp = function(configuration?: Configuration) {
727
754
  * @param {string} [searchValue] 内容
728
755
  * @param {InspectionCategoryEnum} [category] 巡检分类
729
756
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
757
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
758
+ * @param {number} [equipmentSystemId] 设备系统ID
730
759
  * @param {*} [options] Override http request option.
731
760
  * @throws {RequiredError}
732
761
  */
733
- async inspectionStandardBatchExport(parkId: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
734
- const localVarAxiosArgs = await localVarAxiosParamCreator.inspectionStandardBatchExport(parkId, searchValue, category, repeats, options);
762
+ async inspectionStandardBatchExport(parkId: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, type?: InspectionStandardTypeEnum, equipmentSystemId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
763
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inspectionStandardBatchExport(parkId, searchValue, category, repeats, type, equipmentSystemId, options);
735
764
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
736
765
  const localVarOperationServerBasePath = operationServerMap['InspectionStandardApi.inspectionStandardBatchExport']?.[localVarOperationServerIndex]?.url;
737
766
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -796,11 +825,14 @@ export const InspectionStandardApiFp = function(configuration?: Configuration) {
796
825
  * @param {string} [searchValue] 内容
797
826
  * @param {InspectionCategoryEnum} [category] 巡检分类
798
827
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
828
+ * @param {number} [equipmentSystemId] 设备系统ID
829
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
830
+ * @param {number} [eachDays] 天数
799
831
  * @param {*} [options] Override http request option.
800
832
  * @throws {RequiredError}
801
833
  */
802
- async listInspectionStandard(parkId: number, pageSize: number, page: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoInspectionStandardDTO>> {
803
- const localVarAxiosArgs = await localVarAxiosParamCreator.listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, options);
834
+ async listInspectionStandard(parkId: number, pageSize: number, page: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, equipmentSystemId?: number, type?: InspectionStandardTypeEnum, eachDays?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoInspectionStandardDTO>> {
835
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, equipmentSystemId, type, eachDays, options);
804
836
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
805
837
  const localVarOperationServerBasePath = operationServerMap['InspectionStandardApi.listInspectionStandard']?.[localVarOperationServerIndex]?.url;
806
838
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -917,7 +949,7 @@ export const InspectionStandardApiFactory = function (configuration?: Configurat
917
949
  * @throws {RequiredError}
918
950
  */
919
951
  inspectionStandardBatchExport(requestParameters: InspectionStandardApiInspectionStandardBatchExportRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
920
- return localVarFp.inspectionStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(axios, basePath));
952
+ return localVarFp.inspectionStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, requestParameters.type, requestParameters.equipmentSystemId, options).then((request) => request(axios, basePath));
921
953
  },
922
954
  /**
923
955
  *
@@ -964,7 +996,7 @@ export const InspectionStandardApiFactory = function (configuration?: Configurat
964
996
  * @throws {RequiredError}
965
997
  */
966
998
  listInspectionStandard(requestParameters: InspectionStandardApiListInspectionStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoInspectionStandardDTO> {
967
- return localVarFp.listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(axios, basePath));
999
+ return localVarFp.listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, requestParameters.equipmentSystemId, requestParameters.type, requestParameters.eachDays, options).then((request) => request(axios, basePath));
968
1000
  },
969
1001
  /**
970
1002
  *
@@ -1098,6 +1130,20 @@ export interface InspectionStandardApiInspectionStandardBatchExportRequest {
1098
1130
  * @memberof InspectionStandardApiInspectionStandardBatchExport
1099
1131
  */
1100
1132
  readonly repeats?: WorkOrderPlanRepeatsEnum
1133
+
1134
+ /**
1135
+ * 巡检标准类型
1136
+ * @type {InspectionStandardTypeEnum}
1137
+ * @memberof InspectionStandardApiInspectionStandardBatchExport
1138
+ */
1139
+ readonly type?: InspectionStandardTypeEnum
1140
+
1141
+ /**
1142
+ * 设备系统ID
1143
+ * @type {number}
1144
+ * @memberof InspectionStandardApiInspectionStandardBatchExport
1145
+ */
1146
+ readonly equipmentSystemId?: number
1101
1147
  }
1102
1148
 
1103
1149
  /**
@@ -1175,6 +1221,27 @@ export interface InspectionStandardApiListInspectionStandardRequest {
1175
1221
  * @memberof InspectionStandardApiListInspectionStandard
1176
1222
  */
1177
1223
  readonly repeats?: WorkOrderPlanRepeatsEnum
1224
+
1225
+ /**
1226
+ * 设备系统ID
1227
+ * @type {number}
1228
+ * @memberof InspectionStandardApiListInspectionStandard
1229
+ */
1230
+ readonly equipmentSystemId?: number
1231
+
1232
+ /**
1233
+ * 巡检标准类型
1234
+ * @type {InspectionStandardTypeEnum}
1235
+ * @memberof InspectionStandardApiListInspectionStandard
1236
+ */
1237
+ readonly type?: InspectionStandardTypeEnum
1238
+
1239
+ /**
1240
+ * 天数
1241
+ * @type {number}
1242
+ * @memberof InspectionStandardApiListInspectionStandard
1243
+ */
1244
+ readonly eachDays?: number
1178
1245
  }
1179
1246
 
1180
1247
  /**
@@ -1311,7 +1378,7 @@ export class InspectionStandardApi extends BaseAPI {
1311
1378
  * @memberof InspectionStandardApi
1312
1379
  */
1313
1380
  public inspectionStandardBatchExport(requestParameters: InspectionStandardApiInspectionStandardBatchExportRequest, options?: RawAxiosRequestConfig) {
1314
- return InspectionStandardApiFp(this.configuration).inspectionStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
1381
+ return InspectionStandardApiFp(this.configuration).inspectionStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, requestParameters.type, requestParameters.equipmentSystemId, options).then((request) => request(this.axios, this.basePath));
1315
1382
  }
1316
1383
 
1317
1384
  /**
@@ -1368,7 +1435,7 @@ export class InspectionStandardApi extends BaseAPI {
1368
1435
  * @memberof InspectionStandardApi
1369
1436
  */
1370
1437
  public listInspectionStandard(requestParameters: InspectionStandardApiListInspectionStandardRequest, options?: RawAxiosRequestConfig) {
1371
- return InspectionStandardApiFp(this.configuration).listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
1438
+ return InspectionStandardApiFp(this.configuration).listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, requestParameters.equipmentSystemId, requestParameters.type, requestParameters.eachDays, options).then((request) => request(this.axios, this.basePath));
1372
1439
  }
1373
1440
 
1374
1441
  /**
package/configuration.ts CHANGED
@@ -92,7 +92,7 @@ export class Configuration {
92
92
  this.baseOptions = {
93
93
  headers: {
94
94
  ...param.baseOptions?.headers,
95
- 'User-Agent': "OpenAPI-Generator/3.11.13/typescript-axios"
95
+ 'User-Agent': "OpenAPI-Generator/3.11.14/typescript-axios"
96
96
  },
97
97
  ...param.baseOptions
98
98
  };
@@ -14,6 +14,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { InspectionCategoryEnum } from '../models';
16
16
  import type { InspectionStandardAddOrUpdateVO } from '../models';
17
+ import type { InspectionStandardTypeEnum } from '../models';
17
18
  import type { JsonResultExcelImportResultDTOInspectionStandardImportDTO } from '../models';
18
19
  import type { JsonResultInspectionStandardEntity } from '../models';
19
20
  import type { JsonResultListInspectionStandardEntity } from '../models';
@@ -64,10 +65,12 @@ export declare const InspectionStandardApiAxiosParamCreator: (configuration?: Co
64
65
  * @param {string} [searchValue] 内容
65
66
  * @param {InspectionCategoryEnum} [category] 巡检分类
66
67
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
68
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
69
+ * @param {number} [equipmentSystemId] 设备系统ID
67
70
  * @param {*} [options] Override http request option.
68
71
  * @throws {RequiredError}
69
72
  */
70
- inspectionStandardBatchExport: (parkId: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
73
+ inspectionStandardBatchExport: (parkId: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, type?: InspectionStandardTypeEnum, equipmentSystemId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
71
74
  /**
72
75
  *
73
76
  * @summary 巡检标准导入-确认导入
@@ -108,10 +111,13 @@ export declare const InspectionStandardApiAxiosParamCreator: (configuration?: Co
108
111
  * @param {string} [searchValue] 内容
109
112
  * @param {InspectionCategoryEnum} [category] 巡检分类
110
113
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
114
+ * @param {number} [equipmentSystemId] 设备系统ID
115
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
116
+ * @param {number} [eachDays] 天数
111
117
  * @param {*} [options] Override http request option.
112
118
  * @throws {RequiredError}
113
119
  */
114
- listInspectionStandard: (parkId: number, pageSize: number, page: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
120
+ listInspectionStandard: (parkId: number, pageSize: number, page: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, equipmentSystemId?: number, type?: InspectionStandardTypeEnum, eachDays?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
115
121
  /**
116
122
  *
117
123
  * @summary 根据设备id查询维保标准
@@ -191,10 +197,12 @@ export declare const InspectionStandardApiFp: (configuration?: Configuration) =>
191
197
  * @param {string} [searchValue] 内容
192
198
  * @param {InspectionCategoryEnum} [category] 巡检分类
193
199
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
200
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
201
+ * @param {number} [equipmentSystemId] 设备系统ID
194
202
  * @param {*} [options] Override http request option.
195
203
  * @throws {RequiredError}
196
204
  */
197
- inspectionStandardBatchExport(parkId: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
205
+ inspectionStandardBatchExport(parkId: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, type?: InspectionStandardTypeEnum, equipmentSystemId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
198
206
  /**
199
207
  *
200
208
  * @summary 巡检标准导入-确认导入
@@ -235,10 +243,13 @@ export declare const InspectionStandardApiFp: (configuration?: Configuration) =>
235
243
  * @param {string} [searchValue] 内容
236
244
  * @param {InspectionCategoryEnum} [category] 巡检分类
237
245
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
246
+ * @param {number} [equipmentSystemId] 设备系统ID
247
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
248
+ * @param {number} [eachDays] 天数
238
249
  * @param {*} [options] Override http request option.
239
250
  * @throws {RequiredError}
240
251
  */
241
- listInspectionStandard(parkId: number, pageSize: number, page: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoInspectionStandardDTO>>;
252
+ listInspectionStandard(parkId: number, pageSize: number, page: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, equipmentSystemId?: number, type?: InspectionStandardTypeEnum, eachDays?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoInspectionStandardDTO>>;
242
253
  /**
243
254
  *
244
255
  * @summary 根据设备id查询维保标准
@@ -471,6 +482,18 @@ export interface InspectionStandardApiInspectionStandardBatchExportRequest {
471
482
  * @memberof InspectionStandardApiInspectionStandardBatchExport
472
483
  */
473
484
  readonly repeats?: WorkOrderPlanRepeatsEnum;
485
+ /**
486
+ * 巡检标准类型
487
+ * @type {InspectionStandardTypeEnum}
488
+ * @memberof InspectionStandardApiInspectionStandardBatchExport
489
+ */
490
+ readonly type?: InspectionStandardTypeEnum;
491
+ /**
492
+ * 设备系统ID
493
+ * @type {number}
494
+ * @memberof InspectionStandardApiInspectionStandardBatchExport
495
+ */
496
+ readonly equipmentSystemId?: number;
474
497
  }
475
498
  /**
476
499
  * Request parameters for inspectionStandardBatchImportUpload operation in InspectionStandardApi.
@@ -539,6 +562,24 @@ export interface InspectionStandardApiListInspectionStandardRequest {
539
562
  * @memberof InspectionStandardApiListInspectionStandard
540
563
  */
541
564
  readonly repeats?: WorkOrderPlanRepeatsEnum;
565
+ /**
566
+ * 设备系统ID
567
+ * @type {number}
568
+ * @memberof InspectionStandardApiListInspectionStandard
569
+ */
570
+ readonly equipmentSystemId?: number;
571
+ /**
572
+ * 巡检标准类型
573
+ * @type {InspectionStandardTypeEnum}
574
+ * @memberof InspectionStandardApiListInspectionStandard
575
+ */
576
+ readonly type?: InspectionStandardTypeEnum;
577
+ /**
578
+ * 天数
579
+ * @type {number}
580
+ * @memberof InspectionStandardApiListInspectionStandard
581
+ */
582
+ readonly eachDays?: number;
542
583
  }
543
584
  /**
544
585
  * Request parameters for listInspectionStandardByEquipmentId operation in InspectionStandardApi.
@@ -172,10 +172,12 @@ const InspectionStandardApiAxiosParamCreator = function (configuration) {
172
172
  * @param {string} [searchValue] 内容
173
173
  * @param {InspectionCategoryEnum} [category] 巡检分类
174
174
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
175
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
176
+ * @param {number} [equipmentSystemId] 设备系统ID
175
177
  * @param {*} [options] Override http request option.
176
178
  * @throws {RequiredError}
177
179
  */
178
- inspectionStandardBatchExport: (parkId_1, searchValue_1, category_1, repeats_1, ...args_1) => __awaiter(this, [parkId_1, searchValue_1, category_1, repeats_1, ...args_1], void 0, function* (parkId, searchValue, category, repeats, options = {}) {
180
+ inspectionStandardBatchExport: (parkId_1, searchValue_1, category_1, repeats_1, type_1, equipmentSystemId_1, ...args_1) => __awaiter(this, [parkId_1, searchValue_1, category_1, repeats_1, type_1, equipmentSystemId_1, ...args_1], void 0, function* (parkId, searchValue, category, repeats, type, equipmentSystemId, options = {}) {
179
181
  // verify required parameter 'parkId' is not null or undefined
180
182
  (0, common_1.assertParamExists)('inspectionStandardBatchExport', 'parkId', parkId);
181
183
  const localVarPath = `/gizone/inspectionStandard/batchExport`;
@@ -203,6 +205,12 @@ const InspectionStandardApiAxiosParamCreator = function (configuration) {
203
205
  if (repeats !== undefined) {
204
206
  localVarQueryParameter['repeats'] = repeats;
205
207
  }
208
+ if (type !== undefined) {
209
+ localVarQueryParameter['type'] = type;
210
+ }
211
+ if (equipmentSystemId !== undefined) {
212
+ localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
213
+ }
206
214
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
207
215
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
208
216
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -351,10 +359,13 @@ const InspectionStandardApiAxiosParamCreator = function (configuration) {
351
359
  * @param {string} [searchValue] 内容
352
360
  * @param {InspectionCategoryEnum} [category] 巡检分类
353
361
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
362
+ * @param {number} [equipmentSystemId] 设备系统ID
363
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
364
+ * @param {number} [eachDays] 天数
354
365
  * @param {*} [options] Override http request option.
355
366
  * @throws {RequiredError}
356
367
  */
357
- listInspectionStandard: (parkId_1, pageSize_1, page_1, searchValue_1, category_1, repeats_1, ...args_1) => __awaiter(this, [parkId_1, pageSize_1, page_1, searchValue_1, category_1, repeats_1, ...args_1], void 0, function* (parkId, pageSize, page, searchValue, category, repeats, options = {}) {
368
+ listInspectionStandard: (parkId_1, pageSize_1, page_1, searchValue_1, category_1, repeats_1, equipmentSystemId_1, type_1, eachDays_1, ...args_1) => __awaiter(this, [parkId_1, pageSize_1, page_1, searchValue_1, category_1, repeats_1, equipmentSystemId_1, type_1, eachDays_1, ...args_1], void 0, function* (parkId, pageSize, page, searchValue, category, repeats, equipmentSystemId, type, eachDays, options = {}) {
358
369
  // verify required parameter 'parkId' is not null or undefined
359
370
  (0, common_1.assertParamExists)('listInspectionStandard', 'parkId', parkId);
360
371
  // verify required parameter 'pageSize' is not null or undefined
@@ -392,6 +403,15 @@ const InspectionStandardApiAxiosParamCreator = function (configuration) {
392
403
  if (repeats !== undefined) {
393
404
  localVarQueryParameter['repeats'] = repeats;
394
405
  }
406
+ if (equipmentSystemId !== undefined) {
407
+ localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
408
+ }
409
+ if (type !== undefined) {
410
+ localVarQueryParameter['type'] = type;
411
+ }
412
+ if (eachDays !== undefined) {
413
+ localVarQueryParameter['eachDays'] = eachDays;
414
+ }
395
415
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
396
416
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
397
417
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -626,13 +646,15 @@ const InspectionStandardApiFp = function (configuration) {
626
646
  * @param {string} [searchValue] 内容
627
647
  * @param {InspectionCategoryEnum} [category] 巡检分类
628
648
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
649
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
650
+ * @param {number} [equipmentSystemId] 设备系统ID
629
651
  * @param {*} [options] Override http request option.
630
652
  * @throws {RequiredError}
631
653
  */
632
- inspectionStandardBatchExport(parkId, searchValue, category, repeats, options) {
654
+ inspectionStandardBatchExport(parkId, searchValue, category, repeats, type, equipmentSystemId, options) {
633
655
  return __awaiter(this, void 0, void 0, function* () {
634
656
  var _a, _b, _c;
635
- const localVarAxiosArgs = yield localVarAxiosParamCreator.inspectionStandardBatchExport(parkId, searchValue, category, repeats, options);
657
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.inspectionStandardBatchExport(parkId, searchValue, category, repeats, type, equipmentSystemId, options);
636
658
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
637
659
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.inspectionStandardBatchExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
638
660
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -710,13 +732,16 @@ const InspectionStandardApiFp = function (configuration) {
710
732
  * @param {string} [searchValue] 内容
711
733
  * @param {InspectionCategoryEnum} [category] 巡检分类
712
734
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
735
+ * @param {number} [equipmentSystemId] 设备系统ID
736
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
737
+ * @param {number} [eachDays] 天数
713
738
  * @param {*} [options] Override http request option.
714
739
  * @throws {RequiredError}
715
740
  */
716
- listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, options) {
741
+ listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, equipmentSystemId, type, eachDays, options) {
717
742
  return __awaiter(this, void 0, void 0, function* () {
718
743
  var _a, _b, _c;
719
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, options);
744
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, equipmentSystemId, type, eachDays, options);
720
745
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
721
746
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.listInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
722
747
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -846,7 +871,7 @@ const InspectionStandardApiFactory = function (configuration, basePath, axios) {
846
871
  * @throws {RequiredError}
847
872
  */
848
873
  inspectionStandardBatchExport(requestParameters, options) {
849
- return localVarFp.inspectionStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(axios, basePath));
874
+ return localVarFp.inspectionStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, requestParameters.type, requestParameters.equipmentSystemId, options).then((request) => request(axios, basePath));
850
875
  },
851
876
  /**
852
877
  *
@@ -893,7 +918,7 @@ const InspectionStandardApiFactory = function (configuration, basePath, axios) {
893
918
  * @throws {RequiredError}
894
919
  */
895
920
  listInspectionStandard(requestParameters, options) {
896
- return localVarFp.listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(axios, basePath));
921
+ return localVarFp.listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, requestParameters.equipmentSystemId, requestParameters.type, requestParameters.eachDays, options).then((request) => request(axios, basePath));
897
922
  },
898
923
  /**
899
924
  *
@@ -998,7 +1023,7 @@ class InspectionStandardApi extends base_1.BaseAPI {
998
1023
  * @memberof InspectionStandardApi
999
1024
  */
1000
1025
  inspectionStandardBatchExport(requestParameters, options) {
1001
- return (0, exports.InspectionStandardApiFp)(this.configuration).inspectionStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
1026
+ return (0, exports.InspectionStandardApiFp)(this.configuration).inspectionStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, requestParameters.type, requestParameters.equipmentSystemId, options).then((request) => request(this.axios, this.basePath));
1002
1027
  }
1003
1028
  /**
1004
1029
  *
@@ -1050,7 +1075,7 @@ class InspectionStandardApi extends base_1.BaseAPI {
1050
1075
  * @memberof InspectionStandardApi
1051
1076
  */
1052
1077
  listInspectionStandard(requestParameters, options) {
1053
- return (0, exports.InspectionStandardApiFp)(this.configuration).listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
1078
+ return (0, exports.InspectionStandardApiFp)(this.configuration).listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, requestParameters.equipmentSystemId, requestParameters.type, requestParameters.eachDays, options).then((request) => request(this.axios, this.basePath));
1054
1079
  }
1055
1080
  /**
1056
1081
  *
@@ -23,7 +23,7 @@ class Configuration {
23
23
  this.accessToken = param.accessToken;
24
24
  this.basePath = param.basePath;
25
25
  this.serverIndex = param.serverIndex;
26
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/3.11.13/typescript-axios" }) }, param.baseOptions);
26
+ this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/3.11.14/typescript-axios" }) }, param.baseOptions);
27
27
  this.formDataCtor = param.formDataCtor;
28
28
  }
29
29
  /**
@@ -14,6 +14,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { InspectionCategoryEnum } from '../models';
16
16
  import type { InspectionStandardAddOrUpdateVO } from '../models';
17
+ import type { InspectionStandardTypeEnum } from '../models';
17
18
  import type { JsonResultExcelImportResultDTOInspectionStandardImportDTO } from '../models';
18
19
  import type { JsonResultInspectionStandardEntity } from '../models';
19
20
  import type { JsonResultListInspectionStandardEntity } from '../models';
@@ -64,10 +65,12 @@ export declare const InspectionStandardApiAxiosParamCreator: (configuration?: Co
64
65
  * @param {string} [searchValue] 内容
65
66
  * @param {InspectionCategoryEnum} [category] 巡检分类
66
67
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
68
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
69
+ * @param {number} [equipmentSystemId] 设备系统ID
67
70
  * @param {*} [options] Override http request option.
68
71
  * @throws {RequiredError}
69
72
  */
70
- inspectionStandardBatchExport: (parkId: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
73
+ inspectionStandardBatchExport: (parkId: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, type?: InspectionStandardTypeEnum, equipmentSystemId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
71
74
  /**
72
75
  *
73
76
  * @summary 巡检标准导入-确认导入
@@ -108,10 +111,13 @@ export declare const InspectionStandardApiAxiosParamCreator: (configuration?: Co
108
111
  * @param {string} [searchValue] 内容
109
112
  * @param {InspectionCategoryEnum} [category] 巡检分类
110
113
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
114
+ * @param {number} [equipmentSystemId] 设备系统ID
115
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
116
+ * @param {number} [eachDays] 天数
111
117
  * @param {*} [options] Override http request option.
112
118
  * @throws {RequiredError}
113
119
  */
114
- listInspectionStandard: (parkId: number, pageSize: number, page: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
120
+ listInspectionStandard: (parkId: number, pageSize: number, page: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, equipmentSystemId?: number, type?: InspectionStandardTypeEnum, eachDays?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
115
121
  /**
116
122
  *
117
123
  * @summary 根据设备id查询维保标准
@@ -191,10 +197,12 @@ export declare const InspectionStandardApiFp: (configuration?: Configuration) =>
191
197
  * @param {string} [searchValue] 内容
192
198
  * @param {InspectionCategoryEnum} [category] 巡检分类
193
199
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
200
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
201
+ * @param {number} [equipmentSystemId] 设备系统ID
194
202
  * @param {*} [options] Override http request option.
195
203
  * @throws {RequiredError}
196
204
  */
197
- inspectionStandardBatchExport(parkId: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
205
+ inspectionStandardBatchExport(parkId: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, type?: InspectionStandardTypeEnum, equipmentSystemId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
198
206
  /**
199
207
  *
200
208
  * @summary 巡检标准导入-确认导入
@@ -235,10 +243,13 @@ export declare const InspectionStandardApiFp: (configuration?: Configuration) =>
235
243
  * @param {string} [searchValue] 内容
236
244
  * @param {InspectionCategoryEnum} [category] 巡检分类
237
245
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
246
+ * @param {number} [equipmentSystemId] 设备系统ID
247
+ * @param {InspectionStandardTypeEnum} [type] 巡检标准类型
248
+ * @param {number} [eachDays] 天数
238
249
  * @param {*} [options] Override http request option.
239
250
  * @throws {RequiredError}
240
251
  */
241
- listInspectionStandard(parkId: number, pageSize: number, page: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoInspectionStandardDTO>>;
252
+ listInspectionStandard(parkId: number, pageSize: number, page: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, equipmentSystemId?: number, type?: InspectionStandardTypeEnum, eachDays?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoInspectionStandardDTO>>;
242
253
  /**
243
254
  *
244
255
  * @summary 根据设备id查询维保标准
@@ -471,6 +482,18 @@ export interface InspectionStandardApiInspectionStandardBatchExportRequest {
471
482
  * @memberof InspectionStandardApiInspectionStandardBatchExport
472
483
  */
473
484
  readonly repeats?: WorkOrderPlanRepeatsEnum;
485
+ /**
486
+ * 巡检标准类型
487
+ * @type {InspectionStandardTypeEnum}
488
+ * @memberof InspectionStandardApiInspectionStandardBatchExport
489
+ */
490
+ readonly type?: InspectionStandardTypeEnum;
491
+ /**
492
+ * 设备系统ID
493
+ * @type {number}
494
+ * @memberof InspectionStandardApiInspectionStandardBatchExport
495
+ */
496
+ readonly equipmentSystemId?: number;
474
497
  }
475
498
  /**
476
499
  * Request parameters for inspectionStandardBatchImportUpload operation in InspectionStandardApi.
@@ -539,6 +562,24 @@ export interface InspectionStandardApiListInspectionStandardRequest {
539
562
  * @memberof InspectionStandardApiListInspectionStandard
540
563
  */
541
564
  readonly repeats?: WorkOrderPlanRepeatsEnum;
565
+ /**
566
+ * 设备系统ID
567
+ * @type {number}
568
+ * @memberof InspectionStandardApiListInspectionStandard
569
+ */
570
+ readonly equipmentSystemId?: number;
571
+ /**
572
+ * 巡检标准类型
573
+ * @type {InspectionStandardTypeEnum}
574
+ * @memberof InspectionStandardApiListInspectionStandard
575
+ */
576
+ readonly type?: InspectionStandardTypeEnum;
577
+ /**
578
+ * 天数
579
+ * @type {number}
580
+ * @memberof InspectionStandardApiListInspectionStandard
581
+ */
582
+ readonly eachDays?: number;
542
583
  }
543
584
  /**
544
585
  * Request parameters for listInspectionStandardByEquipmentId operation in InspectionStandardApi.