@gizone/rrs-client 4.2.0-alpha.255 → 4.2.0-alpha.257
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/apis/hwork-api.ts +3 -3
- package/dist/apis/hwork-api.d.ts +4 -4
- package/dist/esm/apis/hwork-api.d.ts +4 -4
- package/dist/esm/models/disaster-warning-standard-entity.d.ts +1 -1
- package/dist/esm/models/get-user-wx200-response.d.ts +8 -8
- package/dist/esm/models/plan-detail-dto.d.ts +6 -0
- package/dist/esm/models/plan-inspection-items-dto.d.ts +7 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/disaster-warning-standard-entity.d.ts +1 -1
- package/dist/models/get-user-wx200-response.d.ts +8 -8
- package/dist/models/plan-detail-dto.d.ts +6 -0
- package/dist/models/plan-inspection-items-dto.d.ts +7 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/models/disaster-warning-standard-entity.ts +1 -1
- package/models/get-user-wx200-response.ts +8 -8
- package/models/plan-detail-dto.ts +6 -0
- package/models/plan-inspection-items-dto.ts +9 -0
- package/models/sys-user.ts +4 -4
- package/package.json +1 -1
package/apis/hwork-api.ts
CHANGED
|
@@ -22,7 +22,7 @@ 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 { JsonResultSysDept } from '../models';
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import type { LoginTypeEnum } from '../models';
|
|
28
28
|
/**
|
|
@@ -95,7 +95,7 @@ export const HWorkApiFp = function(configuration?: Configuration) {
|
|
|
95
95
|
* @param {*} [options] Override http request option.
|
|
96
96
|
* @throws {RequiredError}
|
|
97
97
|
*/
|
|
98
|
-
async getOnePark(loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
98
|
+
async getOnePark(loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSysDept>> {
|
|
99
99
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOnePark(loginType, groupId, options);
|
|
100
100
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
101
101
|
const localVarOperationServerBasePath = operationServerMap['HWorkApi.getOnePark']?.[localVarOperationServerIndex]?.url;
|
|
@@ -118,7 +118,7 @@ export const HWorkApiFactory = function (configuration?: Configuration, basePath
|
|
|
118
118
|
* @param {*} [options] Override http request option.
|
|
119
119
|
* @throws {RequiredError}
|
|
120
120
|
*/
|
|
121
|
-
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
121
|
+
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSysDept> {
|
|
122
122
|
return localVarFp.getOnePark(requestParameters.loginType, requestParameters.groupId, options).then((request) => request(axios, basePath));
|
|
123
123
|
},
|
|
124
124
|
};
|
package/dist/apis/hwork-api.d.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type {
|
|
15
|
+
import type { JsonResultSysDept } from '../models';
|
|
16
16
|
import type { LoginTypeEnum } from '../models';
|
|
17
17
|
/**
|
|
18
18
|
* HWorkApi - axios parameter creator
|
|
@@ -42,7 +42,7 @@ export declare const HWorkApiFp: (configuration?: Configuration) => {
|
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
getOnePark(loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
45
|
+
getOnePark(loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSysDept>>;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
48
|
* HWorkApi - factory interface
|
|
@@ -56,7 +56,7 @@ export declare const HWorkApiFactory: (configuration?: Configuration, basePath?:
|
|
|
56
56
|
* @param {*} [options] Override http request option.
|
|
57
57
|
* @throws {RequiredError}
|
|
58
58
|
*/
|
|
59
|
-
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
59
|
+
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSysDept>;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* Request parameters for getOnePark operation in HWorkApi.
|
|
@@ -92,5 +92,5 @@ export declare class HWorkApi extends BaseAPI {
|
|
|
92
92
|
* @throws {RequiredError}
|
|
93
93
|
* @memberof HWorkApi
|
|
94
94
|
*/
|
|
95
|
-
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
95
|
+
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultSysDept, any>>;
|
|
96
96
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type {
|
|
15
|
+
import type { JsonResultSysDept } from '../models';
|
|
16
16
|
import type { LoginTypeEnum } from '../models';
|
|
17
17
|
/**
|
|
18
18
|
* HWorkApi - axios parameter creator
|
|
@@ -42,7 +42,7 @@ export declare const HWorkApiFp: (configuration?: Configuration) => {
|
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
getOnePark(loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
45
|
+
getOnePark(loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSysDept>>;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
48
|
* HWorkApi - factory interface
|
|
@@ -56,7 +56,7 @@ export declare const HWorkApiFactory: (configuration?: Configuration, basePath?:
|
|
|
56
56
|
* @param {*} [options] Override http request option.
|
|
57
57
|
* @throws {RequiredError}
|
|
58
58
|
*/
|
|
59
|
-
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
59
|
+
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSysDept>;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* Request parameters for getOnePark operation in HWorkApi.
|
|
@@ -92,5 +92,5 @@ export declare class HWorkApi extends BaseAPI {
|
|
|
92
92
|
* @throws {RequiredError}
|
|
93
93
|
* @memberof HWorkApi
|
|
94
94
|
*/
|
|
95
|
-
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
95
|
+
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultSysDept, any>>;
|
|
96
96
|
}
|
|
@@ -19,16 +19,16 @@ import type { GetUserWx200ResponseOutputStream } from './get-user-wx200-response
|
|
|
19
19
|
export interface GetUserWx200Response {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
|
-
* @type {
|
|
22
|
+
* @type {number}
|
|
23
23
|
* @memberof GetUserWx200Response
|
|
24
24
|
*/
|
|
25
|
-
'
|
|
25
|
+
'status'?: number;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {
|
|
28
|
+
* @type {Array<string>}
|
|
29
29
|
* @memberof GetUserWx200Response
|
|
30
30
|
*/
|
|
31
|
-
'
|
|
31
|
+
'headerNames'?: Array<string>;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {object}
|
|
@@ -67,10 +67,10 @@ export interface GetUserWx200Response {
|
|
|
67
67
|
'bufferSize'?: number;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
|
-
* @type {
|
|
70
|
+
* @type {string}
|
|
71
71
|
* @memberof GetUserWx200Response
|
|
72
72
|
*/
|
|
73
|
-
'
|
|
73
|
+
'characterEncoding'?: string;
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
76
|
* @type {number}
|
|
@@ -85,8 +85,8 @@ export interface GetUserWx200Response {
|
|
|
85
85
|
'committed'?: boolean;
|
|
86
86
|
/**
|
|
87
87
|
*
|
|
88
|
-
* @type {
|
|
88
|
+
* @type {object}
|
|
89
89
|
* @memberof GetUserWx200Response
|
|
90
90
|
*/
|
|
91
|
-
'
|
|
91
|
+
'writer'?: object;
|
|
92
92
|
}
|
|
@@ -72,6 +72,12 @@ export interface PlanDetailDTO {
|
|
|
72
72
|
* @memberof PlanDetailDTO
|
|
73
73
|
*/
|
|
74
74
|
'maintenanceItems'?: Array<PlanInspectionItemsDTO>;
|
|
75
|
+
/**
|
|
76
|
+
* 灾害预警项集合
|
|
77
|
+
* @type {Array<PlanInspectionItemsDTO>}
|
|
78
|
+
* @memberof PlanDetailDTO
|
|
79
|
+
*/
|
|
80
|
+
'disasterWarningItems'?: Array<PlanInspectionItemsDTO>;
|
|
75
81
|
/**
|
|
76
82
|
*
|
|
77
83
|
* @type {PlanItemEditVo}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { DisasterWarningStandardEntity } from './disaster-warning-standard-entity';
|
|
12
13
|
import type { InspectionStandardEntity } from './inspection-standard-entity';
|
|
13
14
|
import type { MaintenanceStandardEntity } from './maintenance-standard-entity';
|
|
14
15
|
/**
|
|
@@ -47,6 +48,12 @@ export interface PlanInspectionItemsDTO {
|
|
|
47
48
|
* @memberof PlanInspectionItemsDTO
|
|
48
49
|
*/
|
|
49
50
|
'inspectionStandards'?: Array<InspectionStandardEntity>;
|
|
51
|
+
/**
|
|
52
|
+
* 灾害预警标准
|
|
53
|
+
* @type {Array<DisasterWarningStandardEntity>}
|
|
54
|
+
* @memberof PlanInspectionItemsDTO
|
|
55
|
+
*/
|
|
56
|
+
'disasterWarningStandards'?: Array<DisasterWarningStandardEntity>;
|
|
50
57
|
/**
|
|
51
58
|
* 排序
|
|
52
59
|
* @type {number}
|
|
@@ -370,14 +370,14 @@ export interface SysUser {
|
|
|
370
370
|
'userAttachments'?: Array<SysUserAttachmentInfo>;
|
|
371
371
|
/**
|
|
372
372
|
*
|
|
373
|
-
* @type {
|
|
373
|
+
* @type {number}
|
|
374
374
|
* @memberof SysUser
|
|
375
375
|
*/
|
|
376
|
-
'
|
|
376
|
+
'cuserId'?: number;
|
|
377
377
|
/**
|
|
378
378
|
*
|
|
379
|
-
* @type {
|
|
379
|
+
* @type {string}
|
|
380
380
|
* @memberof SysUser
|
|
381
381
|
*/
|
|
382
|
-
'
|
|
382
|
+
'cid'?: string;
|
|
383
383
|
}
|
|
@@ -19,16 +19,16 @@ import type { GetUserWx200ResponseOutputStream } from './get-user-wx200-response
|
|
|
19
19
|
export interface GetUserWx200Response {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
|
-
* @type {
|
|
22
|
+
* @type {number}
|
|
23
23
|
* @memberof GetUserWx200Response
|
|
24
24
|
*/
|
|
25
|
-
'
|
|
25
|
+
'status'?: number;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {
|
|
28
|
+
* @type {Array<string>}
|
|
29
29
|
* @memberof GetUserWx200Response
|
|
30
30
|
*/
|
|
31
|
-
'
|
|
31
|
+
'headerNames'?: Array<string>;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {object}
|
|
@@ -67,10 +67,10 @@ export interface GetUserWx200Response {
|
|
|
67
67
|
'bufferSize'?: number;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
|
-
* @type {
|
|
70
|
+
* @type {string}
|
|
71
71
|
* @memberof GetUserWx200Response
|
|
72
72
|
*/
|
|
73
|
-
'
|
|
73
|
+
'characterEncoding'?: string;
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
76
|
* @type {number}
|
|
@@ -85,8 +85,8 @@ export interface GetUserWx200Response {
|
|
|
85
85
|
'committed'?: boolean;
|
|
86
86
|
/**
|
|
87
87
|
*
|
|
88
|
-
* @type {
|
|
88
|
+
* @type {object}
|
|
89
89
|
* @memberof GetUserWx200Response
|
|
90
90
|
*/
|
|
91
|
-
'
|
|
91
|
+
'writer'?: object;
|
|
92
92
|
}
|
|
@@ -72,6 +72,12 @@ export interface PlanDetailDTO {
|
|
|
72
72
|
* @memberof PlanDetailDTO
|
|
73
73
|
*/
|
|
74
74
|
'maintenanceItems'?: Array<PlanInspectionItemsDTO>;
|
|
75
|
+
/**
|
|
76
|
+
* 灾害预警项集合
|
|
77
|
+
* @type {Array<PlanInspectionItemsDTO>}
|
|
78
|
+
* @memberof PlanDetailDTO
|
|
79
|
+
*/
|
|
80
|
+
'disasterWarningItems'?: Array<PlanInspectionItemsDTO>;
|
|
75
81
|
/**
|
|
76
82
|
*
|
|
77
83
|
* @type {PlanItemEditVo}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { DisasterWarningStandardEntity } from './disaster-warning-standard-entity';
|
|
12
13
|
import type { InspectionStandardEntity } from './inspection-standard-entity';
|
|
13
14
|
import type { MaintenanceStandardEntity } from './maintenance-standard-entity';
|
|
14
15
|
/**
|
|
@@ -47,6 +48,12 @@ export interface PlanInspectionItemsDTO {
|
|
|
47
48
|
* @memberof PlanInspectionItemsDTO
|
|
48
49
|
*/
|
|
49
50
|
'inspectionStandards'?: Array<InspectionStandardEntity>;
|
|
51
|
+
/**
|
|
52
|
+
* 灾害预警标准
|
|
53
|
+
* @type {Array<DisasterWarningStandardEntity>}
|
|
54
|
+
* @memberof PlanInspectionItemsDTO
|
|
55
|
+
*/
|
|
56
|
+
'disasterWarningStandards'?: Array<DisasterWarningStandardEntity>;
|
|
50
57
|
/**
|
|
51
58
|
* 排序
|
|
52
59
|
* @type {number}
|
|
@@ -370,14 +370,14 @@ export interface SysUser {
|
|
|
370
370
|
'userAttachments'?: Array<SysUserAttachmentInfo>;
|
|
371
371
|
/**
|
|
372
372
|
*
|
|
373
|
-
* @type {
|
|
373
|
+
* @type {number}
|
|
374
374
|
* @memberof SysUser
|
|
375
375
|
*/
|
|
376
|
-
'
|
|
376
|
+
'cuserId'?: number;
|
|
377
377
|
/**
|
|
378
378
|
*
|
|
379
|
-
* @type {
|
|
379
|
+
* @type {string}
|
|
380
380
|
* @memberof SysUser
|
|
381
381
|
*/
|
|
382
|
-
'
|
|
382
|
+
'cid'?: string;
|
|
383
383
|
}
|
|
@@ -28,16 +28,16 @@ import type { GetUserWx200ResponseOutputStream } from './get-user-wx200-response
|
|
|
28
28
|
export interface GetUserWx200Response {
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {
|
|
31
|
+
* @type {number}
|
|
32
32
|
* @memberof GetUserWx200Response
|
|
33
33
|
*/
|
|
34
|
-
'
|
|
34
|
+
'status'?: number;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {
|
|
37
|
+
* @type {Array<string>}
|
|
38
38
|
* @memberof GetUserWx200Response
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'headerNames'?: Array<string>;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {object}
|
|
@@ -76,10 +76,10 @@ export interface GetUserWx200Response {
|
|
|
76
76
|
'bufferSize'?: number;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
|
-
* @type {
|
|
79
|
+
* @type {string}
|
|
80
80
|
* @memberof GetUserWx200Response
|
|
81
81
|
*/
|
|
82
|
-
'
|
|
82
|
+
'characterEncoding'?: string;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
85
|
* @type {number}
|
|
@@ -94,9 +94,9 @@ export interface GetUserWx200Response {
|
|
|
94
94
|
'committed'?: boolean;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
|
-
* @type {
|
|
97
|
+
* @type {object}
|
|
98
98
|
* @memberof GetUserWx200Response
|
|
99
99
|
*/
|
|
100
|
-
'
|
|
100
|
+
'writer'?: object;
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -83,6 +83,12 @@ export interface PlanDetailDTO {
|
|
|
83
83
|
* @memberof PlanDetailDTO
|
|
84
84
|
*/
|
|
85
85
|
'maintenanceItems'?: Array<PlanInspectionItemsDTO>;
|
|
86
|
+
/**
|
|
87
|
+
* 灾害预警项集合
|
|
88
|
+
* @type {Array<PlanInspectionItemsDTO>}
|
|
89
|
+
* @memberof PlanDetailDTO
|
|
90
|
+
*/
|
|
91
|
+
'disasterWarningItems'?: Array<PlanInspectionItemsDTO>;
|
|
86
92
|
/**
|
|
87
93
|
*
|
|
88
94
|
* @type {PlanItemEditVo}
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { DisasterWarningStandardEntity } from './disaster-warning-standard-entity';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import type { InspectionStandardEntity } from './inspection-standard-entity';
|
|
@@ -56,6 +59,12 @@ export interface PlanInspectionItemsDTO {
|
|
|
56
59
|
* @memberof PlanInspectionItemsDTO
|
|
57
60
|
*/
|
|
58
61
|
'inspectionStandards'?: Array<InspectionStandardEntity>;
|
|
62
|
+
/**
|
|
63
|
+
* 灾害预警标准
|
|
64
|
+
* @type {Array<DisasterWarningStandardEntity>}
|
|
65
|
+
* @memberof PlanInspectionItemsDTO
|
|
66
|
+
*/
|
|
67
|
+
'disasterWarningStandards'?: Array<DisasterWarningStandardEntity>;
|
|
59
68
|
/**
|
|
60
69
|
* 排序
|
|
61
70
|
* @type {number}
|
package/models/sys-user.ts
CHANGED
|
@@ -379,15 +379,15 @@ export interface SysUser {
|
|
|
379
379
|
'userAttachments'?: Array<SysUserAttachmentInfo>;
|
|
380
380
|
/**
|
|
381
381
|
*
|
|
382
|
-
* @type {
|
|
382
|
+
* @type {number}
|
|
383
383
|
* @memberof SysUser
|
|
384
384
|
*/
|
|
385
|
-
'
|
|
385
|
+
'cuserId'?: number;
|
|
386
386
|
/**
|
|
387
387
|
*
|
|
388
|
-
* @type {
|
|
388
|
+
* @type {string}
|
|
389
389
|
* @memberof SysUser
|
|
390
390
|
*/
|
|
391
|
-
'
|
|
391
|
+
'cid'?: string;
|
|
392
392
|
}
|
|
393
393
|
|