@alicloud/aliding20230426 2.45.1 → 2.46.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 +16 -0
- package/dist/client.js +65 -0
- package/dist/client.js.map +1 -1
- package/dist/models/BatchGetUserIdByOpenDingtalkIdHeaders.d.ts +37 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdHeaders.js +85 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdHeaders.js.map +1 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdRequest.d.ts +39 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdRequest.js +85 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdRequest.js.map +1 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdResponse.d.ts +19 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdResponse.js +69 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdResponse.js.map +1 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdResponseBody.d.ts +60 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdResponseBody.js +90 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdResponseBody.js.map +1 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdShrinkHeaders.d.ts +17 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdShrinkHeaders.js +63 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdShrinkHeaders.js.map +1 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdShrinkRequest.d.ts +22 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdShrinkRequest.js +60 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +72 -54
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +74 -0
- package/src/models/BatchGetUserIdByOpenDingtalkIdHeaders.ts +66 -0
- package/src/models/BatchGetUserIdByOpenDingtalkIdRequest.ts +70 -0
- package/src/models/BatchGetUserIdByOpenDingtalkIdResponse.ts +40 -0
- package/src/models/BatchGetUserIdByOpenDingtalkIdResponseBody.ts +96 -0
- package/src/models/BatchGetUserIdByOpenDingtalkIdShrinkHeaders.ts +33 -0
- package/src/models/BatchGetUserIdByOpenDingtalkIdShrinkRequest.ts +37 -0
- package/src/models/model.ts +9 -0
|
@@ -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 BatchGetUserIdByOpenDingtalkIdHeadersAccountContext 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 BatchGetUserIdByOpenDingtalkIdHeaders extends $dara.Model {
|
|
36
|
+
commonHeaders?: { [key: string]: string };
|
|
37
|
+
accountContext?: BatchGetUserIdByOpenDingtalkIdHeadersAccountContext;
|
|
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: BatchGetUserIdByOpenDingtalkIdHeadersAccountContext,
|
|
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,70 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BatchGetUserIdByOpenDingtalkIdRequestTenantContext 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 BatchGetUserIdByOpenDingtalkIdRequest extends $dara.Model {
|
|
33
|
+
tenantContext?: BatchGetUserIdByOpenDingtalkIdRequestTenantContext;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* This parameter is required.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ["DTOJdYJ2IQC4HuexhtjsS8Qxxxx","D8301AKf6lmZbXiilcB4P2MVxxxx"]
|
|
40
|
+
*/
|
|
41
|
+
openDingtalkIds?: string[];
|
|
42
|
+
static names(): { [key: string]: string } {
|
|
43
|
+
return {
|
|
44
|
+
tenantContext: 'TenantContext',
|
|
45
|
+
openDingtalkIds: 'openDingtalkIds',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
static types(): { [key: string]: any } {
|
|
50
|
+
return {
|
|
51
|
+
tenantContext: BatchGetUserIdByOpenDingtalkIdRequestTenantContext,
|
|
52
|
+
openDingtalkIds: { 'type': 'array', 'itemType': 'string' },
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
if(this.tenantContext && typeof (this.tenantContext as any).validate === 'function') {
|
|
58
|
+
(this.tenantContext as any).validate();
|
|
59
|
+
}
|
|
60
|
+
if(Array.isArray(this.openDingtalkIds)) {
|
|
61
|
+
$dara.Model.validateArray(this.openDingtalkIds);
|
|
62
|
+
}
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
constructor(map?: { [key: string]: any }) {
|
|
67
|
+
super(map);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { BatchGetUserIdByOpenDingtalkIdResponseBody } from "./BatchGetUserIdByOpenDingtalkIdResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class BatchGetUserIdByOpenDingtalkIdResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: BatchGetUserIdByOpenDingtalkIdResponseBody;
|
|
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: BatchGetUserIdByOpenDingtalkIdResponseBody,
|
|
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,96 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BatchGetUserIdByOpenDingtalkIdResponseBodyResults extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* User.not.found
|
|
9
|
+
*/
|
|
10
|
+
errorMessage?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* DTOJdYJ2IQC4HuexhtjsS8Qxxxx
|
|
14
|
+
*/
|
|
15
|
+
openDingtalkId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 012345
|
|
19
|
+
*/
|
|
20
|
+
userId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
errorMessage: 'ErrorMessage',
|
|
24
|
+
openDingtalkId: 'OpenDingtalkId',
|
|
25
|
+
userId: 'UserId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
errorMessage: 'string',
|
|
32
|
+
openDingtalkId: 'string',
|
|
33
|
+
userId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class BatchGetUserIdByOpenDingtalkIdResponseBody extends $dara.Model {
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
50
|
+
*/
|
|
51
|
+
requestId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* []
|
|
55
|
+
*/
|
|
56
|
+
results?: BatchGetUserIdByOpenDingtalkIdResponseBodyResults[];
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
60
|
+
*/
|
|
61
|
+
vendorRequestId?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* dingtalk
|
|
65
|
+
*/
|
|
66
|
+
vendorType?: string;
|
|
67
|
+
static names(): { [key: string]: string } {
|
|
68
|
+
return {
|
|
69
|
+
requestId: 'requestId',
|
|
70
|
+
results: 'results',
|
|
71
|
+
vendorRequestId: 'vendorRequestId',
|
|
72
|
+
vendorType: 'vendorType',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
static types(): { [key: string]: any } {
|
|
77
|
+
return {
|
|
78
|
+
requestId: 'string',
|
|
79
|
+
results: { 'type': 'array', 'itemType': BatchGetUserIdByOpenDingtalkIdResponseBodyResults },
|
|
80
|
+
vendorRequestId: 'string',
|
|
81
|
+
vendorType: 'string',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
validate() {
|
|
86
|
+
if(Array.isArray(this.results)) {
|
|
87
|
+
$dara.Model.validateArray(this.results);
|
|
88
|
+
}
|
|
89
|
+
super.validate();
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
constructor(map?: { [key: string]: any }) {
|
|
93
|
+
super(map);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -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 BatchGetUserIdByOpenDingtalkIdShrinkHeaders 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,37 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BatchGetUserIdByOpenDingtalkIdShrinkRequest extends $dara.Model {
|
|
6
|
+
tenantContextShrink?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* This parameter is required.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ["DTOJdYJ2IQC4HuexhtjsS8Qxxxx","D8301AKf6lmZbXiilcB4P2MVxxxx"]
|
|
13
|
+
*/
|
|
14
|
+
openDingtalkIdsShrink?: string;
|
|
15
|
+
static names(): { [key: string]: string } {
|
|
16
|
+
return {
|
|
17
|
+
tenantContextShrink: 'TenantContext',
|
|
18
|
+
openDingtalkIdsShrink: 'openDingtalkIds',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
tenantContextShrink: 'string',
|
|
25
|
+
openDingtalkIdsShrink: 'string',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
validate() {
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -48,6 +48,9 @@ export { BatchGetFormDataByIdListResponseBodyResultModifyUser } from './BatchGet
|
|
|
48
48
|
export { BatchGetFormDataByIdListResponseBodyResultOriginatorName } from './BatchGetFormDataByIdListResponseBody';
|
|
49
49
|
export { BatchGetFormDataByIdListResponseBodyResultOriginator } from './BatchGetFormDataByIdListResponseBody';
|
|
50
50
|
export { BatchGetFormDataByIdListResponseBodyResult } from './BatchGetFormDataByIdListResponseBody';
|
|
51
|
+
export { BatchGetUserIdByOpenDingtalkIdHeadersAccountContext } from './BatchGetUserIdByOpenDingtalkIdHeaders';
|
|
52
|
+
export { BatchGetUserIdByOpenDingtalkIdRequestTenantContext } from './BatchGetUserIdByOpenDingtalkIdRequest';
|
|
53
|
+
export { BatchGetUserIdByOpenDingtalkIdResponseBodyResults } from './BatchGetUserIdByOpenDingtalkIdResponseBody';
|
|
51
54
|
export { BatchQueryGroupMemberHeadersAccountContext } from './BatchQueryGroupMemberHeaders';
|
|
52
55
|
export { BatchQueryGroupMemberRequestTenantContext } from './BatchQueryGroupMemberRequest';
|
|
53
56
|
export { BatchRemovalByFormInstanceIdListHeadersAccountContext } from './BatchRemovalByFormInstanceIdListHeaders';
|
|
@@ -1175,6 +1178,12 @@ export { BatchGetFormDataByIdListRequest } from './BatchGetFormDataByIdListReque
|
|
|
1175
1178
|
export { BatchGetFormDataByIdListShrinkRequest } from './BatchGetFormDataByIdListShrinkRequest';
|
|
1176
1179
|
export { BatchGetFormDataByIdListResponseBody } from './BatchGetFormDataByIdListResponseBody';
|
|
1177
1180
|
export { BatchGetFormDataByIdListResponse } from './BatchGetFormDataByIdListResponse';
|
|
1181
|
+
export { BatchGetUserIdByOpenDingtalkIdHeaders } from './BatchGetUserIdByOpenDingtalkIdHeaders';
|
|
1182
|
+
export { BatchGetUserIdByOpenDingtalkIdShrinkHeaders } from './BatchGetUserIdByOpenDingtalkIdShrinkHeaders';
|
|
1183
|
+
export { BatchGetUserIdByOpenDingtalkIdRequest } from './BatchGetUserIdByOpenDingtalkIdRequest';
|
|
1184
|
+
export { BatchGetUserIdByOpenDingtalkIdShrinkRequest } from './BatchGetUserIdByOpenDingtalkIdShrinkRequest';
|
|
1185
|
+
export { BatchGetUserIdByOpenDingtalkIdResponseBody } from './BatchGetUserIdByOpenDingtalkIdResponseBody';
|
|
1186
|
+
export { BatchGetUserIdByOpenDingtalkIdResponse } from './BatchGetUserIdByOpenDingtalkIdResponse';
|
|
1178
1187
|
export { BatchQueryGroupMemberHeaders } from './BatchQueryGroupMemberHeaders';
|
|
1179
1188
|
export { BatchQueryGroupMemberShrinkHeaders } from './BatchQueryGroupMemberShrinkHeaders';
|
|
1180
1189
|
export { BatchQueryGroupMemberRequest } from './BatchQueryGroupMemberRequest';
|