@tachybase/plugin-auth-dingtalk 1.3.21 → 1.3.23

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 (32) hide show
  1. package/dist/externalVersion.js +4 -6
  2. package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.d.ts +1 -0
  3. package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.js +2 -0
  4. package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.d.ts +86 -0
  5. package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.js +149 -8
  6. package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.d.ts +631 -0
  7. package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.js +644 -8
  8. package/dist/node_modules/@alicloud/dingtalk/dist/index.js +2 -2
  9. package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.d.ts +207 -0
  10. package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.js +324 -2
  11. package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.d.ts +41 -13
  12. package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.js +41 -0
  13. package/dist/node_modules/@alicloud/dingtalk/dist/robot_1_0/client.d.ts +112 -0
  14. package/dist/node_modules/@alicloud/dingtalk/dist/robot_1_0/client.js +161 -1
  15. package/dist/node_modules/@alicloud/dingtalk/package.json +1 -1
  16. package/dist/node_modules/@alicloud/dingtalk/src/attendance_1_0/client.ts +3 -0
  17. package/dist/node_modules/@alicloud/dingtalk/src/datacenter_1_0/client.ts +167 -0
  18. package/dist/node_modules/@alicloud/dingtalk/src/im_1_0/client.ts +1083 -65
  19. package/dist/node_modules/@alicloud/dingtalk/src/minutes_1_0/client.ts +412 -1
  20. package/dist/node_modules/@alicloud/dingtalk/src/project_1_0/client.ts +89 -13
  21. package/dist/node_modules/@alicloud/dingtalk/src/robot_1_0/client.ts +204 -0
  22. package/dist/node_modules/@alicloud/openapi-client/dist/client.js +2 -2
  23. package/dist/node_modules/@alicloud/openapi-client/package.json +1 -1
  24. package/dist/node_modules/@alicloud/tea-util/dist/client.js +1 -1
  25. package/dist/node_modules/@alicloud/tea-util/package.json +1 -1
  26. package/dist/server/actions/dingding.d.ts +1 -1
  27. package/dist/server/actions/dingding.js +1 -1
  28. package/dist/server/dingtalk-auth.d.ts +1 -1
  29. package/dist/server/dingtalk-auth.js +2 -2
  30. package/dist/server/plugin.d.ts +1 -1
  31. package/dist/server/plugin.js +1 -1
  32. package/package.json +12 -17
@@ -4935,6 +4935,91 @@ export class QueryDriveStatisticalDataResponse extends $tea.Model {
4935
4935
  }
4936
4936
  }
4937
4937
 
4938
+ export class QueryEduUnionAuthServiceHeaders extends $tea.Model {
4939
+ commonHeaders?: { [key: string]: string };
4940
+ xAcsDingtalkAccessToken?: string;
4941
+ static names(): { [key: string]: string } {
4942
+ return {
4943
+ commonHeaders: 'commonHeaders',
4944
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
4945
+ };
4946
+ }
4947
+
4948
+ static types(): { [key: string]: any } {
4949
+ return {
4950
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4951
+ xAcsDingtalkAccessToken: 'string',
4952
+ };
4953
+ }
4954
+
4955
+ constructor(map?: { [key: string]: any }) {
4956
+ super(map);
4957
+ }
4958
+ }
4959
+
4960
+ export class QueryEduUnionAuthServiceRequest extends $tea.Model {
4961
+ ds?: string;
4962
+ static names(): { [key: string]: string } {
4963
+ return {
4964
+ ds: 'ds',
4965
+ };
4966
+ }
4967
+
4968
+ static types(): { [key: string]: any } {
4969
+ return {
4970
+ ds: 'string',
4971
+ };
4972
+ }
4973
+
4974
+ constructor(map?: { [key: string]: any }) {
4975
+ super(map);
4976
+ }
4977
+ }
4978
+
4979
+ export class QueryEduUnionAuthServiceResponseBody extends $tea.Model {
4980
+ authInfoModels?: QueryEduUnionAuthServiceResponseBodyAuthInfoModels[];
4981
+ static names(): { [key: string]: string } {
4982
+ return {
4983
+ authInfoModels: 'authInfoModels',
4984
+ };
4985
+ }
4986
+
4987
+ static types(): { [key: string]: any } {
4988
+ return {
4989
+ authInfoModels: { 'type': 'array', 'itemType': QueryEduUnionAuthServiceResponseBodyAuthInfoModels },
4990
+ };
4991
+ }
4992
+
4993
+ constructor(map?: { [key: string]: any }) {
4994
+ super(map);
4995
+ }
4996
+ }
4997
+
4998
+ export class QueryEduUnionAuthServiceResponse extends $tea.Model {
4999
+ headers?: { [key: string]: string };
5000
+ statusCode?: number;
5001
+ body?: QueryEduUnionAuthServiceResponseBody;
5002
+ static names(): { [key: string]: string } {
5003
+ return {
5004
+ headers: 'headers',
5005
+ statusCode: 'statusCode',
5006
+ body: 'body',
5007
+ };
5008
+ }
5009
+
5010
+ static types(): { [key: string]: any } {
5011
+ return {
5012
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5013
+ statusCode: 'number',
5014
+ body: QueryEduUnionAuthServiceResponseBody,
5015
+ };
5016
+ }
5017
+
5018
+ constructor(map?: { [key: string]: any }) {
5019
+ super(map);
5020
+ }
5021
+ }
5022
+
4938
5023
  export class QueryEmployeeTypeStatisticalDataHeaders extends $tea.Model {
4939
5024
  commonHeaders?: { [key: string]: string };
4940
5025
  xAcsDingtalkAccessToken?: string;
@@ -11614,6 +11699,34 @@ export class QueryDriveStatisticalDataResponseBodyMetaList extends $tea.Model {
11614
11699
  }
11615
11700
  }
11616
11701
 
11702
+ export class QueryEduUnionAuthServiceResponseBodyAuthInfoModels extends $tea.Model {
11703
+ authCorpId?: string;
11704
+ authCorpName?: string;
11705
+ authTime?: string;
11706
+ resourceNames?: string[];
11707
+ static names(): { [key: string]: string } {
11708
+ return {
11709
+ authCorpId: 'authCorpId',
11710
+ authCorpName: 'authCorpName',
11711
+ authTime: 'authTime',
11712
+ resourceNames: 'resourceNames',
11713
+ };
11714
+ }
11715
+
11716
+ static types(): { [key: string]: any } {
11717
+ return {
11718
+ authCorpId: 'string',
11719
+ authCorpName: 'string',
11720
+ authTime: 'string',
11721
+ resourceNames: { 'type': 'array', 'itemType': 'string' },
11722
+ };
11723
+ }
11724
+
11725
+ constructor(map?: { [key: string]: any }) {
11726
+ super(map);
11727
+ }
11728
+ }
11729
+
11617
11730
  export class QueryEmployeeTypeStatisticalDataResponseBodyMetaList extends $tea.Model {
11618
11731
  /**
11619
11732
  * @remarks
@@ -17345,6 +17458,60 @@ export default class Client extends OpenApi {
17345
17458
  return await this.queryDriveStatisticalDataWithOptions(request, headers, runtime);
17346
17459
  }
17347
17460
 
17461
+ /**
17462
+ * 教育组织上下游授权信息查询服务
17463
+ *
17464
+ * @param request - QueryEduUnionAuthServiceRequest
17465
+ * @param headers - QueryEduUnionAuthServiceHeaders
17466
+ * @param runtime - runtime options for this request RuntimeOptions
17467
+ * @returns QueryEduUnionAuthServiceResponse
17468
+ */
17469
+ async queryEduUnionAuthServiceWithOptions(request: QueryEduUnionAuthServiceRequest, headers: QueryEduUnionAuthServiceHeaders, runtime: $Util.RuntimeOptions): Promise<QueryEduUnionAuthServiceResponse> {
17470
+ Util.validateModel(request);
17471
+ let query : {[key: string ]: any} = { };
17472
+ if (!Util.isUnset(request.ds)) {
17473
+ query["ds"] = request.ds;
17474
+ }
17475
+
17476
+ let realHeaders : {[key: string ]: string} = { };
17477
+ if (!Util.isUnset(headers.commonHeaders)) {
17478
+ realHeaders = headers.commonHeaders;
17479
+ }
17480
+
17481
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
17482
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
17483
+ }
17484
+
17485
+ let req = new $OpenApi.OpenApiRequest({
17486
+ headers: realHeaders,
17487
+ query: OpenApiUtil.query(query),
17488
+ });
17489
+ let params = new $OpenApi.Params({
17490
+ action: "QueryEduUnionAuthService",
17491
+ version: "datacenter_1.0",
17492
+ protocol: "HTTP",
17493
+ pathname: `/v1.0/datacenter/eduUnionAuthService`,
17494
+ method: "GET",
17495
+ authType: "AK",
17496
+ style: "ROA",
17497
+ reqBodyType: "none",
17498
+ bodyType: "json",
17499
+ });
17500
+ return $tea.cast<QueryEduUnionAuthServiceResponse>(await this.execute(params, req, runtime), new QueryEduUnionAuthServiceResponse({}));
17501
+ }
17502
+
17503
+ /**
17504
+ * 教育组织上下游授权信息查询服务
17505
+ *
17506
+ * @param request - QueryEduUnionAuthServiceRequest
17507
+ * @returns QueryEduUnionAuthServiceResponse
17508
+ */
17509
+ async queryEduUnionAuthService(request: QueryEduUnionAuthServiceRequest): Promise<QueryEduUnionAuthServiceResponse> {
17510
+ let runtime = new $Util.RuntimeOptions({ });
17511
+ let headers = new QueryEduUnionAuthServiceHeaders({ });
17512
+ return await this.queryEduUnionAuthServiceWithOptions(request, headers, runtime);
17513
+ }
17514
+
17348
17515
  /**
17349
17516
  * 获取企业员工类型统计数据
17350
17517
  *