@gct-paas/api 0.1.4-test.0 → 0.1.5-dev.1

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 (58) hide show
  1. package/dist/index.esm.min.js +4 -1
  2. package/dist/index.system.min.js +4 -1
  3. package/es/apaas/service/api-config.mjs +111 -89
  4. package/es/apaas/service/apis/app-global-settings.service.d.ts +0 -4
  5. package/es/apaas/service/apis/audit-log.service.d.ts +1 -1
  6. package/es/apaas/service/apis/data-source.service.d.ts +4 -0
  7. package/es/apaas/service/apis/designer-common.service.d.ts +2 -2
  8. package/es/apaas/service/apis/edhr-instance.service.d.ts +12 -0
  9. package/es/apaas/service/apis/enum-model-field.service.d.ts +8 -0
  10. package/es/apaas/service/apis/file-resource.service.d.ts +1 -1
  11. package/es/apaas/service/apis/file.service.d.ts +5 -1
  12. package/es/apaas/service/apis/i18n-info.service.d.ts +1 -1
  13. package/es/apaas/service/apis/label.service.d.ts +1 -1
  14. package/es/apaas/service/apis/medPro.service.d.ts +45 -17
  15. package/es/apaas/service/apis/model-method.service.d.ts +19 -1
  16. package/es/apaas/service/apis/office.service.d.ts +1 -1
  17. package/es/apaas/service/apis/online-form-instance.service.d.ts +28 -0
  18. package/es/apaas/service/apis/online-form-tmpl-export.service.d.ts +1 -1
  19. package/es/apaas/service/apis/online-form-tmpl.service.d.ts +4 -0
  20. package/es/apaas/service/apis/process-task-done.service.d.ts +4 -0
  21. package/es/apaas/service/apis/process-task-todo.service.d.ts +8 -0
  22. package/es/apaas/service/entities.d.ts +189 -1
  23. package/es/apaas/service/index.d.ts +1 -1
  24. package/es/ipaas/service/api-config.mjs +6 -4
  25. package/es/ipaas/service/apis/connector-config.service.d.ts +1 -1
  26. package/es/ipaas/service/apis/flow.service.d.ts +1 -1
  27. package/es/platform/service/api-config.mjs +110 -59
  28. package/es/platform/service/apis/api.service.d.ts +32 -8
  29. package/es/platform/service/apis/apk.service.d.ts +1 -1
  30. package/es/platform/service/apis/app.service.d.ts +1 -1
  31. package/es/platform/service/apis/assets.service.d.ts +1 -1
  32. package/es/platform/service/apis/bi-file.service.d.ts +1 -1
  33. package/es/platform/service/apis/dashboard.service.d.ts +4 -0
  34. package/es/platform/service/apis/device-interconnection-param.service.d.ts +1 -1
  35. package/es/platform/service/apis/device-interconnection.service.d.ts +1 -1
  36. package/es/platform/service/apis/file-task.service.d.ts +13 -0
  37. package/es/platform/service/apis/file.service.d.ts +3 -3
  38. package/es/platform/service/apis/i18n-info.service.d.ts +1 -1
  39. package/es/platform/service/apis/ldap.service.d.ts +1 -1
  40. package/es/platform/service/apis/license.service.d.ts +1 -10
  41. package/es/platform/service/apis/login-log.service.d.ts +13 -0
  42. package/es/platform/service/apis/plat.service.d.ts +8 -1
  43. package/es/platform/service/apis/pn-project.service.d.ts +1 -1
  44. package/es/platform/service/apis/user.service.d.ts +6 -6
  45. package/es/platform/service/entities.d.ts +499 -62
  46. package/es/service/api-service.d.ts +13 -0
  47. package/es/service/api-service.interface.d.ts +6 -0
  48. package/es/service/api-service.mjs +26 -1
  49. package/es/service/http.util.d.ts +7 -0
  50. package/es/service/http.util.mjs +10 -2
  51. package/es/service/index.mjs +2 -0
  52. package/es/service/request.client.d.ts +6 -0
  53. package/es/service/request.client.mjs +35 -0
  54. package/es/utils/index.d.ts +1 -0
  55. package/es/utils/index.mjs +1 -0
  56. package/es/utils/native-http/native-http.d.ts +6 -0
  57. package/es/utils/native-http/native-http.mjs +63 -0
  58. package/package.json +4 -3
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable @typescript-eslint/no-empty-object-type */
2
2
  export interface AccountConfig {
3
3
  /**
4
- * 应用类型 枚举(钉钉 DINGDING,企微 QIYEWEIXIN,飞书 FEISHU)
4
+ * 应用类型 枚举 (钉钉 DINGDING,企微 QIYEWEIXIN,飞书 FEISHU,微软 MICROSOFT)
5
5
  *
6
6
  * @type string
7
7
  */
@@ -4178,6 +4178,12 @@ export interface DataTraceRequest {
4178
4178
  * @type string
4179
4179
  */
4180
4180
  module?: string;
4181
+ /**
4182
+ * 多个模块
4183
+ *
4184
+ * @type string[]
4185
+ */
4186
+ modules?: string[];
4181
4187
  /**
4182
4188
  * 操作类型
4183
4189
  *
@@ -5670,6 +5676,12 @@ export interface DocControlTaskTodoResponse {
5670
5676
  version?: string;
5671
5677
  }
5672
5678
  export interface DocOutlineBase {
5679
+ /**
5680
+ * 基础单据id(DHR ID)
5681
+ *
5682
+ * @type string
5683
+ */
5684
+ baseId?: string;
5673
5685
  /**
5674
5686
  *
5675
5687
  *
@@ -8069,6 +8081,20 @@ export interface EnumModelFieldResponse {
8069
8081
  */
8070
8082
  value?: string;
8071
8083
  }
8084
+ export interface EnumModelFieldSortReq {
8085
+ /**
8086
+ * 枚举模型id
8087
+ *
8088
+ * @type string
8089
+ */
8090
+ enumModelId?: string;
8091
+ /**
8092
+ *
8093
+ *
8094
+ * @type string[]
8095
+ */
8096
+ ids?: string[];
8097
+ }
8072
8098
  export interface EnumModelRequest {
8073
8099
  /**
8074
8100
  * 分类id
@@ -9466,6 +9492,12 @@ export interface FieldMeta {
9466
9492
  * @type string
9467
9493
  */
9468
9494
  bindInfo?: string;
9495
+ /**
9496
+ * 业务字段类型
9497
+ *
9498
+ * @type string
9499
+ */
9500
+ bizType?: string;
9469
9501
  /**
9470
9502
  *
9471
9503
  *
@@ -9688,6 +9720,12 @@ export interface FieldMetaDTO {
9688
9720
  * @type string
9689
9721
  */
9690
9722
  bindInfo?: string;
9723
+ /**
9724
+ * 业务字段类型
9725
+ *
9726
+ * @type string
9727
+ */
9728
+ bizType?: string;
9691
9729
  /**
9692
9730
  *
9693
9731
  *
@@ -10204,6 +10242,12 @@ export interface FieldMetaVO {
10204
10242
  * @type string
10205
10243
  */
10206
10244
  bindInfo?: string;
10245
+ /**
10246
+ * 业务字段类型
10247
+ *
10248
+ * @type string
10249
+ */
10250
+ bizType?: string;
10207
10251
  /**
10208
10252
  * 默认值
10209
10253
  *
@@ -10368,6 +10412,12 @@ export interface FileResourceResponse {
10368
10412
  url?: string;
10369
10413
  }
10370
10414
  export interface FileTaskDTO {
10415
+ /**
10416
+ * 是否包含半成品批次(当type为EDHR时使用,用于判断打印时是否需要打印半成品批次eDHR)
10417
+ *
10418
+ * @type boolean
10419
+ */
10420
+ includeSemi?: boolean;
10371
10421
  /**
10372
10422
  * 模板实例id
10373
10423
  *
@@ -10632,6 +10682,12 @@ export interface FormRelateDTO {
10632
10682
  * @type string
10633
10683
  */
10634
10684
  name?: string;
10685
+ /**
10686
+ *
10687
+ *
10688
+ * @type string
10689
+ */
10690
+ officeType?: string;
10635
10691
  /**
10636
10692
  * 线下版本号
10637
10693
  *
@@ -13906,6 +13962,18 @@ export interface MessageRecordResponse {
13906
13962
  * @type string
13907
13963
  */
13908
13964
  resultMsg?: string;
13965
+ /**
13966
+ * 跳转配置: {"WEB":"菜单id","MOBILE":"菜单id","PAD":"菜单id"}
13967
+ *
13968
+ * @type string
13969
+ */
13970
+ routerConfig?: string;
13971
+ /**
13972
+ * 跳转参数:由调用全局方法方传递
13973
+ *
13974
+ * @type string
13975
+ */
13976
+ routerParams?: string;
13909
13977
  /**
13910
13978
  * 租户id
13911
13979
  *
@@ -14030,6 +14098,12 @@ export interface MessageTmplRequest {
14030
14098
  * @type string
14031
14099
  */
14032
14100
  rangUser?: string;
14101
+ /**
14102
+ * 跳转配置: {"WEB":"菜单id","MOBILE":"菜单id","PAD":"菜单id"}
14103
+ *
14104
+ * @type string
14105
+ */
14106
+ routerConfig?: string;
14033
14107
  /**
14034
14108
  * 租户id
14035
14109
  *
@@ -14146,6 +14220,12 @@ export interface MessageTmplResponse {
14146
14220
  * @type string
14147
14221
  */
14148
14222
  pushType?: string;
14223
+ /**
14224
+ * 跳转配置: {"WEB":"菜单id","MOBILE":"菜单id","PAD":"菜单id"}
14225
+ *
14226
+ * @type string
14227
+ */
14228
+ routerConfig?: string;
14149
14229
  /**
14150
14230
  * 租户id
14151
14231
  *
@@ -14304,6 +14384,18 @@ export interface MessageTmplSendRequest {
14304
14384
  * @type string
14305
14385
  */
14306
14386
  rangUser?: string;
14387
+ /**
14388
+ *
14389
+ *
14390
+ * @type string
14391
+ */
14392
+ routerConfig?: string;
14393
+ /**
14394
+ *
14395
+ *
14396
+ * @type string
14397
+ */
14398
+ routerParams?: string;
14307
14399
  /**
14308
14400
  * 支持流程
14309
14401
  *
@@ -17276,6 +17368,12 @@ export interface OnlineFormFieldMetaVO {
17276
17368
  * @type string
17277
17369
  */
17278
17370
  bindInfo?: string;
17371
+ /**
17372
+ * 业务字段类型
17373
+ *
17374
+ * @type string
17375
+ */
17376
+ bizType?: string;
17279
17377
  /**
17280
17378
  * 默认值
17281
17379
  *
@@ -17642,6 +17740,12 @@ export interface OnlineFormInstance {
17642
17740
  * @type string
17643
17741
  */
17644
17742
  id?: string;
17743
+ /**
17744
+ *
17745
+ *
17746
+ * @type string
17747
+ */
17748
+ instanceRelationBusinessId?: string;
17645
17749
  /**
17646
17750
  *
17647
17751
  *
@@ -17714,6 +17818,12 @@ export interface OnlineFormInstance {
17714
17818
  * @type number
17715
17819
  */
17716
17820
  ofRequired?: number;
17821
+ /**
17822
+ *
17823
+ *
17824
+ * @type string
17825
+ */
17826
+ officeType?: string;
17717
17827
  /**
17718
17828
  *
17719
17829
  *
@@ -18072,6 +18182,12 @@ export interface OnlineFormInstanceRelationInfoResponse {
18072
18182
  * @type string
18073
18183
  */
18074
18184
  ofSerialNo?: string;
18185
+ /**
18186
+ * office类型
18187
+ *
18188
+ * @type string
18189
+ */
18190
+ officeType?: string;
18075
18191
  /**
18076
18192
  * 产品名称
18077
18193
  *
@@ -18280,6 +18396,12 @@ export interface OnlineFormInstanceResponse {
18280
18396
  * @type string
18281
18397
  */
18282
18398
  designerJson?: string;
18399
+ /**
18400
+ *
18401
+ *
18402
+ * @type string
18403
+ */
18404
+ direction?: string;
18283
18405
  /**
18284
18406
  *
18285
18407
  *
@@ -18352,6 +18474,12 @@ export interface OnlineFormInstanceResponse {
18352
18474
  * @type string
18353
18475
  */
18354
18476
  formType?: string;
18477
+ /**
18478
+ *
18479
+ *
18480
+ * @type number
18481
+ */
18482
+ height?: number;
18355
18483
  /**
18356
18484
  * 主键ID
18357
18485
  *
@@ -18424,6 +18552,12 @@ export interface OnlineFormInstanceResponse {
18424
18552
  * @type number
18425
18553
  */
18426
18554
  ofRequired?: number;
18555
+ /**
18556
+ *
18557
+ *
18558
+ * @type string
18559
+ */
18560
+ officeType?: string;
18427
18561
  /**
18428
18562
  * 操作
18429
18563
  *
@@ -18448,6 +18582,12 @@ export interface OnlineFormInstanceResponse {
18448
18582
  * @type string
18449
18583
  */
18450
18584
  operatorRange?: string;
18585
+ /**
18586
+ *
18587
+ *
18588
+ * @type string
18589
+ */
18590
+ paperSize?: string;
18451
18591
  /**
18452
18592
  * 实例参数(业务扩展属性)
18453
18593
  *
@@ -18586,6 +18726,12 @@ export interface OnlineFormInstanceResponse {
18586
18726
  * @type string
18587
18727
  */
18588
18728
  viewType?: string;
18729
+ /**
18730
+ *
18731
+ *
18732
+ * @type number
18733
+ */
18734
+ width?: number;
18589
18735
  }
18590
18736
  export interface OnlineFormInstanceTmplRelationResponse {
18591
18737
  /**
@@ -25934,6 +26080,24 @@ export interface ProcessPathResponse {
25934
26080
  * @type string
25935
26081
  */
25936
26082
  tmplId?: string;
26083
+ /**
26084
+ * 事务定义id
26085
+ *
26086
+ * @type string
26087
+ */
26088
+ txnDefinitionId?: string;
26089
+ /**
26090
+ * 事务实例id
26091
+ *
26092
+ * @type string
26093
+ */
26094
+ txnInstId?: string;
26095
+ /**
26096
+ * 事务实例状态
26097
+ *
26098
+ * @type string
26099
+ */
26100
+ txnInstStatus?: string;
25937
26101
  }
25938
26102
  export interface ProcessPathUserRequest {
25939
26103
  /**
@@ -28690,6 +28854,12 @@ export interface ProductReleaseFormInstanctDTO {
28690
28854
  * @type string
28691
28855
  */
28692
28856
  id?: string;
28857
+ /**
28858
+ *
28859
+ *
28860
+ * @type string
28861
+ */
28862
+ instanceRelationBusinessId?: string;
28693
28863
  /**
28694
28864
  *
28695
28865
  *
@@ -28762,6 +28932,12 @@ export interface ProductReleaseFormInstanctDTO {
28762
28932
  * @type number
28763
28933
  */
28764
28934
  ofRequired?: number;
28935
+ /**
28936
+ *
28937
+ *
28938
+ * @type string
28939
+ */
28940
+ officeType?: string;
28765
28941
  /**
28766
28942
  *
28767
28943
  *
@@ -28944,6 +29120,12 @@ export interface ProductReleaseFormResponse {
28944
29120
  * @type OnlineFormInstanceResponse
28945
29121
  */
28946
29122
  instance?: OnlineFormInstanceResponse;
29123
+ /**
29124
+ * 表单实例
29125
+ *
29126
+ * @type OnlineFormInstanceResponse[]
29127
+ */
29128
+ instanceList?: OnlineFormInstanceResponse[];
28947
29129
  /**
28948
29130
  * 表单模板
28949
29131
  *
@@ -35766,6 +35948,12 @@ export interface UserTenantDTO {
35766
35948
  * @type string
35767
35949
  */
35768
35950
  id?: string;
35951
+ /**
35952
+ * 是否最后登录租户,0:否 1:是
35953
+ *
35954
+ * @type number
35955
+ */
35956
+ latestLogin?: number;
35769
35957
  /**
35770
35958
  * 直属上级id
35771
35959
  *
@@ -1,4 +1,4 @@
1
- import type { MedProService } from './apis/med-pro.service';
1
+ import type { MedProService } from './apis/medPro.service';
2
2
  import type { AppBranchService } from './apis/app-branch.service';
3
3
  import type { AppGlobalSettingsService } from './apis/app-global-settings.service';
4
4
  import type { AppGrantedUserService } from './apis/app-granted-user.service';
@@ -118,6 +118,7 @@ export const apiConfig = [
118
118
  mode: "post",
119
119
  method: "postImport",
120
120
  path: "import",
121
+ hasUpload: true,
121
122
  hasQuery: true,
122
123
  hasData: true
123
124
  },
@@ -141,7 +142,7 @@ export const apiConfig = [
141
142
  {
142
143
  mode: "put",
143
144
  method: "putId",
144
- path: "",
145
+ path: "{id}",
145
146
  hasPathParams: true,
146
147
  hasData: true
147
148
  }
@@ -212,7 +213,7 @@ export const apiConfig = [
212
213
  {
213
214
  mode: "put",
214
215
  method: "putId",
215
- path: "",
216
+ path: "{id}",
216
217
  hasPathParams: true,
217
218
  hasData: true
218
219
  }
@@ -267,7 +268,7 @@ export const apiConfig = [
267
268
  {
268
269
  mode: "put",
269
270
  method: "putId",
270
- path: "",
271
+ path: "{id}",
271
272
  hasPathParams: true,
272
273
  hasData: true
273
274
  }
@@ -321,7 +322,7 @@ export const apiConfig = [
321
322
  {
322
323
  mode: "put",
323
324
  method: "putId",
324
- path: "",
325
+ path: "{id}",
325
326
  hasPathParams: true,
326
327
  hasData: true
327
328
  }
@@ -345,6 +346,7 @@ export const apiConfig = [
345
346
  mode: "post",
346
347
  method: "postImport",
347
348
  path: "import",
349
+ hasUpload: true,
348
350
  hasQuery: true,
349
351
  hasData: true
350
352
  },
@@ -90,7 +90,7 @@ export interface ConnectorConfigService {
90
90
  query: postImportQuery,
91
91
  data: UploadFileData,
92
92
  config?: Partial<AxiosRequestConfig>,
93
- ): Promise<string>;
93
+ ): Promise<IHttpResponse<string>>;
94
94
  /**
95
95
  * 详情
96
96
  */
@@ -126,7 +126,7 @@ export interface FlowService {
126
126
  query: postImportQuery,
127
127
  data: UploadFileData,
128
128
  config?: Partial<AxiosRequestConfig>,
129
- ): Promise<boolean>;
129
+ ): Promise<IHttpResponse<boolean>>;
130
130
  /**
131
131
  * 分类下的已上线的连接流 - 只返回触发类型为webhook的
132
132
  */