shcp-api-lib 1.0.3 → 1.0.5

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 (106) hide show
  1. package/dist/index.d.ts +8818 -3069
  2. package/dist/index.esm.js +4900 -942
  3. package/dist/index.esm.js.map +1 -1
  4. package/dist/index.js +4960 -959
  5. package/dist/index.js.map +1 -1
  6. package/dist/types/src/api/ai-api.d.ts +17 -0
  7. package/dist/types/src/api/ai-application-api.d.ts +17 -0
  8. package/dist/types/src/api/app-client-api.d.ts +2 -2
  9. package/dist/types/src/api/app-client-page-config-api.d.ts +19 -3
  10. package/dist/types/src/api/app-client-setting-api.d.ts +32 -2
  11. package/dist/types/src/api/common-file-api.d.ts +1 -0
  12. package/dist/types/src/api/common-right-api.d.ts +6 -1
  13. package/dist/types/src/api/consumer-api.d.ts +7 -2
  14. package/dist/types/src/api/disease-care-api.d.ts +91 -0
  15. package/dist/types/src/api/flow-follow-api.d.ts +22 -0
  16. package/dist/types/src/api/flow-manager-api.d.ts +40 -0
  17. package/dist/types/src/api/flow-model-api.d.ts +35 -0
  18. package/dist/types/src/api/flow-process-api.d.ts +27 -0
  19. package/dist/types/src/api/health-medication-api.d.ts +25 -0
  20. package/dist/types/src/api/health-metric-api.d.ts +10 -10
  21. package/dist/types/src/api/health-profile-api.d.ts +13 -2
  22. package/dist/types/src/api/health-study-api.d.ts +61 -0
  23. package/dist/types/src/api/index.d.ts +43 -2
  24. package/dist/types/src/api/job-info-api.d.ts +63 -0
  25. package/dist/types/src/api/job-server-api.d.ts +58 -0
  26. package/dist/types/src/api/km-article-api.d.ts +34 -11
  27. package/dist/types/src/api/km-article-apply-api.d.ts +9 -0
  28. package/dist/types/src/api/km-article-category-api.d.ts +39 -0
  29. package/dist/types/src/api/km-article-draft-api.d.ts +29 -0
  30. package/dist/types/src/api/km-article-tag-api.d.ts +29 -0
  31. package/dist/types/src/api/km-article-tag-category-api.d.ts +34 -0
  32. package/dist/types/src/api/km-form-api.d.ts +37 -7
  33. package/dist/types/src/api/km-form-category-api.d.ts +39 -0
  34. package/dist/types/src/api/km-form-content-draft-api.d.ts +14 -0
  35. package/dist/types/src/api/km-form-draft-api.d.ts +14 -0
  36. package/dist/types/src/api/km-form-item-api.d.ts +9 -0
  37. package/dist/types/src/api/km-form-tree-node-api.d.ts +29 -0
  38. package/dist/types/src/api/km-tag-api.d.ts +42 -0
  39. package/dist/types/src/api/km-tag-category-api.d.ts +47 -0
  40. package/dist/types/src/api/km-tag-value-dict-api.d.ts +32 -0
  41. package/dist/types/src/api/license-api.d.ts +50 -0
  42. package/dist/types/src/api/login-api.d.ts +6 -1
  43. package/dist/types/src/api/potential-customer-api.d.ts +14 -0
  44. package/dist/types/src/api/region-api.d.ts +70 -0
  45. package/dist/types/src/api/report-api.d.ts +9 -0
  46. package/dist/types/src/api/right-api.d.ts +39 -0
  47. package/dist/types/src/api/right-draft-api.d.ts +59 -0
  48. package/dist/types/src/api/right-draft-service-config-api.d.ts +28 -0
  49. package/dist/types/src/api/right-service-config-api.d.ts +26 -6
  50. package/dist/types/src/api/rule-api.d.ts +39 -0
  51. package/dist/types/src/api/system-ApiScopeController-api.d.ts +39 -0
  52. package/dist/types/src/api/system-DeptController-api.d.ts +27 -0
  53. package/dist/types/src/api/system-DictBizController-api.d.ts +33 -0
  54. package/dist/types/src/api/system-DictController-api.d.ts +33 -0
  55. package/dist/types/src/api/system-MenuController-api.d.ts +42 -0
  56. package/dist/types/src/api/system-PostController-api.d.ts +49 -0
  57. package/dist/types/src/api/system-RoleController-api.d.ts +48 -0
  58. package/dist/types/src/api/system-TenantController-api.d.ts +118 -0
  59. package/dist/types/src/api/system-TenantPackageController-api.d.ts +44 -0
  60. package/dist/types/src/api/system-TopMenuController-api.d.ts +44 -0
  61. package/dist/types/src/api/system-UserController-api.d.ts +116 -0
  62. package/dist/types/src/api/system-right-api.d.ts +3 -3
  63. package/dist/types/src/api/user-group-api.d.ts +13 -1
  64. package/dist/types/src/constants/qiniuUploader.d.ts +2 -14
  65. package/dist/types/src/constants/shcp-common.d.ts +114 -0
  66. package/dist/types/src/index.d.ts +3 -0
  67. package/dist/types/src/shcp-api-sdk.d.ts +17 -4
  68. package/dist/types/src/type/model/ai-model.d.ts +69 -0
  69. package/dist/types/src/type/model/app-client-page-config-model.d.ts +148 -0
  70. package/dist/types/src/type/model/app-client-setting-model.d.ts +55 -0
  71. package/dist/types/src/type/model/common-right-model.d.ts +129 -7
  72. package/dist/types/src/type/model/consumer-model.d.ts +34 -38
  73. package/dist/types/src/type/model/flow-follow-model.d.ts +14 -0
  74. package/dist/types/src/type/model/flow-manager-model.d.ts +16 -0
  75. package/dist/types/src/type/model/flow-model-model.d.ts +14 -0
  76. package/dist/types/src/type/model/flow-process-model.d.ts +13 -0
  77. package/dist/types/src/type/model/health-medication-model.d.ts +177 -0
  78. package/dist/types/src/type/model/health-metric-model.d.ts +8 -8
  79. package/dist/types/src/type/model/index.d.ts +28 -0
  80. package/dist/types/src/type/model/job-info-model.d.ts +24 -0
  81. package/dist/types/src/type/model/job-server-model.d.ts +20 -0
  82. package/dist/types/src/type/model/km-article-model.d.ts +579 -5
  83. package/dist/types/src/type/model/km-form-model.d.ts +739 -2
  84. package/dist/types/src/type/model/km-tag-model.d.ts +623 -0
  85. package/dist/types/src/type/model/license-model.d.ts +84 -0
  86. package/dist/types/src/type/model/login-model.d.ts +6 -0
  87. package/dist/types/src/type/model/potential-customer-model.d.ts +136 -0
  88. package/dist/types/src/type/model/region-model.d.ts +36 -0
  89. package/dist/types/src/type/model/report-model.d.ts +75 -0
  90. package/dist/types/src/type/model/right-draft-model.d.ts +243 -0
  91. package/dist/types/src/type/model/right-model.d.ts +88 -0
  92. package/dist/types/src/type/model/rule-model.d.ts +140 -0
  93. package/dist/types/src/type/model/system-ApiScopeController-model.d.ts +36 -0
  94. package/dist/types/src/type/model/system-DeptController-model.d.ts +26 -0
  95. package/dist/types/src/type/model/system-DictBizController-model.d.ts +25 -0
  96. package/dist/types/src/type/model/system-DictController-model.d.ts +25 -0
  97. package/dist/types/src/type/model/system-MenuController-model.d.ts +56 -0
  98. package/dist/types/src/type/model/system-PostController-model.d.ts +22 -0
  99. package/dist/types/src/type/model/system-RoleController-model.d.ts +35 -0
  100. package/dist/types/src/type/model/system-TenantController-model.d.ts +61 -0
  101. package/dist/types/src/type/model/system-TenantPackageController-model.d.ts +14 -0
  102. package/dist/types/src/type/model/system-TopMenuController-model.d.ts +27 -0
  103. package/dist/types/src/type/model/system-UserController-model.d.ts +51 -0
  104. package/package.json +13 -13
  105. package/dist/types/src/api/disease-care-right-api.d.ts +0 -22
  106. package/dist/types/src/api/health-study-right-api.d.ts +0 -23
@@ -0,0 +1,623 @@
1
+ /**
2
+ * 知识管理标签相关模型定义
3
+ * 基于Java DTO自动生成
4
+ */
5
+ import { PageRequest } from "./common-model";
6
+ /**
7
+ * 标签分类数据传输对象
8
+ */
9
+ export interface TagCategoryDTO {
10
+ /**
11
+ * id
12
+ */
13
+ id?: number;
14
+ /**
15
+ * 分类名称
16
+ */
17
+ name?: string;
18
+ /**
19
+ * 父分类id
20
+ */
21
+ parentId?: number;
22
+ /**
23
+ * 是否有子节点,0否,1是
24
+ */
25
+ hasChildren?: number;
26
+ /**
27
+ * 创建时间
28
+ */
29
+ createTime?: Date;
30
+ /**
31
+ * 排序
32
+ */
33
+ sort?: number;
34
+ /**
35
+ * 孩子节点
36
+ */
37
+ children?: TagCategoryDTO[];
38
+ }
39
+ /**
40
+ * 标签分类批量更新请求
41
+ */
42
+ export interface TagCategoryBashUpdateRequest {
43
+ /**
44
+ * 表单分类
45
+ */
46
+ tagCategoryDTOList?: TagCategoryDTO[];
47
+ }
48
+ /**
49
+ * 标签分类复制请求
50
+ */
51
+ export interface TagCategoryCopyRequest {
52
+ /**
53
+ * 模版租户ID
54
+ */
55
+ templateTenantId: string;
56
+ /**
57
+ * 新租户ID
58
+ */
59
+ newTenantId: string;
60
+ }
61
+ /**
62
+ * 标签分类复制响应
63
+ */
64
+ export interface TagCategoryCopyResponse {
65
+ /**
66
+ * 标签分类映射id
67
+ */
68
+ tagCategoryIdMapping?: Record<number, number>;
69
+ /**
70
+ * 标签分类关联映射id
71
+ */
72
+ tagCategoryRelationIdMapping?: Record<number, number>;
73
+ }
74
+ /**
75
+ * 标签分类创建请求
76
+ */
77
+ export interface TagCategoryCreateRequest {
78
+ /**
79
+ * 租户id
80
+ */
81
+ tenantId: string;
82
+ /**
83
+ * 分类名称
84
+ */
85
+ name: string;
86
+ /**
87
+ * 分类备注
88
+ */
89
+ remark?: string;
90
+ /**
91
+ * 父分类id
92
+ */
93
+ parentId: number;
94
+ }
95
+ /**
96
+ * 标签分类删除请求
97
+ */
98
+ export interface TagCategoryDeleteRequest {
99
+ /**
100
+ * id列表
101
+ */
102
+ ids?: (number | string)[];
103
+ /**
104
+ * 租户id
105
+ */
106
+ tenantId?: string;
107
+ }
108
+ /**
109
+ * 标签分类移动请求
110
+ */
111
+ export interface TagCategoryMoveRequest {
112
+ /**
113
+ * 源分类id
114
+ */
115
+ sourceCategoryId: number;
116
+ /**
117
+ * 目标分类id
118
+ */
119
+ targetCategoryId: number;
120
+ /**
121
+ * 租户id
122
+ */
123
+ tenantId?: string;
124
+ }
125
+ /**
126
+ * 标签分类查询入参
127
+ */
128
+ export interface TagCategoryQuery {
129
+ /**
130
+ * id集合
131
+ */
132
+ idList?: number[];
133
+ /**
134
+ * 租户ID
135
+ */
136
+ tenantId?: string;
137
+ /**
138
+ * 分类名称-模糊查询
139
+ */
140
+ name?: string;
141
+ /**
142
+ * 分类名称-精确查询
143
+ */
144
+ nameExact?: string;
145
+ /**
146
+ * 父分类id
147
+ */
148
+ parentId?: number;
149
+ /**
150
+ * 父分类id集合
151
+ */
152
+ parentIdList?: number[];
153
+ }
154
+ /**
155
+ * 标签分类关联关系查询入参
156
+ */
157
+ export interface TagCategoryRelationQuery {
158
+ /**
159
+ * id
160
+ */
161
+ id?: number;
162
+ /**
163
+ * id集合
164
+ */
165
+ idList?: number[];
166
+ /**
167
+ * 标签id
168
+ */
169
+ tagId?: number;
170
+ /**
171
+ * 标签id集合
172
+ */
173
+ tagIdList?: number[];
174
+ /**
175
+ * 分类id
176
+ */
177
+ categoryId?: number;
178
+ /**
179
+ * 分类id集合
180
+ */
181
+ categoryIdList?: number[];
182
+ }
183
+ /**
184
+ * 标签分类重命名请求
185
+ */
186
+ export interface TagCategoryRenameRequest {
187
+ /**
188
+ * 分类id
189
+ */
190
+ id?: number | string;
191
+ /**
192
+ * 分类名称
193
+ */
194
+ name?: string;
195
+ /**
196
+ * 租户id
197
+ */
198
+ tenantId?: string;
199
+ }
200
+ /**
201
+ * 标签分类树查询入参
202
+ */
203
+ export interface TagCategoryTreeQuery {
204
+ /**
205
+ * 租户id
206
+ */
207
+ tenantId: string;
208
+ /**
209
+ * 根分类id
210
+ */
211
+ rootId?: number;
212
+ }
213
+ /**
214
+ * 标签数据传输对象
215
+ */
216
+ export interface TagDTO {
217
+ /**
218
+ * id
219
+ */
220
+ id?: number;
221
+ /**
222
+ * 标签编码
223
+ */
224
+ code?: string;
225
+ /**
226
+ * 租户id
227
+ */
228
+ tenantId?: string;
229
+ /**
230
+ * 标签名称
231
+ */
232
+ name?: string;
233
+ /**
234
+ * 标签描述
235
+ */
236
+ remark?: string;
237
+ /**
238
+ * 标签值类型
239
+ */
240
+ valueType?: number;
241
+ /**
242
+ * 标签值集ID
243
+ */
244
+ valueDictId?: number;
245
+ /**
246
+ * 单位
247
+ */
248
+ unit?: string;
249
+ /**
250
+ * 最大值
251
+ */
252
+ maxValue?: number | string;
253
+ /**
254
+ * 最小值
255
+ */
256
+ minValue?: number | string;
257
+ /**
258
+ * 状态
259
+ */
260
+ status?: number;
261
+ /**
262
+ * 标签可见性
263
+ */
264
+ visibility?: string;
265
+ /**
266
+ * 创建人
267
+ */
268
+ createUser?: number;
269
+ /**
270
+ * 创建人名称
271
+ */
272
+ createUserName?: string;
273
+ /**
274
+ * 创建时间
275
+ */
276
+ createTime?: Date;
277
+ /**
278
+ * 修改时间
279
+ */
280
+ updateTime?: Date;
281
+ /**
282
+ * 标签分类数据
283
+ */
284
+ tagCategoryDTOList?: TagCategoryDTO[];
285
+ }
286
+ /**
287
+ * 标签创建请求
288
+ */
289
+ export interface TagCreateRequest {
290
+ /**
291
+ * 标签名称
292
+ */
293
+ name?: string;
294
+ /**
295
+ * 租户id
296
+ */
297
+ tenantId: string;
298
+ /**
299
+ * 标签描述
300
+ */
301
+ remark?: string;
302
+ /**
303
+ * 标签值集类型
304
+ */
305
+ valueType?: number;
306
+ /**
307
+ * 标签值集id
308
+ */
309
+ valueDictId?: number;
310
+ /**
311
+ * 值集名称
312
+ */
313
+ valueDictName?: string;
314
+ /**
315
+ * 标签值集
316
+ */
317
+ values?: string[];
318
+ /**
319
+ * 可见性(租户id)
320
+ */
321
+ visibility?: string;
322
+ /**
323
+ * 标签状态
324
+ */
325
+ status?: number;
326
+ /**
327
+ * 单位
328
+ */
329
+ unit?: string;
330
+ /**
331
+ * 最大值
332
+ */
333
+ maxValue?: string;
334
+ /**
335
+ * 最小值
336
+ */
337
+ minValue?: string;
338
+ /**
339
+ * 小数位数
340
+ */
341
+ decimalPlaces?: number;
342
+ /**
343
+ * 标签分类id
344
+ */
345
+ categoryIdList?: (number | string)[];
346
+ }
347
+ /**
348
+ * 标签查询请求
349
+ */
350
+ export interface TagQueryRequest extends PageRequest {
351
+ /**
352
+ * 租户id
353
+ */
354
+ tenantId?: string;
355
+ /**
356
+ * 标签名称-模糊匹配
357
+ */
358
+ name?: string;
359
+ /**
360
+ * 标签名称-精确匹配
361
+ */
362
+ nameExact?: string;
363
+ /**
364
+ * 标签值类型
365
+ */
366
+ valueType?: number;
367
+ /**
368
+ * 状态
369
+ */
370
+ status?: number;
371
+ /**
372
+ * 状态集合
373
+ */
374
+ statusList?: number[];
375
+ /**
376
+ * 标签可见性
377
+ */
378
+ visibility?: string;
379
+ /**
380
+ * 创建人
381
+ */
382
+ createUser?: number;
383
+ /**
384
+ * 创建人名称
385
+ */
386
+ createUserName?: string;
387
+ /**
388
+ * 创建时间
389
+ */
390
+ startTime?: Date;
391
+ /**
392
+ * 结束时间
393
+ */
394
+ endTime?: Date;
395
+ /**
396
+ * 分页参数
397
+ */
398
+ query?: any;
399
+ /**
400
+ * 标签分类列表
401
+ */
402
+ categoryIdList?: (number | string)[];
403
+ /**
404
+ * id列表
405
+ */
406
+ idList?: number[];
407
+ }
408
+ /**
409
+ * 标签更新请求
410
+ */
411
+ export interface TagUpdateRequest {
412
+ /**
413
+ * 标签集合id,更新标签时只更新传参第一个标签
414
+ */
415
+ tagIdList: number[];
416
+ /**
417
+ * 租户id
418
+ */
419
+ tenantId?: string;
420
+ /**
421
+ * 标签名称
422
+ */
423
+ name?: string;
424
+ /**
425
+ * 标签描述
426
+ */
427
+ remark?: string;
428
+ /**
429
+ * 标签值集类型
430
+ */
431
+ valueType?: number;
432
+ /**
433
+ * 标签值集id
434
+ */
435
+ valueDictId?: number;
436
+ /**
437
+ * 标签值集合
438
+ */
439
+ values?: string[];
440
+ /**
441
+ * 标签状态
442
+ */
443
+ status?: number;
444
+ /**
445
+ * 单位
446
+ */
447
+ unit?: string;
448
+ /**
449
+ * 最大值
450
+ */
451
+ maxValue?: string;
452
+ /**
453
+ * 最小值
454
+ */
455
+ minValue?: string;
456
+ /**
457
+ * 小数位数
458
+ */
459
+ decimalPlaces?: number;
460
+ /**
461
+ * 标签分类id
462
+ */
463
+ categoryIdList?: number[];
464
+ }
465
+ /**
466
+ * 标签值字典分类DTO
467
+ */
468
+ export interface TagValueDictCategoryDTO {
469
+ /**
470
+ * id
471
+ */
472
+ id?: number;
473
+ /**
474
+ * 租户id
475
+ */
476
+ tenantId?: string;
477
+ /**
478
+ * 名称
479
+ */
480
+ name?: string;
481
+ /**
482
+ * 父id
483
+ */
484
+ parentId?: number;
485
+ /**
486
+ * 是否有子节点
487
+ */
488
+ hasChildren?: number;
489
+ /**
490
+ * 子节点
491
+ */
492
+ children?: TagValueDictCategoryDTO[];
493
+ }
494
+ /**
495
+ * 标签值字典DTO
496
+ */
497
+ export interface TagValueDictDTO {
498
+ /**
499
+ * id
500
+ */
501
+ id?: number;
502
+ /**
503
+ * 名称
504
+ */
505
+ name?: string;
506
+ /**
507
+ * 备注
508
+ */
509
+ remark?: string;
510
+ /**
511
+ * 是否是模板,取值:0: 否; 1: 是
512
+ */
513
+ isTemplate?: number;
514
+ /**
515
+ * 分类
516
+ */
517
+ categories?: TagValueDictCategoryDTO[];
518
+ /**
519
+ * 值集
520
+ */
521
+ valueDictItems?: TagValueDictItemDTO[];
522
+ }
523
+ /**
524
+ * 标签值字典项DTO
525
+ */
526
+ export interface TagValueDictItemDTO {
527
+ /**
528
+ * 主键id
529
+ */
530
+ id?: number;
531
+ /**
532
+ * 值集id
533
+ */
534
+ valueDictId?: number;
535
+ /**
536
+ * 值
537
+ */
538
+ value?: string;
539
+ }
540
+ /**
541
+ * 标签值字典项查询条件
542
+ */
543
+ export interface TagValueDictItemQuery {
544
+ /**
545
+ * 标签值id
546
+ */
547
+ id?: number;
548
+ /**
549
+ * 标签值id集合
550
+ */
551
+ idList?: number[];
552
+ /**
553
+ * 值集模板id
554
+ */
555
+ valueDictId?: number;
556
+ /**
557
+ * 值集模板id集合
558
+ */
559
+ valueDictIds?: number[];
560
+ }
561
+ /**
562
+ * 值集查询请求
563
+ */
564
+ export interface ValueDictQueryRequest extends PageRequest {
565
+ /**
566
+ * 租户id
567
+ */
568
+ tenantId?: string;
569
+ /**
570
+ * 名称
571
+ */
572
+ name?: string;
573
+ /**
574
+ * 名称精确匹配
575
+ */
576
+ nameExact?: string;
577
+ /**
578
+ * 是否是模板
579
+ */
580
+ isTemplate?: number;
581
+ /**
582
+ * 分页查询对象
583
+ */
584
+ query?: any;
585
+ }
586
+ /**
587
+ * 值集创建请求
588
+ */
589
+ export interface ValueDictCreateRequest {
590
+ /**
591
+ * 租户id
592
+ */
593
+ tenantId: string;
594
+ /**
595
+ * 名称
596
+ */
597
+ name?: string;
598
+ /**
599
+ * 备注
600
+ */
601
+ remark?: string;
602
+ /**
603
+ * 标签值
604
+ */
605
+ values?: string[];
606
+ /**
607
+ * 值集分类id
608
+ */
609
+ categoriesIds?: (number | string)[];
610
+ }
611
+ /**
612
+ * 值集删除请求
613
+ */
614
+ export interface ValueDictDeleteRequest {
615
+ /**
616
+ * 租户id
617
+ */
618
+ tenantId?: string;
619
+ /**
620
+ * id列表
621
+ */
622
+ ids?: (number | string)[];
623
+ }
@@ -0,0 +1,84 @@
1
+ /**
2
+ * License相关的TypeScript类型定义
3
+ */
4
+ import { LicenseStatus } from "../../constants/shcp-common";
5
+ import { PageRequest } from "./common-model";
6
+ import { RightDTO } from "./common-right-model";
7
+ export interface LicenseDTO {
8
+ /** 授权ID */
9
+ id: number | string;
10
+ /** 授权名称 */
11
+ name: string;
12
+ /** 授权产品ID */
13
+ rightId: number;
14
+ /** 授权租户ID */
15
+ licensorTenantId: string;
16
+ /** 授权租户名称 */
17
+ licensorTenantName: string;
18
+ /** 被授权租户id */
19
+ licenseeTenantId: string;
20
+ /** 被授权租户名称 */
21
+ licenseeTenantName: string;
22
+ /** 授权开始时间 */
23
+ startTime: string;
24
+ /** 授权结束时间 */
25
+ endTime: string;
26
+ /** 授权状态 */
27
+ status: LicenseStatus;
28
+ /** 授权权益详情 */
29
+ rightDetail?: RightDTO;
30
+ }
31
+ export interface LicenseQuery extends PageRequest {
32
+ /** 授权记录ID */
33
+ id?: number | string;
34
+ /** 授权记录ID集合 */
35
+ ids?: (number | string)[];
36
+ /** 授权的权益ID */
37
+ rightId?: number | string;
38
+ /** 授权租户ID */
39
+ licensorTenantId?: string;
40
+ /** 授权租户ID集合 */
41
+ licensorTenantIds?: string[];
42
+ /** 被授权的租户ID */
43
+ licenseeTenantId?: string;
44
+ /** 被授权的租户ID集合 */
45
+ licenseeTenantIds?: string[];
46
+ /** 授权状态 */
47
+ status?: LicenseStatus;
48
+ /** 是否查询授权权益详情,默认: false */
49
+ isQueryRightDetail?: boolean;
50
+ }
51
+ export interface LicenseeTenantQuery {
52
+ /** 授权产品id */
53
+ rightId?: number | string;
54
+ /** 授权租户ID */
55
+ licensorTenantId?: string;
56
+ }
57
+ export interface LicenseCreateRequest {
58
+ /** 授权租户ID */
59
+ licensorTenantId: string;
60
+ /** 授权名称 */
61
+ name: string;
62
+ /** 授权产品ID */
63
+ rightId: number | string;
64
+ /** 被授权的租户id集合 */
65
+ licenseeTenantIds: string[];
66
+ /** 授权开始时间 */
67
+ startTime: string;
68
+ /** 授权结束时间 */
69
+ endTime: string;
70
+ /** 知识产品授权约束 */
71
+ terms?: string;
72
+ }
73
+ export interface LicenseCancelRequest {
74
+ /** 授权ID */
75
+ id: number | string;
76
+ }
77
+ export interface LicenseReAuthRequest {
78
+ /** 授权ID */
79
+ id: number | string;
80
+ /** 授权开始时间 */
81
+ startTime: string;
82
+ /** 授权结束时间 */
83
+ endTime: string;
84
+ }
@@ -88,3 +88,9 @@ export interface AppClientLoginRequest {
88
88
  iv?: string;
89
89
  };
90
90
  }
91
+ export interface BytLoginRequest {
92
+ /**
93
+ * 81T授权码code
94
+ */
95
+ code?: string;
96
+ }