@gizone/rrs-client 4.2.0-alpha.383 → 4.2.0-alpha.384
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 +2 -0
- package/api.ts +1 -0
- package/apis/equipment-api.ts +91 -0
- package/apis/hwork-api.ts +167 -0
- package/apis/work-order-api.ts +18 -5
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/equipment-api.d.ts +47 -0
- package/dist/apis/equipment-api.js +70 -0
- package/dist/apis/hwork-api.d.ts +96 -0
- package/dist/apis/hwork-api.js +145 -0
- package/dist/apis/work-order-api.d.ts +10 -2
- package/dist/apis/work-order-api.js +10 -5
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/equipment-api.d.ts +47 -0
- package/dist/esm/apis/equipment-api.js +70 -0
- package/dist/esm/apis/hwork-api.d.ts +96 -0
- package/dist/esm/apis/hwork-api.js +138 -0
- package/dist/esm/apis/work-order-api.d.ts +10 -2
- package/dist/esm/apis/work-order-api.js +10 -5
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/login-type-enum.d.ts +2 -0
- package/dist/esm/models/login-type-enum.js +3 -1
- package/dist/esm/models/park-info-dto.d.ts +12 -0
- package/dist/esm/models/plan-search-dto.d.ts +6 -0
- package/dist/esm/models/space.d.ts +12 -0
- package/dist/esm/models/sys-post.d.ts +6 -0
- package/dist/esm/models/sys-role.d.ts +6 -0
- package/dist/esm/models/sys-user.d.ts +15 -2
- package/dist/esm/models/user-source-enum.d.ts +21 -0
- package/dist/esm/models/user-source-enum.js +22 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/login-type-enum.d.ts +2 -0
- package/dist/models/login-type-enum.js +3 -1
- package/dist/models/park-info-dto.d.ts +12 -0
- package/dist/models/plan-search-dto.d.ts +6 -0
- package/dist/models/space.d.ts +12 -0
- package/dist/models/sys-post.d.ts +6 -0
- package/dist/models/sys-role.d.ts +6 -0
- package/dist/models/sys-user.d.ts +15 -2
- package/dist/models/user-source-enum.d.ts +21 -0
- package/dist/models/user-source-enum.js +25 -0
- package/models/index.ts +1 -0
- package/models/login-type-enum.ts +3 -1
- package/models/park-info-dto.ts +12 -0
- package/models/plan-search-dto.ts +6 -0
- package/models/space.ts +12 -0
- package/models/sys-post.ts +6 -0
- package/models/sys-role.ts +6 -0
- package/models/sys-user.ts +19 -2
- package/models/user-source-enum.ts +31 -0
- package/package.json +1 -1
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import globalAxios from 'axios';
|
|
24
|
+
// Some imports not used depending on template conditions
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* HWorkApi - axios parameter creator
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export const HWorkApiAxiosParamCreator = function (configuration) {
|
|
34
|
+
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
38
|
+
* @param {LoginTypeEnum} loginType
|
|
39
|
+
* @param {number} [groupId]
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
initHWorkUser: (loginType_1, groupId_1, ...args_1) => __awaiter(this, [loginType_1, groupId_1, ...args_1], void 0, function* (loginType, groupId, options = {}) {
|
|
44
|
+
// verify required parameter 'loginType' is not null or undefined
|
|
45
|
+
assertParamExists('initHWorkUser', 'loginType', loginType);
|
|
46
|
+
const localVarPath = `/haier/hwork/initHWorkUser`;
|
|
47
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49
|
+
let baseOptions;
|
|
50
|
+
if (configuration) {
|
|
51
|
+
baseOptions = configuration.baseOptions;
|
|
52
|
+
}
|
|
53
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
54
|
+
const localVarHeaderParameter = {};
|
|
55
|
+
const localVarQueryParameter = {};
|
|
56
|
+
// authentication tokenScheme required
|
|
57
|
+
// http bearer authentication required
|
|
58
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
59
|
+
if (groupId !== undefined) {
|
|
60
|
+
localVarQueryParameter['groupId'] = groupId;
|
|
61
|
+
}
|
|
62
|
+
if (loginType !== undefined) {
|
|
63
|
+
localVarQueryParameter['loginType'] = loginType;
|
|
64
|
+
}
|
|
65
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
66
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
67
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
68
|
+
return {
|
|
69
|
+
url: toPathString(localVarUrlObj),
|
|
70
|
+
options: localVarRequestOptions,
|
|
71
|
+
};
|
|
72
|
+
}),
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* HWorkApi - functional programming interface
|
|
77
|
+
* @export
|
|
78
|
+
*/
|
|
79
|
+
export const HWorkApiFp = function (configuration) {
|
|
80
|
+
const localVarAxiosParamCreator = HWorkApiAxiosParamCreator(configuration);
|
|
81
|
+
return {
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
85
|
+
* @param {LoginTypeEnum} loginType
|
|
86
|
+
* @param {number} [groupId]
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
initHWorkUser(loginType, groupId, options) {
|
|
91
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
var _a, _b, _c;
|
|
93
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.initHWorkUser(loginType, groupId, options);
|
|
94
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
95
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HWorkApi.initHWorkUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
96
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
97
|
+
});
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* HWorkApi - factory interface
|
|
103
|
+
* @export
|
|
104
|
+
*/
|
|
105
|
+
export const HWorkApiFactory = function (configuration, basePath, axios) {
|
|
106
|
+
const localVarFp = HWorkApiFp(configuration);
|
|
107
|
+
return {
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
111
|
+
* @param {HWorkApiInitHWorkUserRequest} requestParameters Request parameters.
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
initHWorkUser(requestParameters, options) {
|
|
116
|
+
return localVarFp.initHWorkUser(requestParameters.loginType, requestParameters.groupId, options).then((request) => request(axios, basePath));
|
|
117
|
+
},
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* HWorkApi - object-oriented interface
|
|
122
|
+
* @export
|
|
123
|
+
* @class HWorkApi
|
|
124
|
+
* @extends {BaseAPI}
|
|
125
|
+
*/
|
|
126
|
+
export class HWorkApi extends BaseAPI {
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
130
|
+
* @param {HWorkApiInitHWorkUserRequest} requestParameters Request parameters.
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
* @memberof HWorkApi
|
|
134
|
+
*/
|
|
135
|
+
initHWorkUser(requestParameters, options) {
|
|
136
|
+
return HWorkApiFp(this.configuration).initHWorkUser(requestParameters.loginType, requestParameters.groupId, options).then((request) => request(this.axios, this.basePath));
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -219,10 +219,11 @@ export declare const WorkOrderApiAxiosParamCreator: (configuration?: Configurati
|
|
|
219
219
|
* @param {WorkOrderPlanRepeatsEnum} [repeats] 执行周期
|
|
220
220
|
* @param {number} [state] 计划状态 1:启用 0:停用
|
|
221
221
|
* @param {Array<WorkOrderTypeSubcategoryEnum>} [workOrderTypeSubcategories] 工单类型小类
|
|
222
|
+
* @param {Array<number>} [itemIds] 巡检点ID
|
|
222
223
|
* @param {*} [options] Override http request option.
|
|
223
224
|
* @throws {RequiredError}
|
|
224
225
|
*/
|
|
225
|
-
planList: (parkId: number, page: number, pageSize: number, planName?: string, deptIds?: Array<number>, planTypes?: Array<PlanListPlanTypesEnum>, repeats?: WorkOrderPlanRepeatsEnum, state?: number, workOrderTypeSubcategories?: Array<WorkOrderTypeSubcategoryEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
226
|
+
planList: (parkId: number, page: number, pageSize: number, planName?: string, deptIds?: Array<number>, planTypes?: Array<PlanListPlanTypesEnum>, repeats?: WorkOrderPlanRepeatsEnum, state?: number, workOrderTypeSubcategories?: Array<WorkOrderTypeSubcategoryEnum>, itemIds?: Array<number>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
226
227
|
/**
|
|
227
228
|
*
|
|
228
229
|
* @summary 处理报事报修工单
|
|
@@ -749,10 +750,11 @@ export declare const WorkOrderApiFp: (configuration?: Configuration) => {
|
|
|
749
750
|
* @param {WorkOrderPlanRepeatsEnum} [repeats] 执行周期
|
|
750
751
|
* @param {number} [state] 计划状态 1:启用 0:停用
|
|
751
752
|
* @param {Array<WorkOrderTypeSubcategoryEnum>} [workOrderTypeSubcategories] 工单类型小类
|
|
753
|
+
* @param {Array<number>} [itemIds] 巡检点ID
|
|
752
754
|
* @param {*} [options] Override http request option.
|
|
753
755
|
* @throws {RequiredError}
|
|
754
756
|
*/
|
|
755
|
-
planList(parkId: number, page: number, pageSize: number, planName?: string, deptIds?: Array<number>, planTypes?: Array<PlanListPlanTypesEnum>, repeats?: WorkOrderPlanRepeatsEnum, state?: number, workOrderTypeSubcategories?: Array<WorkOrderTypeSubcategoryEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoPlanSearchDTO>>;
|
|
757
|
+
planList(parkId: number, page: number, pageSize: number, planName?: string, deptIds?: Array<number>, planTypes?: Array<PlanListPlanTypesEnum>, repeats?: WorkOrderPlanRepeatsEnum, state?: number, workOrderTypeSubcategories?: Array<WorkOrderTypeSubcategoryEnum>, itemIds?: Array<number>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoPlanSearchDTO>>;
|
|
756
758
|
/**
|
|
757
759
|
*
|
|
758
760
|
* @summary 处理报事报修工单
|
|
@@ -1928,6 +1930,12 @@ export interface WorkOrderApiPlanListRequest {
|
|
|
1928
1930
|
* @memberof WorkOrderApiPlanList
|
|
1929
1931
|
*/
|
|
1930
1932
|
readonly workOrderTypeSubcategories?: Array<WorkOrderTypeSubcategoryEnum>;
|
|
1933
|
+
/**
|
|
1934
|
+
* 巡检点ID
|
|
1935
|
+
* @type {Array<number>}
|
|
1936
|
+
* @memberof WorkOrderApiPlanList
|
|
1937
|
+
*/
|
|
1938
|
+
readonly itemIds?: Array<number>;
|
|
1931
1939
|
}
|
|
1932
1940
|
/**
|
|
1933
1941
|
* Request parameters for processWorkOrder operation in WorkOrderApi.
|
|
@@ -599,10 +599,11 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
599
599
|
* @param {WorkOrderPlanRepeatsEnum} [repeats] 执行周期
|
|
600
600
|
* @param {number} [state] 计划状态 1:启用 0:停用
|
|
601
601
|
* @param {Array<WorkOrderTypeSubcategoryEnum>} [workOrderTypeSubcategories] 工单类型小类
|
|
602
|
+
* @param {Array<number>} [itemIds] 巡检点ID
|
|
602
603
|
* @param {*} [options] Override http request option.
|
|
603
604
|
* @throws {RequiredError}
|
|
604
605
|
*/
|
|
605
|
-
planList: (parkId_1, page_1, pageSize_1, planName_1, deptIds_1, planTypes_1, repeats_1, state_1, workOrderTypeSubcategories_1, ...args_1) => __awaiter(this, [parkId_1, page_1, pageSize_1, planName_1, deptIds_1, planTypes_1, repeats_1, state_1, workOrderTypeSubcategories_1, ...args_1], void 0, function* (parkId, page, pageSize, planName, deptIds, planTypes, repeats, state, workOrderTypeSubcategories, options = {}) {
|
|
606
|
+
planList: (parkId_1, page_1, pageSize_1, planName_1, deptIds_1, planTypes_1, repeats_1, state_1, workOrderTypeSubcategories_1, itemIds_1, ...args_1) => __awaiter(this, [parkId_1, page_1, pageSize_1, planName_1, deptIds_1, planTypes_1, repeats_1, state_1, workOrderTypeSubcategories_1, itemIds_1, ...args_1], void 0, function* (parkId, page, pageSize, planName, deptIds, planTypes, repeats, state, workOrderTypeSubcategories, itemIds, options = {}) {
|
|
606
607
|
// verify required parameter 'parkId' is not null or undefined
|
|
607
608
|
assertParamExists('planList', 'parkId', parkId);
|
|
608
609
|
// verify required parameter 'page' is not null or undefined
|
|
@@ -649,6 +650,9 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
649
650
|
if (workOrderTypeSubcategories) {
|
|
650
651
|
localVarQueryParameter['workOrderTypeSubcategories'] = workOrderTypeSubcategories;
|
|
651
652
|
}
|
|
653
|
+
if (itemIds) {
|
|
654
|
+
localVarQueryParameter['itemIds'] = itemIds;
|
|
655
|
+
}
|
|
652
656
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
653
657
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
654
658
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2459,13 +2463,14 @@ export const WorkOrderApiFp = function (configuration) {
|
|
|
2459
2463
|
* @param {WorkOrderPlanRepeatsEnum} [repeats] 执行周期
|
|
2460
2464
|
* @param {number} [state] 计划状态 1:启用 0:停用
|
|
2461
2465
|
* @param {Array<WorkOrderTypeSubcategoryEnum>} [workOrderTypeSubcategories] 工单类型小类
|
|
2466
|
+
* @param {Array<number>} [itemIds] 巡检点ID
|
|
2462
2467
|
* @param {*} [options] Override http request option.
|
|
2463
2468
|
* @throws {RequiredError}
|
|
2464
2469
|
*/
|
|
2465
|
-
planList(parkId, page, pageSize, planName, deptIds, planTypes, repeats, state, workOrderTypeSubcategories, options) {
|
|
2470
|
+
planList(parkId, page, pageSize, planName, deptIds, planTypes, repeats, state, workOrderTypeSubcategories, itemIds, options) {
|
|
2466
2471
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2467
2472
|
var _a, _b, _c;
|
|
2468
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.planList(parkId, page, pageSize, planName, deptIds, planTypes, repeats, state, workOrderTypeSubcategories, options);
|
|
2473
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.planList(parkId, page, pageSize, planName, deptIds, planTypes, repeats, state, workOrderTypeSubcategories, itemIds, options);
|
|
2469
2474
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2470
2475
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.planList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2471
2476
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3340,7 +3345,7 @@ export const WorkOrderApiFactory = function (configuration, basePath, axios) {
|
|
|
3340
3345
|
* @throws {RequiredError}
|
|
3341
3346
|
*/
|
|
3342
3347
|
planList(requestParameters, options) {
|
|
3343
|
-
return localVarFp.planList(requestParameters.parkId, requestParameters.page, requestParameters.pageSize, requestParameters.planName, requestParameters.deptIds, requestParameters.planTypes, requestParameters.repeats, requestParameters.state, requestParameters.workOrderTypeSubcategories, options).then((request) => request(axios, basePath));
|
|
3348
|
+
return localVarFp.planList(requestParameters.parkId, requestParameters.page, requestParameters.pageSize, requestParameters.planName, requestParameters.deptIds, requestParameters.planTypes, requestParameters.repeats, requestParameters.state, requestParameters.workOrderTypeSubcategories, requestParameters.itemIds, options).then((request) => request(axios, basePath));
|
|
3344
3349
|
},
|
|
3345
3350
|
/**
|
|
3346
3351
|
*
|
|
@@ -3934,7 +3939,7 @@ export class WorkOrderApi extends BaseAPI {
|
|
|
3934
3939
|
* @memberof WorkOrderApi
|
|
3935
3940
|
*/
|
|
3936
3941
|
planList(requestParameters, options) {
|
|
3937
|
-
return WorkOrderApiFp(this.configuration).planList(requestParameters.parkId, requestParameters.page, requestParameters.pageSize, requestParameters.planName, requestParameters.deptIds, requestParameters.planTypes, requestParameters.repeats, requestParameters.state, requestParameters.workOrderTypeSubcategories, options).then((request) => request(this.axios, this.basePath));
|
|
3942
|
+
return WorkOrderApiFp(this.configuration).planList(requestParameters.parkId, requestParameters.page, requestParameters.pageSize, requestParameters.planName, requestParameters.deptIds, requestParameters.planTypes, requestParameters.repeats, requestParameters.state, requestParameters.workOrderTypeSubcategories, requestParameters.itemIds, options).then((request) => request(this.axios, this.basePath));
|
|
3938
3943
|
}
|
|
3939
3944
|
/**
|
|
3940
3945
|
*
|
|
@@ -415,6 +415,7 @@ export * from './user-excel-dto';
|
|
|
415
415
|
export * from './user-roles-and-permissions-dto';
|
|
416
416
|
export * from './user-settings-entity';
|
|
417
417
|
export * from './user-settings-update-bo';
|
|
418
|
+
export * from './user-source-enum';
|
|
418
419
|
export * from './user-whether-privacy-dto';
|
|
419
420
|
export * from './violation-center-attribute-enum';
|
|
420
421
|
export * from './violation-decision-vo';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -415,6 +415,7 @@ export * from './user-excel-dto';
|
|
|
415
415
|
export * from './user-roles-and-permissions-dto';
|
|
416
416
|
export * from './user-settings-entity';
|
|
417
417
|
export * from './user-settings-update-bo';
|
|
418
|
+
export * from './user-source-enum';
|
|
418
419
|
export * from './user-whether-privacy-dto';
|
|
419
420
|
export * from './violation-center-attribute-enum';
|
|
420
421
|
export * from './violation-decision-vo';
|
|
@@ -19,5 +19,7 @@ export declare const LoginTypeEnum: {
|
|
|
19
19
|
readonly Applet: "APPLET";
|
|
20
20
|
readonly App: "APP";
|
|
21
21
|
readonly H5: "H5";
|
|
22
|
+
readonly HWorkPc: "H_WORK_PC";
|
|
23
|
+
readonly HWorkApp: "H_WORK_APP";
|
|
22
24
|
};
|
|
23
25
|
export type LoginTypeEnum = typeof LoginTypeEnum[keyof typeof LoginTypeEnum];
|
|
@@ -64,6 +64,18 @@ export interface ParkInfoDTO {
|
|
|
64
64
|
* @memberof ParkInfoDTO
|
|
65
65
|
*/
|
|
66
66
|
'ancestors'?: string;
|
|
67
|
+
/**
|
|
68
|
+
* 集团ID
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof ParkInfoDTO
|
|
71
|
+
*/
|
|
72
|
+
'groupId'?: number;
|
|
73
|
+
/**
|
|
74
|
+
* 大区ID
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof ParkInfoDTO
|
|
77
|
+
*/
|
|
78
|
+
'areaId'?: number;
|
|
67
79
|
/**
|
|
68
80
|
* 园区平面图
|
|
69
81
|
* @type {string}
|
|
@@ -78,6 +78,12 @@ export interface PlanSearchDTO {
|
|
|
78
78
|
* @memberof PlanSearchDTO
|
|
79
79
|
*/
|
|
80
80
|
'workOrderTypeSubcategory'?: WorkOrderTypeSubcategoryEnum;
|
|
81
|
+
/**
|
|
82
|
+
* 巡检点ID集合
|
|
83
|
+
* @type {Array<number>}
|
|
84
|
+
* @memberof PlanSearchDTO
|
|
85
|
+
*/
|
|
86
|
+
'itemIds'?: Array<number>;
|
|
81
87
|
}
|
|
82
88
|
export declare const PlanSearchDTOPlanTypeEnum: {
|
|
83
89
|
readonly PlanTypeShebeiweibao: "PLAN_TYPE_SHEBEIWEIBAO";
|
|
@@ -40,4 +40,16 @@ export interface Space {
|
|
|
40
40
|
* @memberof Space
|
|
41
41
|
*/
|
|
42
42
|
'parentName'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* 父ID
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof Space
|
|
47
|
+
*/
|
|
48
|
+
'parentId'?: number;
|
|
49
|
+
/**
|
|
50
|
+
* 父ID列表
|
|
51
|
+
* @type {Array<number>}
|
|
52
|
+
* @memberof Space
|
|
53
|
+
*/
|
|
54
|
+
'parentIds'?: Array<number>;
|
|
43
55
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { SysDept } from './sys-dept';
|
|
13
13
|
import type { SysRole } from './sys-role';
|
|
14
14
|
import type { SysUserAttachmentInfo } from './sys-user-attachment-info';
|
|
15
|
+
import type { UserSourceEnum } from './user-source-enum';
|
|
15
16
|
/**
|
|
16
17
|
* 用户对象
|
|
17
18
|
* @export
|
|
@@ -364,14 +365,26 @@ export interface SysUser {
|
|
|
364
365
|
'userAttachments'?: Array<SysUserAttachmentInfo>;
|
|
365
366
|
/**
|
|
366
367
|
*
|
|
367
|
-
* @type {
|
|
368
|
+
* @type {UserSourceEnum}
|
|
368
369
|
* @memberof SysUser
|
|
369
370
|
*/
|
|
370
|
-
'
|
|
371
|
+
'userSource'?: UserSourceEnum;
|
|
372
|
+
/**
|
|
373
|
+
* 源用户ID
|
|
374
|
+
* @type {string}
|
|
375
|
+
* @memberof SysUser
|
|
376
|
+
*/
|
|
377
|
+
'sourceUserId'?: string;
|
|
371
378
|
/**
|
|
372
379
|
*
|
|
373
380
|
* @type {string}
|
|
374
381
|
* @memberof SysUser
|
|
375
382
|
*/
|
|
376
383
|
'cid'?: string;
|
|
384
|
+
/**
|
|
385
|
+
*
|
|
386
|
+
* @type {number}
|
|
387
|
+
* @memberof SysUser
|
|
388
|
+
*/
|
|
389
|
+
'cuserId'?: number;
|
|
377
390
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 用户来源
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const UserSourceEnum: {
|
|
18
|
+
readonly Internal: "INTERNAL";
|
|
19
|
+
readonly Hwork: "HWORK";
|
|
20
|
+
};
|
|
21
|
+
export type UserSourceEnum = typeof UserSourceEnum[keyof typeof UserSourceEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* 用户来源
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const UserSourceEnum = {
|
|
20
|
+
Internal: 'INTERNAL',
|
|
21
|
+
Hwork: 'HWORK'
|
|
22
|
+
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -415,6 +415,7 @@ export * from './user-excel-dto';
|
|
|
415
415
|
export * from './user-roles-and-permissions-dto';
|
|
416
416
|
export * from './user-settings-entity';
|
|
417
417
|
export * from './user-settings-update-bo';
|
|
418
|
+
export * from './user-source-enum';
|
|
418
419
|
export * from './user-whether-privacy-dto';
|
|
419
420
|
export * from './violation-center-attribute-enum';
|
|
420
421
|
export * from './violation-decision-vo';
|
package/dist/models/index.js
CHANGED
|
@@ -431,6 +431,7 @@ __exportStar(require("./user-excel-dto"), exports);
|
|
|
431
431
|
__exportStar(require("./user-roles-and-permissions-dto"), exports);
|
|
432
432
|
__exportStar(require("./user-settings-entity"), exports);
|
|
433
433
|
__exportStar(require("./user-settings-update-bo"), exports);
|
|
434
|
+
__exportStar(require("./user-source-enum"), exports);
|
|
434
435
|
__exportStar(require("./user-whether-privacy-dto"), exports);
|
|
435
436
|
__exportStar(require("./violation-center-attribute-enum"), exports);
|
|
436
437
|
__exportStar(require("./violation-decision-vo"), exports);
|
|
@@ -19,5 +19,7 @@ export declare const LoginTypeEnum: {
|
|
|
19
19
|
readonly Applet: "APPLET";
|
|
20
20
|
readonly App: "APP";
|
|
21
21
|
readonly H5: "H5";
|
|
22
|
+
readonly HWorkPc: "H_WORK_PC";
|
|
23
|
+
readonly HWorkApp: "H_WORK_APP";
|
|
22
24
|
};
|
|
23
25
|
export type LoginTypeEnum = typeof LoginTypeEnum[keyof typeof LoginTypeEnum];
|
|
@@ -64,6 +64,18 @@ export interface ParkInfoDTO {
|
|
|
64
64
|
* @memberof ParkInfoDTO
|
|
65
65
|
*/
|
|
66
66
|
'ancestors'?: string;
|
|
67
|
+
/**
|
|
68
|
+
* 集团ID
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof ParkInfoDTO
|
|
71
|
+
*/
|
|
72
|
+
'groupId'?: number;
|
|
73
|
+
/**
|
|
74
|
+
* 大区ID
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof ParkInfoDTO
|
|
77
|
+
*/
|
|
78
|
+
'areaId'?: number;
|
|
67
79
|
/**
|
|
68
80
|
* 园区平面图
|
|
69
81
|
* @type {string}
|
|
@@ -78,6 +78,12 @@ export interface PlanSearchDTO {
|
|
|
78
78
|
* @memberof PlanSearchDTO
|
|
79
79
|
*/
|
|
80
80
|
'workOrderTypeSubcategory'?: WorkOrderTypeSubcategoryEnum;
|
|
81
|
+
/**
|
|
82
|
+
* 巡检点ID集合
|
|
83
|
+
* @type {Array<number>}
|
|
84
|
+
* @memberof PlanSearchDTO
|
|
85
|
+
*/
|
|
86
|
+
'itemIds'?: Array<number>;
|
|
81
87
|
}
|
|
82
88
|
export declare const PlanSearchDTOPlanTypeEnum: {
|
|
83
89
|
readonly PlanTypeShebeiweibao: "PLAN_TYPE_SHEBEIWEIBAO";
|
package/dist/models/space.d.ts
CHANGED
|
@@ -40,4 +40,16 @@ export interface Space {
|
|
|
40
40
|
* @memberof Space
|
|
41
41
|
*/
|
|
42
42
|
'parentName'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* 父ID
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof Space
|
|
47
|
+
*/
|
|
48
|
+
'parentId'?: number;
|
|
49
|
+
/**
|
|
50
|
+
* 父ID列表
|
|
51
|
+
* @type {Array<number>}
|
|
52
|
+
* @memberof Space
|
|
53
|
+
*/
|
|
54
|
+
'parentIds'?: Array<number>;
|
|
43
55
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { SysDept } from './sys-dept';
|
|
13
13
|
import type { SysRole } from './sys-role';
|
|
14
14
|
import type { SysUserAttachmentInfo } from './sys-user-attachment-info';
|
|
15
|
+
import type { UserSourceEnum } from './user-source-enum';
|
|
15
16
|
/**
|
|
16
17
|
* 用户对象
|
|
17
18
|
* @export
|
|
@@ -364,14 +365,26 @@ export interface SysUser {
|
|
|
364
365
|
'userAttachments'?: Array<SysUserAttachmentInfo>;
|
|
365
366
|
/**
|
|
366
367
|
*
|
|
367
|
-
* @type {
|
|
368
|
+
* @type {UserSourceEnum}
|
|
368
369
|
* @memberof SysUser
|
|
369
370
|
*/
|
|
370
|
-
'
|
|
371
|
+
'userSource'?: UserSourceEnum;
|
|
372
|
+
/**
|
|
373
|
+
* 源用户ID
|
|
374
|
+
* @type {string}
|
|
375
|
+
* @memberof SysUser
|
|
376
|
+
*/
|
|
377
|
+
'sourceUserId'?: string;
|
|
371
378
|
/**
|
|
372
379
|
*
|
|
373
380
|
* @type {string}
|
|
374
381
|
* @memberof SysUser
|
|
375
382
|
*/
|
|
376
383
|
'cid'?: string;
|
|
384
|
+
/**
|
|
385
|
+
*
|
|
386
|
+
* @type {number}
|
|
387
|
+
* @memberof SysUser
|
|
388
|
+
*/
|
|
389
|
+
'cuserId'?: number;
|
|
377
390
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 用户来源
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const UserSourceEnum: {
|
|
18
|
+
readonly Internal: "INTERNAL";
|
|
19
|
+
readonly Hwork: "HWORK";
|
|
20
|
+
};
|
|
21
|
+
export type UserSourceEnum = typeof UserSourceEnum[keyof typeof UserSourceEnum];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserSourceEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* 用户来源
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.UserSourceEnum = {
|
|
23
|
+
Internal: 'INTERNAL',
|
|
24
|
+
Hwork: 'HWORK'
|
|
25
|
+
};
|
package/models/index.ts
CHANGED
|
@@ -415,6 +415,7 @@ export * from './user-excel-dto';
|
|
|
415
415
|
export * from './user-roles-and-permissions-dto';
|
|
416
416
|
export * from './user-settings-entity';
|
|
417
417
|
export * from './user-settings-update-bo';
|
|
418
|
+
export * from './user-source-enum';
|
|
418
419
|
export * from './user-whether-privacy-dto';
|
|
419
420
|
export * from './violation-center-attribute-enum';
|
|
420
421
|
export * from './violation-decision-vo';
|