@gct-paas/api 6.0.0-dev.1 → 6.0.0-dev.11

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 (45) hide show
  1. package/dist/index.esm.min.js +1 -1
  2. package/es/apaas/service/api-config.mjs +106 -123
  3. package/es/apaas/service/apis/ai.service.d.ts +129 -0
  4. package/es/apaas/service/apis/alex-test.service.d.ts +16 -0
  5. package/es/apaas/service/apis/api.service.d.ts +35 -0
  6. package/es/apaas/service/apis/app-global-settings.service.d.ts +8 -0
  7. package/es/apaas/service/apis/app-granted-user.service.d.ts +21 -0
  8. package/es/apaas/service/apis/category.service.d.ts +8 -0
  9. package/es/apaas/service/apis/dhr.service.d.ts +4 -0
  10. package/es/apaas/service/apis/edhr-instance.service.d.ts +12 -0
  11. package/es/apaas/service/apis/excel.service.d.ts +0 -12
  12. package/es/apaas/service/apis/field-meta.service.d.ts +8 -0
  13. package/es/apaas/service/apis/online-form-instance.service.d.ts +16 -45
  14. package/es/apaas/service/apis/online-form.service.d.ts +18 -0
  15. package/es/apaas/service/apis/page-designer-log.service.d.ts +1 -1
  16. package/es/apaas/service/apis/transaction.service.d.ts +11 -0
  17. package/es/apaas/service/entities.d.ts +1526 -328
  18. package/es/apaas/service/index.d.ts +4 -4
  19. package/es/ipaas/service/api-config.mjs +381 -0
  20. package/es/ipaas/service/apis/app.service.d.ts +26 -0
  21. package/es/ipaas/service/apis/bff.service.d.ts +15 -0
  22. package/es/ipaas/service/apis/categories.service.d.ts +9 -0
  23. package/es/ipaas/service/apis/category.service.d.ts +33 -1
  24. package/es/ipaas/service/apis/file.service.d.ts +17 -0
  25. package/es/ipaas/service/apis/flow.service.d.ts +234 -1
  26. package/es/ipaas/service/apis/knowledge.service.d.ts +196 -0
  27. package/es/ipaas/service/apis/variable-def.service.d.ts +87 -0
  28. package/es/ipaas/service/apis/variable-inst.service.d.ts +63 -0
  29. package/es/ipaas/service/entities.d.ts +1386 -37
  30. package/es/ipaas/service/index.d.ts +14 -0
  31. package/es/platform/service/api-config.mjs +145 -4
  32. package/es/platform/service/apis/api.service.d.ts +98 -1
  33. package/es/platform/service/apis/app.service.d.ts +26 -0
  34. package/es/platform/service/apis/license.service.d.ts +10 -1
  35. package/es/platform/service/apis/ocr-model.service.d.ts +87 -0
  36. package/es/platform/service/apis/third-party-app.service.d.ts +110 -0
  37. package/es/platform/service/entities.d.ts +529 -1
  38. package/es/platform/service/index.d.ts +4 -0
  39. package/es/service/api-service.interface.d.ts +9 -0
  40. package/es/service/http.error.mjs +3 -0
  41. package/es/service/index.mjs +2 -0
  42. package/package.json +5 -5
  43. package/es/apaas/service/apis/med-pro.service.d.ts +0 -76
  44. package/es/apaas/service/apis/medPro.service.d.ts +0 -184
  45. package/es/apaas/service/apis/ss.service.d.ts +0 -42
@@ -1,23 +1,37 @@
1
+ import type { AppService } from './apis/app.service';
1
2
  import type { AuthService } from './apis/auth.service';
3
+ import type { BffService } from './apis/bff.service';
2
4
  import type { CamelService } from './apis/camel.service';
5
+ import type { CategoriesService } from './apis/categories.service';
3
6
  import type { CategoryService } from './apis/category.service';
4
7
  import type { ConnectorConfigService } from './apis/connector-config.service';
5
8
  import type { ConnectorLogService } from './apis/connector-log.service';
9
+ import type { FileService } from './apis/file.service';
6
10
  import type { FlowAppService } from './apis/flow-app.service';
7
11
  import type { FlowCategoryService } from './apis/flow-category.service';
8
12
  import type { FlowExtService } from './apis/flow-ext.service';
9
13
  import type { FlowService } from './apis/flow.service';
14
+ import type { KnowledgeService } from './apis/knowledge.service';
10
15
  import type { RuntimeService } from './apis/runtime.service';
16
+ import type { VariableDefService } from './apis/variable-def.service';
17
+ import type { VariableInstService } from './apis/variable-inst.service';
11
18
 
12
19
  export interface ApiManage {
20
+ readonly app: AppService;
13
21
  readonly auth: AuthService;
22
+ readonly bff: BffService;
14
23
  readonly camel: CamelService;
24
+ readonly categories: CategoriesService;
15
25
  readonly category: CategoryService;
16
26
  readonly connectorConfig: ConnectorConfigService;
17
27
  readonly connectorLog: ConnectorLogService;
28
+ readonly file: FileService;
18
29
  readonly flowApp: FlowAppService;
19
30
  readonly flowCategory: FlowCategoryService;
20
31
  readonly flowExt: FlowExtService;
21
32
  readonly flow: FlowService;
33
+ readonly knowledge: KnowledgeService;
22
34
  readonly runtime: RuntimeService;
35
+ readonly variableDef: VariableDefService;
36
+ readonly variableInst: VariableInstService;
23
37
  }
@@ -143,13 +143,15 @@ export const apiConfig = [
143
143
  mode: "put",
144
144
  method: "putDisableId",
145
145
  path: "disable/{id}",
146
- hasPathParams: true
146
+ hasPathParams: true,
147
+ hasQuery: true
147
148
  },
148
149
  {
149
150
  mode: "put",
150
151
  method: "putEnableId",
151
152
  path: "enable/{id}",
152
- hasPathParams: true
153
+ hasPathParams: true,
154
+ hasQuery: true
153
155
  },
154
156
  {
155
157
  mode: "get",
@@ -2023,7 +2025,8 @@ export const apiConfig = [
2023
2025
  {
2024
2026
  mode: "get",
2025
2027
  method: "getModuleAuth",
2026
- path: "moduleAuth"
2028
+ path: "moduleAuth",
2029
+ hasQuery: true
2027
2030
  },
2028
2031
  {
2029
2032
  mode: "get",
@@ -2410,6 +2413,55 @@ export const apiConfig = [
2410
2413
  }
2411
2414
  ]
2412
2415
  },
2416
+ {
2417
+ name: "ocrModel",
2418
+ entityName: "ocr-model",
2419
+ apis: [
2420
+ {
2421
+ mode: "post",
2422
+ method: "post",
2423
+ path: "",
2424
+ hasData: true
2425
+ },
2426
+ {
2427
+ mode: "get",
2428
+ method: "getExternalList",
2429
+ path: "external/list",
2430
+ hasQuery: true
2431
+ },
2432
+ {
2433
+ mode: "get",
2434
+ method: "getPage",
2435
+ path: "page",
2436
+ hasQuery: true
2437
+ },
2438
+ {
2439
+ mode: "get",
2440
+ method: "getId",
2441
+ path: "{id}",
2442
+ hasPathParams: true
2443
+ },
2444
+ {
2445
+ mode: "put",
2446
+ method: "putId",
2447
+ path: "{id}",
2448
+ hasPathParams: true,
2449
+ hasData: true
2450
+ },
2451
+ {
2452
+ mode: "delete",
2453
+ method: "deleteId",
2454
+ path: "{id}",
2455
+ hasPathParams: true
2456
+ },
2457
+ {
2458
+ mode: "put",
2459
+ method: "putIdSetDefault",
2460
+ path: "{id}/set-default",
2461
+ hasPathParams: true
2462
+ }
2463
+ ]
2464
+ },
2413
2465
  {
2414
2466
  name: "openapiGroup",
2415
2467
  entityName: "openapi-group",
@@ -4270,6 +4322,65 @@ export const apiConfig = [
4270
4322
  }
4271
4323
  ]
4272
4324
  },
4325
+ {
4326
+ name: "thirdPartyApp",
4327
+ entityName: "third-party-app",
4328
+ apis: [
4329
+ {
4330
+ mode: "post",
4331
+ method: "post",
4332
+ path: "",
4333
+ hasData: true
4334
+ },
4335
+ {
4336
+ mode: "get",
4337
+ method: "getList",
4338
+ path: "list",
4339
+ hasQuery: true
4340
+ },
4341
+ {
4342
+ mode: "get",
4343
+ method: "getSecretGenerate",
4344
+ path: "secret/generate"
4345
+ },
4346
+ {
4347
+ mode: "put",
4348
+ method: "putUpdate",
4349
+ path: "update",
4350
+ hasData: true
4351
+ },
4352
+ {
4353
+ mode: "get",
4354
+ method: "getAppId",
4355
+ path: "{appId}",
4356
+ hasPathParams: true
4357
+ },
4358
+ {
4359
+ mode: "delete",
4360
+ method: "deleteAppId",
4361
+ path: "{appId}",
4362
+ hasPathParams: true
4363
+ },
4364
+ {
4365
+ mode: "put",
4366
+ method: "putAppIdDisable",
4367
+ path: "{appId}/disable",
4368
+ hasPathParams: true
4369
+ },
4370
+ {
4371
+ mode: "put",
4372
+ method: "putAppIdEnable",
4373
+ path: "{appId}/enable",
4374
+ hasPathParams: true
4375
+ },
4376
+ {
4377
+ mode: "post",
4378
+ method: "postAppIdSecretRegenerate",
4379
+ path: "{appId}/secret/regenerate",
4380
+ hasPathParams: true
4381
+ }
4382
+ ]
4383
+ },
4273
4384
  {
4274
4385
  name: "user",
4275
4386
  entityName: "user",
@@ -5267,6 +5378,12 @@ export const apiConfig = [
5267
5378
  hasQuery: true,
5268
5379
  hasData: true
5269
5380
  },
5381
+ {
5382
+ mode: "post",
5383
+ method: "postAppGrantedUserBatchRemoveAndTransfer",
5384
+ path: "app-granted-user/batchRemoveAndTransfer",
5385
+ hasQuery: true
5386
+ },
5270
5387
  {
5271
5388
  mode: "get",
5272
5389
  method: "getAppGrantedUserFindAllByDeleted",
@@ -5628,7 +5745,8 @@ export const apiConfig = [
5628
5745
  {
5629
5746
  mode: "get",
5630
5747
  method: "getLicenseModuleAuth",
5631
- path: "license/moduleAuth"
5748
+ path: "license/moduleAuth",
5749
+ hasQuery: true
5632
5750
  },
5633
5751
  {
5634
5752
  mode: "post",
@@ -5677,6 +5795,23 @@ export const apiConfig = [
5677
5795
  path: "msg/sendMessage",
5678
5796
  hasData: true
5679
5797
  },
5798
+ {
5799
+ mode: "get",
5800
+ method: "getOauth2Authorize",
5801
+ path: "oauth2/authorize",
5802
+ hasQuery: true
5803
+ },
5804
+ {
5805
+ mode: "post",
5806
+ method: "postOauth2Token",
5807
+ path: "oauth2/token",
5808
+ hasQuery: true
5809
+ },
5810
+ {
5811
+ mode: "get",
5812
+ method: "getOauth2Userinfo",
5813
+ path: "oauth2/userinfo"
5814
+ },
5680
5815
  {
5681
5816
  mode: "post",
5682
5817
  method: "postOpenapiGroup",
@@ -5823,6 +5958,12 @@ export const apiConfig = [
5823
5958
  method: "postPrintExchangePrinterName4Btw",
5824
5959
  path: "print/exchangePrinterName4Btw"
5825
5960
  },
5961
+ {
5962
+ mode: "get",
5963
+ method: "getPrintInfo",
5964
+ path: "print/info",
5965
+ hasQuery: true
5966
+ },
5826
5967
  {
5827
5968
  mode: "post",
5828
5969
  method: "postPrintSendPrintData",
@@ -48,6 +48,8 @@ import type {
48
48
  消息设置VO,
49
49
  SendEmailMessageRequest,
50
50
  SendMessageRequest,
51
+ TokenResponse,
52
+ OAuth2用户信息响应,
51
53
  OpenapiGroupRequest,
52
54
  PickerOrgDTO,
53
55
  AppOrgUserPageRequest,
@@ -208,6 +210,16 @@ export interface postAppGrantedUserBatchQuery extends IObject {
208
210
  */
209
211
  env: string;
210
212
  }
213
+ export interface postAppGrantedUserBatchRemoveAndTransferQuery extends IObject {
214
+ /**
215
+ * appId
216
+ */
217
+ appId: string;
218
+ /**
219
+ * env
220
+ */
221
+ env: string;
222
+ }
211
223
  export interface getAppGrantedUserFindAllByDeletedQuery extends IObject {
212
224
  /**
213
225
  * appId
@@ -534,6 +546,12 @@ export interface getLicenseGetAppEffectiveLicenseQuery extends IObject {
534
546
  */
535
547
  env: string;
536
548
  }
549
+ export interface getLicenseModuleAuthQuery extends IObject {
550
+ /**
551
+ * 授权模块
552
+ */
553
+ module?: string;
554
+ }
537
555
  export interface getLoginSettingGetQuery extends IObject {
538
556
  /**
539
557
  * code
@@ -562,6 +580,42 @@ export interface getMsgFindAllByTypeQuery extends IObject {
562
580
  */
563
581
  type: string;
564
582
  }
583
+ export interface getOauth2AuthorizeQuery extends IObject {
584
+ /**
585
+ * 应用ID
586
+ */
587
+ appId: string;
588
+ /**
589
+ * 环境参数:test/prod
590
+ */
591
+ env?: string;
592
+ /**
593
+ * 用户登录Token
594
+ */
595
+ token: string;
596
+ }
597
+ export interface postOauth2TokenQuery extends IObject {
598
+ /**
599
+ * 客户端ID
600
+ */
601
+ clientId: string;
602
+ /**
603
+ * 客户端密钥
604
+ */
605
+ clientSecret: string;
606
+ /**
607
+ * 授权码
608
+ */
609
+ code: string;
610
+ /**
611
+ * 授权类型
612
+ */
613
+ grantType: string;
614
+ /**
615
+ * 回调地址
616
+ */
617
+ redirectUri: string;
618
+ }
565
619
  export interface putOpenapiGroupEnabledQuery extends IObject {
566
620
  /**
567
621
  * 应用标识
@@ -679,6 +733,12 @@ export interface getPrintExchangePrinterNameQuery extends IObject {
679
733
  */
680
734
  printKeys: string[];
681
735
  }
736
+ export interface getPrintInfoQuery extends IObject {
737
+ /**
738
+ * printKey
739
+ */
740
+ printKey: string;
741
+ }
682
742
  export interface deleteRegexpDeleteQuery extends IObject {
683
743
  /**
684
744
  * 删除的id,多个按','分割
@@ -899,6 +959,13 @@ export interface ApiService {
899
959
  data: AppGrantedUserBatchRequest,
900
960
  config?: Partial<AxiosRequestConfig>,
901
961
  ): Promise<string>;
962
+ /**
963
+ * 批量席位移除和转移
964
+ */
965
+ postAppGrantedUserBatchRemoveAndTransfer(
966
+ query: postAppGrantedUserBatchRemoveAndTransferQuery,
967
+ config?: Partial<AxiosRequestConfig>,
968
+ ): Promise<string>;
902
969
  /**
903
970
  * 查询应用下人员席位:由deleted控制是否查询处被移出席位的人员
904
971
  */
@@ -1304,7 +1371,10 @@ export interface ApiService {
1304
1371
  /**
1305
1372
  * 判断对应模块是否已进行授权
1306
1373
  */
1307
- getLicenseModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
1374
+ getLicenseModuleAuth(
1375
+ query: getLicenseModuleAuthQuery,
1376
+ config?: Partial<AxiosRequestConfig>,
1377
+ ): Promise<boolean>;
1308
1378
  /**
1309
1379
  * 用户登录日志分页查询
1310
1380
  */
@@ -1358,6 +1428,26 @@ export interface ApiService {
1358
1428
  data: SendMessageRequest,
1359
1429
  config?: Partial<AxiosRequestConfig>,
1360
1430
  ): Promise<boolean>;
1431
+ /**
1432
+ * OAuth2授权端点
1433
+ */
1434
+ getOauth2Authorize(
1435
+ query: getOauth2AuthorizeQuery,
1436
+ config?: Partial<AxiosRequestConfig>,
1437
+ ): Promise<any>;
1438
+ /**
1439
+ * OAuth2 Token端点-用授权码兑换access_token
1440
+ */
1441
+ postOauth2Token(
1442
+ query: postOauth2TokenQuery,
1443
+ config?: Partial<AxiosRequestConfig>,
1444
+ ): Promise<TokenResponse>;
1445
+ /**
1446
+ * OAuth2用户信息端点-通过access_token获取授权用户信息
1447
+ */
1448
+ getOauth2Userinfo(
1449
+ config?: Partial<AxiosRequestConfig>,
1450
+ ): Promise<OAuth2用户信息响应>;
1361
1451
  /**
1362
1452
  * 保存
1363
1453
  */
@@ -1525,6 +1615,13 @@ export interface ApiService {
1525
1615
  postPrintExchangePrinterName4Btw(
1526
1616
  config?: Partial<AxiosRequestConfig>,
1527
1617
  ): Promise<PrintResourceMapping[]>;
1618
+ /**
1619
+ * 根据打印机唯一标识key兑换打印机信息
1620
+ */
1621
+ getPrintInfo(
1622
+ query: getPrintInfoQuery,
1623
+ config?: Partial<AxiosRequestConfig>,
1624
+ ): Promise<PrintResourceMapping>;
1528
1625
  /**
1529
1626
  * 执行打印
1530
1627
  */
@@ -24,6 +24,10 @@ export interface deleteQuery extends IObject {
24
24
  * 删除的id,多个按','分割
25
25
  */
26
26
  ids: string;
27
+ /**
28
+ * type
29
+ */
30
+ type?: string;
27
31
  }
28
32
  export interface putAppCleanUpIdPathParams {
29
33
  id: string;
@@ -38,9 +42,21 @@ export interface getCheckAppMaintainerInTenantAppIdPathParams {
38
42
  export interface postCreateBranchAppIdPathParams {
39
43
  appId: string;
40
44
  }
45
+ export interface putDisableIdQuery extends IObject {
46
+ /**
47
+ * type
48
+ */
49
+ type?: string;
50
+ }
41
51
  export interface putDisableIdPathParams {
42
52
  id: string;
43
53
  }
54
+ export interface putEnableIdQuery extends IObject {
55
+ /**
56
+ * type
57
+ */
58
+ type?: string;
59
+ }
44
60
  export interface putEnableIdPathParams {
45
61
  id: string;
46
62
  }
@@ -407,6 +423,14 @@ export interface getTenantAppsQuery extends IObject {
407
423
  * deleted
408
424
  */
409
425
  deleted: number;
426
+ /**
427
+ * id
428
+ */
429
+ id?: string;
430
+ /**
431
+ * name
432
+ */
433
+ name?: string;
410
434
  /**
411
435
  * pageNo
412
436
  */
@@ -511,6 +535,7 @@ export interface AppService {
511
535
  */
512
536
  putDisableId(
513
537
  path: putDisableIdPathParams,
538
+ query: putDisableIdQuery,
514
539
  config?: Partial<AxiosRequestConfig>,
515
540
  ): Promise<string>;
516
541
  /**
@@ -518,6 +543,7 @@ export interface AppService {
518
543
  */
519
544
  putEnableId(
520
545
  path: putEnableIdPathParams,
546
+ query: putEnableIdQuery,
521
547
  config?: Partial<AxiosRequestConfig>,
522
548
  ): Promise<string>;
523
549
  /**
@@ -98,6 +98,12 @@ export interface getInfoQuery extends IObject {
98
98
  */
99
99
  licenseId: string;
100
100
  }
101
+ export interface getModuleAuthQuery extends IObject {
102
+ /**
103
+ * 授权模块
104
+ */
105
+ moduleType?: string;
106
+ }
101
107
  export interface getPageListQuery extends IObject {
102
108
  /**
103
109
  * 应用id
@@ -218,7 +224,10 @@ export interface LicenseService {
218
224
  /**
219
225
  * 判断对应模块是否已进行授权
220
226
  */
221
- getModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
227
+ getModuleAuth(
228
+ query: getModuleAuthQuery,
229
+ config?: Partial<AxiosRequestConfig>,
230
+ ): Promise<boolean>;
222
231
  /**
223
232
  * 平台/应用,授权列表
224
233
  */
@@ -0,0 +1,87 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import type { OcrModelRequest, OcrModelResponse } from '../entities';
3
+
4
+ export interface getExternalListQuery extends IObject {
5
+ /**
6
+ * tenantId
7
+ */
8
+ tenantId: string;
9
+ }
10
+ export interface getPageQuery extends IObject {
11
+ /**
12
+ * 关键词
13
+ */
14
+ keyword?: string;
15
+ /**
16
+ * 页码
17
+ */
18
+ pageNo?: number;
19
+ /**
20
+ * 每页数据条数
21
+ */
22
+ pageSize?: number;
23
+ }
24
+ export interface getIdPathParams {
25
+ id: string;
26
+ }
27
+ export interface putIdPathParams {
28
+ id: string;
29
+ }
30
+ export interface deleteIdPathParams {
31
+ id: string;
32
+ }
33
+ export interface putIdSetDefaultPathParams {
34
+ id: string;
35
+ }
36
+ export interface OcrModelService {
37
+ /**
38
+ * 新建
39
+ */
40
+ post(
41
+ data: OcrModelRequest,
42
+ config?: Partial<AxiosRequestConfig>,
43
+ ): Promise<string>;
44
+ /**
45
+ * 外部接口-根据租户ID查询列表
46
+ */
47
+ getExternalList(
48
+ query: getExternalListQuery,
49
+ config?: Partial<AxiosRequestConfig>,
50
+ ): Promise<OcrModelResponse[]>;
51
+ /**
52
+ * 分页列表
53
+ */
54
+ getPage(
55
+ query: getPageQuery,
56
+ config?: Partial<AxiosRequestConfig>,
57
+ ): Promise<IPage<OcrModelResponse>>;
58
+ /**
59
+ * 详情
60
+ */
61
+ getId(
62
+ path: getIdPathParams,
63
+ config?: Partial<AxiosRequestConfig>,
64
+ ): Promise<OcrModelResponse>;
65
+ /**
66
+ * 编辑
67
+ */
68
+ putId(
69
+ path: putIdPathParams,
70
+ data: OcrModelRequest,
71
+ config?: Partial<AxiosRequestConfig>,
72
+ ): Promise<string>;
73
+ /**
74
+ * 删除
75
+ */
76
+ deleteId(
77
+ path: deleteIdPathParams,
78
+ config?: Partial<AxiosRequestConfig>,
79
+ ): Promise<string>;
80
+ /**
81
+ * 设置默认
82
+ */
83
+ putIdSetDefault(
84
+ path: putIdSetDefaultPathParams,
85
+ config?: Partial<AxiosRequestConfig>,
86
+ ): Promise<string>;
87
+ }
@@ -0,0 +1,110 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import type {
3
+ ThirdPartyAppRequest,
4
+ ThirdPartyAppResp,
5
+ ThirdPartyAppListResponse,
6
+ } from '../entities';
7
+
8
+ export interface getListQuery extends IObject {
9
+ /**
10
+ * 应用标识(模糊查询)
11
+ */
12
+ appId?: string;
13
+ /**
14
+ * 应用名称(模糊查询)
15
+ */
16
+ appName?: string;
17
+ /**
18
+ * 页码
19
+ */
20
+ pageNo?: number;
21
+ /**
22
+ * 分页大小
23
+ */
24
+ pageSize?: number;
25
+ /**
26
+ * 排序字段
27
+ */
28
+ sortField?: string;
29
+ /**
30
+ * 排序方式:ASC/DESC, 不传默认 ASC
31
+ */
32
+ sortType?: string;
33
+ }
34
+ export interface getAppIdPathParams {
35
+ appId: string;
36
+ }
37
+ export interface deleteAppIdPathParams {
38
+ appId: string;
39
+ }
40
+ export interface putAppIdDisablePathParams {
41
+ appId: string;
42
+ }
43
+ export interface putAppIdEnablePathParams {
44
+ appId: string;
45
+ }
46
+ export interface postAppIdSecretRegeneratePathParams {
47
+ appId: string;
48
+ }
49
+ export interface ThirdPartyAppService {
50
+ /**
51
+ * 创建第三方应用配置
52
+ */
53
+ post(
54
+ data: ThirdPartyAppRequest,
55
+ config?: Partial<AxiosRequestConfig>,
56
+ ): Promise<ThirdPartyAppResp>;
57
+ /**
58
+ * 获取第三方应用列表
59
+ */
60
+ getList(
61
+ query: getListQuery,
62
+ config?: Partial<AxiosRequestConfig>,
63
+ ): Promise<IPage<ThirdPartyAppListResponse>>;
64
+ /**
65
+ * 生成客户端密钥
66
+ */
67
+ getSecretGenerate(config?: Partial<AxiosRequestConfig>): Promise<string>;
68
+ /**
69
+ * 更新第三方应用配置
70
+ */
71
+ putUpdate(
72
+ data: ThirdPartyAppRequest,
73
+ config?: Partial<AxiosRequestConfig>,
74
+ ): Promise<ThirdPartyAppResp>;
75
+ /**
76
+ * 查询第三方应用配置
77
+ */
78
+ getAppId(
79
+ path: getAppIdPathParams,
80
+ config?: Partial<AxiosRequestConfig>,
81
+ ): Promise<ThirdPartyAppResp>;
82
+ /**
83
+ * 删除第三方应用配置
84
+ */
85
+ deleteAppId(
86
+ path: deleteAppIdPathParams,
87
+ config?: Partial<AxiosRequestConfig>,
88
+ ): Promise<string>;
89
+ /**
90
+ * 禁用第三方应用配置
91
+ */
92
+ putAppIdDisable(
93
+ path: putAppIdDisablePathParams,
94
+ config?: Partial<AxiosRequestConfig>,
95
+ ): Promise<string>;
96
+ /**
97
+ * 启用第三方应用配置
98
+ */
99
+ putAppIdEnable(
100
+ path: putAppIdEnablePathParams,
101
+ config?: Partial<AxiosRequestConfig>,
102
+ ): Promise<string>;
103
+ /**
104
+ * 重新生成客户端密钥
105
+ */
106
+ postAppIdSecretRegenerate(
107
+ path: postAppIdSecretRegeneratePathParams,
108
+ config?: Partial<AxiosRequestConfig>,
109
+ ): Promise<ThirdPartyAppResp>;
110
+ }