@alicloud/aliding20230426 2.44.1 → 2.45.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 +62 -0
- package/dist/client.js.map +1 -1
- package/dist/models/GetUserIdByOpenDingtalkIdHeaders.d.ts +37 -0
- package/dist/models/GetUserIdByOpenDingtalkIdHeaders.js +85 -0
- package/dist/models/GetUserIdByOpenDingtalkIdHeaders.js.map +1 -0
- package/dist/models/GetUserIdByOpenDingtalkIdRequest.d.ts +39 -0
- package/dist/models/GetUserIdByOpenDingtalkIdRequest.js +82 -0
- package/dist/models/GetUserIdByOpenDingtalkIdRequest.js.map +1 -0
- package/dist/models/GetUserIdByOpenDingtalkIdResponse.d.ts +19 -0
- package/dist/models/GetUserIdByOpenDingtalkIdResponse.js +69 -0
- package/dist/models/GetUserIdByOpenDingtalkIdResponse.js.map +1 -0
- package/dist/models/GetUserIdByOpenDingtalkIdResponseBody.d.ts +33 -0
- package/dist/models/GetUserIdByOpenDingtalkIdResponseBody.js +64 -0
- package/dist/models/GetUserIdByOpenDingtalkIdResponseBody.js.map +1 -0
- package/dist/models/GetUserIdByOpenDingtalkIdShrinkHeaders.d.ts +17 -0
- package/dist/models/GetUserIdByOpenDingtalkIdShrinkHeaders.js +63 -0
- package/dist/models/GetUserIdByOpenDingtalkIdShrinkHeaders.js.map +1 -0
- package/dist/models/GetUserIdByOpenDingtalkIdShrinkRequest.d.ts +22 -0
- package/dist/models/GetUserIdByOpenDingtalkIdShrinkRequest.js +60 -0
- package/dist/models/GetUserIdByOpenDingtalkIdShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +60 -44
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +70 -0
- package/src/models/GetUserIdByOpenDingtalkIdHeaders.ts +66 -0
- package/src/models/GetUserIdByOpenDingtalkIdRequest.ts +67 -0
- package/src/models/GetUserIdByOpenDingtalkIdResponse.ts +40 -0
- package/src/models/GetUserIdByOpenDingtalkIdResponseBody.ts +52 -0
- package/src/models/GetUserIdByOpenDingtalkIdShrinkHeaders.ts +33 -0
- package/src/models/GetUserIdByOpenDingtalkIdShrinkRequest.ts +37 -0
- package/src/models/model.ts +8 -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 GetUserIdByOpenDingtalkIdHeadersAccountContext 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 GetUserIdByOpenDingtalkIdHeaders extends $dara.Model {
|
|
36
|
+
commonHeaders?: { [key: string]: string };
|
|
37
|
+
accountContext?: GetUserIdByOpenDingtalkIdHeadersAccountContext;
|
|
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: GetUserIdByOpenDingtalkIdHeadersAccountContext,
|
|
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,67 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetUserIdByOpenDingtalkIdRequestTenantContext 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 GetUserIdByOpenDingtalkIdRequest extends $dara.Model {
|
|
33
|
+
tenantContext?: GetUserIdByOpenDingtalkIdRequestTenantContext;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* This parameter is required.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* DTOJdYJ2IQC4HuexhtjsSXXXX
|
|
40
|
+
*/
|
|
41
|
+
openDingtalkId?: string;
|
|
42
|
+
static names(): { [key: string]: string } {
|
|
43
|
+
return {
|
|
44
|
+
tenantContext: 'TenantContext',
|
|
45
|
+
openDingtalkId: 'openDingtalkId',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
static types(): { [key: string]: any } {
|
|
50
|
+
return {
|
|
51
|
+
tenantContext: GetUserIdByOpenDingtalkIdRequestTenantContext,
|
|
52
|
+
openDingtalkId: '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
|
+
super.validate();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
constructor(map?: { [key: string]: any }) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetUserIdByOpenDingtalkIdResponseBody } from "./GetUserIdByOpenDingtalkIdResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetUserIdByOpenDingtalkIdResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetUserIdByOpenDingtalkIdResponseBody;
|
|
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: GetUserIdByOpenDingtalkIdResponseBody,
|
|
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 GetUserIdByOpenDingtalkIdResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 012345
|
|
14
|
+
*/
|
|
15
|
+
userId?: string;
|
|
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
|
+
userId: 'userId',
|
|
30
|
+
vendorRequestId: 'vendorRequestId',
|
|
31
|
+
vendorType: 'vendorType',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
requestId: 'string',
|
|
38
|
+
userId: 'string',
|
|
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 GetUserIdByOpenDingtalkIdShrinkHeaders 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 GetUserIdByOpenDingtalkIdShrinkRequest extends $dara.Model {
|
|
6
|
+
tenantContextShrink?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* This parameter is required.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* DTOJdYJ2IQC4HuexhtjsSXXXX
|
|
13
|
+
*/
|
|
14
|
+
openDingtalkId?: string;
|
|
15
|
+
static names(): { [key: string]: string } {
|
|
16
|
+
return {
|
|
17
|
+
tenantContextShrink: 'TenantContext',
|
|
18
|
+
openDingtalkId: 'openDingtalkId',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
tenantContextShrink: 'string',
|
|
25
|
+
openDingtalkId: '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
|
@@ -586,6 +586,8 @@ export { GetUserResponseBodyUnionEmpExtUnionEmpMapList } from './GetUserResponse
|
|
|
586
586
|
export { GetUserResponseBodyUnionEmpExt } from './GetUserResponseBody';
|
|
587
587
|
export { GetUserIdHeadersAccountContext } from './GetUserIdHeaders';
|
|
588
588
|
export { GetUserIdRequestTenantContext } from './GetUserIdRequest';
|
|
589
|
+
export { GetUserIdByOpenDingtalkIdHeadersAccountContext } from './GetUserIdByOpenDingtalkIdHeaders';
|
|
590
|
+
export { GetUserIdByOpenDingtalkIdRequestTenantContext } from './GetUserIdByOpenDingtalkIdRequest';
|
|
589
591
|
export { GetUserIdByOrgIdAndStaffIdHeadersAccountContext } from './GetUserIdByOrgIdAndStaffIdHeaders';
|
|
590
592
|
export { GetUserIdByOrgIdAndStaffIdRequestTenantContext } from './GetUserIdByOrgIdAndStaffIdRequest';
|
|
591
593
|
export { GetUserLatestPlanHeadersAccountContext } from './GetUserLatestPlanHeaders';
|
|
@@ -1978,6 +1980,12 @@ export { GetUserIdRequest } from './GetUserIdRequest';
|
|
|
1978
1980
|
export { GetUserIdShrinkRequest } from './GetUserIdShrinkRequest';
|
|
1979
1981
|
export { GetUserIdResponseBody } from './GetUserIdResponseBody';
|
|
1980
1982
|
export { GetUserIdResponse } from './GetUserIdResponse';
|
|
1983
|
+
export { GetUserIdByOpenDingtalkIdHeaders } from './GetUserIdByOpenDingtalkIdHeaders';
|
|
1984
|
+
export { GetUserIdByOpenDingtalkIdShrinkHeaders } from './GetUserIdByOpenDingtalkIdShrinkHeaders';
|
|
1985
|
+
export { GetUserIdByOpenDingtalkIdRequest } from './GetUserIdByOpenDingtalkIdRequest';
|
|
1986
|
+
export { GetUserIdByOpenDingtalkIdShrinkRequest } from './GetUserIdByOpenDingtalkIdShrinkRequest';
|
|
1987
|
+
export { GetUserIdByOpenDingtalkIdResponseBody } from './GetUserIdByOpenDingtalkIdResponseBody';
|
|
1988
|
+
export { GetUserIdByOpenDingtalkIdResponse } from './GetUserIdByOpenDingtalkIdResponse';
|
|
1981
1989
|
export { GetUserIdByOrgIdAndStaffIdHeaders } from './GetUserIdByOrgIdAndStaffIdHeaders';
|
|
1982
1990
|
export { GetUserIdByOrgIdAndStaffIdShrinkHeaders } from './GetUserIdByOrgIdAndStaffIdShrinkHeaders';
|
|
1983
1991
|
export { GetUserIdByOrgIdAndStaffIdRequest } from './GetUserIdByOrgIdAndStaffIdRequest';
|