Skip to content

Commit 2060acf

Browse files
Merge pull request #30 from Authing/feat/generate-new-sdk-230930
feat: Generate new SDK
2 parents 1389df8 + 1a9933e commit 2060acf

File tree

482 files changed

+11241
-3953
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

482 files changed

+11241
-3953
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "authing-node-sdk",
3-
"version": "3.0.14",
3+
"version": "3.1.0",
44
"description": "Authing SDK for Node.js",
55
"main": "dist/index.js",
66
"source": "src/index.ts",

src/AuthenticationClient.ts

Lines changed: 1602 additions & 1427 deletions
Large diffs are not rendered by default.

src/ManagementClient.ts

Lines changed: 4108 additions & 2061 deletions
Large diffs are not rendered by default.

src/models/AddDepartmentMembersReqDto.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ export namespace AddDepartmentMembersReqDto {
3434
DEPARTMENT_ID = 'department_id',
3535
OPEN_DEPARTMENT_ID = 'open_department_id',
3636
SYNC_RELATION = 'sync_relation',
37+
CUSTOM_FIELD = 'custom_field',
38+
CODE = 'code',
3739
}
3840

3941

src/models/AddTenantDepartmentMembersReqDto.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ export namespace AddTenantDepartmentMembersReqDto {
3838
DEPARTMENT_ID = 'department_id',
3939
OPEN_DEPARTMENT_ID = 'open_department_id',
4040
SYNC_RELATION = 'sync_relation',
41+
CUSTOM_FIELD = 'custom_field',
42+
CODE = 'code',
4143
}
4244

4345

src/models/AddWhitelistDto.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/* istanbul ignore file */
2+
/* tslint:disable */
3+
/* eslint-disable */
4+
5+
export type AddWhitelistDto = {
6+
/**
7+
* 白名单类型
8+
*/
9+
type: AddWhitelistDto.type;
10+
/**
11+
* 类型参数
12+
*/
13+
list?: Array<string>;
14+
};
15+
16+
export namespace AddWhitelistDto {
17+
18+
/**
19+
* 白名单类型
20+
*/
21+
export enum type {
22+
USERNAME = 'USERNAME',
23+
EMAIL = 'EMAIL',
24+
PHONE = 'PHONE',
25+
}
26+
27+
28+
}

src/models/AdminAuditLogRespDto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export type AdminAuditLogRespDto = {
1414
*/
1515
message: string;
1616
/**
17-
* 细分错误码,可通过此错误码得到具体的错误类型。
17+
* 细分错误码,可通过此错误码得到具体的错误类型。详情可以查看开发准备中的 apiCode 细分说明
1818
*/
1919
apiCode?: number;
2020
/**

src/models/AllOperateDto.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/* istanbul ignore file */
2+
/* tslint:disable */
3+
/* eslint-disable */
4+
5+
/**
6+
* 全部操作管理列表
7+
*/
8+
export type AllOperateDto = {
9+
/**
10+
* model Id
11+
*/
12+
modelId?: any;
13+
};

src/models/AppListRespDto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export type AppListRespDto = {
1414
*/
1515
message: string;
1616
/**
17-
* 细分错误码,可通过此错误码得到具体的错误类型。
17+
* 细分错误码,可通过此错误码得到具体的错误类型。详情可以查看开发准备中的 apiCode 细分说明
1818
*/
1919
apiCode?: number;
2020
/**

src/models/ApplicationEnabledExtIdpConnDto.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export namespace ApplicationEnabledExtIdpConnDto {
8484
DOUYIN = 'douyin',
8585
KUAISHOU = 'kuaishou',
8686
LINE = 'line',
87+
SDBZ = 'sdbz',
8788
}
8889

8990
/**
@@ -130,6 +131,7 @@ export namespace ApplicationEnabledExtIdpConnDto {
130131
BAIDU_MOBILE = 'baidu:mobile',
131132
LARK_INTERNAL = 'lark-internal',
132133
LARK_PUBLIC = 'lark-public',
134+
LARK_BLOCK = 'lark-block',
133135
GITLAB = 'gitlab',
134136
GITLAB_MOBILE = 'gitlab:mobile',
135137
LINKEDIN = 'linkedin',
@@ -155,6 +157,8 @@ export namespace ApplicationEnabledExtIdpConnDto {
155157
KUAISHOU_MOBILE = 'kuaishou:mobile',
156158
LINE_MOBILE = 'line:mobile',
157159
OPPO_MOBILE = 'oppo:mobile',
160+
WECHATWORK_QRCONNECT_OF_AUTHING_AGENCY = 'wechatwork:qrconnect:of:authing:agency',
161+
SDBZ = 'sdbz',
158162
}
159163

160164

0 commit comments

Comments
 (0)