@gct-paas/api 0.1.4-dev.2 → 0.1.4-dev.4

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 (39) hide show
  1. package/dist/index.esm.min.js +1 -1
  2. package/dist/index.system.min.js +1 -1
  3. package/es/apaas/service/api-config.mjs +16 -3
  4. package/es/apaas/service/apis/designer-common.service.d.ts +2 -2
  5. package/es/apaas/service/apis/enum-model-field.service.d.ts +8 -0
  6. package/es/apaas/service/apis/file-resource.service.d.ts +1 -1
  7. package/es/apaas/service/apis/file.service.d.ts +1 -1
  8. package/es/apaas/service/apis/i18n-info.service.d.ts +1 -1
  9. package/es/apaas/service/apis/label.service.d.ts +1 -1
  10. package/es/apaas/service/apis/medPro.service.d.ts +45 -17
  11. package/es/apaas/service/apis/model-method.service.d.ts +19 -1
  12. package/es/apaas/service/apis/office.service.d.ts +1 -1
  13. package/es/apaas/service/apis/online-form-tmpl-export.service.d.ts +1 -1
  14. package/es/apaas/service/apis/online-form-tmpl.service.d.ts +4 -0
  15. package/es/apaas/service/apis/process-task-done.service.d.ts +4 -0
  16. package/es/apaas/service/apis/process-task-todo.service.d.ts +8 -0
  17. package/es/apaas/service/entities.d.ts +14 -0
  18. package/es/apaas/service/index.d.ts +1 -1
  19. package/es/ipaas/service/apis/connector-config.service.d.ts +1 -1
  20. package/es/ipaas/service/apis/flow.service.d.ts +1 -1
  21. package/es/platform/service/api-config.mjs +18 -4
  22. package/es/platform/service/apis/api.service.d.ts +6 -10
  23. package/es/platform/service/apis/apk.service.d.ts +1 -1
  24. package/es/platform/service/apis/app.service.d.ts +5 -1
  25. package/es/platform/service/apis/assets.service.d.ts +1 -1
  26. package/es/platform/service/apis/bi-file.service.d.ts +1 -1
  27. package/es/platform/service/apis/dashboard.service.d.ts +4 -0
  28. package/es/platform/service/apis/device-interconnection-param.service.d.ts +1 -1
  29. package/es/platform/service/apis/device-interconnection.service.d.ts +1 -1
  30. package/es/platform/service/apis/file.service.d.ts +3 -3
  31. package/es/platform/service/apis/i18n-info.service.d.ts +1 -1
  32. package/es/platform/service/apis/ldap.service.d.ts +1 -1
  33. package/es/platform/service/apis/license.service.d.ts +1 -10
  34. package/es/platform/service/apis/login-log.service.d.ts +13 -0
  35. package/es/platform/service/apis/plat.service.d.ts +8 -1
  36. package/es/platform/service/apis/pn-project.service.d.ts +1 -1
  37. package/es/platform/service/apis/user.service.d.ts +6 -6
  38. package/es/platform/service/entities.d.ts +357 -4
  39. package/package.json +3 -3
@@ -3,6 +3,7 @@ import type {
3
3
  SysConfigResponse,
4
4
  SysConfigRequest,
5
5
  PlatformBaseConfig,
6
+ CardLoginConfig,
6
7
  DingTalkConfig,
7
8
  MailConfig,
8
9
  FeiShuConfig,
@@ -63,6 +64,12 @@ export interface PlatService {
63
64
  data: PlatformBaseConfig,
64
65
  config?: Partial<AxiosRequestConfig>,
65
66
  ): Promise<string>;
67
+ /**
68
+ * 查询刷卡登录是否启用
69
+ */
70
+ getCardLoginCfg(
71
+ config?: Partial<AxiosRequestConfig>,
72
+ ): Promise<CardLoginConfig>;
66
73
  /**
67
74
  * 钉钉设置 保存/更新
68
75
  */
@@ -146,7 +153,7 @@ export interface PlatService {
146
153
  postUploadCertFile(
147
154
  data: UploadFileData,
148
155
  config?: Partial<AxiosRequestConfig>,
149
- ): Promise<string>;
156
+ ): Promise<IHttpResponse<string>>;
150
157
  /**
151
158
  * (平台管理)添加管理员 保存
152
159
  */
@@ -123,7 +123,7 @@ export interface PnProjectService {
123
123
  query: postImportQuery,
124
124
  data: UploadFileData,
125
125
  config?: Partial<AxiosRequestConfig>,
126
- ): Promise<string>;
126
+ ): Promise<IHttpResponse<string>>;
127
127
  /**
128
128
  * 详情
129
129
  */
@@ -160,7 +160,7 @@ export interface UserService {
160
160
  query: postOrgPlatImportQuery,
161
161
  data: UploadFileData,
162
162
  config?: Partial<AxiosRequestConfig>,
163
- ): Promise<object>;
163
+ ): Promise<IHttpResponse<object>>;
164
164
  /**
165
165
  * (平台管理)组织成员 导出部门人员
166
166
  */
@@ -175,7 +175,7 @@ export interface UserService {
175
175
  query: postOrgTenantImportQuery,
176
176
  data: UploadFileData,
177
177
  config?: Partial<AxiosRequestConfig>,
178
- ): Promise<object>;
178
+ ): Promise<IHttpResponse<object>>;
179
179
  /**
180
180
  * (租户管理后台)组织成员 导入人员
181
181
  */
@@ -183,7 +183,7 @@ export interface UserService {
183
183
  query: postOrgTenantImport4AppQuery,
184
184
  data: UploadFileData,
185
185
  config?: Partial<AxiosRequestConfig>,
186
- ): Promise<object>;
186
+ ): Promise<IHttpResponse<object>>;
187
187
  /**
188
188
  * (租户管理后台)组织成员 导出部门人员
189
189
  */
@@ -211,7 +211,7 @@ export interface UserService {
211
211
  postPlatImport(
212
212
  data: UploadFileData,
213
213
  config?: Partial<AxiosRequestConfig>,
214
- ): Promise<object>;
214
+ ): Promise<IHttpResponse<object>>;
215
215
  /**
216
216
  * (平台管理)用户管理 导出人员
217
217
  */
@@ -260,14 +260,14 @@ export interface UserService {
260
260
  postTenantImport(
261
261
  data: UploadFileData,
262
262
  config?: Partial<AxiosRequestConfig>,
263
- ): Promise<object>;
263
+ ): Promise<IHttpResponse<object>>;
264
264
  /**
265
265
  * (租户管理后台)用户管理 导入(平台/公司)人员
266
266
  */
267
267
  postTenantImport4App(
268
268
  data: UploadFileData,
269
269
  config?: Partial<AxiosRequestConfig>,
270
- ): Promise<object>;
270
+ ): Promise<IHttpResponse<object>>;
271
271
  /**
272
272
  * (租户管理后台)用户管理 导出人员
273
273
  */
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-empty-object-type */
1
2
  export interface APIDatasetConfigDTO {
2
3
  /**
3
4
  * 开始时间
@@ -88,7 +89,7 @@ export interface AcLicenseResponse {
88
89
  }
89
90
  export interface AccountConfig {
90
91
  /**
91
- * 应用类型 枚举(钉钉 DINGDING,企微 QIYEWEIXIN,飞书 FEISHU)
92
+ * 应用类型 枚举 (钉钉 DINGDING,企微 QIYEWEIXIN,飞书 FEISHU,微软 MICROSOFT)
92
93
  *
93
94
  * @type string
94
95
  */
@@ -546,6 +547,9 @@ export interface AgentResponse {
546
547
  */
547
548
  usage?: string;
548
549
  }
550
+ export interface Annotation {
551
+ // 暂无属性
552
+ }
549
553
  export interface ApiInfo {
550
554
  /**
551
555
  *
@@ -2466,6 +2470,74 @@ export interface AppSettingRequest {
2466
2470
  */
2467
2471
  type?: string;
2468
2472
  }
2473
+ export interface ApplicationContext {
2474
+ /**
2475
+ *
2476
+ *
2477
+ * @type string
2478
+ */
2479
+ applicationName?: string;
2480
+ /**
2481
+ *
2482
+ *
2483
+ * @type AutowireCapableBeanFactory
2484
+ */
2485
+ autowireCapableBeanFactory?: AutowireCapableBeanFactory;
2486
+ /**
2487
+ *
2488
+ *
2489
+ * @type number
2490
+ */
2491
+ beanDefinitionCount?: number;
2492
+ /**
2493
+ *
2494
+ *
2495
+ * @type string[]
2496
+ */
2497
+ beanDefinitionNames?: string[];
2498
+ /**
2499
+ *
2500
+ *
2501
+ * @type ClassLoader
2502
+ */
2503
+ classLoader?: ClassLoader;
2504
+ /**
2505
+ *
2506
+ *
2507
+ * @type string
2508
+ */
2509
+ displayName?: string;
2510
+ /**
2511
+ *
2512
+ *
2513
+ * @type Environment
2514
+ */
2515
+ environment?: Environment;
2516
+ /**
2517
+ *
2518
+ *
2519
+ * @type string
2520
+ */
2521
+ id?: string;
2522
+ /**
2523
+ *
2524
+ *
2525
+ * @type ApplicationContext
2526
+ */
2527
+ parent?: ApplicationContext;
2528
+ /**
2529
+ *
2530
+ *
2531
+ * @type BeanFactory
2532
+ */
2533
+ parentBeanFactory?: BeanFactory;
2534
+ /**
2535
+ *
2536
+ *
2537
+ * @type number
2538
+ */
2539
+ startupDate?: number;
2540
+ }
2469
2541
  export interface AssetsResponse {
2470
2542
  /**
2471
2543
  * 分类ID
@@ -2832,6 +2904,9 @@ export interface AuthConfig {
2832
2904
  */
2833
2905
  title?: string;
2834
2906
  }
2907
+ export interface AutowireCapableBeanFactory {
2908
+ // 暂无属性
2909
+ }
2835
2910
  export interface BIChartConditionDTO {
2836
2911
  /**
2837
2912
  *
@@ -3104,6 +3179,9 @@ export interface Base64UploadPlatFormRequest {
3104
3179
  */
3105
3180
  filename?: string;
3106
3181
  }
3182
+ export interface BeanFactory {
3183
+ // 暂无属性
3184
+ }
3107
3185
  export interface BiDataSetPreviewRequest {
3108
3186
  /**
3109
3187
  * 描述
@@ -3732,6 +3810,14 @@ export interface CSV数据源表实体类 {
3732
3810
  */
3733
3811
  user_id?: string;
3734
3812
  }
3813
+ export interface CardLoginConfig {
3814
+ /**
3815
+ * 是否启用
3816
+ *
3817
+ * @type number
3818
+ */
3819
+ enabled?: number;
3820
+ }
3735
3821
  export interface Category {
3736
3822
  /**
3737
3823
  *
@@ -3920,6 +4006,38 @@ export interface CategoryResponse {
3920
4006
  */
3921
4007
  sysBuiltin?: number;
3922
4008
  }
4009
+ export interface ClassLoader {
4010
+ /**
4011
+ *
4012
+ *
4013
+ * @type Package[]
4014
+ */
4015
+ definedPackages?: Package[];
4016
+ /**
4017
+ *
4018
+ *
4019
+ * @type string
4020
+ */
4021
+ name?: string;
4022
+ /**
4023
+ *
4024
+ *
4025
+ * @type ClassLoader
4026
+ */
4027
+ parent?: ClassLoader;
4028
+ /**
4029
+ *
4030
+ *
4031
+ * @type boolean
4032
+ */
4033
+ registeredAsParallelCapable?: boolean;
4034
+ /**
4035
+ *
4036
+ *
4037
+ * @type Module
4038
+ */
4039
+ unnamedModule?: Module;
4040
+ }
3923
4041
  export interface ClientsDto {
3924
4042
  /**
3925
4043
  *
@@ -6168,6 +6286,20 @@ export interface Echart图表主题查询参数 {
6168
6286
  */
6169
6287
  user_id?: string;
6170
6288
  }
6289
+ export interface Environment {
6290
+ /**
6291
+ *
6292
+ *
6293
+ * @type string[]
6294
+ */
6295
+ activeProfiles?: string[];
6296
+ /**
6297
+ *
6298
+ *
6299
+ * @type string[]
6300
+ */
6301
+ defaultProfiles?: string[];
6302
+ }
6171
6303
  export interface ExcelOrgUserSearchReq {
6172
6304
  /**
6173
6305
  * 是否显示下级
@@ -8504,7 +8636,7 @@ export interface LoginModeConfig {
8504
8636
  */
8505
8637
  address?: string;
8506
8638
  /**
8507
- * 登录方式类型 枚举(ACCOUNT/ 账号登录,DOMAIN_ACCOUNT/域账号密码登录,MOBILE)
8639
+ * 登录方式类型 枚举(ACCOUNT/ 账号登录,DOMAIN_ACCOUNT/域账号密码登录,MOBILE,CARD:刷卡登录)
8508
8640
  *
8509
8641
  * @type string
8510
8642
  */
@@ -9676,6 +9808,73 @@ export interface ModelResponse {
9676
9808
  */
9677
9809
  providerName?: string;
9678
9810
  }
9811
+ export interface Module {
9812
+ /**
9813
+ *
9814
+ *
9815
+ * @type Annotation[]
9816
+ */
9817
+ annotations?: Annotation[];
9818
+ /**
9819
+ *
9820
+ *
9821
+ * @type ClassLoader
9822
+ */
9823
+ classLoader?: ClassLoader;
9824
+ /**
9825
+ *
9826
+ *
9827
+ * @type Annotation[]
9828
+ */
9829
+ declaredAnnotations?: Annotation[];
9830
+ /**
9831
+ *
9832
+ *
9833
+ * @type ModuleDescriptor
9834
+ */
9835
+ descriptor?: ModuleDescriptor;
9836
+ /**
9837
+ *
9838
+ *
9839
+ * @type ModuleLayer
9840
+ */
9841
+ layer?: ModuleLayer;
9842
+ /**
9843
+ *
9844
+ *
9845
+ * @type string
9846
+ */
9847
+ name?: string;
9848
+ /**
9849
+ *
9850
+ *
9851
+ * @type boolean
9852
+ */
9853
+ named?: boolean;
9854
+ /**
9855
+ *
9856
+ *
9857
+ * @type string[]
9858
+ */
9859
+ packages?: string[];
9860
+ }
9861
+ export interface ModuleDescriptor {
9862
+ /**
9863
+ *
9864
+ *
9865
+ * @type boolean
9866
+ */
9867
+ automatic?: boolean;
9868
+ /**
9869
+ *
9870
+ *
9871
+ * @type boolean
9872
+ */
9873
+ open?: boolean;
9874
+ }
9875
+ export interface ModuleLayer {
9876
+ // 暂无属性
9877
+ }
9679
9878
  export interface MqttPropertiesDTO {
9680
9879
  /**
9681
9880
  * 密码
@@ -11656,6 +11855,68 @@ export interface OrgUserSearchRequest {
11656
11855
  */
11657
11856
  username?: string;
11658
11857
  }
11858
+ export interface Package {
11859
+ /**
11860
+ *
11861
+ *
11862
+ * @type Annotation[]
11863
+ */
11864
+ annotations?: Annotation[];
11865
+ /**
11866
+ *
11867
+ *
11868
+ * @type Annotation[]
11869
+ */
11870
+ declaredAnnotations?: Annotation[];
11871
+ /**
11872
+ *
11873
+ *
11874
+ * @type string
11875
+ */
11876
+ implementationTitle?: string;
11877
+ /**
11878
+ *
11879
+ *
11880
+ * @type string
11881
+ */
11882
+ implementationVendor?: string;
11883
+ /**
11884
+ *
11885
+ *
11886
+ * @type string
11887
+ */
11888
+ implementationVersion?: string;
11889
+ /**
11890
+ *
11891
+ *
11892
+ * @type string
11893
+ */
11894
+ name?: string;
11895
+ /**
11896
+ *
11897
+ *
11898
+ * @type boolean
11899
+ */
11900
+ sealed?: boolean;
11901
+ /**
11902
+ *
11903
+ *
11904
+ * @type string
11905
+ */
11906
+ specificationTitle?: string;
11907
+ /**
11908
+ *
11909
+ *
11910
+ * @type string
11911
+ */
11912
+ specificationVendor?: string;
11913
+ /**
11914
+ *
11915
+ *
11916
+ * @type string
11917
+ */
11918
+ specificationVersion?: string;
11919
+ }
11659
11920
  export interface PackageJson {
11660
11921
  /**
11661
11922
  *
@@ -16016,6 +16277,74 @@ export interface QueryBean {
16016
16277
  */
16017
16278
  sql?: string;
16018
16279
  }
16280
+ export interface RedirectView {
16281
+ /**
16282
+ *
16283
+ *
16284
+ * @type ApplicationContext
16285
+ */
16286
+ applicationContext?: ApplicationContext;
16287
+ /**
16288
+ *
16289
+ *
16290
+ * @type IObject
16291
+ */
16292
+ attributesMap?: IObject;
16293
+ /**
16294
+ *
16295
+ *
16296
+ * @type string
16297
+ */
16298
+ beanName?: string;
16299
+ /**
16300
+ *
16301
+ *
16302
+ * @type string
16303
+ */
16304
+ contentType?: string;
16305
+ /**
16306
+ *
16307
+ *
16308
+ * @type boolean
16309
+ */
16310
+ exposePathVariables?: boolean;
16311
+ /**
16312
+ *
16313
+ *
16314
+ * @type string[]
16315
+ */
16316
+ hosts?: string[];
16317
+ /**
16318
+ *
16319
+ *
16320
+ * @type boolean
16321
+ */
16322
+ propagateQueryProperties?: boolean;
16323
+ /**
16324
+ *
16325
+ *
16326
+ * @type boolean
16327
+ */
16328
+ redirectView?: boolean;
16329
+ /**
16330
+ *
16331
+ *
16332
+ * @type string
16333
+ */
16334
+ requestContextAttribute?: string;
16335
+ /**
16336
+ *
16337
+ *
16338
+ * @type IObject
16339
+ */
16340
+ staticAttributes?: IObject;
16341
+ /**
16342
+ *
16343
+ *
16344
+ * @type string
16345
+ */
16346
+ url?: string;
16347
+ }
16019
16348
  export interface RegexpRequest {
16020
16349
  /**
16021
16350
  * 正则名称
@@ -18764,7 +19093,7 @@ export interface ThirdAppConfigReq {
18764
19093
  */
18765
19094
  appId?: string;
18766
19095
  /**
18767
- * 登录方式类型 枚举(QIYEWEIXIN/ 企微登录,FEISHU/飞书登录,DINGDING/钉钉登录 )
19096
+ * 登录方式类型 枚举 (QIYEWEIXIN/ 企微登录,FEISHU/飞书登录,DINGDING/钉钉登录,MICROSOFT/微软登录)
18768
19097
  *
18769
19098
  * @type string
18770
19099
  */
@@ -18930,7 +19259,7 @@ export interface ThirdPartyLoginConfig {
18930
19259
  */
18931
19260
  appId?: string;
18932
19261
  /**
18933
- * 登录方式类型 枚举(QIYEWEIXIN/ 企微登录,FEISHU/飞书登录,DINGDING/钉钉登录 )
19262
+ * 登录方式类型 枚举 (QIYEWEIXIN/ 企微登录,FEISHU/飞书登录,DINGDING/钉钉登录,MICROSOFT/微软登录)
18934
19263
  *
18935
19264
  * @type string
18936
19265
  */
@@ -19513,6 +19842,12 @@ export interface UserBaseInfo {
19513
19842
  username?: string;
19514
19843
  }
19515
19844
  export interface UserBaseReq {
19845
+ /**
19846
+ *
19847
+ *
19848
+ * @type string
19849
+ */
19850
+ authCode?: string;
19516
19851
  /**
19517
19852
  * 授权code
19518
19853
  *
@@ -19531,6 +19866,12 @@ export interface UserBaseReq {
19531
19866
  * @type string
19532
19867
  */
19533
19868
  password?: string;
19869
+ /**
19870
+ *
19871
+ *
19872
+ * @type string
19873
+ */
19874
+ source?: string;
19534
19875
  /**
19535
19876
  * 账号
19536
19877
  *
@@ -19941,6 +20282,12 @@ export interface UserExtraResponse {
19941
20282
  * @type string
19942
20283
  */
19943
20284
  id?: string;
20285
+ /**
20286
+ * 是否最近登录租户
20287
+ *
20288
+ * @type number
20289
+ */
20290
+ latestLogin?: number;
19944
20291
  /**
19945
20292
  * 直属上级
19946
20293
  *
@@ -21477,6 +21824,12 @@ export interface UserTenantDTO {
21477
21824
  * @type string
21478
21825
  */
21479
21826
  id?: string;
21827
+ /**
21828
+ * 是否最后登录租户,0:否 1:是
21829
+ *
21830
+ * @type number
21831
+ */
21832
+ latestLogin?: number;
21480
21833
  /**
21481
21834
  * 直属上级id
21482
21835
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/api",
3
- "version": "0.1.4-dev.2",
3
+ "version": "0.1.4-dev.4",
4
4
  "description": "paas 平台底包",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -79,8 +79,8 @@
79
79
  "devDependencies": {
80
80
  "@babel/preset-env": "^7.28.6",
81
81
  "@commitlint/cli": "^20.3.1",
82
- "@gct-paas/build": "^0.1.7",
83
- "@gct-paas/cli": "^0.1.12",
82
+ "@gct-paas/build": "^0.1.8",
83
+ "@gct-paas/cli": "^0.1.16",
84
84
  "@rollup/plugin-commonjs": "^29.0.0",
85
85
  "@rollup/plugin-json": "^6.1.0",
86
86
  "@rollup/plugin-node-resolve": "^16.0.3",