Merged PR 412: IF不具合修正(アカウント設定API)

## 概要
[Task2663: IF不具合修正(アカウント設定API)](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/2663)

アカウント設定APIのIF不具合を修正しました。

## レビューポイント
なし

## UIの変更
なし

## 動作確認状況
クライアント側のapi.tsに期待通りの変更が反映されることを確認。

## 補足
なし
This commit is contained in:
oura.a 2023-09-14 06:45:58 +00:00
parent 40f526c81c
commit f2c442457c
2 changed files with 10 additions and 14 deletions

View File

@ -3107,6 +3107,7 @@
"worktypeId": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "WorktypeID"
},
"description": { "type": "string", "description": "Worktypeの説明" }
@ -3156,7 +3157,6 @@
"PostWorktypeOptionItem": {
"type": "object",
"properties": {
"id": { "type": "number" },
"itemLabel": { "type": "string", "maxLength": 16 },
"defaultValueType": {
"type": "string",
@ -3165,7 +3165,7 @@
},
"initialValue": { "type": "string", "maxLength": 20 }
},
"required": ["id", "itemLabel", "defaultValueType", "initialValue"]
"required": ["itemLabel", "defaultValueType", "initialValue"]
},
"UpdateOptionItemsRequest": {
"type": "object",
@ -3251,12 +3251,7 @@
"description": "セカンダリ管理者ID"
}
},
"required": [
"parentAccountId",
"delegationPermission",
"primaryAdminUserId",
"secondryAdminUserId"
]
"required": ["delegationPermission"]
},
"UpdateAccountInfoResponse": { "type": "object", "properties": {} },
"ConfirmRequest": {

View File

@ -523,16 +523,17 @@ export type PartnerInfoFromDb = {
};
export class UpdateAccountInfoRequest {
@ApiProperty({ description: '親アカウントのID' })
parentAccountId: number;
@ApiProperty({ description: '親アカウントのID', required: false })
@IsOptional()
parentAccountId?: number | undefined;
@ApiProperty({ description: '代行操作許可' })
delegationPermission: boolean;
@ApiProperty({ description: 'プライマリ管理者ID' })
@ApiProperty({ description: 'プライマリ管理者ID', required: false })
@IsOptional()
primaryAdminUserId?: number;
@ApiProperty({ description: 'セカンダリ管理者ID' })
primaryAdminUserId?: number | undefined;
@ApiProperty({ description: 'セカンダリ管理者ID', required: false })
@IsOptional()
secondryAdminUserId?: number;
secondryAdminUserId?: number | undefined;
}
export class UpdateAccountInfoResponse {}