@gizone/rrs-client 4.2.0-alpha.347 → 4.2.0-alpha.348

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 (54) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/api.ts +1 -0
  3. package/apis/hwork-api.ts +167 -0
  4. package/apis/surveillance-api.ts +92 -0
  5. package/dist/api.d.ts +1 -0
  6. package/dist/api.js +1 -0
  7. package/dist/apis/hwork-api.d.ts +96 -0
  8. package/dist/apis/hwork-api.js +145 -0
  9. package/dist/apis/surveillance-api.d.ts +47 -0
  10. package/dist/apis/surveillance-api.js +71 -0
  11. package/dist/esm/api.d.ts +1 -0
  12. package/dist/esm/api.js +1 -0
  13. package/dist/esm/apis/hwork-api.d.ts +96 -0
  14. package/dist/esm/apis/hwork-api.js +138 -0
  15. package/dist/esm/apis/surveillance-api.d.ts +47 -0
  16. package/dist/esm/apis/surveillance-api.js +71 -0
  17. package/dist/esm/models/index.d.ts +3 -0
  18. package/dist/esm/models/index.js +3 -0
  19. package/dist/esm/models/json-result-surveillance-count-dto.d.ts +62 -0
  20. package/dist/esm/models/json-result-surveillance-count-dto.js +14 -0
  21. package/dist/esm/models/login-type-enum.d.ts +2 -0
  22. package/dist/esm/models/login-type-enum.js +3 -1
  23. package/dist/esm/models/park-info-dto.d.ts +12 -0
  24. package/dist/esm/models/surveillance-count-dto.d.ts +30 -0
  25. package/dist/esm/models/surveillance-count-dto.js +14 -0
  26. package/dist/esm/models/sys-post.d.ts +6 -0
  27. package/dist/esm/models/sys-role.d.ts +6 -0
  28. package/dist/esm/models/sys-user.d.ts +14 -1
  29. package/dist/esm/models/user-source-enum.d.ts +21 -0
  30. package/dist/esm/models/user-source-enum.js +22 -0
  31. package/dist/models/index.d.ts +3 -0
  32. package/dist/models/index.js +3 -0
  33. package/dist/models/json-result-surveillance-count-dto.d.ts +62 -0
  34. package/dist/models/json-result-surveillance-count-dto.js +15 -0
  35. package/dist/models/login-type-enum.d.ts +2 -0
  36. package/dist/models/login-type-enum.js +3 -1
  37. package/dist/models/park-info-dto.d.ts +12 -0
  38. package/dist/models/surveillance-count-dto.d.ts +30 -0
  39. package/dist/models/surveillance-count-dto.js +15 -0
  40. package/dist/models/sys-post.d.ts +6 -0
  41. package/dist/models/sys-role.d.ts +6 -0
  42. package/dist/models/sys-user.d.ts +14 -1
  43. package/dist/models/user-source-enum.d.ts +21 -0
  44. package/dist/models/user-source-enum.js +25 -0
  45. package/models/index.ts +3 -0
  46. package/models/json-result-surveillance-count-dto.ts +72 -0
  47. package/models/login-type-enum.ts +3 -1
  48. package/models/park-info-dto.ts +12 -0
  49. package/models/surveillance-count-dto.ts +36 -0
  50. package/models/sys-post.ts +6 -0
  51. package/models/sys-role.ts +6 -0
  52. package/models/sys-user.ts +18 -1
  53. package/models/user-source-enum.ts +31 -0
  54. package/package.json +1 -1
@@ -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 { SurveillanceCountDto } from './surveillance-count-dto';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface JsonResultSurveillanceCountDto
27
+ */
28
+ export interface JsonResultSurveillanceCountDto {
29
+ /**
30
+ * 错误码,0:成功,其他:失败
31
+ * @type {number}
32
+ * @memberof JsonResultSurveillanceCountDto
33
+ */
34
+ 'code'?: number;
35
+ /**
36
+ * 错误消息
37
+ * @type {string}
38
+ * @memberof JsonResultSurveillanceCountDto
39
+ */
40
+ 'msg'?: string;
41
+ /**
42
+ * 错误堆栈
43
+ * @type {string}
44
+ * @memberof JsonResultSurveillanceCountDto
45
+ */
46
+ 'stacks'?: string;
47
+ /**
48
+ *
49
+ * @type {SurveillanceCountDto}
50
+ * @memberof JsonResultSurveillanceCountDto
51
+ */
52
+ 'data'?: SurveillanceCountDto | null;
53
+ /**
54
+ *
55
+ * @type {BaseErrorResult}
56
+ * @memberof JsonResultSurveillanceCountDto
57
+ */
58
+ 'error'?: BaseErrorResult | null;
59
+ /**
60
+ * 日志追踪ID
61
+ * @type {string}
62
+ * @memberof JsonResultSurveillanceCountDto
63
+ */
64
+ 'traceId'?: string | null;
65
+ /**
66
+ * requestId
67
+ * @type {string}
68
+ * @memberof JsonResultSurveillanceCountDto
69
+ */
70
+ 'requestId'?: string | null;
71
+ }
72
+
@@ -24,7 +24,9 @@ export const LoginTypeEnum = {
24
24
  Pc: 'PC',
25
25
  Applet: 'APPLET',
26
26
  App: 'APP',
27
- H5: 'H5'
27
+ H5: 'H5',
28
+ HWorkPc: 'H_WORK_PC',
29
+ HWorkApp: 'H_WORK_APP'
28
30
  } as const;
29
31
 
30
32
  export type LoginTypeEnum = typeof LoginTypeEnum[keyof typeof LoginTypeEnum];
@@ -71,6 +71,18 @@ export interface ParkInfoDTO {
71
71
  * @memberof ParkInfoDTO
72
72
  */
73
73
  'ancestors'?: string;
74
+ /**
75
+ * 集团ID
76
+ * @type {number}
77
+ * @memberof ParkInfoDTO
78
+ */
79
+ 'groupId'?: number;
80
+ /**
81
+ * 大区ID
82
+ * @type {number}
83
+ * @memberof ParkInfoDTO
84
+ */
85
+ 'areaId'?: number;
74
86
  /**
75
87
  * 园区平面图
76
88
  * @type {string}
@@ -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 SurveillanceCountDto
21
+ */
22
+ export interface SurveillanceCountDto {
23
+ /**
24
+ * 离线数量
25
+ * @type {number}
26
+ * @memberof SurveillanceCountDto
27
+ */
28
+ 'offCount'?: number;
29
+ /**
30
+ * 在线数量
31
+ * @type {number}
32
+ * @memberof SurveillanceCountDto
33
+ */
34
+ 'onCount'?: number;
35
+ }
36
+
@@ -98,5 +98,11 @@ export interface SysPost {
98
98
  * @memberof SysPost
99
99
  */
100
100
  'flag'?: boolean;
101
+ /**
102
+ *
103
+ * @type {number}
104
+ * @memberof SysPost
105
+ */
106
+ 'parkId'?: number;
101
107
  }
102
108
 
@@ -146,5 +146,11 @@ export interface SysRole {
146
146
  * @memberof SysRole
147
147
  */
148
148
  'parkId'?: number;
149
+ /**
150
+ *
151
+ * @type {number}
152
+ * @memberof SysRole
153
+ */
154
+ 'type'?: number;
149
155
  }
150
156
 
@@ -22,6 +22,9 @@ import type { SysRole } from './sys-role';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
24
  import type { SysUserAttachmentInfo } from './sys-user-attachment-info';
25
+ // May contain unused imports in some cases
26
+ // @ts-ignore
27
+ import type { UserSourceEnum } from './user-source-enum';
25
28
 
26
29
  /**
27
30
  * 用户对象
@@ -373,15 +376,29 @@ export interface SysUser {
373
376
  'userAttachments'?: Array<SysUserAttachmentInfo>;
374
377
  /**
375
378
  *
379
+ * @type {UserSourceEnum}
380
+ * @memberof SysUser
381
+ */
382
+ 'userSource'?: UserSourceEnum;
383
+ /**
384
+ * 源用户ID
376
385
  * @type {string}
377
386
  * @memberof SysUser
378
387
  */
379
- 'cid'?: string;
388
+ 'sourceUserId'?: string;
380
389
  /**
381
390
  *
382
391
  * @type {number}
383
392
  * @memberof SysUser
384
393
  */
385
394
  'cuserId'?: number;
395
+ /**
396
+ *
397
+ * @type {string}
398
+ * @memberof SysUser
399
+ */
400
+ 'cid'?: string;
386
401
  }
387
402
 
403
+
404
+
@@ -0,0 +1,31 @@
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 UserSourceEnum = {
24
+ Internal: 'INTERNAL',
25
+ Hwork: 'HWORK'
26
+ } as const;
27
+
28
+ export type UserSourceEnum = typeof UserSourceEnum[keyof typeof UserSourceEnum];
29
+
30
+
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gizone/rrs-client",
3
- "version": "4.2.0-alpha.347",
3
+ "version": "4.2.0-alpha.348",
4
4
  "description": "OpenAPI client for @gizone/rrs-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {