@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
@@ -5772,6 +5772,207 @@ export class ListSceneGroupsByTemplateIdResponse extends $tea.Model {
5772
5772
  }
5773
5773
  }
5774
5774
 
5775
+ export class LoginForVisitorHeaders extends $tea.Model {
5776
+ commonHeaders?: { [key: string]: string };
5777
+ xAcsDingtalkAccessToken?: string;
5778
+ static names(): { [key: string]: string } {
5779
+ return {
5780
+ commonHeaders: 'commonHeaders',
5781
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
5782
+ };
5783
+ }
5784
+
5785
+ static types(): { [key: string]: any } {
5786
+ return {
5787
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5788
+ xAcsDingtalkAccessToken: 'string',
5789
+ };
5790
+ }
5791
+
5792
+ constructor(map?: { [key: string]: any }) {
5793
+ super(map);
5794
+ }
5795
+ }
5796
+
5797
+ export class LoginForVisitorRequest extends $tea.Model {
5798
+ /**
5799
+ * @example
5800
+ * uuid_a123
5801
+ */
5802
+ appUserId?: string;
5803
+ /**
5804
+ * @example
5805
+ * your_channel_code
5806
+ */
5807
+ channelCode?: string;
5808
+ /**
5809
+ * @example
5810
+ * abc123xyz
5811
+ */
5812
+ customAccessToken?: string;
5813
+ static names(): { [key: string]: string } {
5814
+ return {
5815
+ appUserId: 'appUserId',
5816
+ channelCode: 'channelCode',
5817
+ customAccessToken: 'customAccessToken',
5818
+ };
5819
+ }
5820
+
5821
+ static types(): { [key: string]: any } {
5822
+ return {
5823
+ appUserId: 'string',
5824
+ channelCode: 'string',
5825
+ customAccessToken: 'string',
5826
+ };
5827
+ }
5828
+
5829
+ constructor(map?: { [key: string]: any }) {
5830
+ super(map);
5831
+ }
5832
+ }
5833
+
5834
+ export class LoginForVisitorResponseBody extends $tea.Model {
5835
+ /**
5836
+ * @remarks
5837
+ * This parameter is required.
5838
+ */
5839
+ aimInfo?: LoginForVisitorResponseBodyAimInfo;
5840
+ /**
5841
+ * @remarks
5842
+ * This parameter is required.
5843
+ */
5844
+ aimToken?: LoginForVisitorResponseBodyAimToken;
5845
+ /**
5846
+ * @remarks
5847
+ * This parameter is required.
5848
+ *
5849
+ * @example
5850
+ * 123456
5851
+ */
5852
+ appUid?: string;
5853
+ /**
5854
+ * @remarks
5855
+ * This parameter is required.
5856
+ *
5857
+ * @example
5858
+ * channel_123
5859
+ */
5860
+ channelCode?: string;
5861
+ /**
5862
+ * @remarks
5863
+ * This parameter is required.
5864
+ *
5865
+ * @example
5866
+ * device_001
5867
+ */
5868
+ deviceId?: string;
5869
+ /**
5870
+ * @example
5871
+ * example.com
5872
+ */
5873
+ safeDomainName?: string;
5874
+ /**
5875
+ * @remarks
5876
+ * This parameter is required.
5877
+ *
5878
+ * @example
5879
+ * 张三
5880
+ */
5881
+ userName?: string;
5882
+ /**
5883
+ * @remarks
5884
+ * This parameter is required.
5885
+ *
5886
+ * @example
5887
+ * @123456
5888
+ */
5889
+ visitorAvatar?: string;
5890
+ /**
5891
+ * @remarks
5892
+ * This parameter is required.
5893
+ *
5894
+ * @example
5895
+ * https://example.com/acd123.jpg
5896
+ */
5897
+ visitorAvatarUrl?: string;
5898
+ /**
5899
+ * @remarks
5900
+ * This parameter is required.
5901
+ *
5902
+ * @example
5903
+ * cid_12345
5904
+ */
5905
+ visitorCid?: string;
5906
+ /**
5907
+ * @remarks
5908
+ * This parameter is required.
5909
+ *
5910
+ * @example
5911
+ * openconversation_12345
5912
+ */
5913
+ visitorOpenConversationId?: string;
5914
+ static names(): { [key: string]: string } {
5915
+ return {
5916
+ aimInfo: 'aimInfo',
5917
+ aimToken: 'aimToken',
5918
+ appUid: 'appUid',
5919
+ channelCode: 'channelCode',
5920
+ deviceId: 'deviceId',
5921
+ safeDomainName: 'safeDomainName',
5922
+ userName: 'userName',
5923
+ visitorAvatar: 'visitorAvatar',
5924
+ visitorAvatarUrl: 'visitorAvatarUrl',
5925
+ visitorCid: 'visitorCid',
5926
+ visitorOpenConversationId: 'visitorOpenConversationId',
5927
+ };
5928
+ }
5929
+
5930
+ static types(): { [key: string]: any } {
5931
+ return {
5932
+ aimInfo: LoginForVisitorResponseBodyAimInfo,
5933
+ aimToken: LoginForVisitorResponseBodyAimToken,
5934
+ appUid: 'string',
5935
+ channelCode: 'string',
5936
+ deviceId: 'string',
5937
+ safeDomainName: 'string',
5938
+ userName: 'string',
5939
+ visitorAvatar: 'string',
5940
+ visitorAvatarUrl: 'string',
5941
+ visitorCid: 'string',
5942
+ visitorOpenConversationId: 'string',
5943
+ };
5944
+ }
5945
+
5946
+ constructor(map?: { [key: string]: any }) {
5947
+ super(map);
5948
+ }
5949
+ }
5950
+
5951
+ export class LoginForVisitorResponse extends $tea.Model {
5952
+ headers?: { [key: string]: string };
5953
+ statusCode?: number;
5954
+ body?: LoginForVisitorResponseBody;
5955
+ static names(): { [key: string]: string } {
5956
+ return {
5957
+ headers: 'headers',
5958
+ statusCode: 'statusCode',
5959
+ body: 'body',
5960
+ };
5961
+ }
5962
+
5963
+ static types(): { [key: string]: any } {
5964
+ return {
5965
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5966
+ statusCode: 'number',
5967
+ body: LoginForVisitorResponseBody,
5968
+ };
5969
+ }
5970
+
5971
+ constructor(map?: { [key: string]: any }) {
5972
+ super(map);
5973
+ }
5974
+ }
5975
+
5775
5976
  export class OfflineUnfurlingRegisterHeaders extends $tea.Model {
5776
5977
  commonHeaders?: { [key: string]: string };
5777
5978
  xAcsDingtalkAccessToken?: string;
@@ -6768,15 +6969,299 @@ export class PersonalSendCardMessageResponseBody extends $tea.Model {
6768
6969
  success?: boolean;
6769
6970
  static names(): { [key: string]: string } {
6770
6971
  return {
6771
- result: 'result',
6772
- success: 'success',
6972
+ result: 'result',
6973
+ success: 'success',
6974
+ };
6975
+ }
6976
+
6977
+ static types(): { [key: string]: any } {
6978
+ return {
6979
+ result: PersonalSendCardMessageResponseBodyResult,
6980
+ success: 'boolean',
6981
+ };
6982
+ }
6983
+
6984
+ constructor(map?: { [key: string]: any }) {
6985
+ super(map);
6986
+ }
6987
+ }
6988
+
6989
+ export class PersonalSendCardMessageResponse extends $tea.Model {
6990
+ headers?: { [key: string]: string };
6991
+ statusCode?: number;
6992
+ body?: PersonalSendCardMessageResponseBody;
6993
+ static names(): { [key: string]: string } {
6994
+ return {
6995
+ headers: 'headers',
6996
+ statusCode: 'statusCode',
6997
+ body: 'body',
6998
+ };
6999
+ }
7000
+
7001
+ static types(): { [key: string]: any } {
7002
+ return {
7003
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7004
+ statusCode: 'number',
7005
+ body: PersonalSendCardMessageResponseBody,
7006
+ };
7007
+ }
7008
+
7009
+ constructor(map?: { [key: string]: any }) {
7010
+ super(map);
7011
+ }
7012
+ }
7013
+
7014
+ export class QueryGroupInfoByAppCidsHeaders extends $tea.Model {
7015
+ commonHeaders?: { [key: string]: string };
7016
+ xAcsDingtalkAccessToken?: string;
7017
+ static names(): { [key: string]: string } {
7018
+ return {
7019
+ commonHeaders: 'commonHeaders',
7020
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
7021
+ };
7022
+ }
7023
+
7024
+ static types(): { [key: string]: any } {
7025
+ return {
7026
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7027
+ xAcsDingtalkAccessToken: 'string',
7028
+ };
7029
+ }
7030
+
7031
+ constructor(map?: { [key: string]: any }) {
7032
+ super(map);
7033
+ }
7034
+ }
7035
+
7036
+ export class QueryGroupInfoByAppCidsRequest extends $tea.Model {
7037
+ appCids?: string[];
7038
+ static names(): { [key: string]: string } {
7039
+ return {
7040
+ appCids: 'appCids',
7041
+ };
7042
+ }
7043
+
7044
+ static types(): { [key: string]: any } {
7045
+ return {
7046
+ appCids: { 'type': 'array', 'itemType': 'string' },
7047
+ };
7048
+ }
7049
+
7050
+ constructor(map?: { [key: string]: any }) {
7051
+ super(map);
7052
+ }
7053
+ }
7054
+
7055
+ export class QueryGroupInfoByAppCidsResponseBody extends $tea.Model {
7056
+ /**
7057
+ * @remarks
7058
+ * This parameter is required.
7059
+ */
7060
+ groupInfoList?: QueryGroupInfoByAppCidsResponseBodyGroupInfoList[];
7061
+ static names(): { [key: string]: string } {
7062
+ return {
7063
+ groupInfoList: 'groupInfoList',
7064
+ };
7065
+ }
7066
+
7067
+ static types(): { [key: string]: any } {
7068
+ return {
7069
+ groupInfoList: { 'type': 'array', 'itemType': QueryGroupInfoByAppCidsResponseBodyGroupInfoList },
7070
+ };
7071
+ }
7072
+
7073
+ constructor(map?: { [key: string]: any }) {
7074
+ super(map);
7075
+ }
7076
+ }
7077
+
7078
+ export class QueryGroupInfoByAppCidsResponse extends $tea.Model {
7079
+ headers?: { [key: string]: string };
7080
+ statusCode?: number;
7081
+ body?: QueryGroupInfoByAppCidsResponseBody;
7082
+ static names(): { [key: string]: string } {
7083
+ return {
7084
+ headers: 'headers',
7085
+ statusCode: 'statusCode',
7086
+ body: 'body',
7087
+ };
7088
+ }
7089
+
7090
+ static types(): { [key: string]: any } {
7091
+ return {
7092
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7093
+ statusCode: 'number',
7094
+ body: QueryGroupInfoByAppCidsResponseBody,
7095
+ };
7096
+ }
7097
+
7098
+ constructor(map?: { [key: string]: any }) {
7099
+ super(map);
7100
+ }
7101
+ }
7102
+
7103
+ export class QueryGroupInfoByMemberAuthHeaders extends $tea.Model {
7104
+ commonHeaders?: { [key: string]: string };
7105
+ xAcsDingtalkAccessToken?: string;
7106
+ static names(): { [key: string]: string } {
7107
+ return {
7108
+ commonHeaders: 'commonHeaders',
7109
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
7110
+ };
7111
+ }
7112
+
7113
+ static types(): { [key: string]: any } {
7114
+ return {
7115
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7116
+ xAcsDingtalkAccessToken: 'string',
7117
+ };
7118
+ }
7119
+
7120
+ constructor(map?: { [key: string]: any }) {
7121
+ super(map);
7122
+ }
7123
+ }
7124
+
7125
+ export class QueryGroupInfoByMemberAuthRequest extends $tea.Model {
7126
+ /**
7127
+ * @remarks
7128
+ * This parameter is required.
7129
+ *
7130
+ * @example
7131
+ * COOLAPP-XXX
7132
+ */
7133
+ coolAppCode?: string;
7134
+ /**
7135
+ * @remarks
7136
+ * This parameter is required.
7137
+ *
7138
+ * @example
7139
+ * cidXXX
7140
+ */
7141
+ openConversationId?: string;
7142
+ static names(): { [key: string]: string } {
7143
+ return {
7144
+ coolAppCode: 'coolAppCode',
7145
+ openConversationId: 'openConversationId',
7146
+ };
7147
+ }
7148
+
7149
+ static types(): { [key: string]: any } {
7150
+ return {
7151
+ coolAppCode: 'string',
7152
+ openConversationId: 'string',
7153
+ };
7154
+ }
7155
+
7156
+ constructor(map?: { [key: string]: any }) {
7157
+ super(map);
7158
+ }
7159
+ }
7160
+
7161
+ export class QueryGroupInfoByMemberAuthResponseBody extends $tea.Model {
7162
+ /**
7163
+ * @example
7164
+ * 99
7165
+ */
7166
+ memberCount?: number;
7167
+ static names(): { [key: string]: string } {
7168
+ return {
7169
+ memberCount: 'memberCount',
7170
+ };
7171
+ }
7172
+
7173
+ static types(): { [key: string]: any } {
7174
+ return {
7175
+ memberCount: 'number',
7176
+ };
7177
+ }
7178
+
7179
+ constructor(map?: { [key: string]: any }) {
7180
+ super(map);
7181
+ }
7182
+ }
7183
+
7184
+ export class QueryGroupInfoByMemberAuthResponse extends $tea.Model {
7185
+ headers?: { [key: string]: string };
7186
+ statusCode?: number;
7187
+ body?: QueryGroupInfoByMemberAuthResponseBody;
7188
+ static names(): { [key: string]: string } {
7189
+ return {
7190
+ headers: 'headers',
7191
+ statusCode: 'statusCode',
7192
+ body: 'body',
7193
+ };
7194
+ }
7195
+
7196
+ static types(): { [key: string]: any } {
7197
+ return {
7198
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7199
+ statusCode: 'number',
7200
+ body: QueryGroupInfoByMemberAuthResponseBody,
7201
+ };
7202
+ }
7203
+
7204
+ constructor(map?: { [key: string]: any }) {
7205
+ super(map);
7206
+ }
7207
+ }
7208
+
7209
+ export class QueryGroupInfoByOpenCidsHeaders extends $tea.Model {
7210
+ commonHeaders?: { [key: string]: string };
7211
+ xAcsDingtalkAccessToken?: string;
7212
+ static names(): { [key: string]: string } {
7213
+ return {
7214
+ commonHeaders: 'commonHeaders',
7215
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
7216
+ };
7217
+ }
7218
+
7219
+ static types(): { [key: string]: any } {
7220
+ return {
7221
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7222
+ xAcsDingtalkAccessToken: 'string',
7223
+ };
7224
+ }
7225
+
7226
+ constructor(map?: { [key: string]: any }) {
7227
+ super(map);
7228
+ }
7229
+ }
7230
+
7231
+ export class QueryGroupInfoByOpenCidsRequest extends $tea.Model {
7232
+ openConversationIds?: string[];
7233
+ static names(): { [key: string]: string } {
7234
+ return {
7235
+ openConversationIds: 'openConversationIds',
7236
+ };
7237
+ }
7238
+
7239
+ static types(): { [key: string]: any } {
7240
+ return {
7241
+ openConversationIds: { 'type': 'array', 'itemType': 'string' },
7242
+ };
7243
+ }
7244
+
7245
+ constructor(map?: { [key: string]: any }) {
7246
+ super(map);
7247
+ }
7248
+ }
7249
+
7250
+ export class QueryGroupInfoByOpenCidsResponseBody extends $tea.Model {
7251
+ /**
7252
+ * @remarks
7253
+ * This parameter is required.
7254
+ */
7255
+ groupInfoList?: QueryGroupInfoByOpenCidsResponseBodyGroupInfoList[];
7256
+ static names(): { [key: string]: string } {
7257
+ return {
7258
+ groupInfoList: 'groupInfoList',
6773
7259
  };
6774
7260
  }
6775
7261
 
6776
7262
  static types(): { [key: string]: any } {
6777
7263
  return {
6778
- result: PersonalSendCardMessageResponseBodyResult,
6779
- success: 'boolean',
7264
+ groupInfoList: { 'type': 'array', 'itemType': QueryGroupInfoByOpenCidsResponseBodyGroupInfoList },
6780
7265
  };
6781
7266
  }
6782
7267
 
@@ -6785,10 +7270,10 @@ export class PersonalSendCardMessageResponseBody extends $tea.Model {
6785
7270
  }
6786
7271
  }
6787
7272
 
6788
- export class PersonalSendCardMessageResponse extends $tea.Model {
7273
+ export class QueryGroupInfoByOpenCidsResponse extends $tea.Model {
6789
7274
  headers?: { [key: string]: string };
6790
7275
  statusCode?: number;
6791
- body?: PersonalSendCardMessageResponseBody;
7276
+ body?: QueryGroupInfoByOpenCidsResponseBody;
6792
7277
  static names(): { [key: string]: string } {
6793
7278
  return {
6794
7279
  headers: 'headers',
@@ -6801,7 +7286,7 @@ export class PersonalSendCardMessageResponse extends $tea.Model {
6801
7286
  return {
6802
7287
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6803
7288
  statusCode: 'number',
6804
- body: PersonalSendCardMessageResponseBody,
7289
+ body: QueryGroupInfoByOpenCidsResponseBody,
6805
7290
  };
6806
7291
  }
6807
7292
 
@@ -6810,7 +7295,7 @@ export class PersonalSendCardMessageResponse extends $tea.Model {
6810
7295
  }
6811
7296
  }
6812
7297
 
6813
- export class QueryGroupInfoByMemberAuthHeaders extends $tea.Model {
7298
+ export class QueryGroupMemberHeaders extends $tea.Model {
6814
7299
  commonHeaders?: { [key: string]: string };
6815
7300
  xAcsDingtalkAccessToken?: string;
6816
7301
  static names(): { [key: string]: string } {
@@ -6832,33 +7317,23 @@ export class QueryGroupInfoByMemberAuthHeaders extends $tea.Model {
6832
7317
  }
6833
7318
  }
6834
7319
 
6835
- export class QueryGroupInfoByMemberAuthRequest extends $tea.Model {
6836
- /**
6837
- * @remarks
6838
- * This parameter is required.
6839
- *
6840
- * @example
6841
- * COOLAPP-XXX
6842
- */
6843
- coolAppCode?: string;
7320
+ export class QueryGroupMemberRequest extends $tea.Model {
6844
7321
  /**
6845
7322
  * @remarks
6846
7323
  * This parameter is required.
6847
7324
  *
6848
7325
  * @example
6849
- * cidXXX
7326
+ * 14da****2760
6850
7327
  */
6851
7328
  openConversationId?: string;
6852
7329
  static names(): { [key: string]: string } {
6853
7330
  return {
6854
- coolAppCode: 'coolAppCode',
6855
7331
  openConversationId: 'openConversationId',
6856
7332
  };
6857
7333
  }
6858
7334
 
6859
7335
  static types(): { [key: string]: any } {
6860
7336
  return {
6861
- coolAppCode: 'string',
6862
7337
  openConversationId: 'string',
6863
7338
  };
6864
7339
  }
@@ -6868,21 +7343,31 @@ export class QueryGroupInfoByMemberAuthRequest extends $tea.Model {
6868
7343
  }
6869
7344
  }
6870
7345
 
6871
- export class QueryGroupInfoByMemberAuthResponseBody extends $tea.Model {
7346
+ export class QueryGroupMemberResponseBody extends $tea.Model {
7347
+ /**
7348
+ * @remarks
7349
+ * This parameter is required.
7350
+ */
7351
+ groupMembers?: QueryGroupMemberResponseBodyGroupMembers[];
6872
7352
  /**
7353
+ * @remarks
7354
+ * This parameter is required.
7355
+ *
6873
7356
  * @example
6874
- * 99
7357
+ * 14da****2760
6875
7358
  */
6876
- memberCount?: number;
7359
+ openConversationId?: string;
6877
7360
  static names(): { [key: string]: string } {
6878
7361
  return {
6879
- memberCount: 'memberCount',
7362
+ groupMembers: 'groupMembers',
7363
+ openConversationId: 'openConversationId',
6880
7364
  };
6881
7365
  }
6882
7366
 
6883
7367
  static types(): { [key: string]: any } {
6884
7368
  return {
6885
- memberCount: 'number',
7369
+ groupMembers: { 'type': 'array', 'itemType': QueryGroupMemberResponseBodyGroupMembers },
7370
+ openConversationId: 'string',
6886
7371
  };
6887
7372
  }
6888
7373
 
@@ -6891,10 +7376,10 @@ export class QueryGroupInfoByMemberAuthResponseBody extends $tea.Model {
6891
7376
  }
6892
7377
  }
6893
7378
 
6894
- export class QueryGroupInfoByMemberAuthResponse extends $tea.Model {
7379
+ export class QueryGroupMemberResponse extends $tea.Model {
6895
7380
  headers?: { [key: string]: string };
6896
7381
  statusCode?: number;
6897
- body?: QueryGroupInfoByMemberAuthResponseBody;
7382
+ body?: QueryGroupMemberResponseBody;
6898
7383
  static names(): { [key: string]: string } {
6899
7384
  return {
6900
7385
  headers: 'headers',
@@ -6907,7 +7392,7 @@ export class QueryGroupInfoByMemberAuthResponse extends $tea.Model {
6907
7392
  return {
6908
7393
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6909
7394
  statusCode: 'number',
6910
- body: QueryGroupInfoByMemberAuthResponseBody,
7395
+ body: QueryGroupMemberResponseBody,
6911
7396
  };
6912
7397
  }
6913
7398
 
@@ -6916,7 +7401,7 @@ export class QueryGroupInfoByMemberAuthResponse extends $tea.Model {
6916
7401
  }
6917
7402
  }
6918
7403
 
6919
- export class QueryGroupMemberHeaders extends $tea.Model {
7404
+ export class QueryGroupMemberByAppUidsHeaders extends $tea.Model {
6920
7405
  commonHeaders?: { [key: string]: string };
6921
7406
  xAcsDingtalkAccessToken?: string;
6922
7407
  static names(): { [key: string]: string } {
@@ -6938,24 +7423,17 @@ export class QueryGroupMemberHeaders extends $tea.Model {
6938
7423
  }
6939
7424
  }
6940
7425
 
6941
- export class QueryGroupMemberRequest extends $tea.Model {
6942
- /**
6943
- * @remarks
6944
- * This parameter is required.
6945
- *
6946
- * @example
6947
- * 14da****2760
6948
- */
6949
- openConversationId?: string;
7426
+ export class QueryGroupMemberByAppUidsRequest extends $tea.Model {
7427
+ appUids?: number[];
6950
7428
  static names(): { [key: string]: string } {
6951
7429
  return {
6952
- openConversationId: 'openConversationId',
7430
+ appUids: 'appUids',
6953
7431
  };
6954
7432
  }
6955
7433
 
6956
7434
  static types(): { [key: string]: any } {
6957
7435
  return {
6958
- openConversationId: 'string',
7436
+ appUids: { 'type': 'array', 'itemType': 'number' },
6959
7437
  };
6960
7438
  }
6961
7439
 
@@ -6964,31 +7442,21 @@ export class QueryGroupMemberRequest extends $tea.Model {
6964
7442
  }
6965
7443
  }
6966
7444
 
6967
- export class QueryGroupMemberResponseBody extends $tea.Model {
6968
- /**
6969
- * @remarks
6970
- * This parameter is required.
6971
- */
6972
- groupMembers?: QueryGroupMemberResponseBodyGroupMembers[];
7445
+ export class QueryGroupMemberByAppUidsResponseBody extends $tea.Model {
6973
7446
  /**
6974
7447
  * @remarks
6975
7448
  * This parameter is required.
6976
- *
6977
- * @example
6978
- * 14da****2760
6979
7449
  */
6980
- openConversationId?: string;
7450
+ groupMembers?: QueryGroupMemberByAppUidsResponseBodyGroupMembers[];
6981
7451
  static names(): { [key: string]: string } {
6982
7452
  return {
6983
7453
  groupMembers: 'groupMembers',
6984
- openConversationId: 'openConversationId',
6985
7454
  };
6986
7455
  }
6987
7456
 
6988
7457
  static types(): { [key: string]: any } {
6989
7458
  return {
6990
- groupMembers: { 'type': 'array', 'itemType': QueryGroupMemberResponseBodyGroupMembers },
6991
- openConversationId: 'string',
7459
+ groupMembers: { 'type': 'array', 'itemType': QueryGroupMemberByAppUidsResponseBodyGroupMembers },
6992
7460
  };
6993
7461
  }
6994
7462
 
@@ -6997,10 +7465,10 @@ export class QueryGroupMemberResponseBody extends $tea.Model {
6997
7465
  }
6998
7466
  }
6999
7467
 
7000
- export class QueryGroupMemberResponse extends $tea.Model {
7468
+ export class QueryGroupMemberByAppUidsResponse extends $tea.Model {
7001
7469
  headers?: { [key: string]: string };
7002
7470
  statusCode?: number;
7003
- body?: QueryGroupMemberResponseBody;
7471
+ body?: QueryGroupMemberByAppUidsResponseBody;
7004
7472
  static names(): { [key: string]: string } {
7005
7473
  return {
7006
7474
  headers: 'headers',
@@ -7013,7 +7481,7 @@ export class QueryGroupMemberResponse extends $tea.Model {
7013
7481
  return {
7014
7482
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7015
7483
  statusCode: 'number',
7016
- body: QueryGroupMemberResponseBody,
7484
+ body: QueryGroupMemberByAppUidsResponseBody,
7017
7485
  };
7018
7486
  }
7019
7487
 
@@ -13591,6 +14059,105 @@ export class ListOrgTextEmotionResponseBodyResult extends $tea.Model {
13591
14059
  }
13592
14060
  }
13593
14061
 
14062
+ export class LoginForVisitorResponseBodyAimInfo extends $tea.Model {
14063
+ /**
14064
+ * @remarks
14065
+ * This parameter is required.
14066
+ *
14067
+ * @example
14068
+ * app_123456
14069
+ */
14070
+ appId?: string;
14071
+ /**
14072
+ * @remarks
14073
+ * This parameter is required.
14074
+ */
14075
+ appKey?: { [key: string]: string };
14076
+ /**
14077
+ * @remarks
14078
+ * This parameter is required.
14079
+ *
14080
+ * @example
14081
+ * dingtalk_app
14082
+ */
14083
+ appName?: string;
14084
+ static names(): { [key: string]: string } {
14085
+ return {
14086
+ appId: 'appId',
14087
+ appKey: 'appKey',
14088
+ appName: 'appName',
14089
+ };
14090
+ }
14091
+
14092
+ static types(): { [key: string]: any } {
14093
+ return {
14094
+ appId: 'string',
14095
+ appKey: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14096
+ appName: 'string',
14097
+ };
14098
+ }
14099
+
14100
+ constructor(map?: { [key: string]: any }) {
14101
+ super(map);
14102
+ }
14103
+ }
14104
+
14105
+ export class LoginForVisitorResponseBodyAimToken extends $tea.Model {
14106
+ /**
14107
+ * @remarks
14108
+ * This parameter is required.
14109
+ *
14110
+ * @example
14111
+ * abc123xyz
14112
+ */
14113
+ accessToken?: string;
14114
+ /**
14115
+ * @remarks
14116
+ * This parameter is required.
14117
+ *
14118
+ * @example
14119
+ * 86400
14120
+ */
14121
+ accessTokenExpiredTime?: number;
14122
+ /**
14123
+ * @remarks
14124
+ * This parameter is required.
14125
+ *
14126
+ * @example
14127
+ * 1717027200000
14128
+ */
14129
+ buildTime?: number;
14130
+ /**
14131
+ * @remarks
14132
+ * This parameter is required.
14133
+ *
14134
+ * @example
14135
+ * refreshtoken_789
14136
+ */
14137
+ refreshToken?: string;
14138
+ static names(): { [key: string]: string } {
14139
+ return {
14140
+ accessToken: 'accessToken',
14141
+ accessTokenExpiredTime: 'accessTokenExpiredTime',
14142
+ buildTime: 'buildTime',
14143
+ refreshToken: 'refreshToken',
14144
+ };
14145
+ }
14146
+
14147
+ static types(): { [key: string]: any } {
14148
+ return {
14149
+ accessToken: 'string',
14150
+ accessTokenExpiredTime: 'number',
14151
+ buildTime: 'number',
14152
+ refreshToken: 'string',
14153
+ };
14154
+ }
14155
+
14156
+ constructor(map?: { [key: string]: any }) {
14157
+ super(map);
14158
+ }
14159
+ }
14160
+
13594
14161
  export class OpenGroupRoleAddResponseBodyResult extends $tea.Model {
13595
14162
  openRoleId?: string;
13596
14163
  static names(): { [key: string]: string } {
@@ -13804,15 +14371,150 @@ export class PersonalSendCardMessageRequestCardContent extends $tea.Model {
13804
14371
  outTrackId?: string;
13805
14372
  static names(): { [key: string]: string } {
13806
14373
  return {
13807
- lastMessage: 'lastMessage',
13808
- outTrackId: 'outTrackId',
14374
+ lastMessage: 'lastMessage',
14375
+ outTrackId: 'outTrackId',
14376
+ };
14377
+ }
14378
+
14379
+ static types(): { [key: string]: any } {
14380
+ return {
14381
+ lastMessage: 'string',
14382
+ outTrackId: 'string',
14383
+ };
14384
+ }
14385
+
14386
+ constructor(map?: { [key: string]: any }) {
14387
+ super(map);
14388
+ }
14389
+ }
14390
+
14391
+ export class PersonalSendCardMessageResponseBodyResult extends $tea.Model {
14392
+ openTaskId?: string;
14393
+ static names(): { [key: string]: string } {
14394
+ return {
14395
+ openTaskId: 'openTaskId',
14396
+ };
14397
+ }
14398
+
14399
+ static types(): { [key: string]: any } {
14400
+ return {
14401
+ openTaskId: 'string',
14402
+ };
14403
+ }
14404
+
14405
+ constructor(map?: { [key: string]: any }) {
14406
+ super(map);
14407
+ }
14408
+ }
14409
+
14410
+ export class QueryGroupInfoByAppCidsResponseBodyGroupInfoList extends $tea.Model {
14411
+ /**
14412
+ * @example
14413
+ * $2$123456$2
14414
+ */
14415
+ appCid?: string;
14416
+ /**
14417
+ * @example
14418
+ * ding1234
14419
+ */
14420
+ corpId?: string;
14421
+ /**
14422
+ * @example
14423
+ * @abc
14424
+ */
14425
+ groupAvatar?: string;
14426
+ /**
14427
+ * @example
14428
+ * https://abc
14429
+ */
14430
+ groupAvatarUrl?: string;
14431
+ /**
14432
+ * @example
14433
+ * 群名称
14434
+ */
14435
+ groupName?: string;
14436
+ /**
14437
+ * @example
14438
+ * 123456a==
14439
+ */
14440
+ openConversationId?: string;
14441
+ static names(): { [key: string]: string } {
14442
+ return {
14443
+ appCid: 'appCid',
14444
+ corpId: 'corpId',
14445
+ groupAvatar: 'groupAvatar',
14446
+ groupAvatarUrl: 'groupAvatarUrl',
14447
+ groupName: 'groupName',
14448
+ openConversationId: 'openConversationId',
14449
+ };
14450
+ }
14451
+
14452
+ static types(): { [key: string]: any } {
14453
+ return {
14454
+ appCid: 'string',
14455
+ corpId: 'string',
14456
+ groupAvatar: 'string',
14457
+ groupAvatarUrl: 'string',
14458
+ groupName: 'string',
14459
+ openConversationId: 'string',
14460
+ };
14461
+ }
14462
+
14463
+ constructor(map?: { [key: string]: any }) {
14464
+ super(map);
14465
+ }
14466
+ }
14467
+
14468
+ export class QueryGroupInfoByOpenCidsResponseBodyGroupInfoList extends $tea.Model {
14469
+ /**
14470
+ * @example
14471
+ * $2$123456$2
14472
+ */
14473
+ appCid?: string;
14474
+ /**
14475
+ * @example
14476
+ * ding1234
14477
+ */
14478
+ corpId?: string;
14479
+ /**
14480
+ * @example
14481
+ * @abc
14482
+ */
14483
+ groupAvatar?: string;
14484
+ /**
14485
+ * @example
14486
+ * https://abc
14487
+ */
14488
+ groupAvatarUrl?: string;
14489
+ /**
14490
+ * @example
14491
+ * 群名称
14492
+ */
14493
+ groupName?: string;
14494
+ /**
14495
+ * @example
14496
+ * 123456a==
14497
+ */
14498
+ openConversationId?: string;
14499
+ static names(): { [key: string]: string } {
14500
+ return {
14501
+ appCid: 'appCid',
14502
+ corpId: 'corpId',
14503
+ groupAvatar: 'groupAvatar',
14504
+ groupAvatarUrl: 'groupAvatarUrl',
14505
+ groupName: 'groupName',
14506
+ openConversationId: 'openConversationId',
13809
14507
  };
13810
14508
  }
13811
14509
 
13812
14510
  static types(): { [key: string]: any } {
13813
14511
  return {
13814
- lastMessage: 'string',
13815
- outTrackId: 'string',
14512
+ appCid: 'string',
14513
+ corpId: 'string',
14514
+ groupAvatar: 'string',
14515
+ groupAvatarUrl: 'string',
14516
+ groupName: 'string',
14517
+ openConversationId: 'string',
13816
14518
  };
13817
14519
  }
13818
14520
 
@@ -13821,17 +14523,82 @@ export class PersonalSendCardMessageRequestCardContent extends $tea.Model {
13821
14523
  }
13822
14524
  }
13823
14525
 
13824
- export class PersonalSendCardMessageResponseBodyResult extends $tea.Model {
13825
- openTaskId?: string;
14526
+ export class QueryGroupMemberResponseBodyGroupMembers extends $tea.Model {
14527
+ /**
14528
+ * @remarks
14529
+ * This parameter is required.
14530
+ *
14531
+ * @example
14532
+ * 1000000
14533
+ */
14534
+ appUid?: number;
14535
+ /**
14536
+ * @example
14537
+ * http://****.png
14538
+ */
14539
+ groupMemberAvatar?: string;
14540
+ /**
14541
+ * @example
14542
+ * abc
14543
+ */
14544
+ groupMemberAvatarMediaId?: string;
14545
+ /**
14546
+ * @example
14547
+ * 认真工作,快乐生活
14548
+ */
14549
+ groupMemberDynamics?: string;
14550
+ /**
14551
+ * @example
14552
+ * 1107****2120
14553
+ */
14554
+ groupMemberId?: string;
14555
+ /**
14556
+ * @remarks
14557
+ * This parameter is required.
14558
+ *
14559
+ * @example
14560
+ * Foo
14561
+ */
14562
+ groupMemberName?: string;
14563
+ /**
14564
+ * @remarks
14565
+ * This parameter is required.
14566
+ *
14567
+ * @example
14568
+ * 1
14569
+ */
14570
+ groupMemberType?: number;
14571
+ /**
14572
+ * @remarks
14573
+ * This parameter is required.
14574
+ *
14575
+ * @example
14576
+ * 2
14577
+ */
14578
+ groupMemberTypeV2?: number;
13826
14579
  static names(): { [key: string]: string } {
13827
14580
  return {
13828
- openTaskId: 'openTaskId',
14581
+ appUid: 'appUid',
14582
+ groupMemberAvatar: 'groupMemberAvatar',
14583
+ groupMemberAvatarMediaId: 'groupMemberAvatarMediaId',
14584
+ groupMemberDynamics: 'groupMemberDynamics',
14585
+ groupMemberId: 'groupMemberId',
14586
+ groupMemberName: 'groupMemberName',
14587
+ groupMemberType: 'groupMemberType',
14588
+ groupMemberTypeV2: 'groupMemberTypeV2',
13829
14589
  };
13830
14590
  }
13831
14591
 
13832
14592
  static types(): { [key: string]: any } {
13833
14593
  return {
13834
- openTaskId: 'string',
14594
+ appUid: 'number',
14595
+ groupMemberAvatar: 'string',
14596
+ groupMemberAvatarMediaId: 'string',
14597
+ groupMemberDynamics: 'string',
14598
+ groupMemberId: 'string',
14599
+ groupMemberName: 'string',
14600
+ groupMemberType: 'number',
14601
+ groupMemberTypeV2: 'number',
13835
14602
  };
13836
14603
  }
13837
14604
 
@@ -13840,12 +14607,25 @@ export class PersonalSendCardMessageResponseBodyResult extends $tea.Model {
13840
14607
  }
13841
14608
  }
13842
14609
 
13843
- export class QueryGroupMemberResponseBodyGroupMembers extends $tea.Model {
14610
+ export class QueryGroupMemberByAppUidsResponseBodyGroupMembers extends $tea.Model {
14611
+ /**
14612
+ * @remarks
14613
+ * This parameter is required.
14614
+ *
14615
+ * @example
14616
+ * 1000000
14617
+ */
14618
+ appUid?: number;
13844
14619
  /**
13845
14620
  * @example
13846
14621
  * http://****.png
13847
14622
  */
13848
14623
  groupMemberAvatar?: string;
14624
+ /**
14625
+ * @example
14626
+ * abc
14627
+ */
14628
+ groupMemberAvatarMediaId?: string;
13849
14629
  /**
13850
14630
  * @example
13851
14631
  * 认真工作,快乐生活
@@ -13872,23 +14652,37 @@ export class QueryGroupMemberResponseBodyGroupMembers extends $tea.Model {
13872
14652
  * 1
13873
14653
  */
13874
14654
  groupMemberType?: number;
14655
+ /**
14656
+ * @remarks
14657
+ * This parameter is required.
14658
+ *
14659
+ * @example
14660
+ * 2
14661
+ */
14662
+ groupMemberTypeV2?: number;
13875
14663
  static names(): { [key: string]: string } {
13876
14664
  return {
14665
+ appUid: 'appUid',
13877
14666
  groupMemberAvatar: 'groupMemberAvatar',
14667
+ groupMemberAvatarMediaId: 'groupMemberAvatarMediaId',
13878
14668
  groupMemberDynamics: 'groupMemberDynamics',
13879
14669
  groupMemberId: 'groupMemberId',
13880
14670
  groupMemberName: 'groupMemberName',
13881
14671
  groupMemberType: 'groupMemberType',
14672
+ groupMemberTypeV2: 'groupMemberTypeV2',
13882
14673
  };
13883
14674
  }
13884
14675
 
13885
14676
  static types(): { [key: string]: any } {
13886
14677
  return {
14678
+ appUid: 'number',
13887
14679
  groupMemberAvatar: 'string',
14680
+ groupMemberAvatarMediaId: 'string',
13888
14681
  groupMemberDynamics: 'string',
13889
14682
  groupMemberId: 'string',
13890
14683
  groupMemberName: 'string',
13891
14684
  groupMemberType: 'number',
14685
+ groupMemberTypeV2: 'number',
13892
14686
  };
13893
14687
  }
13894
14688
 
@@ -18105,6 +18899,68 @@ export default class Client extends OpenApi {
18105
18899
  return await this.listSceneGroupsByTemplateIdWithOptions(templateId, request, headers, runtime);
18106
18900
  }
18107
18901
 
18902
+ /**
18903
+ * 客联访客登录接口
18904
+ *
18905
+ * @param request - LoginForVisitorRequest
18906
+ * @param headers - LoginForVisitorHeaders
18907
+ * @param runtime - runtime options for this request RuntimeOptions
18908
+ * @returns LoginForVisitorResponse
18909
+ */
18910
+ async loginForVisitorWithOptions(request: LoginForVisitorRequest, headers: LoginForVisitorHeaders, runtime: $Util.RuntimeOptions): Promise<LoginForVisitorResponse> {
18911
+ Util.validateModel(request);
18912
+ let body : {[key: string ]: any} = { };
18913
+ if (!Util.isUnset(request.appUserId)) {
18914
+ body["appUserId"] = request.appUserId;
18915
+ }
18916
+
18917
+ if (!Util.isUnset(request.channelCode)) {
18918
+ body["channelCode"] = request.channelCode;
18919
+ }
18920
+
18921
+ if (!Util.isUnset(request.customAccessToken)) {
18922
+ body["customAccessToken"] = request.customAccessToken;
18923
+ }
18924
+
18925
+ let realHeaders : {[key: string ]: string} = { };
18926
+ if (!Util.isUnset(headers.commonHeaders)) {
18927
+ realHeaders = headers.commonHeaders;
18928
+ }
18929
+
18930
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
18931
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
18932
+ }
18933
+
18934
+ let req = new $OpenApi.OpenApiRequest({
18935
+ headers: realHeaders,
18936
+ body: OpenApiUtil.parseToMap(body),
18937
+ });
18938
+ let params = new $OpenApi.Params({
18939
+ action: "LoginForVisitor",
18940
+ version: "im_1.0",
18941
+ protocol: "HTTP",
18942
+ pathname: `/v1.0/im/interconnections/conversations/visitorLogin`,
18943
+ method: "POST",
18944
+ authType: "AK",
18945
+ style: "ROA",
18946
+ reqBodyType: "none",
18947
+ bodyType: "json",
18948
+ });
18949
+ return $tea.cast<LoginForVisitorResponse>(await this.execute(params, req, runtime), new LoginForVisitorResponse({}));
18950
+ }
18951
+
18952
+ /**
18953
+ * 客联访客登录接口
18954
+ *
18955
+ * @param request - LoginForVisitorRequest
18956
+ * @returns LoginForVisitorResponse
18957
+ */
18958
+ async loginForVisitor(request: LoginForVisitorRequest): Promise<LoginForVisitorResponse> {
18959
+ let runtime = new $Util.RuntimeOptions({ });
18960
+ let headers = new LoginForVisitorHeaders({ });
18961
+ return await this.loginForVisitorWithOptions(request, headers, runtime);
18962
+ }
18963
+
18108
18964
  /**
18109
18965
  * 链接增强规则下线
18110
18966
  *
@@ -18725,6 +19581,60 @@ export default class Client extends OpenApi {
18725
19581
  return await this.personalSendCardMessageWithOptions(request, headers, runtime);
18726
19582
  }
18727
19583
 
19584
+ /**
19585
+ * 根据IM会话Cid查询群信息
19586
+ *
19587
+ * @param request - QueryGroupInfoByAppCidsRequest
19588
+ * @param headers - QueryGroupInfoByAppCidsHeaders
19589
+ * @param runtime - runtime options for this request RuntimeOptions
19590
+ * @returns QueryGroupInfoByAppCidsResponse
19591
+ */
19592
+ async queryGroupInfoByAppCidsWithOptions(request: QueryGroupInfoByAppCidsRequest, headers: QueryGroupInfoByAppCidsHeaders, runtime: $Util.RuntimeOptions): Promise<QueryGroupInfoByAppCidsResponse> {
19593
+ Util.validateModel(request);
19594
+ let body : {[key: string ]: any} = { };
19595
+ if (!Util.isUnset(request.appCids)) {
19596
+ body["appCids"] = request.appCids;
19597
+ }
19598
+
19599
+ let realHeaders : {[key: string ]: string} = { };
19600
+ if (!Util.isUnset(headers.commonHeaders)) {
19601
+ realHeaders = headers.commonHeaders;
19602
+ }
19603
+
19604
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
19605
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
19606
+ }
19607
+
19608
+ let req = new $OpenApi.OpenApiRequest({
19609
+ headers: realHeaders,
19610
+ body: OpenApiUtil.parseToMap(body),
19611
+ });
19612
+ let params = new $OpenApi.Params({
19613
+ action: "QueryGroupInfoByAppCids",
19614
+ version: "im_1.0",
19615
+ protocol: "HTTP",
19616
+ pathname: `/v1.0/im/interconnections/group/groupInfoByAppCid`,
19617
+ method: "POST",
19618
+ authType: "AK",
19619
+ style: "ROA",
19620
+ reqBodyType: "none",
19621
+ bodyType: "json",
19622
+ });
19623
+ return $tea.cast<QueryGroupInfoByAppCidsResponse>(await this.execute(params, req, runtime), new QueryGroupInfoByAppCidsResponse({}));
19624
+ }
19625
+
19626
+ /**
19627
+ * 根据IM会话Cid查询群信息
19628
+ *
19629
+ * @param request - QueryGroupInfoByAppCidsRequest
19630
+ * @returns QueryGroupInfoByAppCidsResponse
19631
+ */
19632
+ async queryGroupInfoByAppCids(request: QueryGroupInfoByAppCidsRequest): Promise<QueryGroupInfoByAppCidsResponse> {
19633
+ let runtime = new $Util.RuntimeOptions({ });
19634
+ let headers = new QueryGroupInfoByAppCidsHeaders({ });
19635
+ return await this.queryGroupInfoByAppCidsWithOptions(request, headers, runtime);
19636
+ }
19637
+
18728
19638
  /**
18729
19639
  * 成员授权场景下查询群信息
18730
19640
  *
@@ -18783,6 +19693,60 @@ export default class Client extends OpenApi {
18783
19693
  return await this.queryGroupInfoByMemberAuthWithOptions(request, headers, runtime);
18784
19694
  }
18785
19695
 
19696
+ /**
19697
+ * 根据群Cid查询群信息
19698
+ *
19699
+ * @param request - QueryGroupInfoByOpenCidsRequest
19700
+ * @param headers - QueryGroupInfoByOpenCidsHeaders
19701
+ * @param runtime - runtime options for this request RuntimeOptions
19702
+ * @returns QueryGroupInfoByOpenCidsResponse
19703
+ */
19704
+ async queryGroupInfoByOpenCidsWithOptions(request: QueryGroupInfoByOpenCidsRequest, headers: QueryGroupInfoByOpenCidsHeaders, runtime: $Util.RuntimeOptions): Promise<QueryGroupInfoByOpenCidsResponse> {
19705
+ Util.validateModel(request);
19706
+ let body : {[key: string ]: any} = { };
19707
+ if (!Util.isUnset(request.openConversationIds)) {
19708
+ body["openConversationIds"] = request.openConversationIds;
19709
+ }
19710
+
19711
+ let realHeaders : {[key: string ]: string} = { };
19712
+ if (!Util.isUnset(headers.commonHeaders)) {
19713
+ realHeaders = headers.commonHeaders;
19714
+ }
19715
+
19716
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
19717
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
19718
+ }
19719
+
19720
+ let req = new $OpenApi.OpenApiRequest({
19721
+ headers: realHeaders,
19722
+ body: OpenApiUtil.parseToMap(body),
19723
+ });
19724
+ let params = new $OpenApi.Params({
19725
+ action: "QueryGroupInfoByOpenCids",
19726
+ version: "im_1.0",
19727
+ protocol: "HTTP",
19728
+ pathname: `/v1.0/im/interconnections/group/groupInfoByOpenCid`,
19729
+ method: "POST",
19730
+ authType: "AK",
19731
+ style: "ROA",
19732
+ reqBodyType: "none",
19733
+ bodyType: "json",
19734
+ });
19735
+ return $tea.cast<QueryGroupInfoByOpenCidsResponse>(await this.execute(params, req, runtime), new QueryGroupInfoByOpenCidsResponse({}));
19736
+ }
19737
+
19738
+ /**
19739
+ * 根据群Cid查询群信息
19740
+ *
19741
+ * @param request - QueryGroupInfoByOpenCidsRequest
19742
+ * @returns QueryGroupInfoByOpenCidsResponse
19743
+ */
19744
+ async queryGroupInfoByOpenCids(request: QueryGroupInfoByOpenCidsRequest): Promise<QueryGroupInfoByOpenCidsResponse> {
19745
+ let runtime = new $Util.RuntimeOptions({ });
19746
+ let headers = new QueryGroupInfoByOpenCidsHeaders({ });
19747
+ return await this.queryGroupInfoByOpenCidsWithOptions(request, headers, runtime);
19748
+ }
19749
+
18786
19750
  /**
18787
19751
  * 查询群成员列表
18788
19752
  *
@@ -18837,6 +19801,60 @@ export default class Client extends OpenApi {
18837
19801
  return await this.queryGroupMemberWithOptions(request, headers, runtime);
18838
19802
  }
18839
19803
 
19804
+ /**
19805
+ * 根据appUid获取成员信息
19806
+ *
19807
+ * @param request - QueryGroupMemberByAppUidsRequest
19808
+ * @param headers - QueryGroupMemberByAppUidsHeaders
19809
+ * @param runtime - runtime options for this request RuntimeOptions
19810
+ * @returns QueryGroupMemberByAppUidsResponse
19811
+ */
19812
+ async queryGroupMemberByAppUidsWithOptions(request: QueryGroupMemberByAppUidsRequest, headers: QueryGroupMemberByAppUidsHeaders, runtime: $Util.RuntimeOptions): Promise<QueryGroupMemberByAppUidsResponse> {
19813
+ Util.validateModel(request);
19814
+ let body : {[key: string ]: any} = { };
19815
+ if (!Util.isUnset(request.appUids)) {
19816
+ body["appUids"] = request.appUids;
19817
+ }
19818
+
19819
+ let realHeaders : {[key: string ]: string} = { };
19820
+ if (!Util.isUnset(headers.commonHeaders)) {
19821
+ realHeaders = headers.commonHeaders;
19822
+ }
19823
+
19824
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
19825
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
19826
+ }
19827
+
19828
+ let req = new $OpenApi.OpenApiRequest({
19829
+ headers: realHeaders,
19830
+ body: OpenApiUtil.parseToMap(body),
19831
+ });
19832
+ let params = new $OpenApi.Params({
19833
+ action: "QueryGroupMemberByAppUids",
19834
+ version: "im_1.0",
19835
+ protocol: "HTTP",
19836
+ pathname: `/v1.0/im/interconnections/group/groupMemberByAppUids`,
19837
+ method: "POST",
19838
+ authType: "AK",
19839
+ style: "ROA",
19840
+ reqBodyType: "none",
19841
+ bodyType: "json",
19842
+ });
19843
+ return $tea.cast<QueryGroupMemberByAppUidsResponse>(await this.execute(params, req, runtime), new QueryGroupMemberByAppUidsResponse({}));
19844
+ }
19845
+
19846
+ /**
19847
+ * 根据appUid获取成员信息
19848
+ *
19849
+ * @param request - QueryGroupMemberByAppUidsRequest
19850
+ * @returns QueryGroupMemberByAppUidsResponse
19851
+ */
19852
+ async queryGroupMemberByAppUids(request: QueryGroupMemberByAppUidsRequest): Promise<QueryGroupMemberByAppUidsResponse> {
19853
+ let runtime = new $Util.RuntimeOptions({ });
19854
+ let headers = new QueryGroupMemberByAppUidsHeaders({ });
19855
+ return await this.queryGroupMemberByAppUidsWithOptions(request, headers, runtime);
19856
+ }
19857
+
18840
19858
  /**
18841
19859
  * 成员授权场景下查询群成员
18842
19860
  *