@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
@@ -14,7 +14,7 @@
14
14
  * @export
15
15
  * @enum {string}
16
16
  */
17
- export declare const SpaceIndustryAttribute: {
17
+ export declare const SpaceIndustryAttributeEnum: {
18
18
  readonly Fmcg: "FMCG";
19
19
  readonly Appliance: "APPLIANCE";
20
20
  readonly Car: "CAR";
@@ -22,4 +22,4 @@ export declare const SpaceIndustryAttribute: {
22
22
  readonly Socialized: "SOCIALIZED";
23
23
  readonly LogisticsTreasure: "LOGISTICS_TREASURE";
24
24
  };
25
- export type SpaceIndustryAttribute = typeof SpaceIndustryAttribute[keyof typeof SpaceIndustryAttribute];
25
+ export type SpaceIndustryAttributeEnum = typeof SpaceIndustryAttributeEnum[keyof typeof SpaceIndustryAttributeEnum];
@@ -13,13 +13,13 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SpaceIndustryAttribute = void 0;
16
+ exports.SpaceIndustryAttributeEnum = void 0;
17
17
  /**
18
18
  * 空间行业属性枚举
19
19
  * @export
20
20
  * @enum {string}
21
21
  */
22
- exports.SpaceIndustryAttribute = {
22
+ exports.SpaceIndustryAttributeEnum = {
23
23
  Fmcg: 'FMCG',
24
24
  Appliance: 'APPLIANCE',
25
25
  Car: 'CAR',
@@ -9,7 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { SpaceIndustryAttribute } from './space-industry-attribute';
12
+ import type { SpaceIndustryAttributeEnum } from './space-industry-attribute-enum';
13
+ import type { SpaceTypeEnum } from './space-type-enum';
13
14
  import type { Surveillance } from './surveillance';
14
15
  /**
15
16
  * 返回数据,可以是任意类型的值
@@ -109,10 +110,10 @@ export interface SpaceTreeDTO {
109
110
  'promptText'?: string;
110
111
  /**
111
112
  * 行业属性
112
- * @type {Array<SpaceIndustryAttribute>}
113
+ * @type {Array<SpaceIndustryAttributeEnum>}
113
114
  * @memberof SpaceTreeDTO
114
115
  */
115
- 'industryAttributes'?: Array<SpaceIndustryAttribute>;
116
+ 'industryAttributes'?: Array<SpaceIndustryAttributeEnum>;
116
117
  /**
117
118
  * 监控数量
118
119
  * @type {number}
@@ -131,6 +132,18 @@ export interface SpaceTreeDTO {
131
132
  * @memberof SpaceTreeDTO
132
133
  */
133
134
  'surveillances'?: Array<Surveillance>;
135
+ /**
136
+ *
137
+ * @type {SpaceTypeEnum}
138
+ * @memberof SpaceTreeDTO
139
+ */
140
+ 'spaceType'?: SpaceTypeEnum;
141
+ /**
142
+ * 空间编码
143
+ * @type {string}
144
+ * @memberof SpaceTreeDTO
145
+ */
146
+ 'spaceCode'?: string;
134
147
  }
135
148
  export declare const SpaceTreeDTOImageDisplayMethodEnum: {
136
149
  readonly SelfUploading: "SELF_UPLOADING";
@@ -0,0 +1,23 @@
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 SpaceTypeEnum: {
18
+ readonly Park: "PARK";
19
+ readonly Building: "BUILDING";
20
+ readonly Warehouse: "WAREHOUSE";
21
+ readonly Other: "OTHER";
22
+ };
23
+ export type SpaceTypeEnum = typeof SpaceTypeEnum[keyof typeof SpaceTypeEnum];
@@ -0,0 +1,27 @@
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.SpaceTypeEnum = void 0;
17
+ /**
18
+ * 空间类型
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.SpaceTypeEnum = {
23
+ Park: 'PARK',
24
+ Building: 'BUILDING',
25
+ Warehouse: 'WAREHOUSE',
26
+ Other: 'OTHER'
27
+ };
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { SpaceIndustryAttribute } from './space-industry-attribute';
12
+ import type { SpaceIndustryAttributeEnum } from './space-industry-attribute-enum';
13
13
  /**
14
14
  * 空间详情
15
15
  * @export
@@ -30,10 +30,10 @@ export interface Space {
30
30
  'spaceName'?: string;
31
31
  /**
32
32
  * 行业属性
33
- * @type {Array<SpaceIndustryAttribute>}
33
+ * @type {Array<SpaceIndustryAttributeEnum>}
34
34
  * @memberof Space
35
35
  */
36
- 'industryAttributes'?: Array<SpaceIndustryAttribute>;
36
+ 'industryAttributes'?: Array<SpaceIndustryAttributeEnum>;
37
37
  /**
38
38
  * 父名称
39
39
  * @type {string}
@@ -18,6 +18,7 @@ import type { WorkOrderIssueTypeEnum } from './work-order-issue-type-enum';
18
18
  import type { WorkOrderSourceEnum } from './work-order-source-enum';
19
19
  import type { WorkOrderSpaceDto } from './work-order-space-dto';
20
20
  import type { WorkOrderSponsorDto } from './work-order-sponsor-dto';
21
+ import type { WorkOrderStatusEnum } from './work-order-status-enum';
21
22
  import type { WorkOrderSurveillanceDto } from './work-order-surveillance-dto';
22
23
  import type { WorkOrderTypeEnum } from './work-order-type-enum';
23
24
  /**
@@ -57,11 +58,11 @@ export interface ViolationWorkOrderDetailsDto {
57
58
  */
58
59
  'workOrderType'?: WorkOrderTypeEnum;
59
60
  /**
60
- * 工单状态
61
- * @type {string}
61
+ *
62
+ * @type {WorkOrderStatusEnum}
62
63
  * @memberof ViolationWorkOrderDetailsDto
63
64
  */
64
- 'workOrderStatus'?: ViolationWorkOrderDetailsDtoWorkOrderStatusEnum;
65
+ 'workOrderStatus'?: WorkOrderStatusEnum;
65
66
  /**
66
67
  * 工单执行部门列表
67
68
  * @type {Array<WorkOrderDeptDTO>}
@@ -141,11 +142,3 @@ export interface ViolationWorkOrderDetailsDto {
141
142
  */
142
143
  'workOrderExtData'?: WorkOrderExtData;
143
144
  }
144
- export declare const ViolationWorkOrderDetailsDtoWorkOrderStatusEnum: {
145
- readonly Pending: "PENDING";
146
- readonly InProgress: "IN_PROGRESS";
147
- readonly Completed: "COMPLETED";
148
- readonly Overdue: "OVERDUE";
149
- readonly Closed: "CLOSED";
150
- };
151
- export type ViolationWorkOrderDetailsDtoWorkOrderStatusEnum = typeof ViolationWorkOrderDetailsDtoWorkOrderStatusEnum[keyof typeof ViolationWorkOrderDetailsDtoWorkOrderStatusEnum];
@@ -13,11 +13,3 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ViolationWorkOrderDetailsDtoWorkOrderStatusEnum = void 0;
17
- exports.ViolationWorkOrderDetailsDtoWorkOrderStatusEnum = {
18
- Pending: 'PENDING',
19
- InProgress: 'IN_PROGRESS',
20
- Completed: 'COMPLETED',
21
- Overdue: 'OVERDUE',
22
- Closed: 'CLOSED'
23
- };
@@ -21,6 +21,7 @@ import type { WorkOrderInternalStatusEnum } from './work-order-internal-status-e
21
21
  import type { WorkOrderIssueTypeEnum } from './work-order-issue-type-enum';
22
22
  import type { WorkOrderLiabilityPartyEnum } from './work-order-liability-party-enum';
23
23
  import type { WorkOrderSourceEnum } from './work-order-source-enum';
24
+ import type { WorkOrderStatusEnum } from './work-order-status-enum';
24
25
  import type { WorkOrderTypeEnum } from './work-order-type-enum';
25
26
  /**
26
27
  * 即时工单详情出参
@@ -53,11 +54,11 @@ export interface WorkOrderDetailDTO {
53
54
  */
54
55
  'workOrderType'?: WorkOrderTypeEnum;
55
56
  /**
56
- * 工单状态
57
- * @type {string}
57
+ *
58
+ * @type {WorkOrderStatusEnum}
58
59
  * @memberof WorkOrderDetailDTO
59
60
  */
60
- 'workOrderStatus'?: WorkOrderDetailDTOWorkOrderStatusEnum;
61
+ 'workOrderStatus'?: WorkOrderStatusEnum;
61
62
  /**
62
63
  * 发起时间
63
64
  * @type {string}
@@ -341,14 +342,6 @@ export interface WorkOrderDetailDTO {
341
342
  */
342
343
  'equipments'?: Array<Equipment>;
343
344
  }
344
- export declare const WorkOrderDetailDTOWorkOrderStatusEnum: {
345
- readonly Pending: "PENDING";
346
- readonly InProgress: "IN_PROGRESS";
347
- readonly Completed: "COMPLETED";
348
- readonly Overdue: "OVERDUE";
349
- readonly Closed: "CLOSED";
350
- };
351
- export type WorkOrderDetailDTOWorkOrderStatusEnum = typeof WorkOrderDetailDTOWorkOrderStatusEnum[keyof typeof WorkOrderDetailDTOWorkOrderStatusEnum];
352
345
  export declare const WorkOrderDetailDTOSamplingResultsEnum: {
353
346
  readonly Zero: "ZERO";
354
347
  readonly One: "ONE";
@@ -13,14 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.WorkOrderDetailDTOSamplingResultsEnum = exports.WorkOrderDetailDTOWorkOrderStatusEnum = void 0;
17
- exports.WorkOrderDetailDTOWorkOrderStatusEnum = {
18
- Pending: 'PENDING',
19
- InProgress: 'IN_PROGRESS',
20
- Completed: 'COMPLETED',
21
- Overdue: 'OVERDUE',
22
- Closed: 'CLOSED'
23
- };
16
+ exports.WorkOrderDetailDTOSamplingResultsEnum = void 0;
24
17
  exports.WorkOrderDetailDTOSamplingResultsEnum = {
25
18
  Zero: 'ZERO',
26
19
  One: 'ONE',
@@ -13,6 +13,7 @@ import type { WorkOrderDeptDTO } from './work-order-dept-dto';
13
13
  import type { WorkOrderExtData } from './work-order-ext-data';
14
14
  import type { WorkOrderHandlerDto } from './work-order-handler-dto';
15
15
  import type { WorkOrderIssueTypeEnum } from './work-order-issue-type-enum';
16
+ import type { WorkOrderStatusEnum } from './work-order-status-enum';
16
17
  import type { WorkOrderTypeEnum } from './work-order-type-enum';
17
18
  /**
18
19
  * 工单查询DTO
@@ -75,11 +76,11 @@ export interface WorkOrderSearchDTO {
75
76
  */
76
77
  'handlerUserName'?: string;
77
78
  /**
78
- * 工单状态
79
- * @type {string}
79
+ *
80
+ * @type {WorkOrderStatusEnum}
80
81
  * @memberof WorkOrderSearchDTO
81
82
  */
82
- 'workOrderStatus'?: WorkOrderSearchDTOWorkOrderStatusEnum;
83
+ 'workOrderStatus'?: WorkOrderStatusEnum;
83
84
  /**
84
85
  * 处理人联系方式
85
86
  * @type {string}
@@ -135,14 +136,6 @@ export interface WorkOrderSearchDTO {
135
136
  */
136
137
  'finishTime'?: string;
137
138
  }
138
- export declare const WorkOrderSearchDTOWorkOrderStatusEnum: {
139
- readonly Pending: "PENDING";
140
- readonly InProgress: "IN_PROGRESS";
141
- readonly Completed: "COMPLETED";
142
- readonly Overdue: "OVERDUE";
143
- readonly Closed: "CLOSED";
144
- };
145
- export type WorkOrderSearchDTOWorkOrderStatusEnum = typeof WorkOrderSearchDTOWorkOrderStatusEnum[keyof typeof WorkOrderSearchDTOWorkOrderStatusEnum];
146
139
  export declare const WorkOrderSearchDTOSamplingResultsEnum: {
147
140
  readonly Zero: "ZERO";
148
141
  readonly One: "ONE";
@@ -13,14 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.WorkOrderSearchDTOSamplingResultsEnum = exports.WorkOrderSearchDTOWorkOrderStatusEnum = void 0;
17
- exports.WorkOrderSearchDTOWorkOrderStatusEnum = {
18
- Pending: 'PENDING',
19
- InProgress: 'IN_PROGRESS',
20
- Completed: 'COMPLETED',
21
- Overdue: 'OVERDUE',
22
- Closed: 'CLOSED'
23
- };
16
+ exports.WorkOrderSearchDTOSamplingResultsEnum = void 0;
24
17
  exports.WorkOrderSearchDTOSamplingResultsEnum = {
25
18
  Zero: 'ZERO',
26
19
  One: 'ONE',
@@ -0,0 +1,24 @@
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
+ * 状态 1待分派 2进行中 4已完成 6已逾期 10已关闭
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const WorkOrderStatusEnum: {
18
+ readonly Pending: "PENDING";
19
+ readonly InProgress: "IN_PROGRESS";
20
+ readonly Completed: "COMPLETED";
21
+ readonly Overdue: "OVERDUE";
22
+ readonly Closed: "CLOSED";
23
+ };
24
+ export type WorkOrderStatusEnum = typeof WorkOrderStatusEnum[keyof typeof WorkOrderStatusEnum];
@@ -0,0 +1,28 @@
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.WorkOrderStatusEnum = void 0;
17
+ /**
18
+ * 状态 1待分派 2进行中 4已完成 6已逾期 10已关闭
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.WorkOrderStatusEnum = {
23
+ Pending: 'PENDING',
24
+ InProgress: 'IN_PROGRESS',
25
+ Completed: 'COMPLETED',
26
+ Overdue: 'OVERDUE',
27
+ Closed: 'CLOSED'
28
+ };
@@ -0,0 +1,51 @@
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 { SpaceAddExcelDTO } from './space-add-excel-dto';
19
+
20
+ /**
21
+ * excel导入到redis vo
22
+ * @export
23
+ * @interface ExcelImportUploadToRedisVoSpaceAddExcelDTO
24
+ */
25
+ export interface ExcelImportUploadToRedisVoSpaceAddExcelDTO {
26
+ /**
27
+ * 成功的数据
28
+ * @type {Array<SpaceAddExcelDTO>}
29
+ * @memberof ExcelImportUploadToRedisVoSpaceAddExcelDTO
30
+ */
31
+ 'successDataList'?: Array<SpaceAddExcelDTO>;
32
+ /**
33
+ * 错误的数据
34
+ * @type {Array<SpaceAddExcelDTO>}
35
+ * @memberof ExcelImportUploadToRedisVoSpaceAddExcelDTO
36
+ */
37
+ 'errorDataList'?: Array<SpaceAddExcelDTO>;
38
+ /**
39
+ * 语言
40
+ * @type {string}
41
+ * @memberof ExcelImportUploadToRedisVoSpaceAddExcelDTO
42
+ */
43
+ 'language'?: string;
44
+ /**
45
+ * 园区id
46
+ * @type {number}
47
+ * @memberof ExcelImportUploadToRedisVoSpaceAddExcelDTO
48
+ */
49
+ 'parkId'?: number;
50
+ }
51
+
package/models/index.ts CHANGED
@@ -206,6 +206,7 @@ export * from './excel-import-result-dtocalendar-export-dto';
206
206
  export * from './excel-import-result-dtoequipment-excel-add-dto';
207
207
  export * from './excel-import-result-dtoinspection-standard-import-dto';
208
208
  export * from './excel-import-result-dtomaintenance-standard-import-dto';
209
+ export * from './excel-import-upload-to-redis-vo-space-add-excel-dto';
209
210
  export * from './export-energy-meter-record-bo';
210
211
  export * from './export-hire-energy-meter-record-bo';
211
212
  export * from './export-in-park-vehicle-bo';
@@ -356,6 +357,7 @@ export * from './json-result-excel-import-result-dtocalendar-export-dto';
356
357
  export * from './json-result-excel-import-result-dtoequipment-excel-add-dto';
357
358
  export * from './json-result-excel-import-result-dtoinspection-standard-import-dto';
358
359
  export * from './json-result-excel-import-result-dtomaintenance-standard-import-dto';
360
+ export * from './json-result-excel-import-upload-to-redis-vo-space-add-excel-dto';
359
361
  export * from './json-result-feedback-record-detail-vo';
360
362
  export * from './json-result-feedback-statistics-count-dto';
361
363
  export * from './json-result-feedback-statistics-satisfaction-rating-dto';
@@ -737,12 +739,13 @@ export * from './space-add-vo';
737
739
  export * from './space-detail-dto';
738
740
  export * from './space-edit-vo';
739
741
  export * from './space-image-detail-dto';
740
- export * from './space-industry-attribute';
742
+ export * from './space-industry-attribute-enum';
741
743
  export * from './space-point-dto';
742
744
  export * from './space-point-vo';
743
745
  export * from './space-qr-code';
744
746
  export * from './space-qr-code-dto';
745
747
  export * from './space-tree-dto';
748
+ export * from './space-type-enum';
746
749
  export * from './space-url-add-vo';
747
750
  export * from './space-url-dto';
748
751
  export * from './space-url-edit-vo';
@@ -889,6 +892,7 @@ export * from './work-order-space-dto';
889
892
  export * from './work-order-sponsor-dto';
890
893
  export * from './work-order-spot-check-vo';
891
894
  export * from './work-order-staging-data-vo';
895
+ export * from './work-order-status-enum';
892
896
  export * from './work-order-status-vo';
893
897
  export * from './work-order-step-by-step-push-dto';
894
898
  export * from './work-order-step-by-step-push-user-details-dto';
@@ -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 { ExcelImportUploadToRedisVoSpaceAddExcelDTO } from './excel-import-upload-to-redis-vo-space-add-excel-dto';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface JsonResultExcelImportUploadToRedisVoSpaceAddExcelDTO
27
+ */
28
+ export interface JsonResultExcelImportUploadToRedisVoSpaceAddExcelDTO {
29
+ /**
30
+ * 错误码,0:成功,其他:失败
31
+ * @type {number}
32
+ * @memberof JsonResultExcelImportUploadToRedisVoSpaceAddExcelDTO
33
+ */
34
+ 'code'?: number;
35
+ /**
36
+ * 错误消息
37
+ * @type {string}
38
+ * @memberof JsonResultExcelImportUploadToRedisVoSpaceAddExcelDTO
39
+ */
40
+ 'msg'?: string;
41
+ /**
42
+ * 错误堆栈
43
+ * @type {string}
44
+ * @memberof JsonResultExcelImportUploadToRedisVoSpaceAddExcelDTO
45
+ */
46
+ 'stacks'?: string;
47
+ /**
48
+ *
49
+ * @type {ExcelImportUploadToRedisVoSpaceAddExcelDTO}
50
+ * @memberof JsonResultExcelImportUploadToRedisVoSpaceAddExcelDTO
51
+ */
52
+ 'data'?: ExcelImportUploadToRedisVoSpaceAddExcelDTO | null;
53
+ /**
54
+ *
55
+ * @type {BaseErrorResult}
56
+ * @memberof JsonResultExcelImportUploadToRedisVoSpaceAddExcelDTO
57
+ */
58
+ 'error'?: BaseErrorResult | null;
59
+ /**
60
+ * 日志追踪ID
61
+ * @type {string}
62
+ * @memberof JsonResultExcelImportUploadToRedisVoSpaceAddExcelDTO
63
+ */
64
+ 'traceId'?: string | null;
65
+ /**
66
+ * requestId
67
+ * @type {string}
68
+ * @memberof JsonResultExcelImportUploadToRedisVoSpaceAddExcelDTO
69
+ */
70
+ 'requestId'?: string | null;
71
+ }
72
+
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { WorkOrderStatusEnum } from './work-order-status-enum';
16
19
 
17
20
  /**
18
21
  * 设备维保历史参数
@@ -39,21 +42,12 @@ export interface MaintenanceHistoryDto {
39
42
  */
40
43
  'samplingName'?: string;
41
44
  /**
42
- * 状态 1待分派 2进行中 4已完成 6已逾期 10已关闭
43
- * @type {string}
45
+ *
46
+ * @type {WorkOrderStatusEnum}
44
47
  * @memberof MaintenanceHistoryDto
45
48
  */
46
- 'status'?: MaintenanceHistoryDtoStatusEnum;
49
+ 'status'?: WorkOrderStatusEnum;
47
50
  }
48
51
 
49
- export const MaintenanceHistoryDtoStatusEnum = {
50
- Pending: 'PENDING',
51
- InProgress: 'IN_PROGRESS',
52
- Completed: 'COMPLETED',
53
- Overdue: 'OVERDUE',
54
- Closed: 'CLOSED'
55
- } as const;
56
-
57
- export type MaintenanceHistoryDtoStatusEnum = typeof MaintenanceHistoryDtoStatusEnum[keyof typeof MaintenanceHistoryDtoStatusEnum];
58
52
 
59
53
 
@@ -48,6 +48,9 @@ import type { WorkOrderSpaceDto } from './work-order-space-dto';
48
48
  import type { WorkOrderSponsorDto } from './work-order-sponsor-dto';
49
49
  // May contain unused imports in some cases
50
50
  // @ts-ignore
51
+ import type { WorkOrderStatusEnum } from './work-order-status-enum';
52
+ // May contain unused imports in some cases
53
+ // @ts-ignore
51
54
  import type { WorkOrderSurveillanceDto } from './work-order-surveillance-dto';
52
55
  // May contain unused imports in some cases
53
56
  // @ts-ignore
@@ -84,11 +87,11 @@ export interface NetworkMonitorRepairDetailsDto {
84
87
  */
85
88
  'workOrderType'?: WorkOrderTypeEnum;
86
89
  /**
87
- * 工单状态
88
- * @type {string}
90
+ *
91
+ * @type {WorkOrderStatusEnum}
89
92
  * @memberof NetworkMonitorRepairDetailsDto
90
93
  */
91
- 'workOrderStatus'?: NetworkMonitorRepairDetailsDtoWorkOrderStatusEnum;
94
+ 'workOrderStatus'?: WorkOrderStatusEnum;
92
95
  /**
93
96
  * 图片
94
97
  * @type {Array<string>}
@@ -199,14 +202,5 @@ export interface NetworkMonitorRepairDetailsDto {
199
202
  'sourceWorkOrder'?: SourceWorkOrderDTO;
200
203
  }
201
204
 
202
- export const NetworkMonitorRepairDetailsDtoWorkOrderStatusEnum = {
203
- Pending: 'PENDING',
204
- InProgress: 'IN_PROGRESS',
205
- Completed: 'COMPLETED',
206
- Overdue: 'OVERDUE',
207
- Closed: 'CLOSED'
208
- } as const;
209
-
210
- export type NetworkMonitorRepairDetailsDtoWorkOrderStatusEnum = typeof NetworkMonitorRepairDetailsDtoWorkOrderStatusEnum[keyof typeof NetworkMonitorRepairDetailsDtoWorkOrderStatusEnum];
211
205
 
212
206
 
@@ -30,6 +30,9 @@ import type { WorkOrderIssueTypeEnum } from './work-order-issue-type-enum';
30
30
  import type { WorkOrderSponsorDto } from './work-order-sponsor-dto';
31
31
  // May contain unused imports in some cases
32
32
  // @ts-ignore
33
+ import type { WorkOrderStatusEnum } from './work-order-status-enum';
34
+ // May contain unused imports in some cases
35
+ // @ts-ignore
33
36
  import type { WorkOrderTypeEnum } from './work-order-type-enum';
34
37
 
35
38
  /**
@@ -69,11 +72,11 @@ export interface OfflineAlertWorkOrderDetailsDto {
69
72
  */
70
73
  'workOrderType'?: WorkOrderTypeEnum;
71
74
  /**
72
- * 工单状态
73
- * @type {string}
75
+ *
76
+ * @type {WorkOrderStatusEnum}
74
77
  * @memberof OfflineAlertWorkOrderDetailsDto
75
78
  */
76
- 'workOrderStatus'?: OfflineAlertWorkOrderDetailsDtoWorkOrderStatusEnum;
79
+ 'workOrderStatus'?: WorkOrderStatusEnum;
77
80
  /**
78
81
  *
79
82
  * @type {WorkOrderSponsorDto}
@@ -106,14 +109,5 @@ export interface OfflineAlertWorkOrderDetailsDto {
106
109
  'workOrderExtData'?: WorkOrderExtData;
107
110
  }
108
111
 
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
112
 
119
113