Skip to content

Commit

Permalink
feat: regenerate new dtos
Browse files Browse the repository at this point in the history
  • Loading branch information
廖长江 committed Oct 22, 2022
1 parent 479c8e5 commit 69fa341
Show file tree
Hide file tree
Showing 66 changed files with 1,843 additions and 1,400 deletions.
1,396 changes: 669 additions & 727 deletions authentication/authentication_client.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dto/ApplicationBrandingConfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ type ApplicationBrandingConfig struct{
ShowEnterpriseConnections bool `json:"showEnterpriseConnections"`
ShowSocialConnections bool `json:"showSocialConnections"`
ShowAgreement bool `json:"showAgreement"`
Agreements ApplicationAgreementDto `json:"agreements"`
Agreements []ApplicationAgreementDto `json:"agreements"`
}

8 changes: 8 additions & 0 deletions dto/ApplicationSimpleInfoPaginatedDataDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package dto


type ApplicationSimpleInfoPaginatedDataDto struct{
List []ApplicationSimpleInfoDto `json:"list"`
TotalCount int `json:"totalCount"`
}

11 changes: 11 additions & 0 deletions dto/ApplicationSimpleInfoPaginatedRespDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package dto


type ApplicationSimpleInfoPaginatedRespDto struct{
StatusCode int `json:"statusCode"`
Message string `json:"message"`
ApiCode int `json:"apiCode,omitempty"`
RequestId string `json:"requestId,omitempty"`
Data ApplicationSimpleInfoPaginatedDataDto `json:"data"`
}

10 changes: 10 additions & 0 deletions dto/AssociateTenantResourceDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package dto


type AssociateTenantResourceDto struct{
AppId string `json:"appId"`
Association bool `json:"association"`
Code string `json:"code"`
TenantId string `json:"tenantId,omitempty"`
}

8 changes: 8 additions & 0 deletions dto/AuthorizeApplicationAccessDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package dto


type AuthorizeApplicationAccessDto struct{
List []ApplicationPermissionRecordItem `json:"list"`
AppId string `json:"appId"`
}

9 changes: 9 additions & 0 deletions dto/ChangeExtIdpAssociationStateDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package dto


type ChangeExtIdpAssociationStateDto struct{
Association bool `json:"association"`
Id string `json:"id"`
TenantId string `json:"tenantId,omitempty"`
}

11 changes: 11 additions & 0 deletions dto/ChangeExtIdpConnStateDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package dto


type ChangeExtIdpConnStateDto struct{
AppId string `json:"appId"`
Enabled bool `json:"enabled"`
Id string `json:"id"`
TenantId string `json:"tenantId,omitempty"`
AppIds []string `json:"appIds,omitempty"`
}

10 changes: 10 additions & 0 deletions dto/CostCurrentPackageInfo.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package dto


type CostCurrentPackageInfo struct{
Code string `json:"code"`
EndTime string `json:"endTime"`
OverdueDays string `json:"overdueDays"`
GoodsPackage GoodsPackageDto `json:"goodsPackage"`
}

11 changes: 11 additions & 0 deletions dto/CostGetAllRightItemRespDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package dto


type CostGetAllRightItemRespDto struct{
StatusCode int `json:"statusCode"`
Message string `json:"message"`
ApiCode int `json:"apiCode,omitempty"`
RequestId string `json:"requestId,omitempty"`
Data RightItemRes `json:"data"`
}

11 changes: 11 additions & 0 deletions dto/CostGetCurrentPackageRespDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package dto


type CostGetCurrentPackageRespDto struct{
StatusCode int `json:"statusCode"`
Message string `json:"message"`
ApiCode int `json:"apiCode,omitempty"`
RequestId string `json:"requestId,omitempty"`
Data CostCurrentPackageInfo `json:"data"`
}

11 changes: 11 additions & 0 deletions dto/CostGetCurrentUsageRespDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package dto


type CostGetCurrentUsageRespDto struct{
StatusCode int `json:"statusCode"`
Message string `json:"message"`
ApiCode int `json:"apiCode,omitempty"`
RequestId string `json:"requestId,omitempty"`
Data CurrentUsageRespDto `json:"data"`
}

11 changes: 11 additions & 0 deletions dto/CostGetMauPeriodUsageHistoryRespDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package dto


type CostGetMauPeriodUsageHistoryRespDto struct{
StatusCode int `json:"statusCode"`
Message string `json:"message"`
ApiCode int `json:"apiCode,omitempty"`
RequestId string `json:"requestId,omitempty"`
Data MauPeriodUsageHistory `json:"data"`
}

11 changes: 11 additions & 0 deletions dto/CostGetOrderDetailRespDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package dto


type CostGetOrderDetailRespDto struct{
StatusCode int `json:"statusCode"`
Message string `json:"message"`
ApiCode int `json:"apiCode,omitempty"`
RequestId string `json:"requestId,omitempty"`
Data OrderItem `json:"data"`
}

18 changes: 18 additions & 0 deletions dto/CostGetOrderPayDetailRespDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package dto


type CostGetOrderPayDetailRespDto struct{
StatusCode int `json:"statusCode"`
Message string `json:"message"`
ApiCode int `json:"apiCode,omitempty"`
RequestId string `json:"requestId,omitempty"`
OrderNo string `json:"orderNo"`
ChannelOrderNo string `json:"channelOrderNo"`
PaidAmount string `json:"paidAmount"`
PaidTime string `json:"paidTime"`
PaidAccountNo string `json:"paidAccountNo"`
PayStatus string `json:"payStatus"`
CreateTime string `json:"createTime"`
PayType string `json:"payType"`
}

11 changes: 11 additions & 0 deletions dto/CostGetOrdersRespDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package dto


type CostGetOrdersRespDto struct{
StatusCode int `json:"statusCode"`
Message string `json:"message"`
ApiCode int `json:"apiCode,omitempty"`
RequestId string `json:"requestId,omitempty"`
Data GetOrdersRes `json:"data"`
}

2 changes: 1 addition & 1 deletion dto/CreateSyncTaskDto.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ type CreateSyncTaskDto struct{
FieldMapping []SyncTaskFieldMapping `json:"fieldMapping"`
SyncTaskTrigger string `json:"syncTaskTrigger"`
SyncTaskFlow string `json:"syncTaskFlow"`
ClientConfig SyncTaskClientConfig `json:"clientConfig"`
SyncTaskType string `json:"syncTaskType"`
SyncTaskName string `json:"syncTaskName"`
ClientConfig SyncTaskClientConfig `json:"clientConfig,omitempty"`
OrganizationCode string `json:"organizationCode,omitempty"`
ProvisioningScope SyncTaskProvisioningScope `json:"provisioningScope,omitempty"`
TimedScheduler SyncTaskTimedScheduler `json:"timedScheduler,omitempty"`
Expand Down
5 changes: 2 additions & 3 deletions dto/CreateUserInfoDto.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package dto
type CreateUserInfoDto struct{
Status string `json:"status,omitempty"`
Email string `json:"email,omitempty"`
PasswordEncryptType string `json:"passwordEncryptType,omitempty"`
Phone string `json:"phone,omitempty"`
PhoneCountryCode string `json:"phoneCountryCode,omitempty"`
Username string `json:"username,omitempty"`
Expand Down Expand Up @@ -35,12 +34,12 @@ type CreateUserInfoDto struct{
Locale string `json:"locale,omitempty"`
Formatted string `json:"formatted,omitempty"`
Region string `json:"region,omitempty"`
DepartmentIds []string `json:"departmentIds,omitempty"`
CustomData interface{} `json:"customData,omitempty"`
Password string `json:"password,omitempty"`
Salt string `json:"salt,omitempty"`
TenantIds []string `json:"tenantIds,omitempty"`
Otp CreateUserOtpDto `json:"otp,omitempty"`
DepartmentIds []string `json:"departmentIds,omitempty"`
CustomData interface{} `json:"customData,omitempty"`
Identities []CreateIdentityDto `json:"identities,omitempty"`
}

1 change: 1 addition & 0 deletions dto/CreateUserOptionsDto.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ type CreateUserOptionsDto struct{
ResetPasswordOnFirstLogin bool `json:"resetPasswordOnFirstLogin,omitempty"`
DepartmentIdType string `json:"departmentIdType,omitempty"`
SendNotification SendCreateAccountNotificationDto `json:"sendNotification,omitempty"`
PasswordEncryptType string `json:"passwordEncryptType,omitempty"`
}

5 changes: 2 additions & 3 deletions dto/CreateUserReqDto.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package dto
type CreateUserReqDto struct{
Status string `json:"status,omitempty"`
Email string `json:"email,omitempty"`
PasswordEncryptType string `json:"passwordEncryptType,omitempty"`
Phone string `json:"phone,omitempty"`
PhoneCountryCode string `json:"phoneCountryCode,omitempty"`
Username string `json:"username,omitempty"`
Expand Down Expand Up @@ -35,12 +34,12 @@ type CreateUserReqDto struct{
Locale string `json:"locale,omitempty"`
Formatted string `json:"formatted,omitempty"`
Region string `json:"region,omitempty"`
DepartmentIds []string `json:"departmentIds,omitempty"`
CustomData interface{} `json:"customData,omitempty"`
Password string `json:"password,omitempty"`
Salt string `json:"salt,omitempty"`
TenantIds []string `json:"tenantIds,omitempty"`
Otp CreateUserOtpDto `json:"otp,omitempty"`
DepartmentIds []string `json:"departmentIds,omitempty"`
CustomData interface{} `json:"customData,omitempty"`
Identities []CreateIdentityDto `json:"identities,omitempty"`
Options CreateUserOptionsDto `json:"options,omitempty"`
}
Expand Down
11 changes: 11 additions & 0 deletions dto/CurrentUsageDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package dto


type CurrentUsageDto struct{
Amount string `json:"amount"`
Current string `json:"current"`
Experience bool `json:"experience"`
ModelCode string `json:"modelCode"`
ModelName string `json:"modelName"`
}

7 changes: 7 additions & 0 deletions dto/CurrentUsageRespDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package dto


type CurrentUsageRespDto struct{
Usages []CurrentUsageDto `json:"usages"`
}

11 changes: 11 additions & 0 deletions dto/EmailProviderRespDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package dto


type EmailProviderRespDto struct{
StatusCode int `json:"statusCode"`
Message string `json:"message"`
ApiCode int `json:"apiCode,omitempty"`
RequestId string `json:"requestId,omitempty"`
Data EmailProviderDto `json:"data"`
}

6 changes: 6 additions & 0 deletions dto/FinishLoginParams.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package dto


type FinishLoginParams struct{
}

8 changes: 8 additions & 0 deletions dto/GetMauPeriodUsageHistoryDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package dto


type GetMauPeriodUsageHistoryDto struct{
StartTime string `json:"startTime,omitempty"`
EndTime string `json:"endTime,omitempty"`
}

7 changes: 7 additions & 0 deletions dto/GetOrderDetailDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package dto


type GetOrderDetailDto struct{
OrderNo string `json:"orderNo,omitempty"`
}

7 changes: 7 additions & 0 deletions dto/GetOrderPayDetailDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package dto


type GetOrderPayDetailDto struct{
OrderNo string `json:"orderNo,omitempty"`
}

8 changes: 8 additions & 0 deletions dto/GetOrdersDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package dto


type GetOrdersDto struct{
Page int `json:"page,omitempty"`
Limit int `json:"limit,omitempty"`
}

8 changes: 8 additions & 0 deletions dto/GetOrdersRes.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package dto


type GetOrdersRes struct{
TotalCount string `json:"totalCount"`
List []OrderItem `json:"list"`
}

8 changes: 8 additions & 0 deletions dto/GetResourceAuthorizedTargetDataDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package dto


type GetResourceAuthorizedTargetDataDto struct{
TotalCount int `json:"totalCount"`
List []ResourceAuthorizedTargetDto `json:"list"`
}

11 changes: 11 additions & 0 deletions dto/GetResourceAuthorizedTargetRespDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package dto


type GetResourceAuthorizedTargetRespDto struct{
StatusCode int `json:"statusCode"`
Message string `json:"message"`
ApiCode int `json:"apiCode,omitempty"`
RequestId string `json:"requestId,omitempty"`
Data GetResourceAuthorizedTargetDataDto `json:"data"`
}

11 changes: 11 additions & 0 deletions dto/GetResourceAuthorizedTargetsDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package dto


type GetResourceAuthorizedTargetsDto struct{
Resource string `json:"resource"`
Namespace string `json:"namespace,omitempty"`
TargetType string `json:"targetType,omitempty"`
Page int `json:"page,omitempty"`
Limit int `json:"limit,omitempty"`
}

13 changes: 13 additions & 0 deletions dto/GoodsPackageDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package dto


type GoodsPackageDto struct{
Name string `json:"name"`
NameEn string `json:"nameEn"`
UnitPrice string `json:"unitPrice"`
Code string `json:"code"`
Group string `json:"group"`
SceneCode string `json:"sceneCode"`
Amount string `json:"amount"`
}

2 changes: 1 addition & 1 deletion dto/LangUnit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package dto

type LangUnit struct{
Enabled bool `json:"enabled"`
Value bool `json:"value"`
Value string `json:"value"`
}

7 changes: 7 additions & 0 deletions dto/ListPipelineFunctionsDto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package dto


type ListPipelineFunctionsDto struct{
Scene string `json:"scene,omitempty"`
}

4 changes: 2 additions & 2 deletions dto/ListTenantExtIdpDto.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type ListTenantExtIdpDto struct{
TenantId string `json:"tenantId,omitempty"`
AppId string `json:"appId,omitempty"`
Type string `json:"type,omitempty"`
Page string `json:"page,omitempty"`
Limit string `json:"limit,omitempty"`
Page int `json:"page,omitempty"`
Limit int `json:"limit,omitempty"`
}

7 changes: 7 additions & 0 deletions dto/MauPeriodUsageHistory.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package dto


type MauPeriodUsageHistory struct{
Records []MauPeriodUsageHistoryDto `json:"records"`
}

Loading

0 comments on commit 69fa341

Please sign in to comment.