@alicloud/aliding20230426 2.48.2 → 2.50.0
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.
- package/dist/client.d.ts +32 -0
- package/dist/client.js +133 -0
- package/dist/client.js.map +1 -1
- package/dist/models/EnableSceneGroupTemplateHeaders.d.ts +37 -0
- package/dist/models/EnableSceneGroupTemplateHeaders.js +85 -0
- package/dist/models/EnableSceneGroupTemplateHeaders.js.map +1 -0
- package/dist/models/EnableSceneGroupTemplateRequest.d.ts +47 -0
- package/dist/models/EnableSceneGroupTemplateRequest.js +84 -0
- package/dist/models/EnableSceneGroupTemplateRequest.js.map +1 -0
- package/dist/models/EnableSceneGroupTemplateResponse.d.ts +19 -0
- package/dist/models/EnableSceneGroupTemplateResponse.js +69 -0
- package/dist/models/EnableSceneGroupTemplateResponse.js.map +1 -0
- package/dist/models/EnableSceneGroupTemplateResponseBody.d.ts +33 -0
- package/dist/models/EnableSceneGroupTemplateResponseBody.js +64 -0
- package/dist/models/EnableSceneGroupTemplateResponseBody.js.map +1 -0
- package/dist/models/EnableSceneGroupTemplateShrinkHeaders.d.ts +17 -0
- package/dist/models/EnableSceneGroupTemplateShrinkHeaders.js +63 -0
- package/dist/models/EnableSceneGroupTemplateShrinkHeaders.js.map +1 -0
- package/dist/models/EnableSceneGroupTemplateShrinkRequest.d.ts +30 -0
- package/dist/models/EnableSceneGroupTemplateShrinkRequest.js +62 -0
- package/dist/models/EnableSceneGroupTemplateShrinkRequest.js.map +1 -0
- package/dist/models/SignOutOrgAccountHeaders.d.ts +37 -0
- package/dist/models/SignOutOrgAccountHeaders.js +85 -0
- package/dist/models/SignOutOrgAccountHeaders.js.map +1 -0
- package/dist/models/SignOutOrgAccountRequest.d.ts +46 -0
- package/dist/models/SignOutOrgAccountRequest.js +87 -0
- package/dist/models/SignOutOrgAccountRequest.js.map +1 -0
- package/dist/models/SignOutOrgAccountResponse.d.ts +19 -0
- package/dist/models/SignOutOrgAccountResponse.js +69 -0
- package/dist/models/SignOutOrgAccountResponse.js.map +1 -0
- package/dist/models/SignOutOrgAccountResponseBody.d.ts +33 -0
- package/dist/models/SignOutOrgAccountResponseBody.js +64 -0
- package/dist/models/SignOutOrgAccountResponseBody.js.map +1 -0
- package/dist/models/SignOutOrgAccountShrinkHeaders.d.ts +17 -0
- package/dist/models/SignOutOrgAccountShrinkHeaders.js +63 -0
- package/dist/models/SignOutOrgAccountShrinkHeaders.js.map +1 -0
- package/dist/models/SignOutOrgAccountShrinkRequest.d.ts +27 -0
- package/dist/models/SignOutOrgAccountShrinkRequest.js +62 -0
- package/dist/models/SignOutOrgAccountShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +16 -0
- package/dist/models/model.js +82 -49
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +152 -0
- package/src/models/EnableSceneGroupTemplateHeaders.ts +66 -0
- package/src/models/EnableSceneGroupTemplateRequest.ts +77 -0
- package/src/models/EnableSceneGroupTemplateResponse.ts +40 -0
- package/src/models/EnableSceneGroupTemplateResponseBody.ts +52 -0
- package/src/models/EnableSceneGroupTemplateShrinkHeaders.ts +33 -0
- package/src/models/EnableSceneGroupTemplateShrinkRequest.ts +47 -0
- package/src/models/SignOutOrgAccountHeaders.ts +66 -0
- package/src/models/SignOutOrgAccountRequest.ts +77 -0
- package/src/models/SignOutOrgAccountResponse.ts +40 -0
- package/src/models/SignOutOrgAccountResponseBody.ts +52 -0
- package/src/models/SignOutOrgAccountShrinkHeaders.ts +33 -0
- package/src/models/SignOutOrgAccountShrinkRequest.ts +44 -0
- package/src/models/model.ts +16 -0
package/src/client.ts
CHANGED
|
@@ -7095,6 +7095,80 @@ export default class Client extends OpenApi {
|
|
|
7095
7095
|
return await this.docUpdateContentWithOptions(request, headers, runtime);
|
|
7096
7096
|
}
|
|
7097
7097
|
|
|
7098
|
+
/**
|
|
7099
|
+
* 场景群升级:向群主发送升级通知卡片
|
|
7100
|
+
*
|
|
7101
|
+
* @param tmpReq - EnableSceneGroupTemplateRequest
|
|
7102
|
+
* @param tmpHeader - EnableSceneGroupTemplateHeaders
|
|
7103
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7104
|
+
* @returns EnableSceneGroupTemplateResponse
|
|
7105
|
+
*/
|
|
7106
|
+
async enableSceneGroupTemplateWithOptions(tmpReq: $_model.EnableSceneGroupTemplateRequest, tmpHeader: $_model.EnableSceneGroupTemplateHeaders, runtime: $dara.RuntimeOptions): Promise<$_model.EnableSceneGroupTemplateResponse> {
|
|
7107
|
+
tmpReq.validate();
|
|
7108
|
+
let request = new $_model.EnableSceneGroupTemplateShrinkRequest({ });
|
|
7109
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
7110
|
+
let headers = new $_model.EnableSceneGroupTemplateShrinkHeaders({ });
|
|
7111
|
+
OpenApiUtil.convert(tmpHeader, headers);
|
|
7112
|
+
if (!$dara.isNull(tmpHeader.accountContext)) {
|
|
7113
|
+
headers.accountContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
7114
|
+
}
|
|
7115
|
+
|
|
7116
|
+
if (!$dara.isNull(tmpReq.tenantContext)) {
|
|
7117
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
7118
|
+
}
|
|
7119
|
+
|
|
7120
|
+
let body : {[key: string ]: any} = { };
|
|
7121
|
+
if (!$dara.isNull(request.openConversationId)) {
|
|
7122
|
+
body["OpenConversationId"] = request.openConversationId;
|
|
7123
|
+
}
|
|
7124
|
+
|
|
7125
|
+
if (!$dara.isNull(request.templateId)) {
|
|
7126
|
+
body["TemplateId"] = request.templateId;
|
|
7127
|
+
}
|
|
7128
|
+
|
|
7129
|
+
if (!$dara.isNull(request.tenantContextShrink)) {
|
|
7130
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
7131
|
+
}
|
|
7132
|
+
|
|
7133
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
7134
|
+
if (!$dara.isNull(headers.commonHeaders)) {
|
|
7135
|
+
realHeaders = headers.commonHeaders;
|
|
7136
|
+
}
|
|
7137
|
+
|
|
7138
|
+
if (!$dara.isNull(headers.accountContextShrink)) {
|
|
7139
|
+
realHeaders["AccountContext"] = typeof headers.accountContextShrink === "string" ? headers.accountContextShrink : JSON.stringify(headers.accountContextShrink);
|
|
7140
|
+
}
|
|
7141
|
+
|
|
7142
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7143
|
+
headers: realHeaders,
|
|
7144
|
+
body: OpenApiUtil.parseToMap(body),
|
|
7145
|
+
});
|
|
7146
|
+
let params = new $OpenApiUtil.Params({
|
|
7147
|
+
action: "EnableSceneGroupTemplate",
|
|
7148
|
+
version: "2023-04-26",
|
|
7149
|
+
protocol: "HTTPS",
|
|
7150
|
+
pathname: `/dingtalk/v1/im/enableSceneGroupTemplate`,
|
|
7151
|
+
method: "POST",
|
|
7152
|
+
authType: "AK",
|
|
7153
|
+
style: "ROA",
|
|
7154
|
+
reqBodyType: "formData",
|
|
7155
|
+
bodyType: "json",
|
|
7156
|
+
});
|
|
7157
|
+
return $dara.cast<$_model.EnableSceneGroupTemplateResponse>(await this.callApi(params, req, runtime), new $_model.EnableSceneGroupTemplateResponse({}));
|
|
7158
|
+
}
|
|
7159
|
+
|
|
7160
|
+
/**
|
|
7161
|
+
* 场景群升级:向群主发送升级通知卡片
|
|
7162
|
+
*
|
|
7163
|
+
* @param request - EnableSceneGroupTemplateRequest
|
|
7164
|
+
* @returns EnableSceneGroupTemplateResponse
|
|
7165
|
+
*/
|
|
7166
|
+
async enableSceneGroupTemplate(request: $_model.EnableSceneGroupTemplateRequest): Promise<$_model.EnableSceneGroupTemplateResponse> {
|
|
7167
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
7168
|
+
let headers = new $_model.EnableSceneGroupTemplateHeaders({ });
|
|
7169
|
+
return await this.enableSceneGroupTemplateWithOptions(request, headers, runtime);
|
|
7170
|
+
}
|
|
7171
|
+
|
|
7098
7172
|
/**
|
|
7099
7173
|
* 批量执行宜搭审批任务
|
|
7100
7174
|
*
|
|
@@ -20350,6 +20424,84 @@ export default class Client extends OpenApi {
|
|
|
20350
20424
|
return await this.setRowsVisibilityWithOptions(request, headers, runtime);
|
|
20351
20425
|
}
|
|
20352
20426
|
|
|
20427
|
+
/**
|
|
20428
|
+
* 强制登出企业账号
|
|
20429
|
+
*
|
|
20430
|
+
* @param tmpReq - SignOutOrgAccountRequest
|
|
20431
|
+
* @param tmpHeader - SignOutOrgAccountHeaders
|
|
20432
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
20433
|
+
* @returns SignOutOrgAccountResponse
|
|
20434
|
+
*/
|
|
20435
|
+
async signOutOrgAccountWithOptions(tmpReq: $_model.SignOutOrgAccountRequest, tmpHeader: $_model.SignOutOrgAccountHeaders, runtime: $dara.RuntimeOptions): Promise<$_model.SignOutOrgAccountResponse> {
|
|
20436
|
+
tmpReq.validate();
|
|
20437
|
+
let request = new $_model.SignOutOrgAccountShrinkRequest({ });
|
|
20438
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
20439
|
+
let headers = new $_model.SignOutOrgAccountShrinkHeaders({ });
|
|
20440
|
+
OpenApiUtil.convert(tmpHeader, headers);
|
|
20441
|
+
if (!$dara.isNull(tmpHeader.accountContext)) {
|
|
20442
|
+
headers.accountContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
20443
|
+
}
|
|
20444
|
+
|
|
20445
|
+
if (!$dara.isNull(tmpReq.reasonI18nForEmployee)) {
|
|
20446
|
+
request.reasonI18nForEmployeeShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.reasonI18nForEmployee, "ReasonI18nForEmployee", "json");
|
|
20447
|
+
}
|
|
20448
|
+
|
|
20449
|
+
if (!$dara.isNull(tmpReq.tenantContext)) {
|
|
20450
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
20451
|
+
}
|
|
20452
|
+
|
|
20453
|
+
let body : {[key: string ]: any} = { };
|
|
20454
|
+
if (!$dara.isNull(request.reason)) {
|
|
20455
|
+
body["Reason"] = request.reason;
|
|
20456
|
+
}
|
|
20457
|
+
|
|
20458
|
+
if (!$dara.isNull(request.reasonI18nForEmployeeShrink)) {
|
|
20459
|
+
body["ReasonI18nForEmployee"] = request.reasonI18nForEmployeeShrink;
|
|
20460
|
+
}
|
|
20461
|
+
|
|
20462
|
+
if (!$dara.isNull(request.tenantContextShrink)) {
|
|
20463
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
20464
|
+
}
|
|
20465
|
+
|
|
20466
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
20467
|
+
if (!$dara.isNull(headers.commonHeaders)) {
|
|
20468
|
+
realHeaders = headers.commonHeaders;
|
|
20469
|
+
}
|
|
20470
|
+
|
|
20471
|
+
if (!$dara.isNull(headers.accountContextShrink)) {
|
|
20472
|
+
realHeaders["AccountContext"] = typeof headers.accountContextShrink === "string" ? headers.accountContextShrink : JSON.stringify(headers.accountContextShrink);
|
|
20473
|
+
}
|
|
20474
|
+
|
|
20475
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
20476
|
+
headers: realHeaders,
|
|
20477
|
+
body: OpenApiUtil.parseToMap(body),
|
|
20478
|
+
});
|
|
20479
|
+
let params = new $OpenApiUtil.Params({
|
|
20480
|
+
action: "SignOutOrgAccount",
|
|
20481
|
+
version: "2023-04-26",
|
|
20482
|
+
protocol: "HTTPS",
|
|
20483
|
+
pathname: `/dingtalk/v1/contact/signOutOrgAccount`,
|
|
20484
|
+
method: "POST",
|
|
20485
|
+
authType: "AK",
|
|
20486
|
+
style: "ROA",
|
|
20487
|
+
reqBodyType: "formData",
|
|
20488
|
+
bodyType: "json",
|
|
20489
|
+
});
|
|
20490
|
+
return $dara.cast<$_model.SignOutOrgAccountResponse>(await this.callApi(params, req, runtime), new $_model.SignOutOrgAccountResponse({}));
|
|
20491
|
+
}
|
|
20492
|
+
|
|
20493
|
+
/**
|
|
20494
|
+
* 强制登出企业账号
|
|
20495
|
+
*
|
|
20496
|
+
* @param request - SignOutOrgAccountRequest
|
|
20497
|
+
* @returns SignOutOrgAccountResponse
|
|
20498
|
+
*/
|
|
20499
|
+
async signOutOrgAccount(request: $_model.SignOutOrgAccountRequest): Promise<$_model.SignOutOrgAccountResponse> {
|
|
20500
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
20501
|
+
let headers = new $_model.SignOutOrgAccountHeaders({ });
|
|
20502
|
+
return await this.signOutOrgAccountWithOptions(request, headers, runtime);
|
|
20503
|
+
}
|
|
20504
|
+
|
|
20353
20505
|
/**
|
|
20354
20506
|
* 获取用户发送日志的概要信息
|
|
20355
20507
|
*
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class EnableSceneGroupTemplateHeadersAccountContext extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 012345
|
|
12
|
+
*/
|
|
13
|
+
accountId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
accountId: 'accountId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
accountId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export class EnableSceneGroupTemplateHeaders extends $dara.Model {
|
|
36
|
+
commonHeaders?: { [key: string]: string };
|
|
37
|
+
accountContext?: EnableSceneGroupTemplateHeadersAccountContext;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
commonHeaders: 'commonHeaders',
|
|
41
|
+
accountContext: 'AccountContext',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
static types(): { [key: string]: any } {
|
|
46
|
+
return {
|
|
47
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
48
|
+
accountContext: EnableSceneGroupTemplateHeadersAccountContext,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
validate() {
|
|
53
|
+
if(this.commonHeaders) {
|
|
54
|
+
$dara.Model.validateMap(this.commonHeaders);
|
|
55
|
+
}
|
|
56
|
+
if(this.accountContext && typeof (this.accountContext as any).validate === 'function') {
|
|
57
|
+
(this.accountContext as any).validate();
|
|
58
|
+
}
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class EnableSceneGroupTemplateRequestTenantContext extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* xxxxxx
|
|
9
|
+
*/
|
|
10
|
+
tenantId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
tenantId: 'tenantId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
tenantId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class EnableSceneGroupTemplateRequest extends $dara.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* This parameter is required.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* cidt*****Xa4K10w==
|
|
39
|
+
*/
|
|
40
|
+
openConversationId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* This parameter is required.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* 2efdt*****fswe==
|
|
47
|
+
*/
|
|
48
|
+
templateId?: string;
|
|
49
|
+
tenantContext?: EnableSceneGroupTemplateRequestTenantContext;
|
|
50
|
+
static names(): { [key: string]: string } {
|
|
51
|
+
return {
|
|
52
|
+
openConversationId: 'OpenConversationId',
|
|
53
|
+
templateId: 'TemplateId',
|
|
54
|
+
tenantContext: 'TenantContext',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
static types(): { [key: string]: any } {
|
|
59
|
+
return {
|
|
60
|
+
openConversationId: 'string',
|
|
61
|
+
templateId: 'string',
|
|
62
|
+
tenantContext: EnableSceneGroupTemplateRequestTenantContext,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
if(this.tenantContext && typeof (this.tenantContext as any).validate === 'function') {
|
|
68
|
+
(this.tenantContext as any).validate();
|
|
69
|
+
}
|
|
70
|
+
super.validate();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
constructor(map?: { [key: string]: any }) {
|
|
74
|
+
super(map);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { EnableSceneGroupTemplateResponseBody } from "./EnableSceneGroupTemplateResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class EnableSceneGroupTemplateResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: EnableSceneGroupTemplateResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: EnableSceneGroupTemplateResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class EnableSceneGroupTemplateResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* true
|
|
14
|
+
*/
|
|
15
|
+
success?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
19
|
+
*/
|
|
20
|
+
vendorRequestId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* dingtalk
|
|
24
|
+
*/
|
|
25
|
+
vendorType?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
requestId: 'requestId',
|
|
29
|
+
success: 'success',
|
|
30
|
+
vendorRequestId: 'vendorRequestId',
|
|
31
|
+
vendorType: 'vendorType',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
requestId: 'string',
|
|
38
|
+
success: 'boolean',
|
|
39
|
+
vendorRequestId: 'string',
|
|
40
|
+
vendorType: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class EnableSceneGroupTemplateShrinkHeaders extends $dara.Model {
|
|
6
|
+
commonHeaders?: { [key: string]: string };
|
|
7
|
+
accountContextShrink?: string;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
commonHeaders: 'commonHeaders',
|
|
11
|
+
accountContextShrink: 'AccountContext',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
18
|
+
accountContextShrink: 'string',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
if(this.commonHeaders) {
|
|
24
|
+
$dara.Model.validateMap(this.commonHeaders);
|
|
25
|
+
}
|
|
26
|
+
super.validate();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
constructor(map?: { [key: string]: any }) {
|
|
30
|
+
super(map);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class EnableSceneGroupTemplateShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* cidt*****Xa4K10w==
|
|
12
|
+
*/
|
|
13
|
+
openConversationId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 2efdt*****fswe==
|
|
20
|
+
*/
|
|
21
|
+
templateId?: string;
|
|
22
|
+
tenantContextShrink?: string;
|
|
23
|
+
static names(): { [key: string]: string } {
|
|
24
|
+
return {
|
|
25
|
+
openConversationId: 'OpenConversationId',
|
|
26
|
+
templateId: 'TemplateId',
|
|
27
|
+
tenantContextShrink: 'TenantContext',
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
static types(): { [key: string]: any } {
|
|
32
|
+
return {
|
|
33
|
+
openConversationId: 'string',
|
|
34
|
+
templateId: 'string',
|
|
35
|
+
tenantContextShrink: 'string',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
validate() {
|
|
40
|
+
super.validate();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
constructor(map?: { [key: string]: any }) {
|
|
44
|
+
super(map);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SignOutOrgAccountHeadersAccountContext extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 012345
|
|
12
|
+
*/
|
|
13
|
+
accountId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
accountId: 'accountId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
accountId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export class SignOutOrgAccountHeaders extends $dara.Model {
|
|
36
|
+
commonHeaders?: { [key: string]: string };
|
|
37
|
+
accountContext?: SignOutOrgAccountHeadersAccountContext;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
commonHeaders: 'commonHeaders',
|
|
41
|
+
accountContext: 'AccountContext',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
static types(): { [key: string]: any } {
|
|
46
|
+
return {
|
|
47
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
48
|
+
accountContext: SignOutOrgAccountHeadersAccountContext,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
validate() {
|
|
53
|
+
if(this.commonHeaders) {
|
|
54
|
+
$dara.Model.validateMap(this.commonHeaders);
|
|
55
|
+
}
|
|
56
|
+
if(this.accountContext && typeof (this.accountContext as any).validate === 'function') {
|
|
57
|
+
(this.accountContext as any).validate();
|
|
58
|
+
}
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SignOutOrgAccountRequestTenantContext extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* xxxxxx
|
|
9
|
+
*/
|
|
10
|
+
tenantId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
tenantId: 'tenantId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
tenantId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class SignOutOrgAccountRequest extends $dara.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* This parameter is required.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* 企业安全合规要求,执行账号强制登出
|
|
39
|
+
*/
|
|
40
|
+
reason?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* {"zh_CN":"管理员已执行登出","en_US":"Signed out by admin"}
|
|
44
|
+
*/
|
|
45
|
+
reasonI18nForEmployee?: { [key: string]: string };
|
|
46
|
+
tenantContext?: SignOutOrgAccountRequestTenantContext;
|
|
47
|
+
static names(): { [key: string]: string } {
|
|
48
|
+
return {
|
|
49
|
+
reason: 'Reason',
|
|
50
|
+
reasonI18nForEmployee: 'ReasonI18nForEmployee',
|
|
51
|
+
tenantContext: 'TenantContext',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
static types(): { [key: string]: any } {
|
|
56
|
+
return {
|
|
57
|
+
reason: 'string',
|
|
58
|
+
reasonI18nForEmployee: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
59
|
+
tenantContext: SignOutOrgAccountRequestTenantContext,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
validate() {
|
|
64
|
+
if(this.reasonI18nForEmployee) {
|
|
65
|
+
$dara.Model.validateMap(this.reasonI18nForEmployee);
|
|
66
|
+
}
|
|
67
|
+
if(this.tenantContext && typeof (this.tenantContext as any).validate === 'function') {
|
|
68
|
+
(this.tenantContext as any).validate();
|
|
69
|
+
}
|
|
70
|
+
super.validate();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
constructor(map?: { [key: string]: any }) {
|
|
74
|
+
super(map);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { SignOutOrgAccountResponseBody } from "./SignOutOrgAccountResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class SignOutOrgAccountResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: SignOutOrgAccountResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: SignOutOrgAccountResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|