Skip to content

Commit 306915a

Browse files
Merge pull request #17 from Authing/feat/new-api
feat: 重新生成新的 API
2 parents 34bdbda + 1bbde40 commit 306915a

File tree

566 files changed

+13773
-4581
lines changed

Some content is hidden

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

566 files changed

+13773
-4581
lines changed

authentication/authentication_client.go

Lines changed: 1134 additions & 528 deletions
Large diffs are not rendered by default.

dto/AddDepartmentMembersReqDto.go

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
package dto
22

3-
type AddDepartmentMembersReqDto struct {
4-
UserIds []string `json:"userIds"`
5-
OrganizationCode string `json:"organizationCode"`
6-
DepartmentId string `json:"departmentId"`
7-
DepartmentIdType string `json:"departmentIdType,omitempty"`
8-
TenantId string `json:"tenantId,omitempty"`
3+
4+
type AddDepartmentMembersReqDto struct{
5+
UserIds []string `json:"userIds"`
6+
OrganizationCode string `json:"organizationCode"`
7+
DepartmentId string `json:"departmentId"`
8+
DepartmentIdType string `json:"departmentIdType,omitempty"`
9+
TenantId string `json:"tenantId,omitempty"`
910
}
11+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package dto
2+
3+
4+
type AddTenantDepartmentMembersReqDto struct{
5+
OrganizationCode string `json:"organizationCode"`
6+
DepartmentId string `json:"departmentId"`
7+
DepartmentIdType string `json:"departmentIdType,omitempty"`
8+
LinkUserIds []string `json:"linkUserIds,omitempty"`
9+
MemberIds []string `json:"memberIds,omitempty"`
10+
TenantId string `json:"tenantId,omitempty"`
11+
}
12+

dto/AddWhitelistDto.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package dto
2+
3+
4+
type AddWhitelistDto struct{
5+
Type string `json:"type"`
6+
List []string `json:"list,omitempty"`
7+
}
8+

dto/AllOperateDto.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package dto
2+
3+
4+
type AllOperateDto struct{
5+
ModelId string `json:"modelId,omitempty"`
6+
}
7+

dto/AppQRCodeLoginDto.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package dto
2+
3+
4+
type AppQRCodeLoginDto struct{
5+
Action string `json:"action"`
6+
QrcodeId string `json:"qrcodeId"`
7+
}
8+

dto/ApplicationMfaDto.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package dto
2+
3+
4+
type ApplicationMfaDto struct{
5+
MfaPolicy string `json:"mfaPolicy"`
6+
Status int `json:"status"`
7+
Sort int `json:"sort"`
8+
}
9+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package dto
2+
3+
4+
type ApplicationTabMethodsSortConfigDto struct{
5+
}
6+

dto/ArrResourceAuthAction.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package dto
22

3-
type ArrResourceAuthAction struct {
4-
Values []string `json:"values,omitempty"`
5-
Actions []string `json:"actions,omitempty"`
3+
4+
type ArrResourceAuthAction struct{
5+
Values []string `json:"values,omitempty"`
6+
Actions []string `json:"actions,omitempty"`
67
}
8+
Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
package dto
22

3-
type AsaAccountSingleNullableRespDto struct {
4-
StatusCode int `json:"statusCode"`
5-
Message string `json:"message"`
6-
ApiCode int `json:"apiCode,omitempty"`
7-
RequestId string `json:"requestId,omitempty"`
8-
Data AsaAccountDto `json:"data"`
3+
4+
type AsaAccountSingleNullableRespDto struct{
5+
StatusCode int `json:"statusCode"`
6+
Message string `json:"message"`
7+
ApiCode int `json:"apiCode,omitempty"`
8+
RequestId string `json:"requestId,omitempty"`
9+
Data AsaAccountDto `json:"data"`
910
}
11+

0 commit comments

Comments
 (0)