@gizone/rrs-client 4.1.1-beta.157 → 4.1.2-alpha.165
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 +9 -0
- package/README.md +2 -2
- package/api.ts +1 -0
- package/apis/offline-alert-work-order-controller-api.ts +149 -0
- package/apis/work-order-api.ts +103 -0
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/offline-alert-work-order-controller-api.d.ts +87 -0
- package/dist/apis/offline-alert-work-order-controller-api.js +138 -0
- package/dist/apis/work-order-api.d.ts +55 -0
- package/dist/apis/work-order-api.js +75 -0
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/offline-alert-work-order-controller-api.d.ts +87 -0
- package/dist/esm/apis/offline-alert-work-order-controller-api.js +131 -0
- package/dist/esm/apis/work-order-api.d.ts +55 -0
- package/dist/esm/apis/work-order-api.js +75 -0
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/models/get-user-wx200-response.d.ts +10 -10
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/esm/models/ipage-access-vo.d.ts +4 -4
- package/dist/esm/models/json-result-offline-alert-work-order-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-offline-alert-work-order-details-dto.js +14 -0
- package/dist/esm/models/network-monitor-repair-add-vo.d.ts +6 -0
- package/dist/esm/models/network-monitor-repair-details-dto.d.ts +13 -0
- package/dist/esm/models/offline-alert-device-vo.d.ts +30 -0
- package/dist/esm/models/offline-alert-device-vo.js +14 -0
- package/dist/esm/models/offline-alert-submit-vo.d.ts +43 -0
- package/dist/esm/models/offline-alert-submit-vo.js +14 -0
- package/dist/esm/models/offline-alert-work-order-details-dto.d.ts +98 -0
- package/dist/esm/models/offline-alert-work-order-details-dto.js +20 -0
- package/dist/esm/models/offline-alert-work-order-info.d.ts +72 -0
- package/dist/esm/models/offline-alert-work-order-info.js +21 -0
- package/dist/esm/models/offline-alert-work-order-vo.d.ts +43 -0
- package/dist/esm/models/offline-alert-work-order-vo.js +14 -0
- package/dist/esm/models/result-code.d.ts +1 -0
- package/dist/esm/models/result-code.js +1 -0
- package/dist/esm/models/source-work-order-dto.d.ts +37 -0
- package/dist/esm/models/source-work-order-dto.js +14 -0
- package/dist/esm/models/sync-device-unit-vo.d.ts +0 -12
- package/dist/esm/models/system-user-msg-source-type-enum.d.ts +1 -0
- package/dist/esm/models/system-user-msg-source-type-enum.js +2 -1
- package/dist/esm/models/work-order-ext-data.d.ts +7 -0
- package/dist/esm/models/work-order-internal-status-enum.d.ts +2 -0
- package/dist/esm/models/work-order-internal-status-enum.js +3 -1
- package/dist/esm/models/work-order-issue-type-enum.d.ts +10 -0
- package/dist/esm/models/work-order-issue-type-enum.js +11 -1
- package/dist/esm/models/work-order-report-vo.d.ts +8 -1
- package/dist/esm/models/work-order-search-dto.d.ts +6 -0
- package/dist/esm/models/work-order-settings-type-enum.d.ts +1 -0
- package/dist/esm/models/work-order-settings-type-enum.js +2 -1
- package/dist/esm/models/work-order-source-enum.d.ts +1 -1
- package/dist/esm/models/work-order-source-enum.js +1 -1
- package/dist/esm/models/work-order-submit-vo.d.ts +25 -0
- package/dist/esm/models/work-order-submit-vo.js +14 -0
- package/dist/esm/models/work-order-type-enum.d.ts +1 -0
- package/dist/esm/models/work-order-type-enum.js +2 -1
- package/dist/models/get-user-wx200-response.d.ts +10 -10
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/ipage-access-vo.d.ts +4 -4
- package/dist/models/json-result-offline-alert-work-order-details-dto.d.ts +62 -0
- package/dist/models/json-result-offline-alert-work-order-details-dto.js +15 -0
- package/dist/models/network-monitor-repair-add-vo.d.ts +6 -0
- package/dist/models/network-monitor-repair-details-dto.d.ts +13 -0
- package/dist/models/offline-alert-device-vo.d.ts +30 -0
- package/dist/models/offline-alert-device-vo.js +15 -0
- package/dist/models/offline-alert-submit-vo.d.ts +43 -0
- package/dist/models/offline-alert-submit-vo.js +15 -0
- package/dist/models/offline-alert-work-order-details-dto.d.ts +98 -0
- package/dist/models/offline-alert-work-order-details-dto.js +23 -0
- package/dist/models/offline-alert-work-order-info.d.ts +72 -0
- package/dist/models/offline-alert-work-order-info.js +24 -0
- package/dist/models/offline-alert-work-order-vo.d.ts +43 -0
- package/dist/models/offline-alert-work-order-vo.js +15 -0
- package/dist/models/result-code.d.ts +1 -0
- package/dist/models/result-code.js +1 -0
- package/dist/models/source-work-order-dto.d.ts +37 -0
- package/dist/models/source-work-order-dto.js +15 -0
- package/dist/models/sync-device-unit-vo.d.ts +0 -12
- package/dist/models/system-user-msg-source-type-enum.d.ts +1 -0
- package/dist/models/system-user-msg-source-type-enum.js +2 -1
- package/dist/models/work-order-ext-data.d.ts +7 -0
- package/dist/models/work-order-internal-status-enum.d.ts +2 -0
- package/dist/models/work-order-internal-status-enum.js +3 -1
- package/dist/models/work-order-issue-type-enum.d.ts +10 -0
- package/dist/models/work-order-issue-type-enum.js +11 -1
- package/dist/models/work-order-report-vo.d.ts +8 -1
- package/dist/models/work-order-search-dto.d.ts +6 -0
- package/dist/models/work-order-settings-type-enum.d.ts +1 -0
- package/dist/models/work-order-settings-type-enum.js +2 -1
- package/dist/models/work-order-source-enum.d.ts +1 -1
- package/dist/models/work-order-source-enum.js +1 -1
- package/dist/models/work-order-submit-vo.d.ts +25 -0
- package/dist/models/work-order-submit-vo.js +15 -0
- package/dist/models/work-order-type-enum.d.ts +1 -0
- package/dist/models/work-order-type-enum.js +2 -1
- package/models/get-user-wx200-response.ts +10 -10
- package/models/index.ts +8 -0
- package/models/ipage-access-vo.ts +4 -4
- package/models/json-result-offline-alert-work-order-details-dto.ts +72 -0
- package/models/network-monitor-repair-add-vo.ts +6 -0
- package/models/network-monitor-repair-details-dto.ts +15 -0
- package/models/offline-alert-device-vo.ts +36 -0
- package/models/offline-alert-submit-vo.ts +53 -0
- package/models/offline-alert-work-order-details-dto.ts +119 -0
- package/models/offline-alert-work-order-info.ts +86 -0
- package/models/offline-alert-work-order-vo.ts +53 -0
- package/models/result-code.ts +1 -0
- package/models/source-work-order-dto.ts +47 -0
- package/models/sync-device-unit-vo.ts +0 -12
- package/models/system-user-msg-source-type-enum.ts +2 -1
- package/models/work-order-ext-data.ts +9 -0
- package/models/work-order-internal-status-enum.ts +3 -1
- package/models/work-order-issue-type-enum.ts +11 -1
- package/models/work-order-report-vo.ts +10 -1
- package/models/work-order-search-dto.ts +6 -0
- package/models/work-order-settings-type-enum.ts +2 -1
- package/models/work-order-source-enum.ts +1 -1
- package/models/work-order-submit-vo.ts +33 -0
- package/models/work-order-type-enum.ts +2 -1
- package/package.json +1 -1
package/models/index.ts
CHANGED
|
@@ -469,6 +469,7 @@ export * from './json-result-network-monitor-repair-details-dto';
|
|
|
469
469
|
export * from './json-result-news-entity';
|
|
470
470
|
export * from './json-result-node-dto';
|
|
471
471
|
export * from './json-result-object';
|
|
472
|
+
export * from './json-result-offline-alert-work-order-details-dto';
|
|
472
473
|
export * from './json-result-owner-kanban-energy-dto';
|
|
473
474
|
export * from './json-result-owner-kanban-index-safety-inspection-dto';
|
|
474
475
|
export * from './json-result-owner-kanban-two-park-call-police-number-statistics-dto';
|
|
@@ -597,6 +598,11 @@ export * from './news-query-vo';
|
|
|
597
598
|
export * from './node-dto';
|
|
598
599
|
export * from './node-type-enum';
|
|
599
600
|
export * from './notice-vo';
|
|
601
|
+
export * from './offline-alert-device-vo';
|
|
602
|
+
export * from './offline-alert-submit-vo';
|
|
603
|
+
export * from './offline-alert-work-order-details-dto';
|
|
604
|
+
export * from './offline-alert-work-order-info';
|
|
605
|
+
export * from './offline-alert-work-order-vo';
|
|
600
606
|
export * from './open-barrier-po';
|
|
601
607
|
export * from './operate-message-details-dto';
|
|
602
608
|
export * from './orders';
|
|
@@ -721,6 +727,7 @@ export * from './select-park-energy-bill-detail-bo';
|
|
|
721
727
|
export * from './select-time-cost-tenant-rent-bill-bo';
|
|
722
728
|
export * from './source-alert-dto';
|
|
723
729
|
export * from './source-feedback-dto';
|
|
730
|
+
export * from './source-work-order-dto';
|
|
724
731
|
export * from './source-work-order-inspection-dto';
|
|
725
732
|
export * from './space';
|
|
726
733
|
export * from './space-add-excel-dto';
|
|
@@ -885,6 +892,7 @@ export * from './work-order-staging-data-vo';
|
|
|
885
892
|
export * from './work-order-status-vo';
|
|
886
893
|
export * from './work-order-step-by-step-push-dto';
|
|
887
894
|
export * from './work-order-step-by-step-push-user-details-dto';
|
|
895
|
+
export * from './work-order-submit-vo';
|
|
888
896
|
export * from './work-order-surveillance-dto';
|
|
889
897
|
export * from './work-order-type-dto';
|
|
890
898
|
export * from './work-order-type-enum';
|
|
@@ -43,10 +43,10 @@ export interface IPageAccessVO {
|
|
|
43
43
|
'records'?: Array<AccessVO>;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {
|
|
46
|
+
* @type {number}
|
|
47
47
|
* @memberof IPageAccessVO
|
|
48
48
|
*/
|
|
49
|
-
'
|
|
49
|
+
'pages'?: number;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {boolean}
|
|
@@ -56,10 +56,10 @@ export interface IPageAccessVO {
|
|
|
56
56
|
'hitCount'?: boolean;
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
|
-
* @type {
|
|
59
|
+
* @type {boolean}
|
|
60
60
|
* @memberof IPageAccessVO
|
|
61
61
|
*/
|
|
62
|
-
'
|
|
62
|
+
'searchCount'?: boolean;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @type {number}
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { BaseErrorResult } from './base-error-result';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { OfflineAlertWorkOrderDetailsDto } from './offline-alert-work-order-details-dto';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface JsonResultOfflineAlertWorkOrderDetailsDto
|
|
27
|
+
*/
|
|
28
|
+
export interface JsonResultOfflineAlertWorkOrderDetailsDto {
|
|
29
|
+
/**
|
|
30
|
+
* 错误码,0:成功,其他:失败
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof JsonResultOfflineAlertWorkOrderDetailsDto
|
|
33
|
+
*/
|
|
34
|
+
'code'?: number;
|
|
35
|
+
/**
|
|
36
|
+
* 错误消息
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof JsonResultOfflineAlertWorkOrderDetailsDto
|
|
39
|
+
*/
|
|
40
|
+
'msg'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* 错误堆栈
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof JsonResultOfflineAlertWorkOrderDetailsDto
|
|
45
|
+
*/
|
|
46
|
+
'stacks'?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {OfflineAlertWorkOrderDetailsDto}
|
|
50
|
+
* @memberof JsonResultOfflineAlertWorkOrderDetailsDto
|
|
51
|
+
*/
|
|
52
|
+
'data'?: OfflineAlertWorkOrderDetailsDto | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {BaseErrorResult}
|
|
56
|
+
* @memberof JsonResultOfflineAlertWorkOrderDetailsDto
|
|
57
|
+
*/
|
|
58
|
+
'error'?: BaseErrorResult | null;
|
|
59
|
+
/**
|
|
60
|
+
* 日志追踪ID
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof JsonResultOfflineAlertWorkOrderDetailsDto
|
|
63
|
+
*/
|
|
64
|
+
'traceId'?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
* requestId
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof JsonResultOfflineAlertWorkOrderDetailsDto
|
|
69
|
+
*/
|
|
70
|
+
'requestId'?: string | null;
|
|
71
|
+
}
|
|
72
|
+
|
|
@@ -95,6 +95,12 @@ export interface NetworkMonitorRepairAddVo {
|
|
|
95
95
|
* @memberof NetworkMonitorRepairAddVo
|
|
96
96
|
*/
|
|
97
97
|
'workOrderSource': WorkOrderSourceEnum;
|
|
98
|
+
/**
|
|
99
|
+
* 来源工单ID
|
|
100
|
+
* @type {number}
|
|
101
|
+
* @memberof NetworkMonitorRepairAddVo
|
|
102
|
+
*/
|
|
103
|
+
'sourceWorkOrderId'?: number;
|
|
98
104
|
}
|
|
99
105
|
|
|
100
106
|
|
|
@@ -21,6 +21,9 @@ import type { ParkCenterAttributeEnum } from './park-center-attribute-enum';
|
|
|
21
21
|
import type { SourceAlertDTO } from './source-alert-dto';
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import type { SourceWorkOrderDTO } from './source-work-order-dto';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
24
27
|
import type { WorkOrderDeptDTO } from './work-order-dept-dto';
|
|
25
28
|
// May contain unused imports in some cases
|
|
26
29
|
// @ts-ignore
|
|
@@ -182,6 +185,18 @@ export interface NetworkMonitorRepairDetailsDto {
|
|
|
182
185
|
* @memberof NetworkMonitorRepairDetailsDto
|
|
183
186
|
*/
|
|
184
187
|
'workOrderExtData'?: WorkOrderExtData;
|
|
188
|
+
/**
|
|
189
|
+
* 来源ID
|
|
190
|
+
* @type {number}
|
|
191
|
+
* @memberof NetworkMonitorRepairDetailsDto
|
|
192
|
+
*/
|
|
193
|
+
'sourceId'?: number;
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @type {SourceWorkOrderDTO}
|
|
197
|
+
* @memberof NetworkMonitorRepairDetailsDto
|
|
198
|
+
*/
|
|
199
|
+
'sourceWorkOrder'?: SourceWorkOrderDTO;
|
|
185
200
|
}
|
|
186
201
|
|
|
187
202
|
export const NetworkMonitorRepairDetailsDtoWorkOrderStatusEnum = {
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 离线告警设备信息
|
|
19
|
+
* @export
|
|
20
|
+
* @interface OfflineAlertDeviceVo
|
|
21
|
+
*/
|
|
22
|
+
export interface OfflineAlertDeviceVo {
|
|
23
|
+
/**
|
|
24
|
+
* 设备id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof OfflineAlertDeviceVo
|
|
27
|
+
*/
|
|
28
|
+
'deviceId'?: number;
|
|
29
|
+
/**
|
|
30
|
+
* 设备名称
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof OfflineAlertDeviceVo
|
|
33
|
+
*/
|
|
34
|
+
'deviceName'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { WorkOrderIssueTypeEnum } from './work-order-issue-type-enum';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* 离线告警工单参数
|
|
22
|
+
* @export
|
|
23
|
+
* @interface OfflineAlertSubmitVo
|
|
24
|
+
*/
|
|
25
|
+
export interface OfflineAlertSubmitVo {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {WorkOrderIssueTypeEnum}
|
|
29
|
+
* @memberof OfflineAlertSubmitVo
|
|
30
|
+
*/
|
|
31
|
+
'issueType'?: WorkOrderIssueTypeEnum;
|
|
32
|
+
/**
|
|
33
|
+
* 要求修复时间
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof OfflineAlertSubmitVo
|
|
36
|
+
*/
|
|
37
|
+
'requireRepairTime'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* 原因描述
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof OfflineAlertSubmitVo
|
|
42
|
+
*/
|
|
43
|
+
'reasonDescription'?: string;
|
|
44
|
+
/**
|
|
45
|
+
* 图片/视频地址
|
|
46
|
+
* @type {Array<string>}
|
|
47
|
+
* @memberof OfflineAlertSubmitVo
|
|
48
|
+
*/
|
|
49
|
+
'reasonImage'?: Array<string>;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
@@ -0,0 +1,119 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { WorkOrderExtData } from './work-order-ext-data';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { WorkOrderHandlerDto } from './work-order-handler-dto';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { WorkOrderInternalStatusEnum } from './work-order-internal-status-enum';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { WorkOrderIssueTypeEnum } from './work-order-issue-type-enum';
|
|
28
|
+
// May contain unused imports in some cases
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import type { WorkOrderSponsorDto } from './work-order-sponsor-dto';
|
|
31
|
+
// May contain unused imports in some cases
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { WorkOrderTypeEnum } from './work-order-type-enum';
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* 离线告警工单详情
|
|
37
|
+
* @export
|
|
38
|
+
* @interface OfflineAlertWorkOrderDetailsDto
|
|
39
|
+
*/
|
|
40
|
+
export interface OfflineAlertWorkOrderDetailsDto {
|
|
41
|
+
/**
|
|
42
|
+
* 工单id
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof OfflineAlertWorkOrderDetailsDto
|
|
45
|
+
*/
|
|
46
|
+
'workOrderId'?: number;
|
|
47
|
+
/**
|
|
48
|
+
* 园区ID
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof OfflineAlertWorkOrderDetailsDto
|
|
51
|
+
*/
|
|
52
|
+
'parkId'?: number;
|
|
53
|
+
/**
|
|
54
|
+
* 工单编号
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof OfflineAlertWorkOrderDetailsDto
|
|
57
|
+
*/
|
|
58
|
+
'workOrderNo'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* 工单名称
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof OfflineAlertWorkOrderDetailsDto
|
|
63
|
+
*/
|
|
64
|
+
'workOrderName'?: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {WorkOrderTypeEnum}
|
|
68
|
+
* @memberof OfflineAlertWorkOrderDetailsDto
|
|
69
|
+
*/
|
|
70
|
+
'workOrderType'?: WorkOrderTypeEnum;
|
|
71
|
+
/**
|
|
72
|
+
* 工单状态
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof OfflineAlertWorkOrderDetailsDto
|
|
75
|
+
*/
|
|
76
|
+
'workOrderStatus'?: OfflineAlertWorkOrderDetailsDtoWorkOrderStatusEnum;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {WorkOrderSponsorDto}
|
|
80
|
+
* @memberof OfflineAlertWorkOrderDetailsDto
|
|
81
|
+
*/
|
|
82
|
+
'sponsor'?: WorkOrderSponsorDto;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {WorkOrderHandlerDto}
|
|
86
|
+
* @memberof OfflineAlertWorkOrderDetailsDto
|
|
87
|
+
*/
|
|
88
|
+
'handler'?: WorkOrderHandlerDto;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {WorkOrderIssueTypeEnum}
|
|
92
|
+
* @memberof OfflineAlertWorkOrderDetailsDto
|
|
93
|
+
*/
|
|
94
|
+
'workOrderIssueType'?: WorkOrderIssueTypeEnum;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {WorkOrderInternalStatusEnum}
|
|
98
|
+
* @memberof OfflineAlertWorkOrderDetailsDto
|
|
99
|
+
*/
|
|
100
|
+
'internalStatus'?: WorkOrderInternalStatusEnum;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {WorkOrderExtData}
|
|
104
|
+
* @memberof OfflineAlertWorkOrderDetailsDto
|
|
105
|
+
*/
|
|
106
|
+
'workOrderExtData'?: WorkOrderExtData;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export const OfflineAlertWorkOrderDetailsDtoWorkOrderStatusEnum = {
|
|
110
|
+
Pending: 'PENDING',
|
|
111
|
+
InProgress: 'IN_PROGRESS',
|
|
112
|
+
Completed: 'COMPLETED',
|
|
113
|
+
Overdue: 'OVERDUE',
|
|
114
|
+
Closed: 'CLOSED'
|
|
115
|
+
} as const;
|
|
116
|
+
|
|
117
|
+
export type OfflineAlertWorkOrderDetailsDtoWorkOrderStatusEnum = typeof OfflineAlertWorkOrderDetailsDtoWorkOrderStatusEnum[keyof typeof OfflineAlertWorkOrderDetailsDtoWorkOrderStatusEnum];
|
|
118
|
+
|
|
119
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { OfflineAlertDeviceVo } from './offline-alert-device-vo';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { WorkOrderIssueTypeEnum } from './work-order-issue-type-enum';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* 离线告警工单信息
|
|
25
|
+
* @export
|
|
26
|
+
* @interface OfflineAlertWorkOrderInfo
|
|
27
|
+
*/
|
|
28
|
+
export interface OfflineAlertWorkOrderInfo {
|
|
29
|
+
/**
|
|
30
|
+
* 离线告警设备
|
|
31
|
+
* @type {Array<OfflineAlertDeviceVo>}
|
|
32
|
+
* @memberof OfflineAlertWorkOrderInfo
|
|
33
|
+
*/
|
|
34
|
+
'devices'?: Array<OfflineAlertDeviceVo>;
|
|
35
|
+
/**
|
|
36
|
+
* 离线告警设备类型枚举
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof OfflineAlertWorkOrderInfo
|
|
39
|
+
*/
|
|
40
|
+
'deviceType'?: OfflineAlertWorkOrderInfoDeviceTypeEnum;
|
|
41
|
+
/**
|
|
42
|
+
* 离线告警风险等级枚举
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof OfflineAlertWorkOrderInfo
|
|
45
|
+
*/
|
|
46
|
+
'riskLevel'?: OfflineAlertWorkOrderInfoRiskLevelEnum;
|
|
47
|
+
/**
|
|
48
|
+
* 要求修复时间
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof OfflineAlertWorkOrderInfo
|
|
51
|
+
*/
|
|
52
|
+
'requireRepairTime'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* 原因描述
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof OfflineAlertWorkOrderInfo
|
|
57
|
+
*/
|
|
58
|
+
'reasonDescription'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* 原因图片
|
|
61
|
+
* @type {Array<string>}
|
|
62
|
+
* @memberof OfflineAlertWorkOrderInfo
|
|
63
|
+
*/
|
|
64
|
+
'reasonImage'?: Array<string>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {WorkOrderIssueTypeEnum}
|
|
68
|
+
* @memberof OfflineAlertWorkOrderInfo
|
|
69
|
+
*/
|
|
70
|
+
'issueType'?: WorkOrderIssueTypeEnum;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export const OfflineAlertWorkOrderInfoDeviceTypeEnum = {
|
|
74
|
+
Surveillance: 'SURVEILLANCE'
|
|
75
|
+
} as const;
|
|
76
|
+
|
|
77
|
+
export type OfflineAlertWorkOrderInfoDeviceTypeEnum = typeof OfflineAlertWorkOrderInfoDeviceTypeEnum[keyof typeof OfflineAlertWorkOrderInfoDeviceTypeEnum];
|
|
78
|
+
export const OfflineAlertWorkOrderInfoRiskLevelEnum = {
|
|
79
|
+
VeryHigh: 'VERY_HIGH',
|
|
80
|
+
High: 'HIGH',
|
|
81
|
+
Low: 'LOW'
|
|
82
|
+
} as const;
|
|
83
|
+
|
|
84
|
+
export type OfflineAlertWorkOrderInfoRiskLevelEnum = typeof OfflineAlertWorkOrderInfoRiskLevelEnum[keyof typeof OfflineAlertWorkOrderInfoRiskLevelEnum];
|
|
85
|
+
|
|
86
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { WorkOrderIssueTypeEnum } from './work-order-issue-type-enum';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* 设备离线告警工单
|
|
22
|
+
* @export
|
|
23
|
+
* @interface OfflineAlertWorkOrderVo
|
|
24
|
+
*/
|
|
25
|
+
export interface OfflineAlertWorkOrderVo {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {WorkOrderIssueTypeEnum}
|
|
29
|
+
* @memberof OfflineAlertWorkOrderVo
|
|
30
|
+
*/
|
|
31
|
+
'issueType'?: WorkOrderIssueTypeEnum;
|
|
32
|
+
/**
|
|
33
|
+
* 要求修复时间
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof OfflineAlertWorkOrderVo
|
|
36
|
+
*/
|
|
37
|
+
'requireRepairTime'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* 原因描述
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof OfflineAlertWorkOrderVo
|
|
42
|
+
*/
|
|
43
|
+
'reasonDescription'?: string;
|
|
44
|
+
/**
|
|
45
|
+
* 原因图片/视频地址
|
|
46
|
+
* @type {Array<string>}
|
|
47
|
+
* @memberof OfflineAlertWorkOrderVo
|
|
48
|
+
*/
|
|
49
|
+
'reasonImage'?: Array<string>;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
package/models/result-code.ts
CHANGED
|
@@ -137,6 +137,7 @@ export const ResultCode = {
|
|
|
137
137
|
IncorrectPassword: 'INCORRECT_PASSWORD',
|
|
138
138
|
IncorrectInspectionOrder: 'INCORRECT_INSPECTION_ORDER',
|
|
139
139
|
ThirdPartyFailure: 'THIRD_PARTY_FAILURE',
|
|
140
|
+
WorkOrderIssueType: 'WORK_ORDER_ISSUE_TYPE',
|
|
140
141
|
UnknownException: 'UNKNOWN_EXCEPTION',
|
|
141
142
|
RecordAlreadyExistsInTheDatabase: 'RECORD_ALREADY_EXISTS_IN_THE_DATABASE',
|
|
142
143
|
SqlException: 'SQL_EXCEPTION',
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { WorkOrderTypeEnum } from './work-order-type-enum';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* 来源工单
|
|
22
|
+
* @export
|
|
23
|
+
* @interface SourceWorkOrderDTO
|
|
24
|
+
*/
|
|
25
|
+
export interface SourceWorkOrderDTO {
|
|
26
|
+
/**
|
|
27
|
+
* 工单ID
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof SourceWorkOrderDTO
|
|
30
|
+
*/
|
|
31
|
+
'workOrderId'?: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {WorkOrderTypeEnum}
|
|
35
|
+
* @memberof SourceWorkOrderDTO
|
|
36
|
+
*/
|
|
37
|
+
'workOrderType'?: WorkOrderTypeEnum;
|
|
38
|
+
/**
|
|
39
|
+
* 工单编号
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof SourceWorkOrderDTO
|
|
42
|
+
*/
|
|
43
|
+
'workOrderNo'?: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
@@ -146,18 +146,6 @@ export interface SyncDeviceUnitVo {
|
|
|
146
146
|
* @memberof SyncDeviceUnitVo
|
|
147
147
|
*/
|
|
148
148
|
'location'?: string;
|
|
149
|
-
/**
|
|
150
|
-
* 心跳时间
|
|
151
|
-
* @type {string}
|
|
152
|
-
* @memberof SyncDeviceUnitVo
|
|
153
|
-
*/
|
|
154
|
-
'heartBeatAt'?: string;
|
|
155
|
-
/**
|
|
156
|
-
* 下次心跳时间
|
|
157
|
-
* @type {string}
|
|
158
|
-
* @memberof SyncDeviceUnitVo
|
|
159
|
-
*/
|
|
160
|
-
'heartBeatExpiresAt'?: string;
|
|
161
149
|
/**
|
|
162
150
|
* 倍率
|
|
163
151
|
* @type {number}
|
|
@@ -26,7 +26,8 @@ export const SystemUserMsgSourceTypeEnum = {
|
|
|
26
26
|
InspectionWorkOrder: 'INSPECTION_WORK_ORDER',
|
|
27
27
|
MaintenanceWorkOrder: 'MAINTENANCE_WORK_ORDER',
|
|
28
28
|
NetworkMonitoringRepairWorkOrder: 'NETWORK_MONITORING_REPAIR_WORK_ORDER',
|
|
29
|
-
ViolationWorkOrder: 'VIOLATION_WORK_ORDER'
|
|
29
|
+
ViolationWorkOrder: 'VIOLATION_WORK_ORDER',
|
|
30
|
+
OfflineAlertWorkOrder: 'OFFLINE_ALERT_WORK_ORDER'
|
|
30
31
|
} as const;
|
|
31
32
|
|
|
32
33
|
export type SystemUserMsgSourceTypeEnum = typeof SystemUserMsgSourceTypeEnum[keyof typeof SystemUserMsgSourceTypeEnum];
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
import type { NetworkRepairInfo } from './network-repair-info';
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
|
+
import type { OfflineAlertWorkOrderInfo } from './offline-alert-work-order-info';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
21
24
|
import type { ViolationWorkOrderInfo } from './violation-work-order-info';
|
|
22
25
|
|
|
23
26
|
/**
|
|
@@ -38,5 +41,11 @@ export interface WorkOrderExtData {
|
|
|
38
41
|
* @memberof WorkOrderExtData
|
|
39
42
|
*/
|
|
40
43
|
'violationWorkOrderInfo'?: ViolationWorkOrderInfo;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {OfflineAlertWorkOrderInfo}
|
|
47
|
+
* @memberof WorkOrderExtData
|
|
48
|
+
*/
|
|
49
|
+
'offlineAlertWorkOrderInfo'?: OfflineAlertWorkOrderInfo;
|
|
41
50
|
}
|
|
42
51
|
|
|
@@ -30,7 +30,9 @@ export const WorkOrderInternalStatusEnum = {
|
|
|
30
30
|
NetworkMonitorRepairInProgressLevelThree: 'NETWORK_MONITOR_REPAIR_IN_PROGRESS_LEVEL_THREE',
|
|
31
31
|
ViolationWorkOrderInProgressLevelOne: 'VIOLATION_WORK_ORDER_IN_PROGRESS_LEVEL_ONE',
|
|
32
32
|
ViolationWorkOrderInProgressLevelTwo: 'VIOLATION_WORK_ORDER_IN_PROGRESS_LEVEL_TWO',
|
|
33
|
-
ViolationWorkOrderInProgressLevelThree: 'VIOLATION_WORK_ORDER_IN_PROGRESS_LEVEL_THREE'
|
|
33
|
+
ViolationWorkOrderInProgressLevelThree: 'VIOLATION_WORK_ORDER_IN_PROGRESS_LEVEL_THREE',
|
|
34
|
+
OfflineAlertWorkOrderInProgressLevelOne: 'OFFLINE_ALERT_WORK_ORDER_IN_PROGRESS_LEVEL_ONE',
|
|
35
|
+
OfflineAlertWorkOrderInProgressLevelTwo: 'OFFLINE_ALERT_WORK_ORDER_IN_PROGRESS_LEVEL_TWO'
|
|
34
36
|
} as const;
|
|
35
37
|
|
|
36
38
|
export type WorkOrderInternalStatusEnum = typeof WorkOrderInternalStatusEnum[keyof typeof WorkOrderInternalStatusEnum];
|
|
@@ -36,7 +36,17 @@ export const WorkOrderIssueTypeEnum = {
|
|
|
36
36
|
TransportQualityIssue: 'TRANSPORT_QUALITY_ISSUE',
|
|
37
37
|
LoadingQualityIssue: 'LOADING_QUALITY_ISSUE',
|
|
38
38
|
ClaimRecovery: 'CLAIM_RECOVERY',
|
|
39
|
-
Operations: 'OPERATIONS'
|
|
39
|
+
Operations: 'OPERATIONS',
|
|
40
|
+
PowerOutage: 'POWER_OUTAGE',
|
|
41
|
+
LineReconstruction: 'LINE_RECONSTRUCTION',
|
|
42
|
+
OfficeRenovation: 'OFFICE_RENOVATION',
|
|
43
|
+
ParkConstruction: 'PARK_CONSTRUCTION',
|
|
44
|
+
MoveWarehouse: 'MOVE_WAREHOUSE',
|
|
45
|
+
RemoveWarehouse: 'REMOVE_WAREHOUSE',
|
|
46
|
+
NetworkJumperDamage: 'NETWORK_JUMPER_DAMAGE',
|
|
47
|
+
CrystalHeadDamage: 'CRYSTAL_HEAD_DAMAGE',
|
|
48
|
+
OpticalJumperDamage: 'OPTICAL_JUMPER_DAMAGE',
|
|
49
|
+
NeedOnsiteTechSupport: 'NEED_ONSITE_TECH_SUPPORT'
|
|
40
50
|
} as const;
|
|
41
51
|
|
|
42
52
|
export type WorkOrderIssueTypeEnum = typeof WorkOrderIssueTypeEnum[keyof typeof WorkOrderIssueTypeEnum];
|