@gizone/rrs-client 4.1.2-alpha.165 → 4.1.2-alpha.168

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 (100) hide show
  1. package/.openapi-generator/FILES +5 -1
  2. package/apis/space-api.ts +4 -118
  3. package/apis/surveillance-api.ts +24 -24
  4. package/apis/work-order-api.ts +58 -89
  5. package/dist/apis/space-api.d.ts +4 -65
  6. package/dist/apis/space-api.js +0 -81
  7. package/dist/apis/surveillance-api.d.ts +14 -14
  8. package/dist/apis/surveillance-api.js +18 -18
  9. package/dist/apis/work-order-api.d.ts +38 -70
  10. package/dist/apis/work-order-api.js +39 -69
  11. package/dist/esm/apis/space-api.d.ts +4 -65
  12. package/dist/esm/apis/space-api.js +0 -81
  13. package/dist/esm/apis/surveillance-api.d.ts +14 -14
  14. package/dist/esm/apis/surveillance-api.js +18 -18
  15. package/dist/esm/apis/work-order-api.d.ts +38 -70
  16. package/dist/esm/apis/work-order-api.js +38 -68
  17. package/dist/esm/models/excel-import-upload-to-redis-vo-space-add-excel-dto.d.ts +43 -0
  18. package/dist/esm/models/excel-import-upload-to-redis-vo-space-add-excel-dto.js +14 -0
  19. package/dist/esm/models/index.d.ts +5 -1
  20. package/dist/esm/models/index.js +5 -1
  21. package/dist/esm/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.d.ts +62 -0
  22. package/dist/esm/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.js +14 -0
  23. package/dist/esm/models/maintenance-history-dto.d.ts +4 -11
  24. package/dist/esm/models/maintenance-history-dto.js +1 -7
  25. package/dist/esm/models/network-monitor-repair-details-dto.d.ts +4 -11
  26. package/dist/esm/models/network-monitor-repair-details-dto.js +1 -7
  27. package/dist/esm/models/offline-alert-work-order-details-dto.d.ts +4 -11
  28. package/dist/esm/models/offline-alert-work-order-details-dto.js +1 -7
  29. package/dist/esm/models/period-detail-resp.d.ts +4 -11
  30. package/dist/esm/models/period-detail-resp.js +0 -7
  31. package/dist/esm/models/space-add-excel-dto.d.ts +28 -10
  32. package/dist/esm/models/space-add-vo.d.ts +22 -9
  33. package/dist/esm/models/space-detail-dto.d.ts +16 -3
  34. package/dist/esm/models/space-edit-vo.d.ts +16 -3
  35. package/dist/esm/models/{space-industry-attribute.d.ts → space-industry-attribute-enum.d.ts} +2 -2
  36. package/dist/esm/models/{space-industry-attribute.js → space-industry-attribute-enum.js} +1 -1
  37. package/dist/esm/models/space-tree-dto.d.ts +16 -3
  38. package/dist/esm/models/space-type-enum.d.ts +23 -0
  39. package/dist/esm/models/space-type-enum.js +24 -0
  40. package/dist/esm/models/space.d.ts +3 -3
  41. package/dist/esm/models/violation-work-order-details-dto.d.ts +4 -11
  42. package/dist/esm/models/violation-work-order-details-dto.js +1 -7
  43. package/dist/esm/models/work-order-detail-dto.d.ts +4 -11
  44. package/dist/esm/models/work-order-detail-dto.js +0 -7
  45. package/dist/esm/models/work-order-search-dto.d.ts +4 -11
  46. package/dist/esm/models/work-order-search-dto.js +0 -7
  47. package/dist/esm/models/work-order-status-enum.d.ts +24 -0
  48. package/dist/esm/models/work-order-status-enum.js +25 -0
  49. package/dist/models/excel-import-upload-to-redis-vo-space-add-excel-dto.d.ts +43 -0
  50. package/dist/models/excel-import-upload-to-redis-vo-space-add-excel-dto.js +15 -0
  51. package/dist/models/index.d.ts +5 -1
  52. package/dist/models/index.js +5 -1
  53. package/dist/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.d.ts +62 -0
  54. package/dist/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.js +15 -0
  55. package/dist/models/maintenance-history-dto.d.ts +4 -11
  56. package/dist/models/maintenance-history-dto.js +0 -8
  57. package/dist/models/network-monitor-repair-details-dto.d.ts +4 -11
  58. package/dist/models/network-monitor-repair-details-dto.js +0 -8
  59. package/dist/models/offline-alert-work-order-details-dto.d.ts +4 -11
  60. package/dist/models/offline-alert-work-order-details-dto.js +0 -8
  61. package/dist/models/period-detail-resp.d.ts +4 -11
  62. package/dist/models/period-detail-resp.js +1 -8
  63. package/dist/models/space-add-excel-dto.d.ts +28 -10
  64. package/dist/models/space-add-vo.d.ts +22 -9
  65. package/dist/models/space-detail-dto.d.ts +16 -3
  66. package/dist/models/space-edit-vo.d.ts +16 -3
  67. package/dist/models/{space-industry-attribute.d.ts → space-industry-attribute-enum.d.ts} +2 -2
  68. package/dist/models/{space-industry-attribute.js → space-industry-attribute-enum.js} +2 -2
  69. package/dist/models/space-tree-dto.d.ts +16 -3
  70. package/dist/models/space-type-enum.d.ts +23 -0
  71. package/dist/models/space-type-enum.js +27 -0
  72. package/dist/models/space.d.ts +3 -3
  73. package/dist/models/violation-work-order-details-dto.d.ts +4 -11
  74. package/dist/models/violation-work-order-details-dto.js +0 -8
  75. package/dist/models/work-order-detail-dto.d.ts +4 -11
  76. package/dist/models/work-order-detail-dto.js +1 -8
  77. package/dist/models/work-order-search-dto.d.ts +4 -11
  78. package/dist/models/work-order-search-dto.js +1 -8
  79. package/dist/models/work-order-status-enum.d.ts +24 -0
  80. package/dist/models/work-order-status-enum.js +28 -0
  81. package/models/excel-import-upload-to-redis-vo-space-add-excel-dto.ts +51 -0
  82. package/models/index.ts +5 -1
  83. package/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.ts +72 -0
  84. package/models/maintenance-history-dto.ts +6 -12
  85. package/models/network-monitor-repair-details-dto.ts +6 -12
  86. package/models/offline-alert-work-order-details-dto.ts +6 -12
  87. package/models/period-detail-resp.ts +6 -12
  88. package/models/space-add-excel-dto.ts +28 -10
  89. package/models/space-add-vo.ts +24 -9
  90. package/models/space-detail-dto.ts +18 -3
  91. package/models/space-edit-vo.ts +18 -3
  92. package/models/{space-industry-attribute.ts → space-industry-attribute-enum.ts} +2 -2
  93. package/models/space-tree-dto.ts +18 -3
  94. package/models/space-type-enum.ts +33 -0
  95. package/models/space.ts +3 -3
  96. package/models/violation-work-order-details-dto.ts +6 -12
  97. package/models/work-order-detail-dto.ts +6 -12
  98. package/models/work-order-search-dto.ts +6 -12
  99. package/models/work-order-status-enum.ts +34 -0
  100. package/package.json +1 -1
@@ -24,6 +24,9 @@ import type { InspectionPoint } from './inspection-point';
24
24
  import type { WorkOrderDeptDTO } from './work-order-dept-dto';
25
25
  // May contain unused imports in some cases
26
26
  // @ts-ignore
27
+ import type { WorkOrderStatusEnum } from './work-order-status-enum';
28
+ // May contain unused imports in some cases
29
+ // @ts-ignore
27
30
  import type { WorkOrderTypeEnum } from './work-order-type-enum';
28
31
 
29
32
  /**
@@ -39,11 +42,11 @@ export interface PeriodDetailResp {
39
42
  */
40
43
  'workOrderId'?: number;
41
44
  /**
42
- * 工单状态(1.待分派 2.进行中 3.待验收 4.已完成 6.已逾期)
43
- * @type {string}
45
+ *
46
+ * @type {WorkOrderStatusEnum}
44
47
  * @memberof PeriodDetailResp
45
48
  */
46
- 'workOrderStatus'?: PeriodDetailRespWorkOrderStatusEnum;
49
+ 'workOrderStatus'?: WorkOrderStatusEnum;
47
50
  /**
48
51
  * 发起时间/起始时间
49
52
  * @type {string}
@@ -208,15 +211,6 @@ export interface PeriodDetailResp {
208
211
  'workOrderDeptIds'?: Array<number>;
209
212
  }
210
213
 
211
- export const PeriodDetailRespWorkOrderStatusEnum = {
212
- Pending: 'PENDING',
213
- InProgress: 'IN_PROGRESS',
214
- Completed: 'COMPLETED',
215
- Overdue: 'OVERDUE',
216
- Closed: 'CLOSED'
217
- } as const;
218
-
219
- export type PeriodDetailRespWorkOrderStatusEnum = typeof PeriodDetailRespWorkOrderStatusEnum[keyof typeof PeriodDetailRespWorkOrderStatusEnum];
220
214
  export const PeriodDetailRespSamplingResultsEnum = {
221
215
  Zero: 'ZERO',
222
216
  One: 'ONE',
@@ -25,55 +25,67 @@ export interface SpaceAddExcelDTO {
25
25
  * @type {string}
26
26
  * @memberof SpaceAddExcelDTO
27
27
  */
28
- 'spaceName': string;
28
+ 'spaceName'?: string;
29
+ /**
30
+ * 空间类型
31
+ * @type {string}
32
+ * @memberof SpaceAddExcelDTO
33
+ */
34
+ 'spaceType'?: string;
35
+ /**
36
+ * 空间编码
37
+ * @type {string}
38
+ * @memberof SpaceAddExcelDTO
39
+ */
40
+ 'spaceCode'?: string;
29
41
  /**
30
42
  * 上级空间
31
43
  * @type {string}
32
44
  * @memberof SpaceAddExcelDTO
33
45
  */
34
- 'parentName': string;
46
+ 'parentName'?: string;
35
47
  /**
36
48
  * 空间属性
37
49
  * @type {string}
38
50
  * @memberof SpaceAddExcelDTO
39
51
  */
40
- 'spaceAttribute': string;
52
+ 'spaceAttribute'?: string;
41
53
  /**
42
54
  * 空间总租聘面积
43
55
  * @type {number}
44
56
  * @memberof SpaceAddExcelDTO
45
57
  */
46
- 'spaceTotalArea': number;
58
+ 'spaceTotalArea'?: number;
47
59
  /**
48
60
  * 空间总建筑面积
49
61
  * @type {number}
50
62
  * @memberof SpaceAddExcelDTO
51
63
  */
52
- 'floorArea': number;
64
+ 'floorArea'?: number;
53
65
  /**
54
66
  * 地面承重
55
67
  * @type {string}
56
68
  * @memberof SpaceAddExcelDTO
57
69
  */
58
- 'spaceGroundBearing': string;
70
+ 'spaceGroundBearing'?: string;
59
71
  /**
60
72
  * 防火等级
61
73
  * @type {string}
62
74
  * @memberof SpaceAddExcelDTO
63
75
  */
64
- 'spaceFireRating': string;
76
+ 'spaceFireRating'?: string;
65
77
  /**
66
78
  * 物业结构
67
79
  * @type {string}
68
80
  * @memberof SpaceAddExcelDTO
69
81
  */
70
- 'spacePropertyStructure': string;
82
+ 'spacePropertyStructure'?: string;
71
83
  /**
72
84
  * 展示方式
73
85
  * @type {string}
74
86
  * @memberof SpaceAddExcelDTO
75
87
  */
76
- 'imageDisplayMethod': string;
88
+ 'imageDisplayMethod'?: string;
77
89
  /**
78
90
  * 排序
79
91
  * @type {number}
@@ -85,7 +97,7 @@ export interface SpaceAddExcelDTO {
85
97
  * @type {string}
86
98
  * @memberof SpaceAddExcelDTO
87
99
  */
88
- 'industryAttributes'?: string;
100
+ 'industryAttribute'?: string;
89
101
  /**
90
102
  * 行数
91
103
  * @type {number}
@@ -98,5 +110,11 @@ export interface SpaceAddExcelDTO {
98
110
  * @memberof SpaceAddExcelDTO
99
111
  */
100
112
  'tips'?: string;
113
+ /**
114
+ * 是否为错误数据
115
+ * @type {boolean}
116
+ * @memberof SpaceAddExcelDTO
117
+ */
118
+ 'flag'?: boolean;
101
119
  }
102
120
 
@@ -15,7 +15,10 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import type { SpaceIndustryAttribute } from './space-industry-attribute';
18
+ import type { SpaceIndustryAttributeEnum } from './space-industry-attribute-enum';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { SpaceTypeEnum } from './space-type-enum';
19
22
 
20
23
  /**
21
24
  * 新增空间参数
@@ -54,23 +57,23 @@ export interface SpaceAddVO {
54
57
  */
55
58
  'spaceTotalArea': number;
56
59
  /**
57
- *
60
+ * 空间承重
58
61
  * @type {string}
59
62
  * @memberof SpaceAddVO
60
63
  */
61
- 'spaceGroundBearing': string;
64
+ 'spaceGroundBearing'?: string;
62
65
  /**
63
- *
66
+ * 防火等级
64
67
  * @type {string}
65
68
  * @memberof SpaceAddVO
66
69
  */
67
- 'spaceFireRating': string;
70
+ 'spaceFireRating'?: string;
68
71
  /**
69
- *
72
+ * 物业结构
70
73
  * @type {string}
71
74
  * @memberof SpaceAddVO
72
75
  */
73
- 'spacePropertyStructure': string;
76
+ 'spacePropertyStructure'?: string;
74
77
  /**
75
78
  *
76
79
  * @type {string}
@@ -115,10 +118,22 @@ export interface SpaceAddVO {
115
118
  'greeneryArea'?: number;
116
119
  /**
117
120
  * 行业属性
118
- * @type {Array<SpaceIndustryAttribute>}
121
+ * @type {Array<SpaceIndustryAttributeEnum>}
122
+ * @memberof SpaceAddVO
123
+ */
124
+ 'industryAttributes'?: Array<SpaceIndustryAttributeEnum>;
125
+ /**
126
+ *
127
+ * @type {SpaceTypeEnum}
128
+ * @memberof SpaceAddVO
129
+ */
130
+ 'spaceType': SpaceTypeEnum;
131
+ /**
132
+ * 空间编码
133
+ * @type {string}
119
134
  * @memberof SpaceAddVO
120
135
  */
121
- 'industryAttributes'?: Array<SpaceIndustryAttribute>;
136
+ 'spaceCode'?: string;
122
137
  }
123
138
 
124
139
  export const SpaceAddVOImageDisplayMethodEnum = {
@@ -18,10 +18,13 @@
18
18
  import type { PlanImageList } from './plan-image-list';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
- import type { SpaceIndustryAttribute } from './space-industry-attribute';
21
+ import type { SpaceIndustryAttributeEnum } from './space-industry-attribute-enum';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
24
  import type { SpacePointDTO } from './space-point-dto';
25
+ // May contain unused imports in some cases
26
+ // @ts-ignore
27
+ import type { SpaceTypeEnum } from './space-type-enum';
25
28
 
26
29
  /**
27
30
  * 空间详情出参
@@ -181,10 +184,22 @@ export interface SpaceDetailDTO {
181
184
  'promptText'?: string;
182
185
  /**
183
186
  * 行业属性
184
- * @type {Array<SpaceIndustryAttribute>}
187
+ * @type {Array<SpaceIndustryAttributeEnum>}
188
+ * @memberof SpaceDetailDTO
189
+ */
190
+ 'industryAttributes'?: Array<SpaceIndustryAttributeEnum>;
191
+ /**
192
+ *
193
+ * @type {SpaceTypeEnum}
194
+ * @memberof SpaceDetailDTO
195
+ */
196
+ 'spaceType'?: SpaceTypeEnum;
197
+ /**
198
+ * 空间编码
199
+ * @type {string}
185
200
  * @memberof SpaceDetailDTO
186
201
  */
187
- 'industryAttributes'?: Array<SpaceIndustryAttribute>;
202
+ 'spaceCode'?: string;
188
203
  }
189
204
 
190
205
  export const SpaceDetailDTOImageDisplayMethodEnum = {
@@ -15,7 +15,10 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import type { SpaceIndustryAttribute } from './space-industry-attribute';
18
+ import type { SpaceIndustryAttributeEnum } from './space-industry-attribute-enum';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { SpaceTypeEnum } from './space-type-enum';
19
22
 
20
23
  /**
21
24
  * 修改空间名称
@@ -133,10 +136,22 @@ export interface SpaceEditVO {
133
136
  'promptText'?: string;
134
137
  /**
135
138
  * 行业属性
136
- * @type {Array<SpaceIndustryAttribute>}
139
+ * @type {Array<SpaceIndustryAttributeEnum>}
140
+ * @memberof SpaceEditVO
141
+ */
142
+ 'industryAttributes'?: Array<SpaceIndustryAttributeEnum>;
143
+ /**
144
+ *
145
+ * @type {SpaceTypeEnum}
146
+ * @memberof SpaceEditVO
147
+ */
148
+ 'spaceType': SpaceTypeEnum;
149
+ /**
150
+ * 空间编码
151
+ * @type {string}
137
152
  * @memberof SpaceEditVO
138
153
  */
139
- 'industryAttributes'?: Array<SpaceIndustryAttribute>;
154
+ 'spaceCode'?: string;
140
155
  }
141
156
 
142
157
  export const SpaceEditVOImageDisplayMethodEnum = {
@@ -20,7 +20,7 @@
20
20
  * @enum {string}
21
21
  */
22
22
 
23
- export const SpaceIndustryAttribute = {
23
+ export const SpaceIndustryAttributeEnum = {
24
24
  Fmcg: 'FMCG',
25
25
  Appliance: 'APPLIANCE',
26
26
  Car: 'CAR',
@@ -29,7 +29,7 @@ export const SpaceIndustryAttribute = {
29
29
  LogisticsTreasure: 'LOGISTICS_TREASURE'
30
30
  } as const;
31
31
 
32
- export type SpaceIndustryAttribute = typeof SpaceIndustryAttribute[keyof typeof SpaceIndustryAttribute];
32
+ export type SpaceIndustryAttributeEnum = typeof SpaceIndustryAttributeEnum[keyof typeof SpaceIndustryAttributeEnum];
33
33
 
34
34
 
35
35
 
@@ -15,7 +15,10 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import type { SpaceIndustryAttribute } from './space-industry-attribute';
18
+ import type { SpaceIndustryAttributeEnum } from './space-industry-attribute-enum';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { SpaceTypeEnum } from './space-type-enum';
19
22
  // May contain unused imports in some cases
20
23
  // @ts-ignore
21
24
  import type { Surveillance } from './surveillance';
@@ -118,10 +121,10 @@ export interface SpaceTreeDTO {
118
121
  'promptText'?: string;
119
122
  /**
120
123
  * 行业属性
121
- * @type {Array<SpaceIndustryAttribute>}
124
+ * @type {Array<SpaceIndustryAttributeEnum>}
122
125
  * @memberof SpaceTreeDTO
123
126
  */
124
- 'industryAttributes'?: Array<SpaceIndustryAttribute>;
127
+ 'industryAttributes'?: Array<SpaceIndustryAttributeEnum>;
125
128
  /**
126
129
  * 监控数量
127
130
  * @type {number}
@@ -140,6 +143,18 @@ export interface SpaceTreeDTO {
140
143
  * @memberof SpaceTreeDTO
141
144
  */
142
145
  'surveillances'?: Array<Surveillance>;
146
+ /**
147
+ *
148
+ * @type {SpaceTypeEnum}
149
+ * @memberof SpaceTreeDTO
150
+ */
151
+ 'spaceType'?: SpaceTypeEnum;
152
+ /**
153
+ * 空间编码
154
+ * @type {string}
155
+ * @memberof SpaceTreeDTO
156
+ */
157
+ 'spaceCode'?: string;
143
158
  }
144
159
 
145
160
  export const SpaceTreeDTOImageDisplayMethodEnum = {
@@ -0,0 +1,33 @@
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
+ * @enum {string}
21
+ */
22
+
23
+ export const SpaceTypeEnum = {
24
+ Park: 'PARK',
25
+ Building: 'BUILDING',
26
+ Warehouse: 'WAREHOUSE',
27
+ Other: 'OTHER'
28
+ } as const;
29
+
30
+ export type SpaceTypeEnum = typeof SpaceTypeEnum[keyof typeof SpaceTypeEnum];
31
+
32
+
33
+
package/models/space.ts CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import type { SpaceIndustryAttribute } from './space-industry-attribute';
18
+ import type { SpaceIndustryAttributeEnum } from './space-industry-attribute-enum';
19
19
 
20
20
  /**
21
21
  * 空间详情
@@ -37,10 +37,10 @@ export interface Space {
37
37
  'spaceName'?: string;
38
38
  /**
39
39
  * 行业属性
40
- * @type {Array<SpaceIndustryAttribute>}
40
+ * @type {Array<SpaceIndustryAttributeEnum>}
41
41
  * @memberof Space
42
42
  */
43
- 'industryAttributes'?: Array<SpaceIndustryAttribute>;
43
+ 'industryAttributes'?: Array<SpaceIndustryAttributeEnum>;
44
44
  /**
45
45
  * 父名称
46
46
  * @type {string}
@@ -42,6 +42,9 @@ import type { WorkOrderSpaceDto } from './work-order-space-dto';
42
42
  import type { WorkOrderSponsorDto } from './work-order-sponsor-dto';
43
43
  // May contain unused imports in some cases
44
44
  // @ts-ignore
45
+ import type { WorkOrderStatusEnum } from './work-order-status-enum';
46
+ // May contain unused imports in some cases
47
+ // @ts-ignore
45
48
  import type { WorkOrderSurveillanceDto } from './work-order-surveillance-dto';
46
49
  // May contain unused imports in some cases
47
50
  // @ts-ignore
@@ -84,11 +87,11 @@ export interface ViolationWorkOrderDetailsDto {
84
87
  */
85
88
  'workOrderType'?: WorkOrderTypeEnum;
86
89
  /**
87
- * 工单状态
88
- * @type {string}
90
+ *
91
+ * @type {WorkOrderStatusEnum}
89
92
  * @memberof ViolationWorkOrderDetailsDto
90
93
  */
91
- 'workOrderStatus'?: ViolationWorkOrderDetailsDtoWorkOrderStatusEnum;
94
+ 'workOrderStatus'?: WorkOrderStatusEnum;
92
95
  /**
93
96
  * 工单执行部门列表
94
97
  * @type {Array<WorkOrderDeptDTO>}
@@ -169,14 +172,5 @@ export interface ViolationWorkOrderDetailsDto {
169
172
  'workOrderExtData'?: WorkOrderExtData;
170
173
  }
171
174
 
172
- export const ViolationWorkOrderDetailsDtoWorkOrderStatusEnum = {
173
- Pending: 'PENDING',
174
- InProgress: 'IN_PROGRESS',
175
- Completed: 'COMPLETED',
176
- Overdue: 'OVERDUE',
177
- Closed: 'CLOSED'
178
- } as const;
179
-
180
- export type ViolationWorkOrderDetailsDtoWorkOrderStatusEnum = typeof ViolationWorkOrderDetailsDtoWorkOrderStatusEnum[keyof typeof ViolationWorkOrderDetailsDtoWorkOrderStatusEnum];
181
175
 
182
176
 
@@ -51,6 +51,9 @@ import type { WorkOrderLiabilityPartyEnum } from './work-order-liability-party-e
51
51
  import type { WorkOrderSourceEnum } from './work-order-source-enum';
52
52
  // May contain unused imports in some cases
53
53
  // @ts-ignore
54
+ import type { WorkOrderStatusEnum } from './work-order-status-enum';
55
+ // May contain unused imports in some cases
56
+ // @ts-ignore
54
57
  import type { WorkOrderTypeEnum } from './work-order-type-enum';
55
58
 
56
59
  /**
@@ -84,11 +87,11 @@ export interface WorkOrderDetailDTO {
84
87
  */
85
88
  'workOrderType'?: WorkOrderTypeEnum;
86
89
  /**
87
- * 工单状态
88
- * @type {string}
90
+ *
91
+ * @type {WorkOrderStatusEnum}
89
92
  * @memberof WorkOrderDetailDTO
90
93
  */
91
- 'workOrderStatus'?: WorkOrderDetailDTOWorkOrderStatusEnum;
94
+ 'workOrderStatus'?: WorkOrderStatusEnum;
92
95
  /**
93
96
  * 发起时间
94
97
  * @type {string}
@@ -373,15 +376,6 @@ export interface WorkOrderDetailDTO {
373
376
  'equipments'?: Array<Equipment>;
374
377
  }
375
378
 
376
- export const WorkOrderDetailDTOWorkOrderStatusEnum = {
377
- Pending: 'PENDING',
378
- InProgress: 'IN_PROGRESS',
379
- Completed: 'COMPLETED',
380
- Overdue: 'OVERDUE',
381
- Closed: 'CLOSED'
382
- } as const;
383
-
384
- export type WorkOrderDetailDTOWorkOrderStatusEnum = typeof WorkOrderDetailDTOWorkOrderStatusEnum[keyof typeof WorkOrderDetailDTOWorkOrderStatusEnum];
385
379
  export const WorkOrderDetailDTOSamplingResultsEnum = {
386
380
  Zero: 'ZERO',
387
381
  One: 'ONE',
@@ -27,6 +27,9 @@ import type { WorkOrderHandlerDto } from './work-order-handler-dto';
27
27
  import type { WorkOrderIssueTypeEnum } from './work-order-issue-type-enum';
28
28
  // May contain unused imports in some cases
29
29
  // @ts-ignore
30
+ import type { WorkOrderStatusEnum } from './work-order-status-enum';
31
+ // May contain unused imports in some cases
32
+ // @ts-ignore
30
33
  import type { WorkOrderTypeEnum } from './work-order-type-enum';
31
34
 
32
35
  /**
@@ -90,11 +93,11 @@ export interface WorkOrderSearchDTO {
90
93
  */
91
94
  'handlerUserName'?: string;
92
95
  /**
93
- * 工单状态
94
- * @type {string}
96
+ *
97
+ * @type {WorkOrderStatusEnum}
95
98
  * @memberof WorkOrderSearchDTO
96
99
  */
97
- 'workOrderStatus'?: WorkOrderSearchDTOWorkOrderStatusEnum;
100
+ 'workOrderStatus'?: WorkOrderStatusEnum;
98
101
  /**
99
102
  * 处理人联系方式
100
103
  * @type {string}
@@ -151,15 +154,6 @@ export interface WorkOrderSearchDTO {
151
154
  'finishTime'?: string;
152
155
  }
153
156
 
154
- export const WorkOrderSearchDTOWorkOrderStatusEnum = {
155
- Pending: 'PENDING',
156
- InProgress: 'IN_PROGRESS',
157
- Completed: 'COMPLETED',
158
- Overdue: 'OVERDUE',
159
- Closed: 'CLOSED'
160
- } as const;
161
-
162
- export type WorkOrderSearchDTOWorkOrderStatusEnum = typeof WorkOrderSearchDTOWorkOrderStatusEnum[keyof typeof WorkOrderSearchDTOWorkOrderStatusEnum];
163
157
  export const WorkOrderSearchDTOSamplingResultsEnum = {
164
158
  Zero: 'ZERO',
165
159
  One: 'ONE',
@@ -0,0 +1,34 @@
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
+ * 状态 1待分派 2进行中 4已完成 6已逾期 10已关闭
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const WorkOrderStatusEnum = {
24
+ Pending: 'PENDING',
25
+ InProgress: 'IN_PROGRESS',
26
+ Completed: 'COMPLETED',
27
+ Overdue: 'OVERDUE',
28
+ Closed: 'CLOSED'
29
+ } as const;
30
+
31
+ export type WorkOrderStatusEnum = typeof WorkOrderStatusEnum[keyof typeof WorkOrderStatusEnum];
32
+
33
+
34
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gizone/rrs-client",
3
- "version": "4.1.2-alpha.165",
3
+ "version": "4.1.2-alpha.168",
4
4
  "description": "OpenAPI client for @gizone/rrs-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {