components:
  schemas:
    error:
      properties:
        code:
          $ref: '#/components/schemas/error_code'
        more:
          allOf:
            - $ref: '#/components/schemas/error'
          type: object
        msg:
          type: string
      required:
        - code
        - msg
    error_code:
      enum:
        - 0
        - 400000001
        - 400000002
        - 400000003
        - 400000004
        - 400000005
        - 400000006
        - 400000007
        - 400000101
        - 400000102
        - 400000103
        - 400000104
        - 400000105
        - 400000106
        - 400000201
        - 401000001
        - 403000001
        - 403000002
        - 404000001
        - 415000001
        - 429000001
        - 499000001
        - 500000001
        - 500000002
        - 500000003
        - 500000004
        - 503000001
        - 999999999
        - 40000001
        - 40100002
        - 40300003
        - 40100004
        - 40000005
        - 50300007
        - 40100008
        - 40100009
        - 40100010
        - 40100011
        - 40300010
        - 50000006
        - 40000999
        - 400001004
        - 401001005
        - 400001006
        - 400001007
        - 400001008
        - 400001020
        - 400001021
        - 400001022
        - 400001023
        - 400001024
        - 400002002
        - 400002027
        - 400002030
        - 400002031
        - 400002032
        - 400002033
        - 400002034
        - 400002035
        - 400002036
        - 400002037
        - 400002038
        - 400002039
        - 400002043
        - 400002046
        - 400002055
        - 400002057
        - 400002058
        - 400002127
        - 400002128
        - 400002129
        - 400002130
        - 400002131
        - 400002133
        - 400002136
        - 400002137
        - 400002138
        - 400002139
        - 400002140
        - 400002141
        - 400002142
        - 400002143
        - 400002144
        - 400002145
        - 400002146
        - 400002147
        - 400002148
        - 400002149
        - 400002150
        - 400002151
        - 400002160
        - 400002161
        - 400002162
        - 400002163
        - 400002165
        - 401020001
        - 400020002
        - 400020003
        - 400020004
        - 400020005
        - 400020006
        - 400020007
        - 400020008
        - 400020009
        - 400020010
        - 400020011
        - 400020012
        - 400020013
        - 400020014
        - 400020015
        - 400020016
        - 401030001
        - 401030002
        - 401030003
        - 400002001
        - 400002003
        - 400002004
        - 400002005
        - 400002011
        - 400002015
        - 400002016
        - 400002017
        - 400002041
        - 400002048
        - 400002049
        - 400002059
        - 400002060
        - 400002100
        - 400002101
        - 400002102
        - 400002103
        - 400002104
        - 400002105
        - 400002106
        - 400002107
        - 400002108
        - 400002109
        - 400002110
        - 400002111
        - 400002112
        - 400002154
        - 400002155
        - 400002156
        - 400002157
        - 400002158
        - 400313001
        - 400002006
        - 400002007
        - 400002008
        - 400002009
        - 400002010
        - 400002013
        - 400002014
        - 400002040
        - 400002045
        - 400002113
        - 400002114
        - 400002115
        - 400002116
        - 400002117
        - 400002118
        - 400002119
        - 400002120
        - 400002121
        - 400002122
        - 400002123
        - 400002124
        - 400002152
        - 400002153
        - 400002159
        - 403013001
        - 403013002
        - 403013003
        - 403013004
        - 403013005
        - 403013006
        - 403013007
        - 403013008
        - 403013009
        - 403013010
        - 403013011
        - 403013012
        - 403013013
        - 403013014
        - 403013015
        - 403013016
        - 403013017
        - 403013018
        - 403013019
        - 403013020
        - 403013021
        - 403013022
        - 403013023
        - 403013024
        - 403013025
        - 403013026
        - 403013027
        - 403013028
        - 403013029
        - 403013030
        - 403013031
        - 403013032
        - 403013033
        - 403013034
        - 403013035
        - 403013036
        - 403013037
        - 403013038
        - 403013039
        - 403013040
        - 403013041
        - 403013042
        - 403013043
        - 403013044
        - 403013045
        - 403013046
        - 403013047
        - 403013048
        - 403013049
        - 403013050
        - 403013051
        - 403013052
        - 403013053
        - 403013054
        - 403013055
        - 403013056
        - 403013057
        - 403013058
        - 403013059
        - 403013060
        - 403013061
        - 403013062
        - 403013063
        - 403013064
        - 403013065
        - 403013066
        - 403013067
        - 400010001
        - 500010002
        - 400010002
        - 400010003
        - 500010001
        - 401001003
        - 400001014
        - 400001017
        - 400001025
        - 400308001
        - 400308002
        - 400308003
        - 400002051
        - 400002052
        - 400002053
        - 400002054
        - 400002047
        - 400002050
        - 400001026
        - 500002003
        - 400008001
        - 400008002
        - 400008003
        - 400008004
        - 400008005
        - 400008006
        - 400008007
        - 400008008
        - 400008009
        - 400008010
        - 400008011
        - 400008012
        - 400008013
        - 400008014
        - 400008015
        - 400008016
        - 400008018
        - 400008019
        - 400008020
        - 400008021
        - 400008022
        - 400008023
        - 400008024
        - 400008025
        - 400008026
        - 403008002
        - 403008003
        - 403008004
        - 403008005
        - 403008006
        - 403008007
        - 403008008
        - 403008009
        - 403008010
        - 403008011
        - 403008012
        - 403008013
        - 403008014
        - 403008015
        - 403008016
        - 403008017
        - 403008018
        - 403008019
        - 403008020
        - 403008021
        - 403008022
        - 403008023
        - 403008024
        - 403008025
        - 403008026
        - 403008027
        - 403008028
        - 403008029
        - 403008030
        - 403008031
        - 403008032
        - 403008033
        - 403008034
        - 403008035
        - 403008036
        - 403008037
        - 403008038
        - 403008039
        - 403008040
        - 403008041
        - 403008042
        - 403008043
        - 403008044
        - 403008045
        - 403008046
        - 403008047
        - 403008048
        - 403008049
        - 403008050
        - 403008051
        - 403008052
        - 403008053
        - 403008054
        - 403008055
        - 403008056
        - 403008057
        - 403008058
        - 403008059
        - 403008060
        - 403008061
        - 403008062
        - 403008063
        - 403008064
        - 403008065
        - 403008066
        - 403008067
        - 403008068
        - 403008069
        - 403008070
        - 403008071
        - 403008072
        - 403008073
        - 403008074
        - 403008075
        - 403008076
        - 403008077
        - 403008078
        - 403008079
        - 403008080
        - 403008081
        - 403008082
        - 403008083
        - 403008084
        - 403008085
        - 403008086
        - 403008087
        - 403008088
        - 403008089
        - 403008090
        - 403008091
        - 403008092
        - 504008001
        - 504008002
        - 400007001
        - 400007002
        - 400007003
        - 400007004
        - 400007005
        - 400007006
        - 400007007
        - 400007008
        - 400007009
        - 400007010
        - 400007011
        - 400007012
        - 400007013
        - 400007014
        - 400007015
        - 404007001
        - 404007002
        - 404007003
        - 409007001
        - 500007001
        - 500007002
        - 400352006
        - 400352009
        - 400352010
        - 400352011
        - 400352012
        - 400352013
        - 400352014
        - 400352015
        - 403352001
        - 403352008
        - 403352009
        - 404352001
        - 400352016
        - 400352017
        - 400352018
        - 400352019
        - 400352030
        - 400352031
        - 400352032
        - 400352101
        - 400352102
        - 400352103
        - 400352104
        - 400352105
        - 400352106
        - 400352107
        - 400352108
        - 400352109
        - 400352110
        - 400352111
        - 400352112
        - 400352113
        - 400353001
        - 400353002
        - 400353003
        - 400353004
        - 400353005
        - 400353006
        - 400353007
        - 400353008
        - 400353009
        - 400353101
        - 403353001
        - 403353002
        - 403353003
        - 400353010
        - 400353011
        - 400300002
        - 400300003
        - 400300004
        - 400300005
        - 400300006
        - 400300007
        - 400300009
        - 404300010
        - 400300014
        - 400300015
        - 400300016
        - 400300017
        - 500353001
        - 400303001
        - 400303004
        - 400303006
        - 400303007
        - 400303008
        - 400303009
        - 400303010
        - 400303011
        - 400303012
        - 400303013
        - 404353001
        - 404353002
        - 404353003
        - 400002020
        - 400002021
        - 400002022
        - 400002023
        - 400002024
        - 400002025
        - 400002026
        - 401002001
        - 403002001
        - 415002001
        - 429002001
        - 499002001
        - 500002001
        - 500002002
        - 401008001
        - 403008001
        - 404008001
        - 400008017
        - 415008001
        - 429008001
        - 499008001
        - 500008001
        - 500008002
        - 400002125
        - 400002132
        - 400002134
        - 400002126
        - 400002056
        - 400002028
        - 400002029
        - 400002012
        - 400002042
        - 400002044
        - 400313002
        - 400313003
        - 403419001
        - 403419002
        - 403419003
        - 403419004
        - 403419005
        - 403419006
        - 403419007
        - 403419008
        - 403410001
        - 403410002
        - 403410003
        - 500410001
        - 500410002
        - 403420000
        - 403420001
        - 403420002
        - 403420003
        - 404420000
        - 400415001
        - 400415002
        - 400415003
        - 400415004
        - 400415005
        - 400415006
        - 400415007
        - 400415008
        - 400415009
        - 400415010
        - 400415020
        - 400415030
        - 400415031
        - 400415032
        - 400415050
        - 400415060
        - 400415061
        - 400415070
        - 400415071
        - 400415072
        - 400415073
        - 400415074
        - 400415080
        - 400415081
        - 400415082
        - 400415083
        - 409415084
        - 400415085
        - 400415086
        - 400415087
        - 400415088
        - 400415089
        - 400415090
        - 400415091
        - 400415092
        - 400415100
        - 400415101
        - 400415150
        - 400415151
        - 400422031
        - 400422032
        - 400422033
        - 400422035
        - 400422036
        - 400422039
        - 400422042
        - 400422121
        - 400422051
        - 400422059
        - 400422060
        - 400422068
        - 400422073
        - 400422074
        - 400422077
        - 400422078
        - 400422089
        - 400422211
        - 400422212
        - 400422213
        - 400422214
        - 400422215
        - 400422216
        - 400422218
        - 400422514
        - 400422515
        - 400422516
        - 400422517
        - 400422518
        - 400422519
        - 400422911
        - 400422913
        - 400422915
        - 500422010
        - 500422022
        - 500422034
        - 500422040
        - 403411010
        - 400411023
        - 400411031
        - 400411032
        - 400411033
        - 400411035
        - 400411036
        - 400411039
        - 400411042
        - 400411043
        - 400411051
        - 400411052
        - 400411053
        - 400411056
        - 400411121
        - 400411301
        - 404411305
        - 400411306
        - 400411311
        - 400411312
        - 400411313
        - 400411322
        - 400411323
        - 400411324
        - 400411325
        - 400411340
        - 400411344
        - 400411345
        - 400411347
        - 400411348
        - 400411350
        - 400411351
        - 400411354
        - 400411355
        - 400411356
        - 400411357
        - 400411360
        - 400411361
        - 400411374
        - 400411375
        - 400411376
        - 400411377
        - 400411378
        - 400411415
        - 400411450
        - 400411501
        - 400411502
        - 404411503
        - 400411504
        - 400411517
        - 400411525
        - 400411550
        - 400411551
        - 400411554
        - 400411555
        - 400411852
        - 400411860
        - 400411861
        - 400411862
        - 400411863
        - 400411864
        - 400411865
        - 400411866
        - 400411867
        - 400411873
        - 400411900
        - 400411901
        - 400411902
        - 400411903
        - 400411904
        - 400411905
        - 400411906
        - 400411907
        - 400411920
        - 400411921
        - 400411922
        - 400411923
        - 400411924
        - 400411925
        - 400411926
        - 400411927
        - 400411928
        - 400411929
        - 400411930
        - 400411931
        - 400411932
        - 400411933
        - 400411934
        - 400411935
        - 400411936
        - 400411937
        - 400411938
        - 400411939
        - 400411940
        - 400411970
        - 400411971
        - 400411972
        - 400411973
        - 400411974
        - 400411975
        - 400411976
        - 400411977
        - 400411978
        - 400411984
        - 400411985
        - 400411986
        - 400411987
        - 400411988
        - 400411989
        - 400411990
        - 400411991
        - 400411992
        - 400411994
        - 400411995
        - 400411996
        - 400411997
        - 400411999
        - 500411011
        - 500411022
        - 500411034
        - 500411040
        - 400429001
        - 400429002
        - 400429003
        - 400429004
        - 400429005
        - 400429006
        - 400429007
        - 400429008
        - 400429009
        - 400429010
        - 400429011
        - 400429012
        - 400429013
        - 400429014
        - 400429015
        - 400429016
        - 400429017
        - 400407000
        - 400407001
        - 400407002
        - 403407000
        - 403407001
        - 404407000
        - 404407001
        - 500407000
        - 400408001
        - 400408002
        - 500408001
        - 500408002
        - 403408001
        - 403408002
        - 403408003
        - 400365001
        - 400365002
        - 400365003
        - 400365004
        - 400365005
        - 400365006
        - 400365007
        - 400365008
        - 400365009
        - 400365010
        - 400432001
        - 400432002
        - 500432001
        - 400432101
        - 400432102
        - 400432103
        - 400432104
        - 400432105
        - 400432106
        - 400432107
        - 400432108
        - 400432109
        - 400432110
        - 400432111
        - 400432112
        - 400432113
        - 400432114
        - 400413001
        - 400413002
        - 400413003
      type: integer
      x-enum:
        - CommonOK
        - CommonRateLimitExceeded
        - CommonParamFormatError
        - CommonValueInvalidError
        - CommonParamUnsupported
        - CommonLocked
        - CommonLockNotHeld
        - CommonInvalidArgument
        - CommonCollectionEmpty
        - CommonCollectionNotEmpty
        - CommonResourceNotFound
        - CommonResourceAlreadyExist
        - CommonCountLimitExceeded
        - CommonLengthLimitExceeded
        - CommonRemoteFail
        - CommonAuthError
        - CommonNoPermission
        - CommonPolicyDenied
        - CommonNotFound
        - CommonContentTypeUnsupported
        - CommonTooManyRequests
        - CommonContextCanceled
        - CommonRemoteError
        - CommonCircuitBreakerOpened
        - CommonStoreServerError
        - CommonInternalServerError
        - CommonServiceDataUpgrading
        - CommonUnknownError
        - OAuth2InvalidRequest
        - OAuth2UnauthorizedClient
        - OAuth2AccessDenied
        - OAuth2UnsupportedResponseType
        - OAuth2InvalidScope
        - OAuth2TemporarilyUnavailable
        - OAuth2InvalidClient
        - OAuth2InvalidGrant
        - OAuth2UnsupportedGrantType
        - OAuth2InvalidToken
        - OAuth2InsufficientScope
        - OAuth2ServerError
        - OAuth2ClientError
        - UserOrPasswordsError
        - UserNotLogin
        - UserNotExists
        - UserWeakPassword
        - UserStatusInvalid
        - UserNameInvalid
        - UserGenderInvalid
        - UserNickNameInvalid
        - UserNameExists
        - UserAvatarInvalid
        - UserDisabled
        - UserInvalid
        - UserDeptIdsInvalid
        - UserDefDeptIdInvalid
        - UserEmployeeIdInvalid
        - UserMobilePhoneInvalid
        - UserTitleInvalid
        - UserTelephoneInvalid
        - UserEmailInvalid
        - UserEmploymentTypeInvalid
        - UserEmploymentStatusInvalid
        - UserSourceInvalid
        - UserUnionIdAlreadyExist
        - UserDeptNumLimit
        - UserLoginNameExists
        - UserLeaderInvalid
        - UserWorkPlaceInvalid
        - UserActivated
        - UserDeleted
        - UserActiveError
        - UserAddError
        - UserAttrInvalid
        - UserNameContainSensitiveWords
        - UserLoginNameContainSensitiveWords
        - UserAliasNameInvalid
        - UserAliasNameContainSensitiveWords
        - UserAliasNameExists
        - UserNickNameContainSensitiveWords
        - UserNickNameExists
        - UserAvatarExists
        - UserPhoneExists
        - UserEmailExists
        - UserThirdUnionIdInvalid
        - UserAccountContainSensitiveWords
        - UserAccountExists
        - UserEmployeeIdExists
        - UserExUserIdInvalid
        - UserExUserIdContainSensitiveWords
        - UserExUserIdExists
        - UsersNotInSameCompany
        - UserNotInAnyCompany
        - UserCannotChangedCompanyFieldVisible
        - UserNameCanNotEdit
        - UserTitleRepeatErr
        - AccountNotLogin
        - AccountPasswordError
        - AccountNotExists
        - AccountWeakPassword
        - AccountDisabled
        - AccountActiveCodeInvalid
        - AccountAvatarModifyLimitExceeded
        - AccountNicknameModifyLimitExceeded
        - AccountStatusInvalid
        - AccountNicknameInvalid
        - AccountGenderInvalid
        - AccountCountryCodeInvalid
        - AccountAttrInvalid
        - AccountAvatarInvalid
        - AccountNickNameContainSensitiveWords
        - AccountNicknameLengthLimitExceeded
        - TokenExpired
        - SessionSuspend
        - TokenInvalid
        - CompanyDisabled
        - CompanyNotAuthorized
        - CompanyPersonnelOverrun
        - CompanyInvalid
        - CompanyNameInvalid
        - CompanyLogoInvalid
        - CompanyDomainInvalid
        - CompanyCodeInvalid
        - CompanyWeakPassword
        - CompanyAuthorizedLessThanActivated
        - CompanyAuthorizedExpired
        - CompanyNameAlreadyExist
        - CompanyCodeAlreadyExist
        - CompanyDeleted
        - CompanyIsNotEmpty
        - DefCompanyNotExists
        - CompanyAttrInvalid
        - CompanyNameContainSensitiveWords
        - CompanyNameExists
        - CompanyLogoExists
        - CompanyDomainExists
        - CompanyPhoneInvalid
        - CompanyPhoneExists
        - CompanyEmailInvalid
        - CompanyEmailExists
        - CompanyCodeExists
        - CompanySuperAdminNotExist
        - CompanySuperAdminExist
        - CompanySuperAdminLimitErr
        - CompanySysAdminLimitErr
        - CompanySuperAdminOperationErr
        - CompanySpaceInsufficient
        - DeptIsNotEmpty
        - RootDeptExists
        - DeptNameInvalid
        - DeptAliasInvalid
        - DeptNameExists
        - DeptOrderISRefactoring
        - DeptMemberOrderISRefactoring
        - DeptMaxDepthLimit
        - DeptUnionIdAlreadyExist
        - DeptNotExists
        - DeptAttrInvalid
        - DeptNameContainSensitiveWords
        - DeptParentIdInvalid
        - DeptWeightInvalid
        - DeptIdInvalid
        - DeptThirdUnionIdInvalid
        - DeptExDeptIdInvalid
        - DeptExDeptIdContainSensitiveWords
        - DeptExDeptIdExists
        - DeptLeadersInvalid
        - DeptLeadersNoExists
        - DeptMemberNotExists
        - DeptMemberExists
        - DeptMembersCountExceeded
        - GroupUserExists
        - GroupUserNotExists
        - GroupNotExists
        - GroupExists
        - GroupAddQuoteFailed
        - GroupCannotAddOwner
        - GroupCannotDelOwner
        - GroupContainSensitiveImage
        - GroupContainSensitiveWords
        - GroupCreateFailed
        - GroupAdministratorExists
        - GroupAdministratorNotExists
        - GroupCannotAddUser
        - GroupDeptCountLimitExceeded
        - GroupDescLengthLimitExceeded
        - GroupIdTransferNotExists
        - GroupNameEmpty
        - GroupNameLengthLimitExceeded
        - GroupNameRepeated
        - GroupNotInRecycle
        - GroupProfileLengthLimitExceeded
        - GroupProfileNotExists
        - GroupUserCountLimitExceeded
        - GroupUserDisabled
        - GroupUserEnabled
        - GroupUserHasNoDefRole
        - GroupUserAboutLengthLimitExceeded
        - GroupVisibleDeptCountLimitExceeded
        - GroupVisibleUserCountLimitExceeded
        - GroupNeedOwner
        - GroupNotCompanyDept
        - GroupNotCompanyUser
        - GroupPermissionIdNotExists
        - GroupPlatformExists
        - GroupQuoteExists
        - GroupQuoteNotExists
        - GroupRecoverFailed
        - GroupUserRoleDescLengthLimitExceeded
        - GroupUserRoleKeyExists
        - GroupUserRoleKeyLengthLimitExceeded
        - GroupUserRoleNameLengthLimitExceeded
        - GroupUserRoleNotExists
        - GroupSearchIndexIsBuilding
        - GroupSourceNoPermission
        - GroupSubDeptNotExists
        - GroupTransferToCompanyUser
        - GroupPlatformUnSafe
        - GroupSourceUnSupported
        - GroupTypeUnSupported
        - GroupVisibleTypeUnSupported
        - GroupMemberTypeUnSupported
        - GroupSortTypeUnSupported
        - GroupAddedCountLimitExceeded
        - VirtualGroupExists
        - VirtualGroupNotExists
        - GroupMembersMatching
        - InvalidMembershipDepts
        - InvalidAllowDenyList
        - InvalidMembershipRules
        - GroupSetAddedCountLimitExceeded
        - GroupSetNameRepeated
        - GroupSetNotEmpty
        - GroupSetNameLengthLimitExceeded
        - GroupSetTypeUnSupported
        - GroupSetNotExists
        - GroupSetCreateFailed
        - GroupSetTypeMismatch
        - AvatarCharacterNum
        - AvatarGenerateError
        - ImageDataInvalid
        - ImageTypeInvalid
        - ImageDataEmpty
        - SessionInvalid
        - SessionEncryptKeyIdInvalid
        - SessionBadCorrelateCode
        - SessionBadAuthCode
        - VisRulesSetObjLimit
        - VisRulesVisObjLimit
        - VisRulesSetObjRulesLimit
        - CustomFieldNameAlreadyExist
        - CustomFieldLimitExceeded
        - CustomFieldValueLimitExceeded
        - CustomFieldValueExistSpecChar
        - PrivilegeValueInvalid
        - BulkOpsPartialFailure
        - CallbackInvalid
        - LockFail
        - InvalidRequest
        - ParamFormatError
        - ValueInvalidError
        - ParamUnsupported
        - ResourceAlreadyExist
        - CountLimitExceeded
        - FileNameConflict
        - RetryTooManyTimes
        - FileNotFound
        - VersionNotFound
        - DriveNotFound
        - FileDriveMappingNotFound
        - RecycleFileNotFound
        - TaskNotFound
        - FileNameEmpty
        - FileContentNotChanged
        - FileContentExtractFailed
        - FileAuditForbidden
        - FileContentSummaryFailed
        - IllegalNameWithInvalidChars
        - NameLengthTooLong
        - NameLengthTooShort
        - GetImageInfoFailed
        - ContentExtractExceedLimit
        - NewOwnerSpecialSpacesFull
        - UserPermanentlyBlockSharing
        - ShareLinkMemberExist
        - ShareLinkCreateFail
        - CurrentLinkIdIsTooBackward
        - FileTaskExist
        - FileTaskFailed
        - FileDuplicated
        - FileNotFinishedUploaded
        - NotLightLinkMember
        - CompanyCopyDeny
        - CompanyMoveDeny
        - CompanySaveAsDeny
        - SpacesFull
        - CopyFileFail
        - SaveAsFileFail
        - FileMoveFailed
        - FileUpdateFailed
        - RequestUploadFail
        - RequestDownloadFail
        - FileNameCover
        - CurrentHistoryNotAllowDelete
        - InvalidScene
        - ProfileNotExist
        - GetAppFailed
        - FavoriteNotExist
        - ExtractFileFailed
        - SecretGroupChangePasswordFailed
        - UnlockSecretGroupFailed
        - LockSecretGroupFailed
        - SecretGroupLocked
        - SecretGroupInvalidOperation
        - SecretGroupVerifyCodeError
        - NeedToBindEmailAddr
        - NeedToBindPhoneNumber
        - NeedToVerifyEmailAddr
        - IllegalFileVersion
        - SecureGroupEncoding
        - SecureGroupDecoding
        - AlreadyInvited
        - RecoverRecBanDeletion
        - UnsupportedFileType
        - UploadApiVerUpgrade
        - ApiVerUpgrade
        - UserNotCert
        - CurrentUserForbidUseSharing
        - ServiceDeserted
        - SecureFileNotCollaborator
        - AppGroupInfoNotFound
        - FileRelationNotExists
        - DeviceNotExist
        - CoverThirdFile
        - NotBelongToApp
        - StoreInfoNotExists
        - HybridCloudForceApiForbidden
        - WpsFormInvalidStoreId
        - DriveLengthTooLong
        - IllegalDriveName
        - FeatureDriveNotOpen
        - DriveAlreadyExists
        - CoverWpsFormFile
        - TaskInProgress
        - DriveLengthTooMin
        - NotCreateRoaming
        - RapidUploadNotSupport
        - WikiFileOpForbid
        - LowVersionApply
        - GroupTypeError
        - FileMoveMultiParent
        - OperationForbidByCurrentIP
        - OperationForbidByCompanyAdmin
        - InvalidAccountType
        - ShareNotSupported
        - FileCreateFailed
        - FcsyncUploadNotSupport
        - OperationForbidByGroupAdmin
        - NameContainsSensitiveWords
        - ResourceNotExist
        - NoPrivilege
        - FileCollaborationClosed
        - NoStorageAvailable
        - OnlySupportLoginFree
        - SecureGroupNotSupportAiSearchCode
        - AIPrivilegeCapacityNotEnoughCode
        - CrossRegionNotSupportCode
        - UnitInvalidCode
        - SecureFileOperationNotSupport
        - AlreadyBoundToDevice
        - CorpParallelOpenExceedsLimit
        - InvalidStore
        - BelowMultipartUploadMinSize
        - NegativeSize
        - ServiceProcessTimeout
        - FileContentExtractTimeout
        - HashTypeNotSupported
        - HashInfoInvalid
        - FileSizeInvalid
        - ContentMD5Invalid
        - InfoTokenInvalid
        - StoreIdInvalid
        - UploadMethodNotSupported
        - UploadIDInvalid
        - PartInfoEmpty
        - PartNumberInvalid
        - StrategyUnsupported
        - StoreIdNotFoundV2
        - StorageNodeNotFoundV2
        - BadDigest
        - IncompleteUpload
        - StoreIdNotFound
        - StorageNodeNotFound
        - UploadTaskNotFound
        - MultipartUploadMerging
        - DBError
        - StoreError
        - PermissonTemplateInvalid
        - ReplaceRoleIdInvalid
        - LinkRangeInvalid
        - RangePermAlreadyExist
        - DriveIdInvalid
        - RootNotAllowOutsideMember
        - PermCtrlNotAllowred
        - PermissionRoleIdInvalid
        - OperationDenied
        - LinkNotOpen
        - OutsideMembersNotAllow
        - PermIdNotFound
        - PermIdNotFoundV2
        - ApplyPermMsgBodyInvalid
        - ApplyPermAlreadyOperated
        - ApplyMemberNotInCompany
        - NotAllowChangeGroupMemberPerm
        - ChangePermInsufficient
        - ShareOutsideGroupProhibited
        - CreateFilePermissionTemplateFailed
        - RetrieveFilePermissionTemplateFailed
        - UpdateFilePermissionTemplateFailed
        - DeleteFilePermissionTemplateFailed
        - DuplicateFilePermissionTemplateFailed
        - CreateFilePermissionFailed
        - RetrieveFilePermissionFailed
        - UpdateFilePermissionFailed
        - DeleteFilePermissionFailed
        - ThirdError
        - LinkNotInit
        - CompanyNotPartner
        - EnterprisePartnerInvisible
        - LinkInvalid
        - FileIdInvalid
        - LinkRoleIdInvalid
        - TimeInvalid
        - LinkAlreadyOpen
        - NextTokenInvalid
        - NoCheckCode
        - LinkClosed
        - LinkExpired
        - ShortcutsShareProhibited
        - LinkAccessDenied
        - LinkCheckCodeMismatch
        - LinkNeedCheckCode
        - LinkNotExistV2
        - FileNotExistV2
        - FileOverSize
        - FileOverNum
        - GroupNotExistV2
        - FormLocationNotMove
        - ReadTemplateFileError
        - MultipartFileSizeExceed
        - MultipartFileNumExceed
        - RapidUploadMissed
        - FileTypeNotDownload
        - DriveTopFileLimitExceed
        - FileCrossTenantOperationFailed
        - RoamingDeviceFolderNotDelete
        - LinkDBError
        - LabelOverLimit
        - LabelNotExists
        - LabelAlreadyExists
        - LabelObjectNotExists
        - LabelObjectAlreadyExists
        - LabelObjectOverLimit
        - InvalidRank
        - UserNotOpenQuickAccess
        - InvalidLabelAllotee
        - LabelHasClosed
        - DeprecatedLinkNotExist
        - DeprecatedFileNotExist
        - DeprecatedGroupNotExist
        - DeprecatedInvalidRequest
        - DeprecatedParamFormatError
        - DeprecatedValueInvalidError
        - DeprecatedParamUnsupported
        - DeprecatedResourceNotFound
        - DeprecatedResourceAlreadyExist
        - DeprecatedCountLimitExceeded
        - DeprecatedUnauthenticated
        - DeprecatedNoPermission
        - DeprecatedContentTypeUnsupported
        - DeprecatedTooManyRequests
        - DeprecatedContextCanceled
        - DeprecatedCircuitBreakerOpened
        - DeprecatedStoreServerError
        - DeprecatedUnauthenticated2
        - DeprecatedNoPermission2
        - DeprecatedResourceNotFound2
        - DeprecatedResourceNotFound3
        - DeprecatedContentTypeUnsupported2
        - DeprecatedTooManyRequests2
        - DeprecatedContextCanceled2
        - DeprecatedCircuitBreakerOpened2
        - DeprecatedStoreServerError2
        - DeprecatedUserNotExists
        - DeprecatedUserNameInvalid
        - DeprecatedUserNameExists
        - DeprecatedUserDisabled
        - DeprecatedUserAvatarInvalid
        - DeprecatedUserNickNameInvalid
        - DeprecatedUserGenderInvalid
        - DeprecatedOrgInvalidEncryptKeyId
        - DeprecatedExistCheckUserUnionId
        - DeprecatedExistCheckDeptUnionId
        - DeprecatedImageDataInvalid
        - DeprecatedImageTypeInvalid
        - GetEntitlementsError
        - CreateAllocationsError
        - DeleteAllocationsError
        - GetAllocationsError
        - PartnerNotExists
        - RequestRepeated
        - CreateOrderError
        - OrderPolicyNotAllow
        - ExceedLimit
        - InvalidFileType
        - AttachmentNotExists
        - SessionNotExists
        - CoreExecutionFailed
        - PrivilegeFuncPrivilegeInvalid
        - PrivilegeFuncPrivilegeExpired
        - PrivilegeFuncPrivilegeRemainValueNotEnough
        - PrivilegeFuncTaskNoPermission
        - PrivilegeFuncTaskNotFound
        - MailServiceNotEnable
        - MailboxNotFound
        - MailNotFound
        - MailDraftNotFound
        - FolderNotFound
        - DomainNotFound
        - OwnerNotFound
        - OpNotSupport
        - MailGroupNotFound
        - MailParseFail
        - MailSendFail
        - AttachmentOverSize
        - MailOverSize
        - MailAttachmentNotFound
        - FileTypeLimited
        - MailboxAddrExist
        - MailboxNameExist
        - MailUserNotFound
        - MailUserDeptNotFound
        - UserMailboxNumExceed
        - AliasMailboxNotFound
        - AliasMailboxNumExceed
        - MailContactNotFound
        - MailContactExist
        - MailEmailAddrInvalid
        - MailNameInvalid
        - MailResourceConflict
        - ErrMasterMailConflict
        - MailContactMemberOverLimit
        - MailContactMemberNotFound
        - MailContactMemberExist
        - MailContactTypeNotGroup
        - MigrationTaskNotFound
        - ErrMemberMasterNotAllowDelete
        - MailSubjectTooLong
        - PublicMailboxMemberNotFound
        - PublicMailboxMemberExist
        - MailGroupMemberNotFound
        - MailGroupMemberExist
        - MeetingRoomGlobalThrottleErr
        - MeetingRoomDBErr
        - MeetingRoomRedisErr
        - MeetingRoomLockErr
        - MeetingRoomIPRateError
        - MeetingRoomLockDoingErr
        - MeetingRoomLockDoingBlockErr
        - MeetingRoomUserNotExist
        - RoomNotExist
        - CapacityOverLimit
        - MeetingRoomNotChange
        - ErrNameInvalid
        - RoomExist
        - DeviceAmountOverLimit
        - TotalRoomOverLimit
        - TotalDeviceOverLimit
        - RoomDisabled
        - BookingNotAllowApproveRecurrence
        - ApproveNotExistErr
        - ApproveOutDateErr
        - ApproveNoRightErr
        - ApproveRefusedErr
        - RecurrenceNoUntilErr
        - WhiteListTooManyErr
        - ErrTotalTagOverLimit
        - ErrTagNameDuplicate
        - ErrTagNotExist
        - ErrRoomBindTagLimit
        - ErrTagNameInvalid
        - ErrTagColorInvalid
        - RoomLevelNotExistErr
        - RoomLevelCountErr
        - EditLevelParentIDErr
        - MeetingRoomTransregionalReqFailed
        - MeetingRoomWpsServiceErr
        - MeetingRoomServerErr
        - MeetingRoomExternalApiErr
        - CalendarNoRightErr
        - CalendarTextSecurityErr
        - CalendarGlobalThrottleErr
        - CalendarDBErr
        - CalendarRedisErr
        - CalendarLockErr
        - CalendarIPRateError
        - CalendarLockDoingErr
        - CalendarLockDoingBlockErr
        - AgentNotAllowErr
        - RpcErr
        - IcsParseErr
        - EmailEventNotAllowErr
        - IcsDecodingErr
        - CalendarUserNotExist
        - SummaryTooLong
        - EventNotExist
        - EventUpdateTimeAllDay
        - ReminderInputError
        - ReminderParseError
        - ChangeFollowTimeError
        - LocationNotExist
        - LocationNameLengthLimit
        - LocationAddressLengthLimit
        - LocationNotEmoji
        - EventNoChange
        - WhichDayTimeError
        - EventCreatorNotExist
        - RecurrenceInvalid
        - EventCrossDayTooLong
        - TimeRangeError
        - ByCountTooManyError
        - ExDateNotExistRecurrent
        - ExDateNotExistStart
        - ExDateLtStartTime
        - ExDateGtUntilTime
        - EventMemberOverLimit
        - CreateEventOverLimit
        - ExDateParseError
        - NotRecurrentTypeError
        - ModNotChangeCalendarError
        - ParentNotFindError
        - WhichDayTimeEventNotFindError
        - CalendarGroupOverLimit
        - TeamMemberLimit
        - NoPrimaryGroup
        - GroupNotExist
        - CalendarNotExist
        - PrimaryGroupDeleteError
        - GroupMemberNotExistErr
        - GroupNotMember
        - DeleteMembersOverLimit
        - AddMembersOverLimit
        - CalendarIDParseFail
        - IcsSuffixNotSupport
        - AccessForbidden
        - GroupNotEditPermission
        - MeetingRoomNotSubscribe
        - NotSameCompany
        - UserIsSubscribed
        - NotOpenCalendar
        - MeetingRoomError
        - MeetingRoomIsSubscribed
        - NotSubscribedSelf
        - AllDayBookingMeetingRoom
        - MeetingRoomReqFail
        - MeetingNotFindFail
        - MeetingNotAllowSignFail
        - MeetingRoomUnmarshalFail
        - EditTaskRightsFail
        - MeetingArgumentInvalid
        - MeetingTypeInvalid
        - MeetingMustSameCompanyInvalid
        - MeetingMinutesSpaceFull
        - MeetingMinutesReqFail
        - MeetingMinutesTodoFail
        - MeetingMinutesReceiveFail
        - MeetingMinutesCompanyUserFail
        - MeetingMinutesRequestCompanyFail
        - MeetingMinutesDocsDeleteFail
        - MeetingMinutesDocsRealNameFail
        - MeetingMinutesDocsIdentityFail
        - EMailEventServiceDisabledErr
        - EMailEventTypeAllErr
        - EMailEventTypeOneErr
        - EMailEventTypeOneHasPErr
        - EMailEventTypeFollowErr
        - EMailEventTypeFollowHasPErr
        - InvalidEmailFormatErr
        - EMailEventDelOne
        - EMailEventDelFollow
        - EMailEventQuitOne
        - EMailEventDelPOne
        - EMailEventDelPFollow
        - NoAssignRights
        - AssignFailNoCompany
        - AssignFailNoContact
        - AssignFailNoSelf
        - AssignFailNoEvent
        - AdviseStartTimeLimit
        - AdviseTimeRangeLimit
        - AdviseScaleInvalid
        - UntilDateBeforeStartTimeError
        - WoaChatRespLimitErr
        - UserIsAssigning
        - CreateWoaChatMemberLimit
        - CreateWoaChatMemberEmpty
        - CreateWoaChatNotExist
        - CreateWoaChatNeedApprove
        - EditOneEventSubmitFormErr
        - EditFollowEventSubmitFormErr
        - V7CreateChatNotAllowCompanyOutMemberErr
        - EmailEventExistErr
        - ICalendarParseErr
        - EventNotAllowInviteErr
        - NoRightCreateWoaChatErr
        - ForbidEditFollowEventErr
        - CalendarTransregionalReqFailed
        - CalendarWpsServiceErr
        - CalendarServerErr
        - CalendarExternalApiErr
        - DataNotRepeat
        - CreateRecordFailed
        - DataRequiredNotNull
        - TableNotExist
        - TableRecordNotExist
        - UpdateRecordFailed
        - ContentLengthTooLong
        - DeleteRecordFailed
        - DateFormatError
        - TimeFormatError
        - NumberNotInRange
        - NumberNotAllowNegative
        - InputValueNotMatchConfig
        - RelationRecordNotExist
        - AppInstanceNotExist
        - NotSupportTableFieldType
        - InvalidPageToken
        - DecryptJsonFailed
        - InvalidNodeJson
        - EmptyPPTXJson
        - UnAuthGenerate
        - InvalidFileUrl
        - ThemeMbNotFound
        - SlideNotMatch
        - ServiceTimeout
        - AIDocsParamsIllegal
        - AIDocsParamsMissing
        - AIDocsServerInternal
        - AIDocsSecGroupUpdateAi
        - AIDocsBusUnAvailableCode
        - AIDocsBusTimesNotEnoughCode
        - AIDocsBusAvailableLimitCode
        - LabelInvalidParam
        - LabelFileNotFound
        - LabelNotFound
        - LabelDuplicate
        - LabelUsedByScanService
        - LabelUsedByPolicyCenter
        - LabelStatusNotOpen
        - LabelHaveEdited
        - FileNoPermission
        - UserNotInLabelRange
        - BizErrDocQAParamsIllegal
        - BizErrDocQAParamsMissing
        - BizErrDocQAServerInternal
        - BizErrDocQAQaServerSecGroupUpdateAi
        - BizErrDocQAQaServerAiEmptyRecallCode
        - BizErrDocQAQaServerAiGateWaySensitiveErrCode
        - BizErrDocQAQaServerAiErrLLMNoAnswer
        - BizErrDocQAQaServerAiErrGatewayException
        - BizErrDocQAQaServerAiErrPrivilegeUnavailable
        - BizErrDocQAQaServerAiErrRateLimit
        - BizErrDocQAQaServerAiErrWrongPage
        - BizErrDocQAQaServerAiErrUserBan
        - BizErrDocQAQaServerAiErrAiHubError
        - BizErrDocQAQaServerAiErrSearchEngineError
        - BizErrDocQAQaServerAiAuthErrCode
        - BizErrDocQAQaServerAiErrSecureDocument
        - BizErrDocQAQaServerAiErrCustomLLMException
        - ChatNotExist
        - UserNotInChat
        - NotSupportChatType
    map:
      type: object
    map_int_ainotes_slide_type:
      type: object
      x-map: map[int]AinotesSlideType
    map_string_array_string:
      type: object
      x-map: map[string][]string
    map_string_float64:
      type: object
      x-map: map[string]float64
    map_string_coop_airpage_content:
      type: object
      x-map: map[string]CoopAirpageContent
    map_string_coop_dbsheet_hook_info:
      type: object
      x-map: map[string]CoopDbsheetHookInfo
    map_string_privilege:
      type: object
      x-map: map[string]Privilege
    map_string_string:
      type: object
      x-map: map[string]string
    abort_multipart_upload_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    account_full_sync_req_body:
      properties:
        collect_cost:
          format: int64
          type: integer
        task_id:
          maxLength: 1024
          type: string
        third_company_id:
          maxLength: 1024
          type: string
      required:
        - task_id
        - third_company_id
        - collect_cost
      type: object
    account_full_sync_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    account_increment_sync_req_body:
      properties:
        third_company_id:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - third_company_id
      type: object
    account_increment_sync_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    add_personal_todo_task_members_req_body:
      properties:
        members:
          items:
            maxLength: 100
            minLength: 1
            type: string
          maxItems: 1024
          type: array
      required:
        - members
      type: object
    add_personal_todo_task_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    add_sign_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    add_visibility_rule_data:
      properties:
        rule_id:
          maxLength: 1024
          type: string
          x-type: int64
      required:
        - rule_id
      type: object
    add_visibility_rule_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/add_visibility_rule_data'
      required:
        - data
      type: object
    admin:
      properties:
        user_id:
          maxLength: 1024
          type: string
        user_name:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - user_id
        - user_name
      type: object
    admin_info:
      properties:
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        user_name:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - user_id
        - user_name
      type: object
    admin_scope:
      properties:
        level:
          allOf:
            - $ref: '#/components/schemas/admin_scope_level'
          type: object
        permission:
          maxLength: 1024
          type: string
        scope:
          maxLength: 1024
          type: string
        typ:
          maxLength: 1024
          type: string
      required:
        - typ
        - level
        - scope
        - permission
      type: object
    admin_scope_level:
      enum:
        - all
        - custom
      type: string
      x-enum:
        - all
        - custom
    advance_search_mail_messages_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_message_list'
      required:
        - data
      type: object
    agent_chat_stream_context:
      properties:
        agent:
          $ref: '#/components/schemas/agent_data'
        search_chatmsg:
          $ref: '#/components/schemas/search_chatmsg_data'
        search_email:
          $ref: '#/components/schemas/search_email_data'
        search_files:
          $ref: '#/components/schemas/agent_search_file_data'
      title: context
      type: object
    agent_chat_stream_req_body:
      properties:
        call_tool:
          nullable: true
          type: boolean
        context:
          allOf:
            - $ref: '#/components/schemas/agent_chat_stream_context'
          type: object
        enable_chat:
          nullable: true
          type: boolean
        enable_multi_turn:
          nullable: true
          type: boolean
        enable_output_json:
          nullable: true
          type: boolean
        enable_rewrite:
          nullable: true
          type: boolean
        enable_sft:
          nullable: true
          type: boolean
        enable_show_answer:
          nullable: true
          type: boolean
        enable_skip_agent_plan:
          nullable: true
          type: boolean
        enable_skip_process_tool_result:
          nullable: true
          type: boolean
        query:
          maxLength: 1024
          type: string
        scenes:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        support_funcall:
          nullable: true
          type: boolean
        token:
          maxLength: 1024
          type: string
      required:
        - query
      title: agent_chat_stream_req_body
      type: object
    agent_chat_stream_resp:
      properties:
        code:
          format: int32
          type: integer
        data:
          $ref: '#/components/schemas/agent_chat_stream_resp_data'
        msg:
          maxLength: 1024
          type: string
      required:
        - code
        - msg
      title: agent_chat_stream_resp
      type: object
    agent_chat_stream_resp_data:
      properties:
        answer:
          maxLength: 1024
          type: string
        context:
          allOf:
            - $ref: '#/components/schemas/map_string_string'
          type: object
        state:
          maxLength: 1024
          type: string
        tool_name:
          maxLength: 1024
          type: string
        tool_params:
          allOf:
            - $ref: '#/components/schemas/map_string_string'
          type: object
        tool_tip:
          maxLength: 1024
          type: string
        type:
          maxLength: 1024
          type: string
      required:
        - answer
        - type
      title: agent_chat_stream_resp_data
      type: object
    agent_data:
      properties:
        confirm_all:
          nullable: true
          type: boolean
        miss_param_all:
          nullable: true
          type: boolean
      title: agent_data
      type: object
    agent_search_file_data:
      properties:
        default_search:
          maxLength: 1024
          type: string
        max_size:
          format: int64
          type: integer
      title: agent_search_file_data
      type: object
    ai_search_drive_status_data:
      properties:
        failed_cnt:
          format: int64
          type: integer
        not_support_cnt:
          format: int64
          type: integer
        succ_cnt:
          format: int64
          type: integer
        to_update_cnt:
          format: int64
          type: integer
        updating_cnt:
          format: int64
          type: integer
      required:
        - succ_cnt
        - failed_cnt
        - not_support_cnt
        - to_update_cnt
        - updating_cnt
      type: object
    ai_search_query_drive_status_req_body:
      properties:
        drive_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        mode:
          allOf:
            - $ref: '#/components/schemas/enum_vector_index_query_mode'
          type: object
        scene:
          allOf:
            - $ref: '#/components/schemas/enum_vector_index_open_scene'
          type: object
      type: object
    ai_search_query_drive_status_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ai_search_drive_status_data'
      required:
        - data
      type: object
    aidocs_contract_company:
      properties:
        account_bank:
          maxLength: 1024
          type: string
        account_name:
          maxLength: 1024
          type: string
        address:
          maxLength: 1024
          type: string
        contracting_party:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        people:
          maxLength: 1024
          type: string
        phone:
          maxLength: 1024
          type: string
        signature:
          maxLength: 1024
          type: string
        tax_id:
          maxLength: 1024
          type: string
      required:
        - name
        - signature
        - account_bank
        - account_name
        - phone
        - address
        - tax_id
        - people
        - contracting_party
      type: object
    aidocs_contract_extract_req_body:
      properties:
        file_name:
          maxLength: 1024
          type: string
        file_url:
          maxLength: 1024
          type: string
      required:
        - file_url
        - file_name
      type: object
    aidocs_contract_extract_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aidocs_contract_extract_result'
      required:
        - data
      type: object
    aidocs_contract_extract_result:
      properties:
        companies:
          items:
            $ref: '#/components/schemas/aidocs_contract_company'
          maxItems: 1024
          type: array
        contract_info:
          allOf:
            - $ref: '#/components/schemas/aidocs_contract_info'
          type: object
        is_contract:
          type: boolean
      required:
        - is_contract
      type: object
    aidocs_contract_info:
      properties:
        code:
          maxLength: 1024
          type: string
        datetime_end:
          maxLength: 1024
          type: string
        datetime_sign:
          maxLength: 1024
          type: string
        datetime_start:
          maxLength: 1024
          type: string
        money:
          maxLength: 1024
          type: string
        num:
          maxLength: 1024
          type: string
        terms:
          items:
            $ref: '#/components/schemas/aidocs_contract_term'
          maxItems: 1024
          type: array
      required:
        - code
        - num
        - money
        - datetime_start
        - datetime_end
        - datetime_sign
      type: object
    aidocs_contract_term:
      properties:
        content:
          maxLength: 1024
          type: string
      required:
        - content
      type: object
    aidocs_drive_body:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        file_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - drive_id
        - file_ids
      type: object
    aidocs_extract_task_result:
      properties:
        item_info:
          items:
            $ref: '#/components/schemas/extract_task_data'
          maxItems: 1024
          type: array
        status:
          maxLength: 1024
          type: string
      required:
        - status
        - item_info
      type: object
    aidocs_file:
      properties:
        file_id:
          maxLength: 1024
          type: string
      required:
        - file_id
      title: 文件信息
      type: object
    aidocs_file_body:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
      type: object
    aidocs_file_id_convert_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aidocs_file_id_convert_result'
      required:
        - data
      type: object
    aidocs_file_id_convert_result:
      properties:
        data:
          allOf:
            - $ref: '#/components/schemas/aidocs_file_id_convert_snippet'
          type: object
      required:
        - data
      type: object
    aidocs_file_id_convert_snippet:
      properties:
        convert_file_id:
          maxLength: 1024
          type: string
      required:
        - convert_file_id
      type: object
    aidocs_file_upload_req_body:
      properties:
        file:
          format: binary
          maxLength: 5000000000
          type: string
          x-escape: false
        name:
          maxLength: 1024
          type: string
      required:
        - name
        - file
      type: object
    aidocs_file_upload_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aidocs_file'
      required:
        - data
      type: object
    aidocs_in_store_async_req_body:
      properties:
        files:
          items:
            $ref: '#/components/schemas/aidocs_file_body'
          maxItems: 1024
          type: array
      required:
        - files
      type: object
    aidocs_in_store_req_body:
      properties:
        files:
          items:
            $ref: '#/components/schemas/aidocs_file_body'
          maxItems: 1024
          type: array
        query:
          maxLength: 1024
          type: string
        topk:
          format: int
          maximum: 100
          type: integer
      required:
        - files
        - query
        - topk
      type: object
    aidocs_in_store_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    aidocs_in_store_status:
      properties:
        id:
          maxLength: 1024
          type: string
        status:
          maxLength: 1024
          type: string
      required:
        - id
        - status
      type: object
    aidocs_in_store_status_req_body:
      properties:
        file_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - file_ids
      type: object
    aidocs_in_store_status_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aidocs_in_store_status_result'
      required:
        - data
      type: object
    aidocs_in_store_status_result:
      properties:
        files:
          items:
            $ref: '#/components/schemas/aidocs_in_store_status'
          maxItems: 1024
          type: array
      required:
        - files
      type: object
    aidocs_parse_content_req_body:
      properties:
        file_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        folder_id:
          maxLength: 1024
          type: string
      required:
        - folder_id
        - file_ids
      type: object
    aidocs_parse_content_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aidocs_parse_content_result'
      required:
        - data
      type: object
    aidocs_parse_content_result:
      properties:
        data:
          items:
            $ref: '#/components/schemas/aidocs_parse_content_snippet'
          maxItems: 1024
          type: array
      required:
        - data
      type: object
    aidocs_parse_content_snippet:
      properties:
        file_id:
          maxLength: 1024
          type: string
        folder_id:
          maxLength: 1024
          type: string
        kdc_convert_url:
          maxLength: 1024
          type: string
        middle_doc_url:
          maxLength: 1024
          type: string
        split_content_url:
          maxLength: 1024
          type: string
      required:
        - folder_id
        - file_id
        - middle_doc_url
        - split_content_url
        - kdc_convert_url
      type: object
    aidocs_prompt:
      properties:
        system:
          maxLength: 1024
          type: string
        template:
          maxLength: 1024
          type: string
      type: object
    aidocs_recall_file_req_body:
      properties:
        group_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        limit:
          format: int
          maximum: 100
          type: integer
        query:
          maxLength: 1024
          type: string
      required:
        - group_ids
        - query
        - limit
      type: object
    aidocs_recall_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aidocs_recall_file_result'
      required:
        - data
      type: object
    aidocs_recall_file_result:
      properties:
        data:
          items:
            $ref: '#/components/schemas/aidocs_recall_file_snippet'
          maxItems: 1024
          type: array
      required:
        - data
      type: object
    aidocs_recall_file_snippet:
      properties:
        file_id:
          maxLength: 1024
          type: string
        file_name:
          maxLength: 1024
          type: string
        folder_id:
          maxLength: 1024
          type: string
        group_id:
          maxLength: 1024
          type: string
      required:
        - file_id
        - file_name
        - group_id
        - folder_id
      type: object
    aidocs_recall_paragraphs_info:
      properties:
        content:
          maxLength: 1024
          type: string
        content_type:
          maxLength: 1024
          type: string
        image_url:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-omitempty: true
        level:
          format: int64
          type: integer
      required:
        - content_type
        - content
        - level
      type: object
    aidocs_recall_req_body:
      properties:
        groups:
          items:
            $ref: '#/components/schemas/aidocs_drive_body'
          maxItems: 1024
          type: array
        query:
          maxLength: 1024
          type: string
        topk:
          format: int
          maximum: 100
          type: integer
      required:
        - groups
        - query
        - topk
      type: object
    aidocs_recall_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aidocs_recall_result'
      required:
        - data
      type: object
    aidocs_recall_result:
      properties:
        data:
          items:
            $ref: '#/components/schemas/aidocs_recall_snippet'
          maxItems: 1024
          type: array
      required:
        - data
      type: object
    aidocs_recall_snippet:
      properties:
        chunk_id:
          format: int64
          type: integer
        content:
          maxLength: 1024
          type: string
        drive_id:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        file_name:
          maxLength: 1024
          type: string
        image_url:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-omitempty: true
        link_url:
          maxLength: 1024
          type: string
        paragraphs:
          items:
            $ref: '#/components/schemas/aidocs_recall_paragraphs_info'
          maxItems: 1024
          type: array
        ref_score:
          format: double
          type: number
        table_content:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-omitempty: true
      required:
        - file_id
        - file_name
        - link_url
        - drive_id
        - ref_score
        - chunk_id
        - content
        - paragraphs
      type: object
    aidocs_register_callback_req_body:
      properties:
        need_check_file_permission:
          type: boolean
        url_prefix:
          maxLength: 1024
          type: string
      required:
        - url_prefix
      type: object
    aidocs_register_callback_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aidocs_register_callback_req_body'
      required:
        - data
      type: object
    aidocs_search_answer_citation:
      properties:
        text:
          maxLength: 1024
          type: string
      required:
        - text
      type: object
    aidocs_search_dynamic:
      properties:
        answer_citations:
          items:
            $ref: '#/components/schemas/aidocs_search_answer_citation'
          maxItems: 1024
          type: array
        process_display:
          maxLength: 1024
          type: string
      required:
        - process_display
      type: object
    aidocs_search_gpt_req_body:
      properties:
        prompt:
          allOf:
            - $ref: '#/components/schemas/aidocs_prompt'
          type: object
        qa_file_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        qa_group_ids:
          items:
            format: int64
            type: integer
          maxItems: 1024
          type: array
        qa_group_names:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        search_name:
          maxLength: 1024
          type: string
        session_id:
          maxLength: 1024
          type: string
      required:
        - session_id
        - search_name
        - qa_group_ids
        - qa_group_names
      type: object
    aidocs_search_gpt_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aidocs_search_result'
      required:
        - data
      type: object
    aidocs_search_result:
      properties:
        code:
          format: int64
          type: integer
        dynamic:
          allOf:
            - $ref: '#/components/schemas/aidocs_search_dynamic'
          type: object
        qa_group_ids:
          items:
            format: int64
            type: integer
          maxItems: 1024
          type: array
        query:
          maxLength: 1024
          type: string
        session_id:
          maxLength: 1024
          type: string
        x_request_id:
          maxLength: 1024
          type: string
      required:
        - code
        - dynamic
        - qa_group_ids
        - query
        - session_id
        - x_request_id
      type: object
    aidocs_space:
      properties:
        cover_img:
          maxLength: 1024
          type: string
        create_time:
          format: int64
          type: integer
        desc:
          maxLength: 1024
          type: string
        drive_id:
          maxLength: 1024
          type: string
        group_id:
          maxLength: 1024
          type: string
        kuid:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - kuid
        - drive_id
        - group_id
        - name
        - desc
        - cover_img
        - create_time
      title: 知识空间
      type: object
    aidocs_space_create_req_body:
      properties:
        desc:
          maxLength: 100
          type: string
        img:
          maxLength: 1024
          type: string
        name:
          maxLength: 50
          minLength: 1
          type: string
      required:
        - name
        - img
      type: object
    aidocs_space_delete_req_body:
      properties:
        is_delete_yundoc:
          maxLength: 1024
          type: string
      type: object
    aidocs_space_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/aidocs_space'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      title: 获取知识空间列表
      type: object
    aidocs_space_status:
      properties:
        process_percentage:
          format: int
          type: integer
        status:
          maxLength: 1024
          type: string
        total_files:
          format: int
          type: integer
      required:
        - process_percentage
        - total_files
        - status
      title: 知识库状态结构
      type: object
    aidocs_upgrade_req_body:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        open:
          type: boolean
      required:
        - drive_id
        - open
      type: object
    ainotes_progress:
      properties:
        completed_slides:
          items:
            format: int
            type: integer
          maxItems: 1024
          type: array
        failed_slides:
          items:
            format: int
            type: integer
          maxItems: 1024
          type: array
        processed_slides:
          format: int
          type: integer
        total_slides:
          format: int
          type: integer
      required:
        - total_slides
        - processed_slides
        - completed_slides
        - failed_slides
      type: object
    ainotes_req_body:
      properties:
        all_slides:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        slide_types:
          allOf:
            - $ref: '#/components/schemas/map_int_ainotes_slide_type'
          type: object
        space:
          allOf:
            - $ref: '#/components/schemas/ainotes_space'
          type: object
        stream:
          type: boolean
        style:
          allOf:
            - $ref: '#/components/schemas/ainotes_style'
          type: object
      required:
        - all_slides
        - slide_types
        - space
        - style
      type: object
    ainotes_response_data:
      properties:
        delta:
          maxLength: 1024
          type: string
        progress:
          allOf:
            - $ref: '#/components/schemas/ainotes_progress'
          type: object
        reply:
          maxLength: 1024
          type: string
        slide_index:
          format: int
          type: integer
        slide_type:
          allOf:
            - $ref: '#/components/schemas/ainotes_slide_type'
          type: object
        stream_status:
          allOf:
            - $ref: '#/components/schemas/ainotes_stream_status'
          type: object
      required:
        - slide_index
        - reply
        - delta
      type: object
    ainotes_result_body:
      properties:
        code:
          format: int
          type: integer
        data:
          allOf:
            - $ref: '#/components/schemas/ainotes_response_data'
          type: object
        msg:
          maxLength: 1024
          type: string
      required:
        - code
        - msg
        - data
      type: object
    ainotes_slide_type:
      enum:
        - startpage
        - contentpage
        - transitionpage
        - catalogpage
        - endpage
      type: string
      x-enum:
        - startpage
        - contentpage
        - transitionpage
        - catalogpage
        - endpage
    ainotes_space:
      enum:
        - 短篇幅
        - 中篇幅
        - 长篇幅
      type: string
      x-enum:
        - short
        - medium
        - long
    ainotes_sse_result:
      properties:
        message:
          allOf:
            - $ref: '#/components/schemas/ainotes_result_body'
          type: object
      required:
        - message
      type: object
    ainotes_stream_status:
      enum:
        - start
        - slide_start_processing
        - processing
        - finish
        - ping
        - all_done
      type: string
      x-enum:
        - start
        - slide_start_processing
        - processing
        - finish
        - ping
        - all_done
    ainotes_style:
      enum:
        - 通用
        - 正式
        - 幽默
        - 亲切
        - 自信
      type: string
      x-enum:
        - general
        - formal
        - humorous
        - friendly
        - confident
    aiopen_aigc_compose_deep_chapter_req_body:
      properties:
        session_info:
          allOf:
            - $ref: '#/components/schemas/aiopen_session_info'
          type: object
        switch_thinking:
          type: boolean
        system_prompt:
          allOf:
            - $ref: '#/components/schemas/aiopen_prompt_function_info'
          type: object
      required:
        - session_info
        - system_prompt
      type: object
    aiopen_aigc_compose_deep_chapter_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_stream_resp'
      required:
        - data
      type: object
    aiopen_aigc_compose_file_parse_result:
      properties:
        template:
          allOf:
            - $ref: '#/components/schemas/aiopen_aigc_compose_template'
          type: object
      required:
        - template
      type: object
    aiopen_aigc_compose_libraries_create_req_body:
      properties:
        function_code:
          maxLength: 128
          minLength: 1
          type: string
        name:
          maxLength: 255
          minLength: 1
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_enum_aigc_compose_library_type'
          type: object
      required:
        - type
        - function_code
        - name
      type: object
    aiopen_aigc_compose_libraries_create_resp:
      properties:
        library_id:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - library_id
      type: object
    aiopen_aigc_compose_libraries_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_aigc_compose_libraries_create_resp'
      required:
        - data
      type: object
    aiopen_aigc_compose_libraries_resp:
      properties:
        items:
          items:
            $ref: '#/components/schemas/aiopen_aigc_compose_library_info'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    aiopen_aigc_compose_libraries_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_aigc_compose_libraries_resp'
      required:
        - data
      type: object
    aiopen_aigc_compose_library_delete_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    aiopen_aigc_compose_library_file_delete_req_body:
      properties:
        drive_id:
          maxLength: 64
          type: string
        source:
          allOf:
            - $ref: '#/components/schemas/aiopen_file_enum_source'
          nullable: true
          type: object
      type: object
    aiopen_aigc_compose_library_file_delete_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    aiopen_aigc_compose_library_file_resp:
      properties:
        template:
          allOf:
            - $ref: '#/components/schemas/aiopen_aigc_compose_template'
          type: object
      required:
        - template
      type: object
    aiopen_aigc_compose_library_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_aigc_compose_library_file_resp'
      required:
        - data
      type: object
    aiopen_aigc_compose_library_file_retry_req_body:
      properties:
        drive_id:
          maxLength: 64
          type: string
        source:
          allOf:
            - $ref: '#/components/schemas/aiopen_file_enum_source'
          nullable: true
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_enum_aigc_compose_library_type'
          nullable: true
          type: object
      type: object
    aiopen_aigc_compose_library_file_retry_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    aiopen_aigc_compose_library_files_create_req_body:
      properties:
        drive_id:
          maxLength: 64
          type: string
        file_id:
          maxLength: 64
          minLength: 1
          type: string
        source:
          allOf:
            - $ref: '#/components/schemas/aiopen_file_enum_source'
          nullable: true
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_enum_aigc_compose_library_type'
          nullable: true
          type: object
      required:
        - file_id
      type: object
    aiopen_aigc_compose_library_files_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    aiopen_aigc_compose_library_files_resp:
      properties:
        items:
          items:
            $ref: '#/components/schemas/aiopen_aigc_compose_file_parse_result'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    aiopen_aigc_compose_library_files_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_aigc_compose_library_files_resp'
      required:
        - data
      type: object
    aiopen_aigc_compose_library_info:
      properties:
        ctime:
          format: int64
          type: integer
        file_total:
          format: int64
          type: integer
        library_id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - library_id
        - name
        - file_total
        - ctime
      type: object
    aiopen_aigc_compose_library_parse_update_req_body:
      properties:
        content:
          maxLength: 20000
          minLength: 1
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_enum_aigc_compose_library_type'
          nullable: true
          type: object
      required:
        - content
      type: object
    aiopen_aigc_compose_library_parses_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    aiopen_aigc_compose_outline_data:
      properties:
        children:
          items:
            allOf:
              - $ref: '#/components/schemas/aiopen_aigc_compose_outline_data'
            nullable: true
            type: object
          maxItems: 100
          type: array
        content:
          maxLength: 65535
          type: string
          x-escape: false
        level:
          format: int
          type: integer
        prompt:
          maxLength: 4096
          type: string
          x-escape: false
        ref_ids:
          items:
            maxLength: 32
            type: string
          maxItems: 16
          type: array
        title_id:
          maxLength: 64
          type: string
      required:
        - level
        - title_id
        - prompt
      type: object
    aiopen_aigc_compose_ref_file_status_item:
      properties:
        fail_msg:
          maxLength: 4096
          type: string
        ref_id:
          maxLength: 32
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/aiopen_enum_aigc_file_parse_status'
          type: object
      required:
        - status
        - ref_id
      type: object
    aiopen_aigc_compose_ref_files_async_parse_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_parse_resp'
      required:
        - data
      type: object
    aiopen_aigc_compose_ref_files_enum_type:
      enum:
        - ref
        - imitate
      type: string
      x-enum:
        - ref
        - imitate
    aiopen_aigc_compose_ref_files_extract_assets_image:
      properties:
        ext_attrs:
          maxLength: 4096
          nullable: true
          type: string
          x-escape: false
        title:
          maxLength: 255
          nullable: true
          type: string
        url:
          maxLength: 2048
          minLength: 1
          type: string
      required:
        - title
        - url
      type: object
    aiopen_aigc_compose_ref_files_extract_assets_req_body:
      properties:
        files:
          items:
            $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_extract_assets_req_file'
          maxItems: 100
          type: array
        ref_ids:
          items:
            maxLength: 32
            type: string
          maxItems: 100
          type: array
      type: object
    aiopen_aigc_compose_ref_files_extract_assets_req_file:
      properties:
        drive_id:
          maxLength: 64
          type: string
        file_id:
          maxLength: 64
          minLength: 1
          type: string
        source:
          allOf:
            - $ref: '#/components/schemas/aiopen_file_enum_source'
          type: object
      required:
        - source
        - file_id
      type: object
    aiopen_aigc_compose_ref_files_extract_assets_resp:
      properties:
        images:
          items:
            $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_extract_assets_image'
          maxItems: 1024
          type: array
        tables:
          items:
            $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_extract_assets_table'
          maxItems: 1024
          type: array
      required:
        - images
        - tables
      type: object
    aiopen_aigc_compose_ref_files_extract_assets_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_extract_assets_resp'
      required:
        - data
      type: object
    aiopen_aigc_compose_ref_files_extract_assets_table:
      properties:
        content:
          maxLength: 65535
          minLength: 1
          type: string
        ext_attrs:
          maxLength: 4096
          nullable: true
          type: string
          x-escape: false
        title:
          maxLength: 255
          nullable: true
          type: string
      required:
        - title
        - content
      type: object
    aiopen_aigc_compose_ref_files_parse_req_body:
      properties:
        drive_id:
          maxLength: 64
          type: string
        file_id:
          maxLength: 64
          minLength: 1
          type: string
        source:
          allOf:
            - $ref: '#/components/schemas/aiopen_file_enum_source'
          type: object
        type:
          $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_enum_type'
      required:
        - type
        - source
        - file_id
      type: object
    aiopen_aigc_compose_ref_files_parse_resp:
      properties:
        ref_id:
          maxLength: 32
          type: string
      required:
        - ref_id
      type: object
    aiopen_aigc_compose_ref_files_parse_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_parse_resp'
      required:
        - data
      type: object
    aiopen_aigc_compose_ref_files_search_req_body:
      properties:
        outline_datas:
          items:
            $ref: '#/components/schemas/aiopen_aigc_compose_outline_data'
          maxItems: 100
          type: array
      required:
        - outline_datas
      type: object
    aiopen_aigc_compose_ref_files_search_resp:
      properties:
        reference_contents:
          items:
            $ref: '#/components/schemas/aiopen_aigc_compose_reference_content'
          maxItems: 1024
          type: array
      required:
        - reference_contents
      type: object
    aiopen_aigc_compose_ref_files_search_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_search_resp'
      required:
        - data
      type: object
    aiopen_aigc_compose_ref_files_status_batch_get_req_body:
      properties:
        ref_ids:
          items:
            maxLength: 32
            type: string
          maxItems: 100
          type: array
      required:
        - ref_ids
      type: object
    aiopen_aigc_compose_ref_files_status_batch_get_resp:
      properties:
        items:
          items:
            $ref: '#/components/schemas/aiopen_aigc_compose_ref_file_status_item'
          maxItems: 100
          type: array
      required:
        - items
      type: object
    aiopen_aigc_compose_ref_files_status_batch_get_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_status_batch_get_resp'
      required:
        - data
      type: object
    aiopen_aigc_compose_reference_content:
      properties:
        chunks:
          items:
            $ref: '#/components/schemas/aiopen_aigc_compose_reference_content_chunk'
          maxItems: 16
          type: array
        title:
          maxLength: 1024
          minLength: 1
          type: string
          x-escape: false
        title_id:
          maxLength: 64
          type: string
      required:
        - title_id
        - title
        - chunks
      type: object
    aiopen_aigc_compose_reference_content_chunk:
      properties:
        content:
          maxLength: 4096
          type: string
          x-escape: false
        file_mtime:
          format: int64
          type: integer
        file_name:
          maxLength: 255
          type: string
          x-escape: false
        file_path:
          items:
            maxLength: 255
            type: string
          maxItems: 16
          type: array
          x-escape: false
        file_source:
          allOf:
            - $ref: '#/components/schemas/aiopen_file_enum_source'
          type: object
        ref_id:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - content
        - ref_id
        - file_source
      type: object
    aiopen_aigc_compose_req_body:
      properties:
        history:
          allOf:
            - $ref: '#/components/schemas/aiopen_history'
          nullable: true
          type: object
        outline_with_content:
          type: boolean
        session_info:
          allOf:
            - $ref: '#/components/schemas/aiopen_session_info'
          type: object
        switch_deep:
          type: boolean
        switch_thinking:
          type: boolean
        system_prompt:
          allOf:
            - $ref: '#/components/schemas/aiopen_prompt_function_info'
          type: object
      required:
        - session_info
        - system_prompt
      type: object
    aiopen_aigc_compose_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_stream_resp'
      required:
        - data
      type: object
    aiopen_aigc_compose_template:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        fail_msg:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        parse_id:
          maxLength: 1024
          type: string
        position:
          allOf:
            - $ref: '#/components/schemas/aiopen_aigc_compose_template_position'
          type: object
        result:
          maxLength: 1024
          type: string
        source:
          allOf:
            - $ref: '#/components/schemas/aiopen_file_enum_source'
          type: object
        status:
          allOf:
            - $ref: '#/components/schemas/aiopen_enum_aigc_file_parse_status'
          type: object
      required:
        - parse_id
        - status
        - result
        - file_id
        - source
        - position
      type: object
    aiopen_aigc_compose_template_position:
      properties:
        len:
          format: int64
          type: integer
        pos:
          format: int64
          type: integer
      required:
        - pos
        - len
      type: object
    aiopen_aigc_correct_req_body:
      properties:
        history:
          allOf:
            - $ref: '#/components/schemas/aiopen_history'
          nullable: true
          type: object
        session_info:
          allOf:
            - $ref: '#/components/schemas/aiopen_session_info'
          type: object
        switch_thinking:
          type: boolean
        system_prompt:
          allOf:
            - $ref: '#/components/schemas/aiopen_prompt_function_info'
          type: object
      required:
        - session_info
        - system_prompt
      type: object
    aiopen_aigc_correct_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_stream_resp'
      required:
        - data
      type: object
    aiopen_block:
      properties:
        bounding_box:
          allOf:
            - $ref: '#/components/schemas/aiopen_rectangle'
          nullable: true
          type: object
          x-omitempty: true
        component:
          allOf:
            - $ref: '#/components/schemas/aiopen_component'
          nullable: true
          type: object
          x-omitempty: true
        id:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        index:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        page_index:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        para:
          allOf:
            - $ref: '#/components/schemas/aiopen_para'
          nullable: true
          type: object
          x-omitempty: true
        rotate:
          format: double
          nullable: true
          type: number
          x-omitempty: true
        table:
          allOf:
            - $ref: '#/components/schemas/aiopen_table'
          nullable: true
          type: object
          x-omitempty: true
        tags:
          items:
            $ref: '#/components/schemas/aiopen_tag'
          maxItems: 1024
          type: array
          x-omitempty: true
        textbox:
          allOf:
            - $ref: '#/components/schemas/aiopen_textbox'
          nullable: true
          type: object
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_block_type'
          type: object
      required:
        - type
      type: object
    aiopen_block_type:
      enum:
        - para
        - table
        - textbox
        - component
      type: string
      x-enum:
        - para
        - table
        - textbox
        - component
    aiopen_cell:
      properties:
        db_handle_id:
          format: int
          type: integer
          x-omitempty: true
        formula:
          allOf:
            - $ref: '#/components/schemas/aiopen_formula'
          nullable: true
          type: object
          x-omitempty: true
        image_id:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        index:
          format: int
          type: integer
        style_ref:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_cell_data_type'
          nullable: true
          type: object
          x-omitempty: true
        value:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
      required:
        - index
      type: object
    aiopen_cell_align:
      properties:
        horizontal:
          allOf:
            - $ref: '#/components/schemas/aiopen_para_alignment'
          nullable: true
          type: object
          x-omitempty: true
        vertical:
          allOf:
            - $ref: '#/components/schemas/aiopen_para_alignment'
          nullable: true
          type: object
          x-omitempty: true
      type: object
    aiopen_cell_data_type:
      enum:
        - boolean
        - date
        - number
        - error
        - shared
        - text
        - handle
      type: string
      x-enum:
        - boolean
        - date
        - number
        - error
        - shared
        - text
        - handle
    aiopen_cell_property:
      properties:
        alignment:
          allOf:
            - $ref: '#/components/schemas/aiopen_cell_align'
          nullable: true
          type: object
          x-omitempty: true
        fonts:
          allOf:
            - $ref: '#/components/schemas/aiopen_run_prop'
          nullable: true
          type: object
          x-omitempty: true
        num_format:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
      type: object
    aiopen_col_style:
      properties:
        spans:
          allOf:
            - $ref: '#/components/schemas/aiopen_range_from_to'
          type: object
        style_ref:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        width:
          format: double
          nullable: true
          type: number
          x-omitempty: true
      required:
        - spans
      type: object
    aiopen_comment:
      properties:
        blocks:
          items:
            $ref: '#/components/schemas/aiopen_block'
          maxItems: 1024
          type: array
          x-omitempty: true
        references:
          items:
            $ref: '#/components/schemas/aiopen_reference'
          maxItems: 1024
          type: array
      required:
        - references
      type: object
    aiopen_component:
      properties:
        media_id:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_component_type'
          type: object
      required:
        - type
        - media_id
      type: object
    aiopen_component_type:
      enum:
        - image
        - audio
        - video
        - chart
      type: string
      x-enum:
        - image
        - audio
        - video
        - chart
    aiopen_dash_board_module:
      properties:
        source_sheet_id:
          format: int
          type: integer
        statistic_options:
          items:
            $ref: '#/components/schemas/aiopen_module_statistic_options'
          maxItems: 1024
          type: array
      required:
        - source_sheet_id
        - statistic_options
      type: object
    aiopen_data_validation:
      properties:
        formula1:
          maxLength: 1024
          type: string
          x-omitempty: true
        formula2:
          maxLength: 1024
          type: string
          x-omitempty: true
        multi_support:
          type: boolean
          x-omitempty: true
        operator:
          allOf:
            - $ref: '#/components/schemas/aiopen_operator_type'
          type: object
          x-omitempty: true
        ref_ranges:
          items:
            $ref: '#/components/schemas/aiopen_range'
          maxItems: 1024
          type: array
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_validation_type'
          type: object
      required:
        - type
        - ref_ranges
      type: object
    aiopen_db_dash_board:
      properties:
        db_module:
          items:
            $ref: '#/components/schemas/aiopen_dash_board_module'
          maxItems: 1024
          type: array
      required:
        - db_module
      type: object
    aiopen_db_field:
      properties:
        id:
          format: int
          type: integer
        items:
          items:
            $ref: '#/components/schemas/aiopen_db_field_item'
          maxItems: 1024
          type: array
          x-omitempty: true
        name:
          maxLength: 1024
          type: string
        num_format:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_db_field_type'
          type: object
      required:
        - type
        - id
        - name
      type: object
    aiopen_db_field_filter:
      properties:
        field_id:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        filter_value:
          items:
            $ref: '#/components/schemas/aiopen_db_filter_value'
          maxItems: 1024
          type: array
          x-omitempty: true
        id:
          format: int
          type: integer
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_db_filter_type'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - id
      type: object
    aiopen_db_field_item:
      properties:
        color:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        id:
          format: int
          type: integer
        value:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
      required:
        - id
      type: object
    aiopen_db_field_type:
      enum:
        - date
        - time
        - number
        - currency
        - percentage
        - multiline_text
        - id
        - phone
        - email
        - hyperlink
        - checkbox
        - single_select
        - multiple_select
        - rating
        - contact
        - complete
        - cell_image
        - attachment
        - automations
        - auto_number
        - created_by
        - created_time
        - last_modified_by
        - last_modified_time
        - formula
        - link
        - oneway_link
        - note
        - address
        - cascade
        - botton
      type: string
      x-enum:
        - date
        - time
        - number
        - currency
        - percentage
        - multiline_text
        - id
        - phone
        - email
        - hyperlink
        - checkbox
        - single_select
        - multiple_select
        - rating
        - contact
        - complete
        - cell_image
        - attachment
        - automations
        - auto_number
        - created_by
        - created_time
        - last_modified_by
        - last_modified_time
        - formula
        - link
        - oneway_link
        - note
        - address
        - cascade
        - botton
    aiopen_db_filter_type:
      enum:
        - "null"
        - nothing
        - equals
        - not_equal
        - empty
        - not_empty
        - greater
        - greater_equ
        - less
        - less_equ
        - greater_equ_and_less_equ
        - less_or_greater
        - begin_with
        - not_begin_with
        - end_with
        - not_end_with
        - contains
        - not_contains
        - intersected
        - not_intersected
        - subset_of
        - superset_of
      type: string
      x-enum:
        - "null"
        - nothing
        - equals
        - not_equal
        - empty
        - not_empty
        - greater
        - greater_equ
        - less
        - less_equ
        - greater_equ_and_less_equ
        - less_or_greater
        - begin_with
        - not_begin_with
        - end_with
        - not_end_with
        - contains
        - not_contains
        - intersected
        - not_intersected
        - subset_of
        - superset_of
    aiopen_db_filter_value:
      properties:
        day:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        hour:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        min:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        mon:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        sec:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_filter_value_type'
          type: object
        value:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        year:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
      required:
        - type
      type: object
    aiopen_db_folder_tree:
      properties:
        root:
          allOf:
            - $ref: '#/components/schemas/aiopen_db_tree_node'
          type: object
      required:
        - root
      type: object
    aiopen_db_handel_type:
      enum:
        - link
        - array
        - contact
        - attachment
        - note
        - address
        - select_items
        - hyperlink
        - qrlabel
      type: string
      x-enum:
        - link
        - array
        - contact
        - attachment
        - note
        - address
        - select_items
        - hyperlink
        - qrlabel
    aiopen_db_handle:
      properties:
        address:
          allOf:
            - $ref: '#/components/schemas/aiopen_token_address'
          nullable: true
          type: object
          x-omitempty: true
        array:
          items:
            $ref: '#/components/schemas/aiopen_token_array'
          maxItems: 1024
          type: array
          x-omitempty: true
        attachment:
          allOf:
            - $ref: '#/components/schemas/aiopen_token_attachment'
          nullable: true
          type: object
          x-omitempty: true
        contact_id:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        hyperlink:
          allOf:
            - $ref: '#/components/schemas/aiopen_hyperlink'
          nullable: true
          type: object
          x-omitempty: true
        link:
          items:
            $ref: '#/components/schemas/aiopen_token_link'
          maxItems: 1024
          type: array
          x-omitempty: true
        note:
          allOf:
            - $ref: '#/components/schemas/aiopen_token_note'
          nullable: true
          type: object
          x-omitempty: true
        qrlabel:
          allOf:
            - $ref: '#/components/schemas/aiopen_token_qrlabel'
          nullable: true
          type: object
          x-omitempty: true
        selected:
          items:
            $ref: '#/components/schemas/aiopen_token_selected'
          maxItems: 1024
          type: array
          x-omitempty: true
      type: object
    aiopen_db_handle_token:
      properties:
        handle:
          allOf:
            - $ref: '#/components/schemas/aiopen_db_handle'
          nullable: true
          type: object
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_db_handel_type'
          type: object
          x-omitempty: true
      type: object
    aiopen_db_node_type:
      enum:
        - folder
        - sheet
      type: string
      x-enum:
        - folder
        - sheet
    aiopen_db_sheet:
      properties:
        default_view:
          allOf:
            - $ref: '#/components/schemas/aiopen_db_view'
          type: object
          x-omitempty: true
        fields:
          items:
            $ref: '#/components/schemas/aiopen_db_field'
          maxItems: 1024
          type: array
          x-omitempty: true
        records:
          items:
            format: int
            type: integer
          maxItems: 1024
          type: array
          x-omitempty: true
        views:
          items:
            $ref: '#/components/schemas/aiopen_db_view'
          maxItems: 1024
          type: array
          x-omitempty: true
      type: object
    aiopen_db_sheet_width:
      properties:
        field_id:
          format: int
          type: integer
        value:
          format: double
          type: number
      required:
        - field_id
        - value
      type: object
    aiopen_db_tree_node:
      properties:
        name:
          maxLength: 1024
          type: string
          x-omitempty: true
        sheet_id:
          format: int
          type: integer
        sub_nodes:
          items:
            $ref: '#/components/schemas/aiopen_db_tree_node'
          maxItems: 1024
          type: array
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_db_node_type'
          type: object
      required:
        - type
        - sheet_id
      type: object
    aiopen_db_unit_type:
      enum:
        - text
        - week
        - month
        - year
        - day
        - hour
        - minute
        - second
      type: string
      x-enum:
        - text
        - week
        - month
        - year
        - day
        - hour
        - minute
        - second
    aiopen_db_view:
      properties:
        cell_size:
          allOf:
            - $ref: '#/components/schemas/aiopen_db_view_wh'
          nullable: true
          type: object
          x-omitempty: true
        filter:
          allOf:
            - $ref: '#/components/schemas/aiopen_db_view_filter'
          nullable: true
          type: object
          x-omitempty: true
        group:
          items:
            $ref: '#/components/schemas/aiopen_db_view_condition'
          maxItems: 1024
          type: array
          x-omitempty: true
        id:
          format: int
          type: integer
        name:
          maxLength: 1024
          type: string
        order_record:
          items:
            format: int
            type: integer
          maxItems: 1024
          type: array
          x-omitempty: true
        sort:
          allOf:
            - $ref: '#/components/schemas/aiopen_db_view_sort'
          nullable: true
          type: object
          x-omitempty: true
        visible_field:
          items:
            format: int
            type: integer
          maxItems: 1024
          type: array
          x-omitempty: true
        visible_record:
          items:
            format: int
            type: integer
          maxItems: 1024
          type: array
          x-omitempty: true
      required:
        - id
        - name
      type: object
    aiopen_db_view_condition:
      properties:
        ascending:
          type: boolean
        group_uint:
          allOf:
            - $ref: '#/components/schemas/aiopen_db_unit_type'
          nullable: true
          type: object
          x-omitempty: true
        key_filed:
          format: int
          type: integer
      required:
        - ascending
        - key_filed
      type: object
    aiopen_db_view_filter:
      properties:
        field_filter:
          items:
            $ref: '#/components/schemas/aiopen_db_field_filter'
          maxItems: 1024
          type: array
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_multi_filter_type'
          type: object
      required:
        - type
      type: object
    aiopen_db_view_sort:
      properties:
        auto_sort:
          nullable: true
          type: boolean
          x-omitempty: true
        condition:
          items:
            $ref: '#/components/schemas/aiopen_db_view_condition'
          maxItems: 1024
          type: array
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_sort_type'
          type: object
      required:
        - type
      type: object
    aiopen_db_view_wh:
      properties:
        height:
          format: double
          nullable: true
          type: number
          x-omitempty: true
        widths:
          items:
            $ref: '#/components/schemas/aiopen_db_sheet_width'
          maxItems: 1024
          type: array
          x-omitempty: true
      type: object
    aiopen_doc_prop:
      properties:
        page_count:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        page_props:
          items:
            $ref: '#/components/schemas/aiopen_page_prop'
          maxItems: 1024
          type: array
          x-omitempty: true
      type: object
    aiopen_enum_aigc_compose_library_type:
      enum:
        - structure_template
      type: string
      x-enum:
        - structure_template
    aiopen_enum_aigc_file_parse_status:
      enum:
        - pending
        - parsing
        - failed
        - success
        - deleted
      type: string
      x-enum:
        - pending
        - parsing
        - failed
        - success
        - deleted
    aiopen_enum_hash_type:
      enum:
        - sha256
        - md5
        - sha1
        - s2s
      type: string
      x-enum:
        - sha256
        - md5
        - sha1
        - s2s
    aiopen_file_content:
      properties:
        doc:
          allOf:
            - $ref: '#/components/schemas/aiopen_kdc_document'
          type: object
        dst_format:
          allOf:
            - $ref: '#/components/schemas/aiopen_file_dst_format_enum'
          type: object
        markdown:
          maxLength: 1024
          type: string
        plain:
          maxLength: 1024
          type: string
        presentation:
          allOf:
            - $ref: '#/components/schemas/aiopen_kdc_presentation'
          type: object
        src_format:
          allOf:
            - $ref: '#/components/schemas/aiopen_file_src_format_enum'
          type: object
        txt:
          maxLength: 1024
          type: string
        workbook:
          allOf:
            - $ref: '#/components/schemas/aiopen_kdc_workbook'
          type: object
      required:
        - src_format
        - dst_format
      type: object
    aiopen_file_dst_format_enum:
      enum:
        - kdc
        - plain
        - markdown
        - txt
      type: string
      x-enum:
        - kdc
        - plain
        - markdown
        - txt
    aiopen_file_enum_source:
      enum:
        - wps_temp
        - app
      type: string
      x-enum:
        - wps_temp
        - app
    aiopen_file_hash:
      properties:
        sum:
          maxLength: 255
          minLength: 1
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_enum_hash_type'
          type: object
      required:
        - type
        - sum
      type: object
    aiopen_file_src_format_enum:
      enum:
        - docx
        - doc
        - dot
        - wps
        - wpt
        - dotx
        - docm
        - dotm
        - rtf
        - uot
        - mht
        - mhtml
        - htm
        - html
        - xml
        - xls
        - xlt
        - et
        - ett
        - xlsx
        - xltx
        - csv
        - xlsm
        - xltm
        - xlsb
        - uos
        - ksheet
        - pptx
        - ppt
        - pot
        - potx
        - pps
        - ppsx
        - dps
        - dpt
        - pptm
        - potm
        - ppsm
        - uop
        - pdf
        - ofd
        - uof
        - txt
        - md
        - log
        - otl
        - dbt
        - pom
        - pof
      type: string
      x-enum:
        - docx
        - doc
        - dot
        - wps
        - wpt
        - dotx
        - docm
        - dotm
        - rtf
        - uot
        - mht
        - mhtml
        - htm
        - html
        - xml
        - xls
        - xlt
        - et
        - ett
        - xlsx
        - xltx
        - csv
        - xlsm
        - xltm
        - xlsb
        - uos
        - ksheet
        - pptx
        - ppt
        - pot
        - potx
        - pps
        - ppsx
        - dps
        - dpt
        - pptm
        - potm
        - ppsm
        - uop
        - pdf
        - ofd
        - uof
        - txt
        - md
        - log
        - otl
        - dbt
        - pom
        - pof
    aiopen_filter_value_type:
      enum:
        - "null"
        - any
        - text
        - num
        - date
        - time
        - select_item
        - contact
        - checkbox
        - dynamic_simple
        - dynamic_threshold
        - link
      type: string
      x-enum:
        - "null"
        - anything
        - text
        - num
        - date
        - time
        - select_item
        - contact
        - checkbox
        - dynamic_simple
        - dynamic_threshold
        - link
    aiopen_formula:
      properties:
        ref_range:
          allOf:
            - $ref: '#/components/schemas/aiopen_range'
          nullable: true
          type: object
          x-omitempty: true
        text:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_formula_type'
          nullable: true
          type: object
          x-omitempty: true
      type: object
    aiopen_formula_type:
      enum:
        - normal
        - array
        - dynamic_array
      type: string
      x-enum:
        - normal
        - array
        - dynamic_array
    aiopen_get_ai_gateway_logs_search_resp:
      properties:
        gateway_log_data_list:
          items:
            $ref: '#/components/schemas/gateway_log_data'
          maxItems: 1024
          type: array
      required:
        - gateway_log_data_list
      type: object
    aiopen_get_chunks_search_chunk_data:
      properties:
        chunk_bnd_box:
          items:
            format: double
            type: number
          maxItems: 1024
          type: array
        chunk_content:
          maxLength: 1024
          type: string
        chunk_page_index:
          format: int64
          type: integer
        chunk_score:
          format: double
          type: number
      required:
        - chunk_content
        - chunk_score
        - chunk_page_index
        - chunk_bnd_box
      type: object
    aiopen_get_chunks_search_data:
      properties:
        chunks:
          items:
            $ref: '#/components/schemas/aiopen_get_chunks_search_chunk_data'
          maxItems: 1024
          type: array
        content:
          maxLength: 1024
          type: string
        ctime:
          format: int64
          type: integer
        drive_id:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        size:
          format: int64
          type: integer
      required:
        - drive_id
        - file_id
        - name
        - size
        - content
        - ctime
        - mtime
        - chunks
      type: object
    aiopen_get_chunks_search_resp:
      properties:
        items:
          items:
            $ref: '#/components/schemas/aiopen_get_chunks_search_data'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    aiopen_get_doc_operate_tasks_search_resp:
      properties:
        task_results:
          items:
            $ref: '#/components/schemas/aiopen_operate_task_search_result'
          maxItems: 1024
          type: array
      required:
        - task_results
      type: object
    aiopen_get_drive_file_status_resp:
      properties:
        err_msg:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        parse_err_msg:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        parse_status:
          maxLength: 1024
          type: string
        status:
          maxLength: 1024
          type: string
      required:
        - status
        - parse_status
      type: object
    aiopen_get_drive_files_status_batch_get_data:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        err_msg:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        file_id:
          maxLength: 1024
          type: string
        status:
          maxLength: 1024
          type: string
      required:
        - drive_id
        - file_id
        - status
      type: object
    aiopen_get_drive_files_status_resp:
      properties:
        files_status:
          items:
            $ref: '#/components/schemas/aiopen_get_drive_files_status_batch_get_data'
          maxItems: 1024
          type: array
      required:
        - files_status
      type: object
    aiopen_get_drive_toggle_details_search_resp:
      properties:
        convert_fail_amount:
          format: int64
          type: integer
        convert_fail_list:
          items:
            $ref: '#/components/schemas/drive_toggle_file_convert_fail'
          maxItems: 1024
          type: array
        convert_fail_next_page_token:
          maxLength: 1024
          type: string
        convert_status_code:
          allOf:
            - $ref: '#/components/schemas/drive_toggle_code_enum'
          type: object
        convert_success_amount:
          format: int64
          type: integer
        convert_total_amount:
          format: int64
          type: integer
      required:
        - convert_status_code
        - convert_total_amount
        - convert_success_amount
        - convert_fail_amount
        - convert_fail_list
        - convert_fail_next_page_token
      type: object
    aiopen_get_files_search_resp:
      properties:
        items:
          items:
            $ref: '#/components/schemas/files_search_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    aiopen_get_semantic_keywords_search_resp:
      properties:
        items:
          items:
            $ref: '#/components/schemas/aiopen_get_semantic_keywords_search_resp_data'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    aiopen_get_semantic_keywords_search_resp_data:
      properties:
        content:
          maxLength: 1024
          type: string
        ctime:
          format: int64
          type: integer
        drive_id:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        size:
          format: int64
          type: integer
      required:
        - drive_id
        - file_id
        - name
        - size
        - content
        - ctime
        - mtime
      type: object
    aiopen_history:
      properties:
        recall_strategy:
          allOf:
            - $ref: '#/components/schemas/aiopen_history_recall_strategy'
          type: object
      type: object
    aiopen_history_assign_params:
      properties:
        message_ids:
          items:
            maxLength: 32
            minLength: 1
            type: string
          maxItems: 100
          type: array
      required:
        - message_ids
      type: object
    aiopen_history_latest_params:
      properties:
        rounds:
          format: int
          type: integer
      required:
        - rounds
      type: object
    aiopen_history_recall_enum_type:
      enum:
        - latest
        - assign
      type: string
      x-enum:
        - latest
        - assign
    aiopen_history_recall_strategy:
      properties:
        assign_params:
          allOf:
            - $ref: '#/components/schemas/aiopen_history_assign_params'
          type: object
        latest_params:
          allOf:
            - $ref: '#/components/schemas/aiopen_history_latest_params'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_history_recall_enum_type'
          type: object
      required:
        - type
      type: object
    aiopen_hyperlink:
      properties:
        display_text:
          maxLength: 1024
          type: string
        references:
          items:
            $ref: '#/components/schemas/aiopen_reference'
          maxItems: 1024
          type: array
          x-omitempty: true
        target:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - display_text
      type: object
    aiopen_kdc_document:
      properties:
        comments:
          items:
            $ref: '#/components/schemas/aiopen_comment'
          maxItems: 1024
          type: array
          x-omitempty: true
        hyperlinks:
          items:
            $ref: '#/components/schemas/aiopen_hyperlink'
          maxItems: 1024
          type: array
          x-omitempty: true
        medias:
          items:
            $ref: '#/components/schemas/aiopen_media'
          maxItems: 1024
          type: array
          x-omitempty: true
        prop:
          allOf:
            - $ref: '#/components/schemas/aiopen_doc_prop'
          nullable: true
          type: object
          x-omitempty: true
        tree:
          allOf:
            - $ref: '#/components/schemas/aiopen_node'
          nullable: true
          type: object
          x-omitempty: true
      type: object
    aiopen_kdc_presentation:
      properties:
        medias:
          items:
            $ref: '#/components/schemas/aiopen_media'
          maxItems: 1024
          type: array
          x-omitempty: true
        prop:
          allOf:
            - $ref: '#/components/schemas/aiopen_kdc_presentation_prop'
          type: object
        slide_containers:
          items:
            $ref: '#/components/schemas/aiopen_slide_container'
          maxItems: 1024
          type: array
      required:
        - prop
        - slide_containers
      type: object
    aiopen_kdc_presentation_prop:
      properties:
        note_size:
          allOf:
            - $ref: '#/components/schemas/aiopen_size'
          nullable: true
          type: object
          x-omitempty: true
        slide_size:
          allOf:
            - $ref: '#/components/schemas/aiopen_size'
          nullable: true
          type: object
          x-omitempty: true
      type: object
    aiopen_kdc_workbook:
      properties:
        cell_images:
          items:
            $ref: '#/components/schemas/aiopen_media'
          maxItems: 1024
          type: array
          x-omitempty: true
        db_folder_tree:
          items:
            $ref: '#/components/schemas/aiopen_db_folder_tree'
          maxItems: 1024
          type: array
          x-omitempty: true
        handle_tokens:
          items:
            $ref: '#/components/schemas/aiopen_db_handle_token'
          maxItems: 1024
          type: array
          x-omitempty: true
        shared_strings:
          items:
            $ref: '#/components/schemas/aiopen_shared_string'
          maxItems: 1024
          type: array
          x-omitempty: true
        sheets:
          items:
            $ref: '#/components/schemas/aiopen_sheet'
          maxItems: 1024
          type: array
        styles:
          items:
            $ref: '#/components/schemas/aiopen_cell_property'
          maxItems: 1024
          type: array
          x-omitempty: true
      required:
        - sheets
      type: object
    aiopen_layout_type:
      enum:
        - title
        - text
        - two_column_text
        - table
        - text_and_chart
        - chart_and_text
        - org_chart
        - chart
        - text_and_clipart
        - clipart_and_text
        - title_only
        - blank
        - text_and_object
        - object_and_text
        - large_object
        - object
        - text_and_media_clip
        - media_clip_and_text
        - object_over_text
        - text_over_object
        - text_and_two_objects
        - two_objects_and_text
        - two_objects_over_text
        - four_objects
        - vertical_text
        - clip_art_and_vertical_text
        - vertical_title_and_text
        - vertical_title_and_text_over_chart
        - two_objects
        - object_and_two_objects
        - two_objects_and_object
        - custom
        - section_header
        - comparison
        - content_with_caption
        - picture_with_caption
        - diagram
        - object_only
        - picture_text
        - two_text_and_two_objects
        - text_clip_art
      type: string
      x-enum:
        - title
        - text
        - two_column_text
        - table
        - text_and_chart
        - chart_and_text
        - org_chart
        - chart
        - text_and_clipart
        - clipart_and_text
        - title_only
        - blank
        - text_and_object
        - object_and_text
        - large_object
        - object
        - text_and_media_clip
        - media_clip_and_text
        - object_over_text
        - text_over_object
        - text_and_two_objects
        - two_objects_and_text
        - two_objects_over_text
        - four_objects
        - vertical_text
        - clip_art_and_vertical_text
        - vertical_title_and_text
        - vertical_title_and_text_over_chart
        - two_objects
        - object_and_two_objects
        - two_objects_and_object
        - custom
        - section_header
        - comparison
        - content_with_caption
        - picture_with_caption
        - diagram
        - object_only
        - picture_text
        - two_text_and_two_objects
        - text_clip_art
    aiopen_media:
      properties:
        data:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        id:
          maxLength: 1024
          type: string
        mime_type:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        sha1:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        url:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
      required:
        - id
      type: object
    aiopen_message_data_content:
      properties:
        fragment:
          maxLength: 1024
          type: string
        full:
          maxLength: 1024
          type: string
        reasoning:
          maxLength: 1024
          type: string
        role:
          maxLength: 1024
          type: string
        type:
          maxLength: 1024
          type: string
      required:
        - role
        - type
        - full
        - fragment
        - reasoning
      type: object
    aiopen_message_data_resp:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/aiopen_message_data_content'
          type: object
        ext_attrs:
          maxLength: 4096
          nullable: true
          type: string
          x-escape: false
        message_id:
          maxLength: 1024
          type: string
        refs:
          items:
            $ref: '#/components/schemas/aiopen_session_ref'
          maxItems: 1024
          type: array
        response_msg:
          maxLength: 1024
          type: string
      required:
        - message_id
        - content
        - refs
        - response_msg
      type: object
    aiopen_module_statistic_options:
      properties:
        field_id:
          format: int
          type: integer
        static_options:
          allOf:
            - $ref: '#/components/schemas/aiopen_static_type'
          type: object
      required:
        - field_id
        - static_options
      type: object
    aiopen_multi_filter_type:
      enum:
        - and
        - or
      type: string
      x-enum:
        - and
        - or
    aiopen_node:
      properties:
        blocks:
          items:
            $ref: '#/components/schemas/aiopen_block'
          maxItems: 1024
          type: array
        children:
          items:
            $ref: '#/components/schemas/aiopen_node'
          maxItems: 1024
          type: array
        outline_level:
          format: int
          maximum: 10
          minimum: 1
          nullable: true
          type: integer
          x-omitempty: true
      required:
        - blocks
        - children
      type: object
    aiopen_operate_task_create_result:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        task_id:
          maxLength: 1024
          type: string
      required:
        - task_id
        - drive_id
        - file_id
      type: object
    aiopen_operate_task_search_result:
      properties:
        app_id:
          maxLength: 1024
          type: string
        download_url:
          maxLength: 1024
          type: string
        drive_id:
          maxLength: 1024
          type: string
        err_msg:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        operation:
          allOf:
            - $ref: '#/components/schemas/operate_task_type_enum'
          type: object
        result:
          allOf:
            - $ref: '#/components/schemas/notify_task_data'
          type: object
        status:
          allOf:
            - $ref: '#/components/schemas/operate_task_status_enum'
          type: object
      required:
        - app_id
        - operation
        - drive_id
        - file_id
        - result
        - err_msg
        - status
        - download_url
      type: object
    aiopen_operator_type:
      enum:
        - none
        - between
        - not_between
        - equal
        - not_equal
        - greater
        - less
        - greater_equal
        - less_equal
      type: string
      x-enum:
        - none
        - between
        - not_between
        - equal
        - not_equal
        - greater
        - less
        - greater_equal
        - less_equal
    aiopen_page_prop:
      properties:
        dpi:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        offset_angle:
          format: double
          nullable: true
          type: number
          x-omitempty: true
        rotate:
          allOf:
            - $ref: '#/components/schemas/aiopen_rotate_type'
          nullable: true
          type: object
          x-omitempty: true
        size:
          allOf:
            - $ref: '#/components/schemas/aiopen_size'
          nullable: true
          type: object
          x-omitempty: true
      type: object
    aiopen_para:
      properties:
        runs:
          items:
            $ref: '#/components/schemas/aiopen_run'
          maxItems: 1024
          type: array
      required:
        - runs
      type: object
    aiopen_para_alignment:
      enum:
        - left
        - center
        - right
        - justify
        - distribute
        - fill
        - centercontinuous
        - general
      type: string
      x-enum:
        - left
        - center
        - right
        - justify
        - distribute
        - fill
        - center_continuous
        - general
    aiopen_post_ai_recommend_question_req_body:
      properties:
        add_segment:
          items:
            $ref: '#/components/schemas/qa_add_segment'
          maxItems: 100
          type: array
          x-omitempty: true
        drive_id:
          maxLength: 64
          minLength: 1
          type: string
        file_id:
          maxLength: 64
          minLength: 1
          type: string
          x-omitempty: true
        histories:
          items:
            $ref: '#/components/schemas/qa_history'
          maxItems: 100
          type: array
          x-omitempty: true
        is_stream:
          type: boolean
          x-omitempty: true
        pageToken:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        size:
          format: int
          type: integer
        temperature:
          format: double
          nullable: true
          type: number
          x-omitempty: true
        top_k:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
      required:
        - drive_id
        - size
      type: object
    aiopen_post_ai_recommend_question_resp:
      properties:
        answer:
          maxLength: 1024
          type: string
        histories:
          items:
            $ref: '#/components/schemas/qa_history'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        search_files:
          items:
            $ref: '#/components/schemas/aiopen_search_file_data'
          maxItems: 1024
          type: array
      required:
        - answer
        - histories
        - search_files
      type: object
    aiopen_post_ai_table_assistant_req_body:
      properties:
        content:
          maxLength: 65535
          minLength: 1
          type: string
        intent_code:
          allOf:
            - $ref: '#/components/schemas/enum_ai_table_intent_code'
          type: object
        intent_result:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          type: array
        is_stream:
          type: boolean
        question:
          maxLength: 1024
          minLength: 1
          type: string
        scene:
          allOf:
            - $ref: '#/components/schemas/enum_ai_table_scene'
          type: object
      required:
        - scene
        - question
        - content
        - intent_code
        - intent_result
        - is_stream
      type: object
    aiopen_post_ai_table_assistant_resp:
      properties:
        replay_content:
          maxLength: 1024
          type: string
      required:
        - replay_content
      type: object
    aiopen_post_ai_table_intent_req_body:
      properties:
        question:
          maxLength: 1024
          minLength: 1
          type: string
        scene:
          allOf:
            - $ref: '#/components/schemas/enum_ai_table_scene'
          type: object
      required:
        - scene
        - question
      type: object
    aiopen_post_ai_table_intent_resp:
      properties:
        confidence:
          format: double
          type: number
        intent_code:
          allOf:
            - $ref: '#/components/schemas/enum_ai_table_intent_code'
          type: object
        intent_result:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - intent_code
        - confidence
        - intent_result
      type: object
    aiopen_post_doc_operate_tasks_create_resp:
      properties:
        task_results:
          items:
            $ref: '#/components/schemas/aiopen_operate_task_create_result'
          maxItems: 1024
          type: array
      required:
        - task_results
      type: object
    aiopen_post_qa_drive_file_qa_req_body:
      properties:
        add_segment:
          items:
            $ref: '#/components/schemas/qa_add_segment'
          maxItems: 100
          type: array
          x-omitempty: true
        histories:
          items:
            $ref: '#/components/schemas/qa_history'
          maxItems: 100
          type: array
          x-omitempty: true
        is_stream:
          type: boolean
          x-omitempty: true
        question:
          maxLength: 1024
          minLength: 1
          type: string
        question_intent:
          maxLength: 1024
          type: string
          x-omitempty: true
        temperature:
          format: double
          nullable: true
          type: number
          x-omitempty: true
        top_k:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
      required:
        - question
      type: object
    aiopen_post_qa_drives_qa_req_body:
      properties:
        add_segment:
          items:
            $ref: '#/components/schemas/qa_add_segment'
          maxItems: 100
          type: array
          x-omitempty: true
        drive_ids:
          items:
            maxLength: 64
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
        file_exts:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-omitempty: true
        histories:
          items:
            $ref: '#/components/schemas/qa_history'
          maxItems: 100
          type: array
          x-omitempty: true
        is_stream:
          type: boolean
          x-omitempty: true
        question:
          maxLength: 1024
          type: string
        question_intent:
          maxLength: 1024
          type: string
          x-omitempty: true
        temperature:
          format: double
          nullable: true
          type: number
          x-omitempty: true
        top_k:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
      required:
        - drive_ids
        - question
      type: object
    aiopen_post_qa_resp_data:
      properties:
        answer:
          maxLength: 1024
          type: string
        histories:
          items:
            $ref: '#/components/schemas/qa_history'
          maxItems: 1024
          type: array
        question_intent:
          maxLength: 1024
          type: string
        rag_files:
          items:
            $ref: '#/components/schemas/rag_file_data'
          maxItems: 1024
          type: array
        rewrite_questions:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        search_files:
          items:
            $ref: '#/components/schemas/aiopen_search_file_data'
          maxItems: 1024
          type: array
      required:
        - answer
        - histories
        - search_files
        - rag_files
        - rewrite_questions
        - question_intent
      type: object
    aiopen_prompt_function_info:
      properties:
        function_code:
          maxLength: 128
          minLength: 1
          type: string
        function_name:
          maxLength: 255
          minLength: 1
          nullable: true
          type: string
      required:
        - function_code
      type: object
    aiopen_range:
      properties:
        col_spans:
          allOf:
            - $ref: '#/components/schemas/aiopen_range_from_to'
          nullable: true
          type: object
          x-omitempty: true
        row_spans:
          allOf:
            - $ref: '#/components/schemas/aiopen_range_from_to'
          nullable: true
          type: object
          x-omitempty: true
      type: object
    aiopen_range_from_to:
      properties:
        from:
          format: int
          type: integer
        to:
          format: int
          type: integer
      required:
        - from
        - to
      type: object
    aiopen_rectangle:
      properties:
        x1:
          format: int
          type: integer
        x2:
          format: int
          type: integer
        y1:
          format: int
          type: integer
        y2:
          format: int
          type: integer
      required:
        - x1
        - y1
        - x2
        - y2
      type: object
    aiopen_reference:
      properties:
        id:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_reference_type'
          type: object
      required:
        - id
        - type
      type: object
    aiopen_reference_type:
      enum:
        - run
        - block
        - cell
      type: string
      x-enum:
        - run
        - block
        - cell
    aiopen_resource_files_commit_upload_req_body:
      properties:
        store_response:
          items:
            $ref: '#/components/schemas/aiopen_resource_store_response_key_values'
          maxItems: 1024
          type: array
        upload_id:
          maxLength: 64
          minLength: 1
          type: string
      required:
        - upload_id
      type: object
    aiopen_resource_files_commit_upload_resp:
      properties:
        ctime:
          format: int64
          type: integer
        hash:
          allOf:
            - $ref: '#/components/schemas/aiopen_file_hash'
          nullable: true
          type: object
        id:
          maxLength: 64
          minLength: 1
          type: string
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 255
          minLength: 1
          type: string
        size:
          format: int64
          type: integer
      required:
        - id
        - name
        - size
        - hash
        - ctime
        - mtime
      type: object
    aiopen_resource_files_commit_upload_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_resource_files_commit_upload_resp'
      required:
        - data
      type: object
    aiopen_resource_files_request_upload_req_body:
      properties:
        hash:
          allOf:
            - $ref: '#/components/schemas/aiopen_file_hash'
          nullable: true
          type: object
        method:
          allOf:
            - $ref: '#/components/schemas/aiopen_upload_method'
          type: object
        name:
          maxLength: 255
          minLength: 1
          type: string
        size:
          format: int64
          maximum: 21474836480
          minimum: 1
          type: integer
      required:
        - name
        - size
        - hash
      type: object
    aiopen_resource_files_request_upload_resp:
      properties:
        store_request:
          allOf:
            - $ref: '#/components/schemas/aiopen_resource_files_store_request'
          nullable: true
          type: object
        store_response_keys:
          allOf:
            - $ref: '#/components/schemas/aiopen_resource_files_store_response_keys'
          nullable: true
          type: object
        upload_id:
          maxLength: 255
          minLength: 1
          type: string
      required:
        - upload_id
        - store_request
        - store_response_keys
      type: object
    aiopen_resource_files_request_upload_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_resource_files_request_upload_resp'
      required:
        - data
      type: object
    aiopen_resource_files_store_request:
      properties:
        body_params:
          allOf:
            - $ref: '#/components/schemas/map_string_string'
          type: object
        headers:
          allOf:
            - $ref: '#/components/schemas/map_string_string'
          type: object
        method:
          maxLength: 32
          minLength: 1
          type: string
        request_url:
          maxLength: 1024
          minLength: 1
          type: string
      required:
        - method
        - request_url
        - headers
        - body_params
      type: object
    aiopen_resource_files_store_response_keys:
      properties:
        body_keys:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        header_keys:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - header_keys
        - body_keys
      type: object
    aiopen_resource_store_response_key_values:
      properties:
        name:
          maxLength: 255
          minLength: 1
          type: string
        value:
          maxLength: 1024
          minLength: 1
          type: string
      required:
        - name
        - value
      type: object
    aiopen_rotate_type:
      enum:
        - 0
        - 90
        - 180
        - 270
      type: integer
      x-enum:
        - rotate0
        - rotate90
        - rotate180
        - rotate270
    aiopen_run:
      properties:
        text:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
      type: object
    aiopen_run_prop:
      properties:
        bold:
          nullable: true
          type: boolean
          x-omitempty: true
        color:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        font_ascii:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        font_east_asia:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        italic:
          nullable: true
          type: boolean
          x-omitempty: true
        size:
          format: double
          nullable: true
          type: number
          x-omitempty: true
        strike:
          nullable: true
          type: boolean
          x-omitempty: true
        underline:
          nullable: true
          type: boolean
          x-omitempty: true
      type: object
    aiopen_search_file_data:
      properties:
        bnd_box:
          items:
            format: double
            type: number
          maxItems: 1024
          type: array
        drive_id:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        file_name:
          maxLength: 1024
          type: string
        page_index:
          format: int
          type: integer
        paragraph_content:
          maxLength: 1024
          type: string
        paragraph_hash:
          maxLength: 1024
          type: string
      required:
        - drive_id
        - file_id
        - file_name
        - paragraph_content
        - page_index
        - bnd_box
        - paragraph_hash
      type: object
    aiopen_session_create_req_body:
      properties:
        session_code:
          maxLength: 255
          minLength: 1
          type: string
        user_id:
          maxLength: 64
          minLength: 1
          type: string
      required:
        - session_code
      type: object
    aiopen_session_create_resp:
      properties:
        create_time:
          format: int64
          type: integer
        expire_time:
          format: int64
          type: integer
        is_reused:
          type: boolean
        session_id:
          maxLength: 64
          minLength: 1
          type: string
      required:
        - session_id
        - create_time
        - expire_time
        - is_reused
      type: object
    aiopen_session_data_enum_status:
      enum:
        - active
        - closed
        - expired
      type: string
      x-enum:
        - active
        - closed
        - expired
    aiopen_session_data_resp:
      properties:
        created_time:
          format: int64
          type: integer
        expire_time:
          format: int64
          type: integer
        session_code:
          maxLength: 1024
          type: string
        session_id:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/aiopen_session_data_enum_status'
          type: object
      required:
        - session_id
        - created_time
        - expire_time
        - status
        - session_code
      type: object
    aiopen_session_get_session_list_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_session_list_resp'
      required:
        - data
      type: object
    aiopen_session_get_session_messages_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_session_messages_batch_get_resp'
      required:
        - data
      type: object
    aiopen_session_info:
      properties:
        ext_attrs:
          maxLength: 4096
          nullable: true
          type: string
          x-escape: false
        message:
          allOf:
            - $ref: '#/components/schemas/aiopen_session_message'
          nullable: true
          type: object
        refs:
          items:
            $ref: '#/components/schemas/aiopen_session_ref'
          maxItems: 100
          type: array
        session_id:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - session_id
      type: object
    aiopen_session_list_resp:
      properties:
        items:
          items:
            $ref: '#/components/schemas/aiopen_session_data_resp'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 255
          minLength: 1
          type: string
        total:
          format: int
          type: integer
      required:
        - total
        - next_page_token
        - items
      type: object
    aiopen_session_message:
      properties:
        content:
          maxLength: 65535
          type: string
          x-escape: false
        content_type:
          maxLength: 32
          minLength: 1
          type: string
        role:
          maxLength: 32
          minLength: 1
          nullable: true
          type: string
      required:
        - content_type
        - content
      type: object
    aiopen_session_message_item:
      properties:
        content:
          maxLength: 65535
          minLength: 1
          type: string
        create_time:
          format: int64
          type: integer
        message_id:
          maxLength: 32
          minLength: 1
          type: string
        role:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - message_id
        - role
        - content
        - create_time
      type: object
    aiopen_session_messages_batch_get_req_body:
      properties:
        page_size:
          format: int64
          type: integer
        page_token:
          maxLength: 255
          minLength: 1
          type: string
        session_ids:
          items:
            maxLength: 32
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
        user_id:
          maxLength: 64
          minLength: 1
          type: string
      required:
        - session_ids
        - page_size
      type: object
    aiopen_session_messages_batch_get_resp:
      properties:
        items:
          items:
            $ref: '#/components/schemas/aiopen_session_message_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 256
          minLength: 1
          type: string
        total:
          format: int
          type: integer
      required:
        - total
        - next_page_token
        - items
      type: object
    aiopen_session_post_session_close_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    aiopen_session_post_session_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_session_create_resp'
      required:
        - data
      type: object
    aiopen_session_ref:
      properties:
        ext_attrs:
          maxLength: 4096
          nullable: true
          type: string
          x-escape: false
        file:
          allOf:
            - $ref: '#/components/schemas/aiopen_session_ref_file'
          nullable: true
          type: object
        text:
          allOf:
            - $ref: '#/components/schemas/aiopen_session_ref_text'
          nullable: true
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_session_ref_enum_type'
          type: object
      required:
        - type
      type: object
    aiopen_session_ref_enum_type:
      enum:
        - text
        - file
      type: string
      x-enum:
        - text
        - file
    aiopen_session_ref_file:
      properties:
        drive_id:
          maxLength: 64
          type: string
        file_id:
          maxLength: 64
          minLength: 1
          type: string
        file_name:
          maxLength: 255
          minLength: 1
          type: string
        source:
          allOf:
            - $ref: '#/components/schemas/aiopen_file_enum_source'
          type: object
      required:
        - source
        - file_id
        - file_name
      type: object
    aiopen_session_ref_text:
      properties:
        content:
          maxLength: 65535
          minLength: 1
          type: string
        content_type:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - content_type
        - content
      type: object
    aiopen_shared_string:
      properties:
        items:
          items:
            $ref: '#/components/schemas/aiopen_run'
          maxItems: 1024
          type: array
          x-omitempty: true
      type: object
    aiopen_sheet:
      properties:
        cols_style:
          items:
            $ref: '#/components/schemas/aiopen_col_style'
          maxItems: 1024
          type: array
          x-omitempty: true
        data:
          items:
            $ref: '#/components/schemas/aiopen_sheet_data'
          maxItems: 1024
          type: array
          x-omitempty: true
        data_validations:
          items:
            $ref: '#/components/schemas/aiopen_data_validation'
          maxItems: 1024
          type: array
          x-omitempty: true
        db_dash_board:
          allOf:
            - $ref: '#/components/schemas/aiopen_db_dash_board'
          type: object
          x-omitempty: true
        db_sheet:
          allOf:
            - $ref: '#/components/schemas/aiopen_db_sheet'
          type: object
          x-omitempty: true
        default_size:
          allOf:
            - $ref: '#/components/schemas/aiopen_size'
          nullable: true
          type: object
          x-omitempty: true
        flex_paper_id:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-omitempty: true
        hyperlinks:
          items:
            $ref: '#/components/schemas/aiopen_hyperlink'
          maxItems: 1024
          type: array
          x-omitempty: true
        id:
          format: int
          type: integer
        merge_cells:
          items:
            $ref: '#/components/schemas/aiopen_range'
          maxItems: 1024
          type: array
          x-omitempty: true
        name:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_sheet_type'
          nullable: true
          type: object
          x-omitempty: true
        used_range:
          allOf:
            - $ref: '#/components/schemas/aiopen_range'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - name
        - id
      type: object
    aiopen_sheet_data:
      properties:
        cells:
          items:
            $ref: '#/components/schemas/aiopen_cell'
          maxItems: 1024
          type: array
          x-omitempty: true
        height:
          format: double
          nullable: true
          type: number
          x-omitempty: true
        index:
          format: int
          type: integer
        spans:
          allOf:
            - $ref: '#/components/schemas/aiopen_range_from_to'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - index
      type: object
    aiopen_sheet_type:
      enum:
        - unknown
        - grid
        - dialog
        - chart
        - macro
        - module
        - griddb
        - dashboard
        - flexboard
        - dashboard_db
        - appication
        - workbench
      type: string
      x-enum:
        - unknown
        - grid
        - dialog
        - chart
        - macro
        - modules
        - griddb
        - dashboard
        - flexboard
        - dashboard_db
        - appication
        - workbench
    aiopen_size:
      properties:
        height:
          format: int
          type: integer
        width:
          format: int
          type: integer
      required:
        - width
        - height
      type: object
    aiopen_slide:
      properties:
        id:
          format: int
          type: integer
        layout_type:
          allOf:
            - $ref: '#/components/schemas/aiopen_layout_type'
          nullable: true
          type: object
          x-omitempty: true
        name:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        shape_tree:
          items:
            $ref: '#/components/schemas/aiopen_block'
          maxItems: 1024
          type: array
      required:
        - id
        - shape_tree
      type: object
    aiopen_slide_category:
      enum:
        - slide_masters
        - notes_masters
        - slide_layouts
        - slides
        - notepages
      type: string
      x-enum:
        - slide_masters
        - notes_masters
        - slide_layouts
        - slides
        - notepages
    aiopen_slide_container:
      properties:
        category:
          allOf:
            - $ref: '#/components/schemas/aiopen_slide_category'
          type: object
        slides:
          items:
            $ref: '#/components/schemas/aiopen_slide'
          maxItems: 1024
          type: array
      required:
        - category
        - slides
      type: object
    aiopen_sort_type:
      enum:
        - pinyin
        - stroke
      type: string
      x-enum:
        - pinyin
        - stroke
    aiopen_static_type:
      enum:
        - "null"
        - count
        - sum
        - filled_count
        - unfilled_count
        - filled_percentage
        - unfilled_percentage
        - unique_count
        - unique_percentage
        - avg
        - max
        - min
        - checked_percentage
        - unchecked_percentage
        - min_time
        - max_time
        - day_range
        - month_range
      type: string
      x-enum:
        - "null"
        - count
        - sum
        - filled_count
        - unfilled_count
        - filled_percentage
        - unfilled_percentage
        - unique_count
        - unique_percentage
        - avg
        - max
        - min
        - checked_percentage
        - unchecked_percentage
        - min_time
        - max_time
        - day_range
        - month_range
    aiopen_stream_enum_status:
      enum:
        - begin
        - thinking
        - reply
        - done
      type: string
      x-enum:
        - begin
        - thinking
        - reply
        - done
    aiopen_stream_resp:
      properties:
        message_data:
          allOf:
            - $ref: '#/components/schemas/aiopen_message_data_resp'
          type: object
        sequence_num:
          format: int
          type: integer
        session_data:
          allOf:
            - $ref: '#/components/schemas/aiopen_session_data_resp'
          type: object
        stream_status:
          allOf:
            - $ref: '#/components/schemas/aiopen_stream_enum_status'
          type: object
      required:
        - session_data
        - message_data
        - sequence_num
        - stream_status
      type: object
    aiopen_table:
      properties:
        rows:
          items:
            $ref: '#/components/schemas/aiopen_table_row'
          maxItems: 1024
          type: array
          x-omitempty: true
      type: object
    aiopen_table_cell:
      properties:
        blocks:
          items:
            $ref: '#/components/schemas/aiopen_block'
          maxItems: 1024
          type: array
        col_span:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        id:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        row_span:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
      required:
        - blocks
      type: object
    aiopen_table_row:
      properties:
        cells:
          items:
            $ref: '#/components/schemas/aiopen_table_cell'
          maxItems: 1024
          type: array
      required:
        - cells
      title: aiopen_table_row
      type: object
    aiopen_tag:
      properties:
        name:
          maxLength: 1024
          type: string
        value:
          maxLength: 1024
          type: string
      required:
        - name
        - value
      type: object
    aiopen_textbox:
      properties:
        blocks:
          items:
            $ref: '#/components/schemas/aiopen_block'
          maxItems: 1024
          type: array
      required:
        - blocks
      title: aiopen_textbox
      type: object
    aiopen_token_address:
      properties:
        detail:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        district:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - district
      type: object
    aiopen_token_array:
      properties:
        type:
          allOf:
            - $ref: '#/components/schemas/aiopen_cell_data_type'
          type: object
        value:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
      required:
        - type
      type: object
    aiopen_token_attachment:
      properties:
        file_id:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        image_size:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        link:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        name:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        size:
          format: double
          nullable: true
          type: number
          x-omitempty: true
        type:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
      type: object
    aiopen_token_link:
      properties:
        data_id:
          format: int
          type: integer
        sheet_id:
          format: int
          type: integer
      required:
        - sheet_id
        - data_id
      type: object
    aiopen_token_note:
      properties:
        content:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
      required:
        - file_id
        - content
      type: object
    aiopen_token_qrlabel:
      properties:
        content:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-omitempty: true
        key:
          maxLength: 1024
          type: string
        page_id:
          format: int
          type: integer
      required:
        - page_id
        - key
      type: object
    aiopen_token_selected:
      properties:
        item_index:
          items:
            format: int
            type: integer
          maxItems: 1024
          type: array
      required:
        - item_index
      type: object
    aiopen_upload_method:
      enum:
        - PUT
        - POST
        - WPS3 POST
      type: string
      x-enum:
        - PUT
        - POST
        - WPS3_POST
    aiopen_validation_type:
      enum:
        - date
        - time
        - text_length
        - custom
        - any_value
        - whole
        - decimal
        - list
      type: string
      x-enum:
        - date
        - time
        - text_length
        - custom
        - any_value
        - whole
        - decimal
        - list
    aippt_ainotes_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ainotes_sse_result'
      required:
        - data
      type: object
    aippt_generate_ppt_content_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/generate_ppt_content_result'
      required:
        - data
      type: object
    aippt_generate_slides_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/sse_slide_result'
      required:
        - data
      type: object
    aippt_html2pptx_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/html2pptx_sse_result'
      required:
        - data
      type: object
    aippt_multipages_gen_slide_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/sse_slide_result'
      required:
        - data
      type: object
    airpage_airpage_base_info_resp:
      properties:
        block_info:
          allOf:
            - $ref: '#/components/schemas/airpage_airpage_block_info'
          type: object
        cover:
          allOf:
            - $ref: '#/components/schemas/airpage_airpage_cover_info'
          type: object
        creator:
          allOf:
            - $ref: '#/components/schemas/airpage_airpage_creator_data'
          type: object
        ctime:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        size:
          format: int64
          type: integer
        title:
          maxLength: 1024
          type: string
        version:
          format: int64
          type: integer
      required:
        - id
        - version
        - title
        - ctime
        - size
        - creator
        - block_info
      type: object
    airpage_airpage_block_batch_delete_req_body:
      properties:
        arg:
          format: binary
          maxLength: 1024
          type: string
      required:
        - arg
      type: object
    airpage_airpage_block_batch_delete_resp:
      properties:
        fail_list:
          items:
            format: binary
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        success_list:
          items:
            format: binary
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - success_list
        - fail_list
      type: object
    airpage_airpage_block_batch_update_req_body:
      properties:
        arg:
          format: binary
          maxLength: 1024
          type: string
      required:
        - arg
      type: object
    airpage_airpage_block_batch_update_resp:
      properties:
        results:
          format: binary
          maxLength: 1024
          type: string
      required:
        - results
      type: object
    airpage_airpage_block_convert_req_body:
      properties:
        arg:
          format: binary
          maxLength: 1024
          type: string
      required:
        - arg
      type: object
    airpage_airpage_block_convert_resp:
      properties:
        result:
          format: binary
          maxLength: 1024
          type: string
      required:
        - result
      type: object
    airpage_airpage_block_create_req_body:
      properties:
        arg:
          format: binary
          maxLength: 1024
          type: string
      required:
        - arg
      type: object
    airpage_airpage_block_create_resp:
      properties:
        result:
          format: binary
          maxLength: 1024
          type: string
      required:
        - result
      type: object
    airpage_airpage_block_delete_req_body:
      properties:
        arg:
          format: binary
          maxLength: 1024
          type: string
      required:
        - arg
      type: object
    airpage_airpage_block_delete_resp:
      properties:
        result:
          format: binary
          maxLength: 1024
          type: string
      required:
        - result
      type: object
    airpage_airpage_block_info:
      properties:
        count:
          format: int64
          type: integer
      required:
        - count
      type: object
    airpage_airpage_block_list_req_body:
      properties:
        arg:
          format: binary
          maxLength: 1024
          type: string
      required:
        - arg
      type: object
    airpage_airpage_block_list_resp:
      properties:
        results:
          format: binary
          maxLength: 1024
          type: string
      required:
        - results
      type: object
    airpage_airpage_block_query_req_body:
      properties:
        arg:
          format: binary
          maxLength: 1024
          type: string
      required:
        - arg
      type: object
    airpage_airpage_block_query_resp:
      properties:
        result:
          format: binary
          maxLength: 1024
          type: string
      required:
        - result
      type: object
    airpage_airpage_block_update_req_body:
      properties:
        arg:
          format: binary
          maxLength: 1024
          type: string
      required:
        - arg
      type: object
    airpage_airpage_block_update_resp:
      properties:
        result:
          format: binary
          maxLength: 1024
          type: string
      required:
        - result
      type: object
    airpage_airpage_cover_extra_info:
      properties:
        format:
          maxLength: 1024
          type: string
        height:
          format: int32
          type: integer
        width:
          format: int32
          type: integer
      required:
        - width
        - height
        - format
      type: object
    airpage_airpage_cover_info:
      properties:
        download_url:
          maxLength: 1024
          type: string
        extra_info:
          allOf:
            - $ref: '#/components/schemas/airpage_airpage_cover_extra_info'
          type: object
        id:
          maxLength: 1024
          type: string
      required:
        - id
        - download_url
        - extra_info
      type: object
    airpage_airpage_create_req_body:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        on_name_conflict:
          allOf:
            - $ref: '#/components/schemas/airpage_airpage_create_req_body_on_name_conflict_policy'
          type: object
        parent_id:
          maxLength: 1024
          type: string
        template_id:
          maxLength: 1024
          type: string
      required:
        - drive_id
        - parent_id
        - template_id
        - name
        - on_name_conflict
      type: object
    airpage_airpage_create_req_body_on_name_conflict_policy:
      enum:
        - rename
        - fail
        - overwrite
      type: string
      x-enum:
        - rename
        - fail
        - overwrite
    airpage_airpage_create_resp:
      properties:
        ctime:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        link_id:
          maxLength: 1024
          type: string
        link_url:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
        - link_id
        - link_url
        - ctime
      type: object
    airpage_airpage_creator_data:
      properties:
        avatar_url:
          maxLength: 1024
          type: string
        user_id:
          maxLength: 1024
          type: string
        user_name:
          maxLength: 1024
          type: string
      required:
        - user_id
        - user_name
        - avatar_url
      type: object
    airpage_anchor_attachments_replace_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airpage_attachment_anchor_req_body:
      properties:
        anchor_id:
          maxLength: 1024
          type: string
        attachment_info:
          allOf:
            - $ref: '#/components/schemas/airpage_attachment_info'
          type: object
        attachment_name:
          maxLength: 1024
          type: string
      required:
        - anchor_id
        - attachment_name
        - attachment_info
      type: object
    airpage_attachment_info:
      properties:
        download_url:
          maxLength: 1024
          type: string
        hash:
          allOf:
            - $ref: '#/components/schemas/airpage_hash'
          type: object
        id:
          maxLength: 1024
          type: string
      required:
        - hash
      type: object
    airpage_base_info_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airpage_airpage_base_info_resp'
      required:
        - data
      type: object
    airpage_blocks_batch_delete_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airpage_airpage_block_batch_delete_resp'
      required:
        - data
      type: object
    airpage_blocks_batch_get_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airpage_airpage_block_list_resp'
      required:
        - data
      type: object
    airpage_blocks_batch_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airpage_airpage_block_batch_update_resp'
      required:
        - data
      type: object
    airpage_blocks_convert_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airpage_airpage_block_convert_resp'
      required:
        - data
      type: object
    airpage_blocks_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airpage_airpage_block_create_resp'
      required:
        - data
      type: object
    airpage_blocks_delete_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airpage_airpage_block_delete_resp'
      required:
        - data
      type: object
    airpage_blocks_get_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airpage_airpage_block_query_resp'
      required:
        - data
      type: object
    airpage_blocks_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airpage_airpage_block_update_resp'
      required:
        - data
      type: object
    airpage_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airpage_airpage_create_resp'
      required:
        - data
      type: object
    airpage_export_task_query_req_body:
      properties:
        format:
          maxLength: 1024
          type: string
        internal_link:
          type: boolean
        print:
          type: boolean
        task_id:
          maxLength: 1024
          type: string
        version:
          maxLength: 1024
          type: string
      required:
        - format
        - version
        - task_id
        - print
        - internal_link
      type: object
    airpage_export_task_query_resp:
      properties:
        cost:
          allOf:
            - $ref: '#/components/schemas/airpage_export_time_cost'
          type: object
        key:
          maxLength: 1024
          type: string
        loading_info:
          maxLength: 1024
          type: string
        status:
          maxLength: 1024
          type: string
        task_id:
          maxLength: 1024
          type: string
        task_result:
          allOf:
            - $ref: '#/components/schemas/airpage_task_result'
          type: object
        url:
          maxLength: 1024
          type: string
        version:
          format: int64
          type: integer
      required:
        - status
        - key
        - url
        - version
        - loading_info
      type: object
    airpage_export_task_query_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airpage_export_task_query_resp'
      required:
        - data
      type: object
    airpage_export_time_cost:
      properties:
        full_data_cost:
          maxLength: 1024
          type: string
        handle_attachment_cost:
          maxLength: 1024
          type: string
        handle_comment_cost:
          maxLength: 1024
          type: string
        handle_export_cost:
          maxLength: 1024
          type: string
        handle_map_cost:
          maxLength: 1024
          type: string
        key:
          maxLength: 1024
          type: string
        status:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
        version:
          maxLength: 1024
          type: string
      required:
        - full_data_cost
        - handle_attachment_cost
        - handle_comment_cost
        - handle_map_cost
        - handle_export_cost
        - key
        - url
        - status
        - version
      type: object
    airpage_export_to_docx_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airpage_export_to_docx_task_resp'
      required:
        - data
      type: object
    airpage_export_to_docx_task_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_airpage_exporter_task_create_resp'
      required:
        - data
      type: object
    airpage_export_to_docx_task_req_body:
      properties:
        ai_check:
          type: boolean
        attrs:
          maxLength: 1024
          type: string
        version:
          maxLength: 1024
          type: string
      required:
        - attrs
        - version
        - ai_check
      type: object
    airpage_export_to_docx_task_resp:
      properties:
        file_name:
          maxLength: 1024
          type: string
        key:
          maxLength: 1024
          type: string
        status:
          maxLength: 1024
          type: string
        task_id:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
        version:
          maxLength: 1024
          type: string
      required:
        - key
        - url
        - status
        - version
        - task_id
        - file_name
      type: object
    airpage_export_to_image_task_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_airpage_exporter_task_create_resp'
      required:
        - data
      type: object
    airpage_export_to_json_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airpage_exporter_json_resp'
      required:
        - data
      type: object
    airpage_export_to_pdf_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airpage_export_to_pdf_task_resp'
      required:
        - data
      type: object
    airpage_export_to_pdf_task_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_airpage_exporter_task_create_resp'
      required:
        - data
      type: object
    airpage_export_to_pdf_task_req_body:
      properties:
        attrs:
          maxLength: 1024
          type: string
        download_name:
          maxLength: 1024
          type: string
        drive_id:
          maxLength: 1024
          type: string
        dst_parent_id:
          maxLength: 1024
          type: string
        group_id:
          format: int64
          type: integer
        margin_bottom:
          format: double
          type: number
        margin_left:
          format: double
          type: number
        margin_right:
          format: double
          type: number
        margin_top:
          format: double
          type: number
        paper_height:
          format: double
          type: number
        paper_width:
          format: double
          type: number
        parent_id:
          format: int64
          type: integer
        print:
          type: boolean
        store_type:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
        url_param:
          maxLength: 1024
          type: string
        version:
          maxLength: 1024
          type: string
      required:
        - version
        - attrs
        - url
        - url_param
        - margin_top
        - margin_bottom
        - margin_left
        - margin_right
        - paper_width
        - paper_height
        - store_type
        - group_id
        - parent_id
        - print
        - download_name
      type: object
    airpage_export_to_pdf_task_resp:
      properties:
        file_name:
          maxLength: 1024
          type: string
        key:
          maxLength: 1024
          type: string
        status:
          maxLength: 1024
          type: string
        task_id:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
        version:
          maxLength: 1024
          type: string
      required:
        - key
        - url
        - status
        - version
        - task_id
        - file_name
      type: object
    airpage_exporter_json_resp:
      properties:
        attachment_list:
          items:
            $ref: '#/components/schemas/airpage_attachment_info'
          maxItems: 1024
          type: array
        content:
          format: binary
          maxLength: 1024
          type: string
      required:
        - content
        - attachment_list
      type: object
    airpage_hash:
      properties:
        sum:
          maxLength: 1024
          type: string
        typ:
          maxLength: 1024
          type: string
      required:
        - typ
        - sum
      type: object
    airpage_import_attachments_type_data_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_airpage_upload_attachment_resp'
      required:
        - data
      type: object
    airpage_import_texts_type_data_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airpage_import_texts_type_json_data_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airpage_importer_text_type_by_json_req_body:
      properties:
        content:
          maxLength: 1024
          type: string
      required:
        - content
      type: object
    airpage_task_result:
      properties:
        file_id:
          maxLength: 1024
          type: string
        file_name:
          maxLength: 1024
          type: string
        folder_names:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - file_id
        - file_name
        - folder_names
      type: object
    airsheet_auto_filter_condition:
      properties:
        operator:
          allOf:
            - $ref: '#/components/schemas/airsheet_filter_operator'
          type: object
        param1:
          allOf:
            - $ref: '#/components/schemas/airsheet_filter_condition_param'
          type: object
        param2:
          allOf:
            - $ref: '#/components/schemas/airsheet_filter_condition_param'
          type: object
      type: object
    airsheet_autofilter_info:
      properties:
        col:
          format: int32
          type: integer
        condition:
          allOf:
            - $ref: '#/components/schemas/airsheet_auto_filter_condition'
          type: object
      required:
        - col
        - condition
      type: object
    airsheet_cell_data:
      properties:
        cell_text:
          maxLength: 1024
          type: string
        col_from:
          format: int32
          type: integer
        col_to:
          format: int32
          type: integer
        is_cell_pic:
          type: boolean
        num_format:
          maxLength: 1024
          type: string
        original_cell_value:
          maxLength: 1024
          type: string
        pic_content:
          maxLength: 1024
          type: string
        pic_data:
          maxLength: 1024
          type: string
        row_from:
          format: int32
          type: integer
        row_to:
          format: int32
          type: integer
        sha1:
          maxLength: 1024
          type: string
        tag:
          maxLength: 1024
          type: string
      required:
        - cell_text
        - col_from
        - col_to
        - is_cell_pic
        - num_format
        - original_cell_value
        - pic_data
        - sha1
        - row_from
        - row_to
        - tag
        - pic_content
      type: object
    airsheet_copy_worksheet_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_airsheet_copy_work_sheet_resp'
      required:
        - data
      type: object
    airsheet_create_data_validation_req_body:
      properties:
        args:
          allOf:
            - $ref: '#/components/schemas/airsheet_data_validation_args'
          type: object
        field_type:
          maxLength: 1024
          type: string
        range:
          allOf:
            - $ref: '#/components/schemas/airsheet_range'
          type: object
      required:
        - range
        - args
        - field_type
      type: object
    airsheet_create_data_validation_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airsheet_create_filter_req_body:
      properties:
        expand_filter_range:
          type: boolean
        range:
          allOf:
            - $ref: '#/components/schemas/airsheet_range'
          type: object
      required:
        - range
        - expand_filter_range
      type: object
    airsheet_create_filter_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airsheet_create_protection_range_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airsheet_create_req_body:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        on_name_conflict:
          allOf:
            - $ref: '#/components/schemas/airsheet_on_name_conflict_enum'
          type: object
        parent_id:
          maxLength: 1024
          type: string
        parent_path:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - drive_id
        - name
      type: object
    airsheet_create_resp:
      properties:
        id:
          maxLength: 1024
          type: string
        link_id:
          maxLength: 1024
          type: string
        link_url:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        parent_id:
          maxLength: 1024
          type: string
      required:
        - id
        - link_id
        - link_url
        - name
        - parent_id
      type: object
    airsheet_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airsheet_create_resp'
      required:
        - data
      type: object
    airsheet_create_row_req_body:
      properties:
        range_data:
          items:
            $ref: '#/components/schemas/airsheet_update_range_data'
          type: array
      type: object
    airsheet_create_row_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airsheet_create_worksheet_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
        - properties:
            data:
              $ref: '#/components/schemas/airsheet_create_work_sheet_resp'
          required:
            - data
          type: object
    airsheet_create_work_sheet_req_body:
      properties:
        col_width:
          description: 列宽
          format: float
          type: number
        name:
          description: 工作表名
          maxLength: 1024
          type: string
        position:
          allOf:
            - $ref: '#/components/schemas/airsheet_create_sheet_position'
          description: 插入位置
          type: object
      required:
        - position
      type: object
    airsheet_create_work_sheet_resp:
      properties:
        sheet_id:
          description: sheet id
          format: int64
          type: integer
      required:
        - sheet_id
      type: object
    airsheet_create_sheet_position:
      properties:
        after_sheet_id:
          description: 插入位置，在哪个sheet之后
          format: int64
          type: integer
        before_sheet_id:
          description: 插入位置，在哪个sheet之前
          format: int64
          type: integer
        end:
          description: 插入位置，是否最后
          type: boolean
      type: object
    airsheet_data_validation_args:
      properties:
        list_items:
          items:
            $ref: '#/components/schemas/airsheet_list_item'
          maxItems: 1024
          type: array
        validation_error_text:
          maxLength: 1024
          type: string
        validation_error_title:
          maxLength: 1024
          type: string
      required:
        - validation_error_text
        - validation_error_title
        - list_items
      type: object
    airsheet_data_validation_info:
      properties:
        col_from:
          format: int32
          type: integer
        col_to:
          format: int32
          type: integer
        row_from:
          format: int32
          type: integer
        row_to:
          format: int32
          type: integer
        validation_error_text:
          maxLength: 1024
          type: string
        validation_error_title:
          maxLength: 1024
          type: string
        value_str:
          maxLength: 1024
          type: string
      required:
        - col_from
        - col_to
        - row_from
        - row_to
        - validation_error_text
        - validation_error_title
        - value_str
      type: object
    airsheet_delete_data_validation_req_body:
      properties:
        range:
          allOf:
            - $ref: '#/components/schemas/airsheet_range'
          type: object
      required:
        - range
      type: object
    airsheet_delete_data_validation_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airsheet_delete_filter_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airsheet_delete_range_data_req_body:
      properties:
        range_data:
          items:
            properties:
              row_from:
                type: integer
              row_to:
                type: integer
              col_from:
                type: integer
              col_to:
                type: integer
            type: object
          type: array
        shift_type:
          type: string
          enum:
            - shift_up
            - shift_left
      required:
        - range_data
      type: object
    airsheet_delete_range_data_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airsheet_delete_worksheet_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airsheet_duplicates:
      properties:
        col:
          items:
            format: int32
            type: integer
          maxItems: 1024
          type: array
      required:
        - col
      type: object
    airsheet_filter:
      properties:
        condition:
          items:
            $ref: '#/components/schemas/airsheet_filter_condition'
          maxItems: 1024
          type: array
        duplicates:
          allOf:
            - $ref: '#/components/schemas/airsheet_duplicates'
          type: object
        search:
          items:
            $ref: '#/components/schemas/airsheet_search_condition'
          maxItems: 1024
          type: array
      required:
        - condition
        - search
        - duplicates
      type: object
    airsheet_filter_condition:
      properties:
        col:
          format: int32
          type: integer
        info:
          items:
            $ref: '#/components/schemas/airsheet_filter_info'
          maxItems: 1024
          type: array
        mode:
          allOf:
            - $ref: '#/components/schemas/airsheet_filter_mode'
          type: object
      required:
        - col
        - info
        - mode
      type: object
    airsheet_filter_condition_param:
      properties:
        custom_type:
          allOf:
            - $ref: '#/components/schemas/airsheet_filter_custom_type'
          type: object
        val:
          maxLength: 1024
          type: string
      required:
        - custom_type
        - val
      type: object
    airsheet_filter_custom_type:
      enum:
        - filter_custom_type_greater
        - filter_custom_type_greater_equ
        - filter_custom_type_less
        - filter_custom_type_less_equ
        - filter_custom_type_equals
        - filter_custom_type_not_equ
        - filter_custom_type_begin_with
        - filter_custom_type_end_with
        - filter_custom_type_contains
        - filter_custom_type_not_contains
      type: string
      x-enum:
        - filter_custom_type_greater
        - filter_custom_type_greater_equ
        - filter_custom_type_less
        - filter_custom_type_less_equ
        - filter_custom_type_equals
        - filter_custom_type_not_equ
        - filter_custom_type_begin_with
        - filter_custom_type_end_with
        - filter_custom_type_contains
        - filter_custom_type_not_contains
    airsheet_filter_info:
      properties:
        value:
          maxLength: 1024
          type: string
      required:
        - value
      type: object
    airsheet_filter_mode:
      enum:
        - filter_mode_and
        - filter_mode_or
      type: string
      x-enum:
        - filter_mode_and
        - filter_mode_or
    airsheet_filter_operator:
      enum:
        - filter_operator_and
        - filter_operator_or
      type: string
      x-enum:
        - filter_operator_and
        - filter_operator_or
    airsheet_find_cell_req_body:
      properties:
        filter:
          allOf:
            - $ref: '#/components/schemas/airsheet_filter'
          type: object
        ignore_hidden_cell:
          type: boolean
        option_cols:
          items:
            format: int32
            type: integer
          maxItems: 1024
          type: array
        page:
          allOf:
            - $ref: '#/components/schemas/airsheet_page'
          type: object
        range:
          allOf:
            - $ref: '#/components/schemas/airsheet_range'
          type: object
        show_total:
          type: boolean
      required:
        - range
        - filter
      type: object
    airsheet_find_cell_resp:
      properties:
        merge_range_data:
          items:
            $ref: '#/components/schemas/airsheet_cell_data'
          maxItems: 1024
          type: array
        option_col:
          items:
            $ref: '#/components/schemas/airsheet_option_column'
          maxItems: 1024
          type: array
        range_data:
          items:
            $ref: '#/components/schemas/airsheet_cell_data'
          maxItems: 1024
          type: array
        result_type:
          format: int32
          type: integer
        total:
          format: int32
          type: integer
      required:
        - merge_range_data
        - range_data
        - option_col
        - result_type
        - total
      type: object
    airsheet_find_cell_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airsheet_find_cell_resp'
      required:
        - data
      type: object
    airsheet_get_data_validation_resp:
      properties:
        infos:
          items:
            $ref: '#/components/schemas/airsheet_data_validation_info'
          maxItems: 1024
          type: array
      required:
        - infos
      type: object
    airsheet_get_data_validation_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airsheet_get_data_validation_resp'
      required:
        - data
      type: object
    airsheet_get_filter_resp:
      properties:
        autofilter_infos:
          items:
            $ref: '#/components/schemas/airsheet_autofilter_info'
          maxItems: 1024
          type: array
      required:
        - autofilter_infos
      type: object
    airsheet_get_filter_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airsheet_get_filter_resp'
      required:
        - data
      type: object
    airsheet_get_protection_ranges_resp:
      properties:
        protection_infos:
          items:
            $ref: '#/components/schemas/airsheet_protection_info_group'
          maxItems: 1024
          type: array
      required:
        - protection_infos
      type: object
    airsheet_get_protection_ranges_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/airsheet_get_protection_ranges_resp'
      required:
        - data
      type: object
    airsheet_get_range_data_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          properties:
            range_data:
              items:
                type: object
              type: array
          type: object
      type: object
    airsheet_get_sheets_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_airsheet_get_sheets_resp'
      required:
        - data
      type: object
    airsheet_get_worksheets_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          properties:
            sheets:
              items:
                properties:
                  sheet_id:
                    type: integer
                  name:
                    type: string
                  index:
                    type: integer
                  resource_type:
                    type: string
                  hidden:
                    type: boolean
                  max_row:
                    type: integer
                  max_col:
                    type: integer
                type: object
              type: array
          type: object
      type: object
    airsheet_import_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airsheet_list_item:
      properties:
        value:
          maxLength: 1024
          type: string
      required:
        - value
      type: object
    airsheet_on_name_conflict_enum:
      enum:
        - rename
        - fail
      type: string
      x-enum:
        - rename
        - fail
    airsheet_option_column:
      properties:
        col:
          format: int32
          type: integer
        texts:
          items:
            $ref: '#/components/schemas/airsheet_option_text'
          maxItems: 1024
          type: array
      required:
        - col
        - texts
      type: object
    airsheet_option_text:
      properties:
        count:
          format: int32
          type: integer
        origin:
          maxLength: 1024
          type: string
        text:
          maxLength: 1024
          type: string
      required:
        - count
        - text
        - origin
      type: object
    airsheet_others_access_permission:
      enum:
        - others_access_permission_invisible
        - others_access_permission_visible
        - others_access_permission_editable
      type: string
      x-enum:
        - others_access_permission_invisible
        - others_access_permission_visible
        - others_access_permission_editable
    airsheet_page:
      properties:
        page:
          format: int32
          type: integer
        page_size:
          format: int32
          type: integer
      required:
        - page_size
        - page
      type: object
    airsheet_protection_info_group:
      properties:
        master_id:
          maxLength: 1024
          type: string
        other_user_permission:
          allOf:
            - $ref: '#/components/schemas/airsheet_user_access_permission'
          type: object
        protection_info:
          items:
            $ref: '#/components/schemas/airsheet_protection_info_item'
          maxItems: 1024
          type: array
      required:
        - protection_info
        - master_id
        - other_user_permission
      type: object
    airsheet_protection_info_item:
      properties:
        id:
          maxLength: 1024
          type: string
        others_access_permission:
          allOf:
            - $ref: '#/components/schemas/airsheet_others_access_permission'
          type: object
        protection_ranges:
          items:
            $ref: '#/components/schemas/airsheet_range'
          maxItems: 1024
          type: array
        protection_user_data:
          items:
            $ref: '#/components/schemas/airsheet_protection_user_data'
          maxItems: 1024
          type: array
        range_creator_id:
          maxLength: 1024
          type: string
      required:
        - id
        - protection_ranges
        - others_access_permission
        - range_creator_id
        - protection_user_data
      type: object
    airsheet_protection_user_data:
      properties:
        access_permission:
          allOf:
            - $ref: '#/components/schemas/airsheet_user_access_permission'
          type: object
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
        - access_permission
      type: object
    airsheet_range:
      properties:
        col_from:
          format: int32
          type: integer
        col_to:
          format: int32
          type: integer
        row_from:
          format: int32
          type: integer
        row_to:
          format: int32
          type: integer
      required:
        - row_from
        - row_to
        - col_from
        - col_to
      type: object
    airsheet_search_condition:
      properties:
        col:
          format: int32
          type: integer
        value:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - col
        - value
      type: object
    airsheet_update_data_validation_req_body:
      properties:
        args:
          allOf:
            - $ref: '#/components/schemas/airsheet_data_validation_args'
          type: object
        field_type:
          maxLength: 1024
          type: string
        range:
          allOf:
            - $ref: '#/components/schemas/airsheet_range'
          type: object
      required:
        - range
        - args
        - field_type
      type: object
    airsheet_update_data_validation_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airsheet_update_filter_req_body:
      properties:
        col:
          format: int32
          type: integer
        condition:
          allOf:
            - $ref: '#/components/schemas/airsheet_auto_filter_condition'
          type: object
      required:
        - col
        - condition
      type: object
    airsheet_update_filter_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airsheet_update_range_data:
      properties:
        op_type:
          type: string
          enum:
            - cell_operation_type_formula
            - cell_operation_type_picture
            - cell_operation_type_format
            - cell_operation_type_merge
        row_from:
          type: integer
        row_to:
          type: integer
        col_from:
          type: integer
        col_to:
          type: integer
        col:
          type: integer
        formula:
          type: string
      type: object
    airsheet_update_range_data_req_body:
      properties:
        range_data:
          items:
            $ref: '#/components/schemas/airsheet_update_range_data'
          type: array
      required:
        - range_data
      type: object
    airsheet_update_range_data_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airsheet_update_worksheet_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    airsheet_user_access_permission:
      enum:
        - user_access_permission_visible
        - user_access_permission_editable
      type: string
      x-enum:
        - user_access_permission_visible
        - user_access_permission_editable
    all_file_list_data:
      properties:
        failures:
          items:
            $ref: '#/components/schemas/object_error_detail'
          maxItems: 1024
          type: array
        items:
          items:
            $ref: '#/components/schemas/file'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    allocate_part:
      enum:
        - email
        - drive
        - all
      title: 配额组成部分的类型
      type: string
      x-enum:
        - email
        - drive
        - all
    allocate_type:
      enum:
        - user
        - drive
        - company
        - dept
      title: 配额主体的类型
      type: string
      x-enum:
        - user
        - drive
        - company
        - dept
    allocation:
      properties:
        entitlement_key:
          maxLength: 128
          minLength: 1
          type: string
        entity_id:
          maxLength: 128
          minLength: 1
          type: string
        entity_name:
          maxLength: 128
          minLength: 1
          type: string
        entity_type:
          allOf:
            - $ref: '#/components/schemas/enum_entity_type'
          type: object
        id:
          maxLength: 1024
          type: string
        state:
          allOf:
            - $ref: '#/components/schemas/enum_allocation_state'
          type: object
      required:
        - entitlement_key
        - id
        - entity_id
        - entity_type
        - state
      type: object
    announce_creator:
      properties:
        id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
            - mix:user_id
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
      title: announce_creator
      type: object
    announce_detail:
      properties:
        abstract:
          maxLength: 1024
          type: string
        app_id:
          maxLength: 1024
          type: string
        cover:
          maxLength: 1024
          type: string
        created_by:
          allOf:
            - $ref: '#/components/schemas/announce_creator'
          type: object
        expire_time:
          format: int64
          type: integer
        group:
          allOf:
            - $ref: '#/components/schemas/announce_group'
          type: object
        id:
          maxLength: 1024
          type: string
        is_top:
          type: boolean
        publish_time:
          format: int64
          type: integer
        security_level:
          allOf:
            - $ref: '#/components/schemas/announce_security_level'
          type: object
        signature_name:
          maxLength: 1024
          type: string
        title:
          maxLength: 1024
          type: string
      required:
        - id
        - title
        - abstract
        - cover
        - app_id
        - publish_time
        - created_by
        - signature_name
        - expire_time
        - is_top
      title: announce_detail
      type: object
    announce_download:
      properties:
        hashes:
          items:
            $ref: '#/components/schemas/announce_download_hash'
          maxItems: 1024
          type: array
          x-omitempty: true
        url:
          maxLength: 1024
          type: string
      required:
        - url
      title: announce_download
      type: object
    announce_download_enum_hash_type:
      enum:
        - sha256
        - md5
        - sha1
        - s2s
      type: string
      x-enum:
        - sha256
        - md5
        - sha1
        - s2s
    announce_download_hash:
      properties:
        sum:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/announce_download_enum_hash_type'
          type: object
      required:
        - type
        - sum
      type: object
    announce_group:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
      title: announce_group
      type: object
    announce_item:
      properties:
        app_id:
          maxLength: 1024
          type: string
        cover:
          maxLength: 1024
          type: string
        created_by:
          allOf:
            - $ref: '#/components/schemas/announce_creator'
          type: object
        expire_time:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        is_top:
          type: boolean
        publish_time:
          format: int64
          type: integer
        title:
          maxLength: 1024
          type: string
      required:
        - id
        - title
        - cover
        - app_id
        - publish_time
        - created_by
        - expire_time
        - is_top
      title: announce_item
      type: object
    announce_security_level:
      properties:
        id:
          maxLength: 1024
          type: string
        mobile_visible:
          type: boolean
      required:
        - id
        - mobile_visible
      title: announce_security_level
      type: object
    announce_subject_type:
      enum:
        - company
        - dept
        - user
      title: subject_type
      type: string
      x-enum:
        - company
        - dept
        - user
    announce_visibilities:
      properties:
        items:
          items:
            $ref: '#/components/schemas/announce_visibility_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
          x-omitempty: true
      required:
        - items
        - next_page_token
      title: announce_visibilities
      type: object
    announce_visibility_item:
      properties:
        subject_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:dept_id
            - ex:user_id
            - mix:company_id
            - mix:dept_id
            - mix:user_id
        subject_type:
          allOf:
            - $ref: '#/components/schemas/announce_subject_type'
          type: object
      required:
        - subject_type
        - subject_id
      title: visibility_item
      type: object
    app_ability:
      properties:
        abi_type:
          allOf:
            - $ref: '#/components/schemas/app_ability_type'
          type: object
        configs:
          items:
            allOf:
              - $ref: '#/components/schemas/app_ability_config'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        name:
          maxLength: 1024
          type: string
      required:
        - abi_type
        - name
        - configs
      type: object
    app_ability_config:
      properties:
        key:
          maxLength: 1024
          type: string
        value:
          maxLength: 1024
          type: string
      required:
        - key
        - value
      type: object
    app_ability_type:
      enum:
        - im_workbench_block
        - im_robot
        - im_mini_app
        - dbsheet_view
        - im_homepage
        - dbsheet_dashboard
        - dbsheet_automatic
        - dbsheet_data_conn
        - dbsheet_field
        - dbsheet_record_card
        - wo_weboffice
        - open_web_component
        - opendocs_chart_collect
      type: string
      x-enum:
        - im_workbench_block
        - im_robot
        - im_mini_app
        - dbsheet_view
        - im_homepage
        - dbsheet_dashboard
        - dbsheet_automatic
        - dbsheet_data_conn
        - dbsheet_field
        - dbsheet_record_card
        - wo_weboffice
        - open_web_component
        - opendocs_chart_collect
    app_approval_status:
      enum:
        - reviewing
        - approved
        - rejected
        - withdrawn
        - auto_approved
      type: string
      x-enum:
        - reviewing
        - approved
        - rejected
        - withdrawn
        - auto_approved
    app_badge:
      properties:
        notification_count:
          format: int64
          type: integer
        sequence:
          format: int64
          type: integer
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - user_id
        - sequence
        - notification_count
      type: object
    app_change_owner_req_body:
      properties:
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - user_id
      type: object
    app_change_owner_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    app_config_chat:
      properties:
        custom_page_config:
          allOf:
            - $ref: '#/components/schemas/app_config_chat_custom_page'
          nullable: true
          type: object
        default_chat_type:
          allOf:
            - $ref: '#/components/schemas/app_config_chat_type'
          type: object
      required:
        - default_chat_type
        - custom_page_config
      title: app_config_chat
      type: object
    app_config_chat_custom_page:
      properties:
        mobile_url:
          maxLength: 512
          type: string
          x-omitempty: true
        web_url:
          maxLength: 512
          type: string
      required:
        - web_url
      title: app_config_chat_custom_page
      type: object
    app_config_chat_get_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/app_config_chat'
      required:
        - data
      type: object
    app_config_chat_req_body:
      properties:
        custom_page_config:
          allOf:
            - $ref: '#/components/schemas/app_config_chat_custom_page'
          nullable: true
          type: object
        default_chat_type:
          allOf:
            - $ref: '#/components/schemas/app_config_chat_type'
          type: object
      required:
        - default_chat_type
        - custom_page_config
      title: app_config_chat_req_body
      type: object
    app_config_chat_type:
      enum:
        - app_chat
        - custom_page
      type: string
      x-enum:
        - app_chat
        - custom_page
    app_config_chat_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    app_contacts_range_resp:
      properties:
        all_members:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/developer_application_subject'
          maxItems: 1500
          type: array
        same_with_visible:
          type: boolean
      required:
        - same_with_visible
        - all_members
        - items
      type: object
    app_i18n_key:
      enum:
        - zh-CN
        - en-US
        - ja-JP
        - zh-HK
        - th-TH
        - de-DE
        - pt-BR
        - es-MX
      type: string
      x-enum:
        - zh_cn
        - en_us
        - ja_jp
        - zh_hk
        - th_th
        - de_de
        - pt_br
        - es_mx
    app_mode:
      enum:
        - isv
        - company_internal
        - official
      type: string
      x-enum:
        - isv
        - company_internal
        - official
    app_permission_base_info:
      properties:
        display_name:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        permission_type:
          items:
            $ref: '#/components/schemas/permission_type'
          maxItems: 1024
          type: array
      required:
        - name
        - display_name
        - permission_type
      type: object
    app_setting:
      properties:
        array_item:
          allOf:
            - $ref: '#/components/schemas/app_setting_array'
          nullable: true
          type: object
          x-omitempty: true
        single_item:
          allOf:
            - $ref: '#/components/schemas/app_setting_single'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - array_item
        - single_item
      type: object
    app_setting_array:
      properties:
        key:
          allOf:
            - $ref: '#/components/schemas/app_setting_key'
          type: object
        val:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - key
        - val
      type: object
    app_setting_key:
      enum:
        - pc_xz_homepage
        - pc_xz_homepage_open
        - mobile_xz_homepage
      type: string
      x-enum:
        - pc_xz_homepage
        - pc_xz_homepage_open
        - mobile_xz_homepage
    app_setting_single:
      properties:
        key:
          allOf:
            - $ref: '#/components/schemas/app_setting_key'
          type: object
        val:
          maxLength: 1024
          type: string
      required:
        - key
        - val
      type: object
    app_status:
      enum:
        - enable
        - disable
        - deleted
      type: string
      x-enum:
        - enable
        - disable
        - deleted
    app_subjects:
      properties:
        blacklist:
          items:
            $ref: '#/components/schemas/update_developer_application_subject'
          maxItems: 1024
          type: array
        whitelist:
          items:
            $ref: '#/components/schemas/update_developer_application_subject'
          maxItems: 1024
          type: array
      required:
        - whitelist
        - blacklist
      type: object
    app_version:
      properties:
        ability:
          items:
            $ref: '#/components/schemas/app_ability'
          maxItems: 1024
          type: array
        app_desc:
          maxLength: 1024
          type: string
        app_id:
          maxLength: 1024
          type: string
        app_name:
          maxLength: 1024
          type: string
        applicant_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        apply_desc:
          maxLength: 1024
          type: string
        apply_permissions:
          items:
            $ref: '#/components/schemas/app_permission_base_info'
          maxItems: 1024
          type: array
        desc:
          maxLength: 1024
          type: string
        i18n:
          items:
            $ref: '#/components/schemas/application_i18n'
          maxItems: 1024
          type: array
        mtime:
          format: date-time
          type: string
        reason:
          maxLength: 1024
          type: string
        source:
          allOf:
            - $ref: '#/components/schemas/app_version_source'
          type: object
        status:
          allOf:
            - $ref: '#/components/schemas/app_version_status'
          type: object
        subjects:
          allOf:
            - $ref: '#/components/schemas/app_subjects'
          type: object
        version:
          maxLength: 1024
          type: string
      required:
        - app_id
        - app_name
        - app_desc
        - version
        - status
        - desc
        - apply_desc
        - source
        - mtime
        - applicant_id
        - reason
      type: object
    app_version_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/app_version'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
        total:
          format: int64
          type: integer
          x-omitempty: true
      required:
        - items
      type: object
    app_version_source:
      enum:
        - open
        - xz
      type: string
      x-enum:
        - open
        - xz
    app_version_status:
      enum:
        - pending
        - processing
        - published
        - rejected
      type: string
      x-enum:
        - pending
        - processing
        - published
        - rejected
    application:
      properties:
        description:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        logo:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
        - description
        - logo
      title: 应用
      type: object
    application_badge:
      properties:
        notification_count:
          format: int64
          nullable: true
          type: integer
        sequence:
          format: int64
          nullable: true
          type: integer
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
        - sequence
        - notification_count
      type: object
    application_basic_data:
      properties:
        description:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        logo:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/app_status'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/app_mode'
          type: object
      required:
        - id
        - name
        - description
        - logo
        - status
        - type
      type: object
    application_category:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
      type: object
    application_i18n:
      properties:
        description:
          maxLength: 1024
          type: string
        lang_code:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - lang_code
        - name
        - description
      type: object
    application_item:
      allOf:
        - $ref: '#/components/schemas/application'
      properties:
        category:
          items:
            $ref: '#/components/schemas/application_category'
          maxItems: 1024
          type: array
        i18n:
          items:
            $ref: '#/components/schemas/application_i18n'
          maxItems: 1024
          type: array
        settings:
          items:
            $ref: '#/components/schemas/app_setting'
          maxItems: 1024
          type: array
        type:
          allOf:
            - $ref: '#/components/schemas/app_mode'
          type: object
      required:
        - type
        - i18n
        - settings
        - category
      type: object
    approval_add_sign_type:
      enum:
        - before
        - after
      title: approval_add_sign_type
      type: string
      x-enum:
        - before
        - after
    approval_attachment:
      properties:
        drive_file:
          allOf:
            - $ref: '#/components/schemas/approval_attachment_drive_file'
          nullable: true
          type: object
        file_name:
          maxLength: 1024
          type: string
        file_size:
          format: int64
          type: integer
        s3_file:
          allOf:
            - $ref: '#/components/schemas/approval_attachment_s3_file'
          nullable: true
          type: object
        store_type:
          allOf:
            - $ref: '#/components/schemas/approval_attachment_store_type'
          type: object
      required:
        - store_type
        - file_name
        - file_size
        - drive_file
        - s3_file
      title: approval_attachment
      type: object
    approval_attachment_drive_file:
      properties:
        file_id:
          maxLength: 1024
          type: string
        share_link:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - file_id
        - share_link
      title: approval_attachment_drive_file
      type: object
    approval_attachment_s3_file:
      properties:
        file_md5:
          maxLength: 1024
          type: string
        link:
          maxLength: 1024
          type: string
          x-omitempty: true
        s3_file_type:
          allOf:
            - $ref: '#/components/schemas/approval_attachment_s3_file_type'
          type: object
        store_key:
          maxLength: 1024
          type: string
        thumb_store_key:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - s3_file_type
        - file_md5
        - store_key
        - thumb_store_key
        - link
      title: approval_attachment_s3_file
      type: object
    approval_attachment_s3_file_type:
      enum:
        - image_file
        - normal_file
        - signature_image
      title: approval_attachment_s3_file_type
      type: string
      x-enum:
        - image_file
        - normal_file
        - signature_image
    approval_attachment_store_type:
      enum:
        - drive_file
        - s3_file
      title: approval_attachment_store_type
      type: string
      x-enum:
        - drive_file
        - s3_file
    approval_cc:
      properties:
        approval_define_id:
          maxLength: 1024
          type: string
        create_time:
          format: int64
          type: integer
        instance_id:
          maxLength: 1024
          type: string
        read_status:
          allOf:
            - $ref: '#/components/schemas/approval_read_status'
          type: object
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - user_id
        - instance_id
        - approval_define_id
        - create_time
        - read_status
      title: approval_cc
      type: object
    approval_cc_list_item:
      properties:
        cc:
          allOf:
            - $ref: '#/components/schemas/approval_cc'
          nullable: true
          type: object
        instance:
          allOf:
            - $ref: '#/components/schemas/approval_instance_brief'
          nullable: true
          type: object
      required:
        - cc
        - instance
      title: approval_cc_list_item
      type: object
    approval_condition_group:
      properties:
        conditions:
          items:
            $ref: '#/components/schemas/approval_condition_group_item'
          maxItems: 1024
          type: array
      required:
        - conditions
      title: approval_condition_group
      type: object
    approval_condition_group_item:
      properties:
        custom_data_rule:
          maxLength: 1024
          type: string
        elem_biz_key:
          maxLength: 1024
          type: string
        form_id:
          maxLength: 1024
          type: string
        rule:
          allOf:
            - $ref: '#/components/schemas/approval_condition_op'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/approval_form_component_type'
          type: object
        value:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
            - ex:dept_id
      required:
        - form_id
        - custom_data_rule
        - elem_biz_key
        - type
        - rule
        - value
      title: approval_condition_group_item
      type: object
    approval_condition_op:
      enum:
        - belongs
        - not_belongs
        - contains_any
        - contains_all
        - contains_eq
        - lt
        - lte
        - equal
        - gt
        - gte
      title: approval_condition_op
      type: string
      x-enum:
        - belongs
        - not_belongs
        - contains_any
        - contains_all
        - contains_eq
        - lt
        - lte
        - equal
        - gt
        - gte
    approval_deduplicate_mode:
      enum:
        - none
        - continuous_node
        - all_node
      title: approval_deduplicate_mode
      type: string
      x-enum:
        - none
        - continuous_node
        - all_node
    approval_define:
      properties:
        created_by:
          allOf:
            - $ref: '#/components/schemas/workflow_identity'
          type: object
        ctime:
          maxLength: 1024
          type: string
        form_designs:
          items:
            $ref: '#/components/schemas/approval_form_define'
          maxItems: 1024
          type: array
        group_id:
          maxLength: 1024
          type: string
        icon:
          allOf:
            - $ref: '#/components/schemas/approval_define_icon_type'
          type: object
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        process_define:
          allOf:
            - $ref: '#/components/schemas/approval_process_define'
          type: object
        setting:
          allOf:
            - $ref: '#/components/schemas/approval_define_setting'
          nullable: true
          type: object
        visible_scopes:
          items:
            $ref: '#/components/schemas/approval_visible_scope'
          maxItems: 1024
          type: array
      required:
        - id
        - name
        - form_designs
        - process_define
        - icon
        - created_by
        - ctime
        - group_id
        - setting
      title: approval_define
      type: object
    approval_define_icon_type:
      enum:
        - tmp1
        - tmp2
        - tmp3
        - tmp4
        - tmp5
        - tmp6
        - tmp7
        - tmp8
        - tmp9
        - tmp10
        - tmp11
        - tmp12
        - tmp13
        - tmp14
        - tmp15
      title: approval_define_icon_type
      type: string
      x-enum:
        - tmp1
        - tmp2
        - tmp3
        - tmp4
        - tmp5
        - tmp6
        - tmp7
        - tmp8
        - tmp9
        - tmp10
        - tmp11
        - tmp12
        - tmp13
        - tmp14
        - tmp15
    approval_define_setting:
      properties:
        allow_revoke_approved_days:
          format: int64
          maximum: 999
          minimum: 0
          nullable: true
          type: integer
        approval_deduplicate_mode:
          allOf:
            - $ref: '#/components/schemas/approval_deduplicate_mode'
          nullable: true
          type: object
        approval_share_to_company:
          nullable: true
          type: boolean
        is_allow_resubmit:
          nullable: true
          type: boolean
        is_allow_revoke:
          nullable: true
          type: boolean
        is_allow_revoke_approved:
          nullable: true
          type: boolean
        is_allow_rollback:
          nullable: true
          type: boolean
        is_show_in_backend_page:
          nullable: true
          type: boolean
        is_show_in_home_page:
          nullable: true
          type: boolean
        must_with_approve_signature:
          nullable: true
          type: boolean
        must_with_refuse_reason:
          nullable: true
          type: boolean
        must_with_return_reason:
          nullable: true
          type: boolean
        one_click_approval:
          nullable: true
          type: boolean
      title: approval_define_setting
      type: object
    approval_define_settings_req_body:
      properties:
        operator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        settings:
          allOf:
            - $ref: '#/components/schemas/approval_define_setting'
          type: object
      required:
        - settings
      title: approval_define_settings_req_body
      type: object
    approval_defines:
      properties:
        items:
          items:
            $ref: '#/components/schemas/approval_define'
          maxItems: 1024
          type: array
        total:
          format: int64
          minimum: 0
          type: integer
      required:
        - total
        - items
      title: approval_defines
      type: object
    approval_form_component_type:
      enum:
        - text_type_input
        - text_type_area
        - text_type_file
        - rich_text
        - date
        - select
        - info
        - contact
        - multi_select
        - number
        - money
        - image
        - sender
        - date_range
      title: approval_form_component_type
      type: string
      x-enum:
        - text_type_input
        - text_type_area
        - text_type_file
        - rich_text
        - date
        - select
        - info
        - contact
        - multi_select
        - number
        - money
        - image
        - sender
        - date_range
    approval_form_date_range:
      properties:
        date_range_place:
          maxLength: 1024
          type: string
        duration_title:
          maxLength: 1024
          type: string
        end_time_title:
          maxLength: 1024
          type: string
        start_time_title:
          maxLength: 1024
          type: string
        style:
          allOf:
            - $ref: '#/components/schemas/approval_form_date_range_style'
          type: object
        time_range:
          allOf:
            - $ref: '#/components/schemas/approval_form_date_range_time_range'
          type: object
      required:
        - style
        - start_time_title
        - end_time_title
        - duration_title
        - time_range
      title: approval_form_date_range
      type: object
    approval_form_date_range_content:
      properties:
        duration:
          maxLength: 1024
          type: string
        end_time:
          maxLength: 1024
          type: string
        end_time_extra:
          maxLength: 1024
          type: string
          x-omitempty: true
        start_time:
          maxLength: 1024
          type: string
        start_time_extra:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - start_time
        - end_time
        - duration
      title: approval_form_date_range_content
      type: object
    approval_form_date_range_content_resp:
      properties:
        duration:
          maxLength: 1024
          type: string
        duration_title:
          maxLength: 1024
          type: string
        end_time:
          maxLength: 1024
          type: string
        end_time_extra:
          maxLength: 1024
          type: string
          x-omitempty: true
        end_time_title:
          maxLength: 1024
          type: string
        start_time:
          maxLength: 1024
          type: string
        start_time_extra:
          maxLength: 1024
          type: string
          x-omitempty: true
        start_time_title:
          maxLength: 1024
          type: string
        style:
          allOf:
            - $ref: '#/components/schemas/approval_form_date_range_style'
          type: object
        time_range:
          allOf:
            - $ref: '#/components/schemas/approval_form_date_range_time_range'
          type: object
      required:
        - start_time_title
        - start_time
        - end_time_title
        - end_time
        - duration_title
        - duration
        - style
        - time_range
      title: approval_form_date_range_content_resp
      type: object
    approval_form_date_range_style:
      enum:
        - year_month
        - year_month_day
        - half_day
        - hour_minute
        - hour_minute_timezone
      title: approval_form_date_range_style
      type: string
      x-enum:
        - year_month
        - year_month_day
        - half_day
        - hour_minute
        - hour_minute_timezone
    approval_form_date_range_time_range:
      enum:
        - all_dates
        - this_week
        - this_month
        - last_seven_days
        - last_month
        - last_three_months
        - last_year
      title: approval_form_date_range_time_range
      type: string
      x-enum:
        - all_dates
        - this_week
        - this_month
        - last_seven_days
        - last_month
        - last_three_months
        - last_year
    approval_form_define:
      properties:
        condition_groups:
          items:
            $ref: '#/components/schemas/approval_condition_group'
          maxItems: 1024
          type: array
          x-omitempty: true
        date_range:
          allOf:
            - $ref: '#/components/schemas/approval_form_date_range'
          nullable: true
          type: object
          x-omitempty: true
        extra:
          maxLength: 1024
          type: string
        form_options:
          items:
            $ref: '#/components/schemas/approval_form_option'
          maxItems: 1024
          type: array
        id:
          maxLength: 1024
          type: string
        placeholder:
          maxLength: 1024
          type: string
        required:
          type: boolean
        title:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/approval_form_component_type'
          type: object
      required:
        - id
        - title
        - type
      title: approval_form_define
      type: object
    approval_form_option:
      properties:
        key:
          maxLength: 1024
          type: string
        value:
          maxLength: 1024
          type: string
      required:
        - key
        - value
      title: approval_form_option
      type: object
    approval_instance:
      properties:
        approval_define_id:
          maxLength: 1024
          type: string
        approval_tasks:
          items:
            $ref: '#/components/schemas/approval_task'
          maxItems: 1024
          type: array
        contents:
          items:
            $ref: '#/components/schemas/approval_instance_content_resp'
          maxItems: 1024
          type: array
        current_task_id:
          maxLength: 1024
          type: string
          x-omitempty: true
        current_tasks:
          items:
            $ref: '#/components/schemas/approval_task'
          maxItems: 1024
          type: array
        end_time:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        pending_nodes:
          items:
            $ref: '#/components/schemas/approval_instance_pending_node'
          maxItems: 1024
          type: array
        serial_no:
          maxLength: 1024
          type: string
        start_time:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/approval_instance_status'
          type: object
        timeline:
          items:
            allOf:
              - $ref: '#/components/schemas/approval_instance_timeline'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        title:
          maxLength: 1024
          type: string
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - id
        - serial_no
        - approval_define_id
        - title
        - user_id
        - contents
        - approval_tasks
        - status
        - start_time
        - end_time
        - current_tasks
        - pending_nodes
        - timeline
      title: approval_instance
      type: object
    approval_instance_brief:
      properties:
        approval_define_id:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        serial_no:
          maxLength: 1024
          type: string
        start_time:
          format: int64
          type: integer
        status:
          allOf:
            - $ref: '#/components/schemas/approval_instance_status'
          type: object
        title:
          maxLength: 1024
          type: string
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - id
        - user_id
        - start_time
        - status
        - serial_no
        - title
        - approval_define_id
      title: approval_instance_brief
      type: object
    approval_instance_content:
      properties:
        attachments:
          items:
            $ref: '#/components/schemas/approval_attachment'
          maxItems: 1024
          type: array
          x-omitempty: true
        date_range:
          allOf:
            - $ref: '#/components/schemas/approval_form_date_range_content'
          nullable: true
          type: object
          x-omitempty: true
        id:
          maxLength: 1024
          type: string
        title:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/approval_form_component_type'
          type: object
        value:
          maxLength: 1024
          type: string
          x-omitempty: true
          x-tags:
            - ex:user_id
        values:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-omitempty: true
      required:
        - id
        - type
        - title
      title: approval_instance_content
      type: object
    approval_instance_content_resp:
      properties:
        attachments:
          items:
            $ref: '#/components/schemas/approval_attachment'
          maxItems: 1024
          type: array
          x-omitempty: true
        date_range:
          allOf:
            - $ref: '#/components/schemas/approval_form_date_range_content_resp'
          nullable: true
          type: object
          x-omitempty: true
        form_options:
          items:
            $ref: '#/components/schemas/approval_form_option'
          maxItems: 1024
          type: array
          x-omitempty: true
        id:
          maxLength: 1024
          type: string
        title:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/approval_form_component_type'
          type: object
        value:
          maxLength: 1024
          type: string
          x-omitempty: true
          x-tags:
            - ex:user_id
      required:
        - id
        - type
        - title
      title: approval_instance_content_resp
      type: object
    approval_instance_pending_approval_node:
      properties:
        approval_rule:
          allOf:
            - $ref: '#/components/schemas/approval_rule_type'
          nullable: true
          type: object
          x-omitempty: true
        select_ranges:
          items:
            $ref: '#/components/schemas/approval_process_select_range'
          maxItems: 1024
          type: array
          x-omitempty: true
        select_type:
          allOf:
            - $ref: '#/components/schemas/approval_node_select_type'
          nullable: true
          type: object
        transferred_to_admin:
          nullable: true
          type: boolean
          x-omitempty: true
        user_empty_policy:
          allOf:
            - $ref: '#/components/schemas/approval_process_task_user_empty_policy'
          nullable: true
          type: object
          x-omitempty: true
        user_list:
          items:
            $ref: '#/components/schemas/workflow_identity'
          maxItems: 1024
          type: array
          x-omitempty: true
        user_type:
          allOf:
            - $ref: '#/components/schemas/approve_user_type'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - select_ranges
        - user_list
      title: approval_instance_pending_approval_node
      type: object
    approval_instance_pending_cc_node:
      properties:
        is_allow_add_cc:
          nullable: true
          type: boolean
          x-omitempty: true
        select_ranges:
          items:
            $ref: '#/components/schemas/approval_process_select_range'
          maxItems: 1024
          type: array
          x-omitempty: true
        user_list:
          items:
            $ref: '#/components/schemas/workflow_identity'
          maxItems: 1024
          type: array
          x-omitempty: true
        user_type:
          allOf:
            - $ref: '#/components/schemas/approve_user_type'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - select_ranges
        - user_list
      title: approval_instance_pending_cc_node
      type: object
    approval_instance_pending_node:
      properties:
        approval_node:
          allOf:
            - $ref: '#/components/schemas/approval_instance_pending_approval_node'
          nullable: true
          type: object
          x-omitempty: true
        cc_node:
          allOf:
            - $ref: '#/components/schemas/approval_instance_pending_cc_node'
          nullable: true
          type: object
          x-omitempty: true
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        task_type:
          allOf:
            - $ref: '#/components/schemas/approval_process_node_task_type'
          type: object
      required:
        - id
        - name
        - task_type
      title: approval_instance_pending_node
      type: object
    approval_instance_status:
      enum:
        - auditing
        - approved
        - refused
        - returned
        - revoked
        - deleted
        - terminated
      title: approval_instance_status
      type: string
      x-enum:
        - auditing
        - approved
        - refused
        - returned
        - revoked
        - deleted
        - terminated
    approval_instance_timeline:
      properties:
        comment:
          maxLength: 1024
          type: string
        comment_attachments:
          allOf:
            - $ref: '#/components/schemas/approval_instance_timeline_comment_attachment'
          nullable: true
          type: object
          x-omitempty: true
        ctime:
          format: int64
          type: integer
        id:
          format: int64
          type: integer
        node_id:
          format: int
          type: integer
        node_name:
          maxLength: 1024
          type: string
        operator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        type:
          allOf:
            - $ref: '#/components/schemas/instance_timeline_type'
          type: object
        user_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-omitempty: true
          x-tags:
            - ex:user_id
      required:
        - id
        - type
        - ctime
        - node_id
        - node_name
        - comment
        - operator
      title: approval_instance_timeline
      type: object
    approval_instance_timeline_comment_attachment:
      properties:
        attachments:
          items:
            allOf:
              - $ref: '#/components/schemas/approval_attachment'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        images:
          items:
            allOf:
              - $ref: '#/components/schemas/approval_attachment'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        signature:
          allOf:
            - $ref: '#/components/schemas/approval_attachment'
          nullable: true
          type: object
          x-omitempty: true
      title: approval_instance_timeline_comment_attachment
      type: object
    approval_instances:
      properties:
        items:
          items:
            $ref: '#/components/schemas/approval_instance'
          maxItems: 1024
          type: array
        total:
          format: int64
          minimum: 0
          type: integer
      required:
        - total
      title: approval_instances
      type: object
    approval_node_approver:
      properties:
        approves:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-tags:
            - ex:user_id
        node_id:
          maxLength: 1024
          type: string
      required:
        - node_id
        - approves
      title: approval_node_approver
      type: object
    approval_node_select_type:
      enum:
        - single_choice
        - multi_choice
      title: approval_node_select_type
      type: string
      x-enum:
        - single_choice
        - multi_choice
    approval_option:
      enum:
        - approved
        - refused
      type: string
      x-enum:
        - approved
        - refused
    approval_process_define:
      properties:
        nodes:
          items:
            $ref: '#/components/schemas/approval_process_define_node'
          maxItems: 1024
          type: array
        root:
          maxLength: 1024
          type: string
      required:
        - root
        - nodes
      title: approval_process_define
      type: object
    approval_process_define_node:
      properties:
        child_nodes:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-omitempty: true
        condition_groups:
          items:
            $ref: '#/components/schemas/approval_condition_group'
          maxItems: 1024
          type: array
          x-omitempty: true
        extra:
          allOf:
            - $ref: '#/components/schemas/approval_process_define_node_extra'
          nullable: true
          type: object
          x-omitempty: true
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        next_node_id:
          maxLength: 1024
          type: string
          x-omitempty: true
        task:
          allOf:
            - $ref: '#/components/schemas/approval_process_define_node_task'
          nullable: true
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/approval_process_define_node_type'
          type: object
      required:
        - id
        - type
        - name
      title: approval_process_define_node
      type: object
    approval_process_define_node_config:
      properties:
        add_node_forbidden:
          type: boolean
        edit_forbidden:
          type: boolean
        remove_forbidden:
          type: boolean
      title: approval_process_define_node_config
      type: object
    approval_process_define_node_extra:
      properties:
        config:
          allOf:
            - $ref: '#/components/schemas/approval_process_define_node_config'
          nullable: true
          type: object
          x-omitempty: true
      title: approval_process_define_node_extra
      type: object
    approval_process_define_node_task:
      properties:
        task_approve:
          allOf:
            - $ref: '#/components/schemas/approval_process_task_approve'
          nullable: true
          type: object
        task_cc:
          allOf:
            - $ref: '#/components/schemas/approval_process_task_cc'
          nullable: true
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/approval_process_node_task_type'
          type: object
      required:
        - type
      title: approval_process_define_node_task
      type: object
    approval_process_define_node_type:
      enum:
        - sequence
        - select
        - condition
        - task
      title: approval_process_define_node_type
      type: string
      x-enum:
        - sequence
        - select
        - condition
        - task
    approval_process_define_target:
      properties:
        level:
          format: int
          type: integer
          x-omitempty: true
        select_ranges:
          items:
            $ref: '#/components/schemas/approval_process_select_range'
          maxItems: 1024
          type: array
          x-omitempty: true
        user_group_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-omitempty: true
        user_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-omitempty: true
          x-tags:
            - ex:user_id
        user_type:
          allOf:
            - $ref: '#/components/schemas/approve_user_type'
          type: object
      required:
        - user_type
        - select_ranges
      title: approval_process_define_target
      type: object
    approval_process_node_task_type:
      enum:
        - approval
        - cc
        - custom
      title: approval_process_node_task_type
      type: string
      x-enum:
        - approval
        - cc
        - custom
    approval_process_select_range:
      properties:
        select_type:
          allOf:
            - $ref: '#/components/schemas/approval_process_select_range_type'
          type: object
        select_value:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - select_type
        - select_value
      title: approval_process_select_range
      type: object
    approval_process_select_range_type:
      enum:
        - user
        - user_group
      title: approval_process_select_range_type
      type: string
      x-enum:
        - user
        - user_group
    approval_process_task_approve:
      properties:
        approval_rule:
          allOf:
            - $ref: '#/components/schemas/approval_rule_type'
          type: object
        select_type:
          allOf:
            - $ref: '#/components/schemas/approval_node_select_type'
          nullable: true
          type: object
        target:
          allOf:
            - $ref: '#/components/schemas/approval_process_define_target'
          type: object
        user_empty_policy:
          allOf:
            - $ref: '#/components/schemas/approval_process_task_user_empty_policy'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - target
      title: approval_process_task_approve
      type: object
    approval_process_task_cc:
      properties:
        is_allow_add_cc:
          type: boolean
        target:
          allOf:
            - $ref: '#/components/schemas/approval_process_define_target'
          type: object
      required:
        - target
        - is_allow_add_cc
      title: approval_process_task_cc
      type: object
    approval_process_task_user_empty_policy:
      enum:
        - transfer_to_admin
        - auto_pass
      title: approval_process_task_user_empty_policy
      type: string
      x-enum:
        - transfer_to_admin
        - auto_pass
    approval_read_status:
      enum:
        - already_read
        - not_read
      title: approval_read_status
      type: string
      x-enum:
        - already_read
        - not_read
    approval_rule_type:
      enum:
        - step
        - or_sign
        - and_sign
      title: approval_rule_type
      type: string
      x-enum:
        - step
        - or_sign
        - and_sign
    approval_settings_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    approval_task:
      properties:
        approval_rule:
          allOf:
            - $ref: '#/components/schemas/approval_rule_type'
          type: object
        end_time:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        node_id:
          maxLength: 1024
          type: string
        start_time:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/approval_task_status'
          type: object
        title:
          maxLength: 1024
          type: string
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - id
        - title
        - node_id
        - status
        - user_id
        - approval_rule
        - start_time
        - end_time
      title: approval_task
      type: object
    approval_task_add_sign_req_body:
      properties:
        add_sign_type:
          allOf:
            - $ref: '#/components/schemas/approval_add_sign_type'
          nullable: true
          type: object
        add_sign_user_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-tags:
            - ex:user_id
        approval_rule:
          allOf:
            - $ref: '#/components/schemas/approval_rule_type'
          nullable: true
          type: object
        comment:
          maxLength: 1024
          type: string
        instance_id:
          maxLength: 1024
          type: string
        operator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - instance_id
        - operator
        - comment
        - add_sign_user_ids
        - add_sign_type
        - approval_rule
      title: approval_task_add_sign_req_body
      type: object
    approval_task_approve_req_body:
      properties:
        attachments:
          items:
            allOf:
              - $ref: '#/components/schemas/approval_attachment'
            nullable: true
            type: object
          maxItems: 3
          type: array
        comment:
          maxLength: 1024
          type: string
        images:
          items:
            allOf:
              - $ref: '#/components/schemas/approval_attachment'
            nullable: true
            type: object
          maxItems: 9
          type: array
        instance_id:
          maxLength: 1024
          type: string
        operator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        signature:
          allOf:
            - $ref: '#/components/schemas/approval_attachment'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - instance_id
        - operator
        - comment
      title: approval_task_approve_req_body
      type: object
    approval_task_list_item:
      properties:
        instance:
          allOf:
            - $ref: '#/components/schemas/approval_instance_brief'
          nullable: true
          type: object
        task:
          allOf:
            - $ref: '#/components/schemas/approval_task'
          nullable: true
          type: object
      required:
        - instance
        - task
      title: approval_task_list_item
      type: object
    approval_task_reject_req_body:
      properties:
        comment:
          maxLength: 1024
          type: string
        instance_id:
          maxLength: 1024
          type: string
        operator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - instance_id
        - operator
        - comment
      title: approval_task_reject_req_body
      type: object
    approval_task_rollback_req_body:
      properties:
        instance_id:
          maxLength: 1024
          type: string
        node_id:
          maxLength: 1024
          type: string
        operator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        reason:
          maxLength: 1024
          type: string
      required:
        - instance_id
        - operator
        - reason
        - node_id
      title: approval_task_rollback_req_body
      type: object
    approval_task_status:
      enum:
        - pending
        - approved
        - rejected
        - transferred
        - done
        - rollback
        - review
      title: approval_task_status
      type: string
      x-enum:
        - pending
        - approved
        - rejected
        - transferred
        - done
        - rollback
        - review
    approval_task_transfer_req_body:
      properties:
        comment:
          maxLength: 1024
          type: string
        instance_id:
          maxLength: 1024
          type: string
        operator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        transfer_user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - instance_id
        - operator
        - comment
        - transfer_user_id
      title: approval_task_transfer_req_body
      type: object
    approval_timeline_list_item:
      properties:
        instance:
          allOf:
            - $ref: '#/components/schemas/approval_instance_brief'
          nullable: true
          type: object
        time_line:
          allOf:
            - $ref: '#/components/schemas/approval_instance_timeline'
          nullable: true
          type: object
      required:
        - instance
        - time_line
      title: approval_timeline_list_item
      type: object
    approval_user_manage_defines:
      properties:
        has_more:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/approval_define'
          maxItems: 1024
          type: array
        next_cursor:
          maxLength: 1024
          type: string
      required:
        - items
        - has_more
        - next_cursor
      title: approval_user_manage_defines
      type: object
    approval_visible_scope:
      properties:
        company_id:
          maxLength: 1024
          type: string
        is_admin:
          type: boolean
        scope_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
            - ex:dept_id
        scope_type:
          allOf:
            - $ref: '#/components/schemas/approval_visible_scope_type'
          type: object
      required:
        - company_id
        - scope_type
        - scope_id
        - is_admin
      title: approval_visible_scope
      type: object
    approval_visible_scope_type:
      enum:
        - company
        - department
        - user
        - user_group
      title: approval_visible_scope_type
      type: string
      x-enum:
        - company
        - department
        - user
        - user_group
    approve_file_permission_req_body:
      properties:
        apply_id:
          maxLength: 1024
          type: string
        approve_result:
          allOf:
            - $ref: '#/components/schemas/approval_option'
          type: object
        approve_role_id:
          maxLength: 1024
          type: string
      required:
        - apply_id
        - approve_result
      type: object
    approve_file_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    approve_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    approve_user_type:
      enum:
        - optional
        - self
        - leader
        - multi_leader
        - department_owner
        - multi_department_owner
        - user_group
        - assigner
      title: approve_user_type
      type: string
      x-enum:
        - optional
        - self
        - leader
        - multi_leader
        - department_owner
        - multi_department_owner
        - user_group
        - assigner
    apps_batch_get_req_body:
      properties:
        app_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - app_ids
      type: object
    apps_batch_get_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/developer_apps_batch_get_resp'
      required:
        - data
      type: object
    asr_task_status:
      enum:
        - created
        - processing
        - success
        - failed
      type: string
      x-enum:
        - created
        - processing
        - success
        - failed
    asr_text_item:
      properties:
        end:
          format: double
          type: number
        paragraph_id:
          maxLength: 1024
          type: string
        role:
          maxLength: 1024
          type: string
        sentense_id:
          maxLength: 1024
          type: string
        start:
          format: double
          type: number
        text:
          maxLength: 1024
          type: string
      required:
        - text
        - start
        - end
        - paragraph_id
        - sentense_id
        - role
      type: object
    attedance_punch_address:
      properties:
        coordinate_system:
          maxLength: 1024
          type: string
        description:
          maxLength: 1024
          type: string
        latitude:
          maxLength: 1024
          type: string
        longitude:
          maxLength: 1024
          type: string
        map_provider:
          maxLength: 1024
          type: string
      required:
        - latitude
        - longitude
        - description
        - map_provider
        - coordinate_system
      type: object
    attedance_punch_customize_ext:
      properties:
        visit_customer_info:
          allOf:
            - $ref: '#/components/schemas/attedance_punch_visit_customer_info'
          nullable: true
          type: object
      type: object
    attedance_punch_visit_customer_info:
      properties:
        customer_id:
          maxLength: 1024
          type: string
        customer_name:
          maxLength: 1024
          type: string
      required:
        - customer_id
        - customer_name
      type: object
    attendance_address_scpoe:
      enum:
        - "100"
        - "150"
        - "200"
        - "250"
        - "300"
        - "400"
        - "500"
        - "600"
        - "700"
        - "800"
        - "900"
        - "1000"
        - "1500"
        - "2000"
        - "2500"
        - "3000"
        - "4000"
        - "5000"
        - "6000"
        - "7000"
        - "8000"
        - "9000"
        - "10000"
      title: attendance_location_adjustment_range
      type: string
      x-enum:
        - _100
        - _150
        - _200
        - _250
        - _300
        - _400
        - _500
        - _600
        - _700
        - _800
        - _900
        - _1000
        - _1500
        - _2000
        - _2500
        - _3000
        - _4000
        - _5000
        - _6000
        - _7000
        - _8000
        - _9000
        - _10000
    attendance_address_setting:
      properties:
        coordinate_system:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        lat:
          format: latitude
          maxLength: 1024
          type: string
        lng:
          format: longitude
          maxLength: 1024
          type: string
        location_name:
          maxLength: 1024
          type: string
        location_title:
          maxLength: 1024
          type: string
        map_provider:
          maxLength: 1024
          type: string
        scope:
          allOf:
            - $ref: '#/components/schemas/attendance_address_scpoe'
          type: object
      required:
        - lng
        - lat
        - scope
        - map_provider
        - coordinate_system
      title: attendance_address_setting
      type: object
    attendance_approval_calculation_method:
      enum:
        - natural
        - workday
      type: string
      x-enum:
        - natural
        - workday
    attendance_approval_duration_unit:
      enum:
        - day
        - half_day
        - hour
      type: string
      x-enum:
        - day
        - half_day
        - hour
    attendance_approval_records_duration_detail:
      properties:
        date_time:
          format: int64
          type: integer
          x-number-unit: s
        duration:
          maxLength: 1024
          type: string
        duration_unit:
          allOf:
            - $ref: '#/components/schemas/attendance_approval_duration_unit'
          type: object
      required:
        - duration
        - duration_unit
        - date_time
      type: object
    attendance_approval_records_leave:
      properties:
        calculation_method:
          allOf:
            - $ref: '#/components/schemas/attendance_approval_calculation_method'
          type: object
        duration_unit:
          allOf:
            - $ref: '#/components/schemas/attendance_approval_duration_unit'
          type: object
        end_time:
          format: int64
          type: integer
          x-number-unit: s
        start_time:
          format: int64
          type: integer
          x-number-unit: s
      required:
        - start_time
        - end_time
        - duration_unit
        - calculation_method
      type: object
    attendance_approval_sub_type:
      enum:
        - annual
        - personal
        - sick
        - maternity
        - paternity
        - wedding
        - bereavement
        - lactation
        - compensatory
      type: string
      x-enum:
        - annual
        - personal
        - sick
        - maternity
        - paternity
        - wedding
        - bereavement
        - lactation
        - compensatory
    attendance_approval_type:
      enum:
        - leave
      type: string
      x-enum:
        - leave
    attendance_attendance_type:
      enum:
        - normal
        - external
        - remedy
        - fast
        - photo
      type: string
      x-enum:
        - normal
        - external
        - remedy
        - fast
        - photo
    attendance_external_setting:
      properties:
        allow_location_adjustment:
          type: boolean
        location_adjustment_range:
          allOf:
            - $ref: '#/components/schemas/attendance_location_adjustment_range'
          type: object
        must_approval:
          type: boolean
        must_photo:
          type: boolean
        must_remark:
          type: boolean
      title: attendance_external_setting
      type: object
    attendance_flexible_time_rule:
      properties:
        in_time_come_late:
          format: int64
          type: integer
        out_time_leave_early:
          format: int64
          type: integer
      title: attendance_flexible_time_rule
      type: object
    attendance_free_punch_setting:
      properties:
        free_start_time:
          maxLength: 1024
          type: string
        workday_no_punch_as_lack:
          type: boolean
      title: attendance_free_punch_setting
      type: object
    attendance_group_delete_req_body:
      properties:
        operator_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
            - mix:user_id
      required:
        - operator_id
      title: attendance_group_delete_req_body
      type: object
    attendance_group_detail:
      properties:
        allow_external:
          type: boolean
        allow_photo_punch_on_location_fail:
          type: boolean
        allow_remedy:
          type: boolean
        attendance_address_settings:
          items:
            $ref: '#/components/schemas/attendance_address_setting'
          maxItems: 1500
          type: array
        attendance_wifi_settings:
          items:
            $ref: '#/components/schemas/attendance_wifi_setting'
          maxItems: 400
          type: array
        auto_holiday:
          type: boolean
        ctime:
          format: int64
          type: integer
        depts:
          items:
            maxLength: 1024
            type: string
          maxItems: 20
          type: array
          x-tags:
            - ex:user_id
            - mix:dept_id
        effect_time:
          format: int64
          type: integer
        external_settings:
          allOf:
            - $ref: '#/components/schemas/attendance_external_setting'
          type: object
        flexible_time_rules:
          items:
            $ref: '#/components/schemas/attendance_flexible_time_rule'
          maxItems: 1024
          type: array
        free_punch_settings:
          allOf:
            - $ref: '#/components/schemas/attendance_free_punch_setting'
          type: object
        is_enable:
          type: boolean
        is_enable_address:
          type: boolean
        is_enable_prevent_cheat:
          type: boolean
        is_enable_wifi:
          type: boolean
        is_enabled_flexible_punch:
          type: boolean
        is_enabled_rest_time:
          type: boolean
        master_admins:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          minItems: 1
          type: array
          x-tags:
            - ex:user_id
            - mix:user_id
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 20
          minLength: 1
          type: string
        no_attendance_users:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          type: array
          x-tags:
            - ex:user_id
            - mix:user_id
        prevent_cheat_settings:
          allOf:
            - $ref: '#/components/schemas/attendance_prevent_cheat_setting'
          type: object
        punch_time_rules:
          items:
            $ref: '#/components/schemas/attendance_punch_time_rule'
          maxItems: 1024
          type: array
        remedy_settings:
          allOf:
            - $ref: '#/components/schemas/attendance_remedy_setting'
          type: object
        rest_time_rules:
          items:
            $ref: '#/components/schemas/attendance_rest_time_rule'
          maxItems: 10
          type: array
        rule_type:
          allOf:
            - $ref: '#/components/schemas/attendance_rule_type'
          type: object
        sub_admin_permissions:
          allOf:
            - $ref: '#/components/schemas/attendance_sub_admin_permissions'
          type: object
        sub_admins:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          minItems: 1
          type: array
          x-tags:
            - ex:user_id
            - mix:user_id
        users:
          items:
            maxLength: 1024
            type: string
          maxItems: 5000
          type: array
          x-tags:
            - ex:user_id
            - mix:user_id
        workdays:
          items:
            $ref: '#/components/schemas/attendance_workday'
          maxItems: 7
          type: array
      required:
        - name
        - rule_type
        - workdays
        - punch_time_rules
        - master_admins
        - sub_admins
        - is_enable
        - ctime
        - mtime
        - effect_time
      title: attendance_group_detail
      type: object
    attendance_group_detail_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/attendance_group_detail'
      required:
        - data
      type: object
    attendance_group_effect_type:
      enum:
        - tomorrow
        - immediate
      title: attendance_group_effect_type
      type: string
      x-enum:
        - tomorrow
        - immediate
    attendance_group_item:
      properties:
        group_id:
          maxLength: 1024
          type: string
        group_name:
          maxLength: 1024
          type: string
      required:
        - group_id
        - group_name
      type: object
    attendance_group_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/attendance_group_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
      type: object
    attendance_group_list_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/attendance_group_list'
      required:
        - data
      type: object
    attendance_group_req_body:
      properties:
        allow_external:
          type: boolean
        allow_move_conflict:
          type: boolean
        allow_photo_punch_on_location_fail:
          type: boolean
        allow_remedy:
          type: boolean
        attendance_address_settings:
          items:
            $ref: '#/components/schemas/attendance_address_setting'
          maxItems: 1500
          type: array
        attendance_wifi_settings:
          items:
            $ref: '#/components/schemas/attendance_wifi_setting'
          maxItems: 400
          type: array
        auto_holiday:
          type: boolean
        depts:
          items:
            maxLength: 1024
            type: string
          maxItems: 20
          type: array
          x-tags:
            - ex:user_id
            - mix:dept_id
        effective_type:
          allOf:
            - $ref: '#/components/schemas/attendance_group_effect_type'
          type: object
        external_settings:
          allOf:
            - $ref: '#/components/schemas/attendance_external_setting'
          type: object
        flexible_time_rules:
          items:
            $ref: '#/components/schemas/attendance_flexible_time_rule'
          maxItems: 10
          type: array
        free_punch_settings:
          allOf:
            - $ref: '#/components/schemas/attendance_free_punch_setting'
          type: object
        is_enable:
          type: boolean
        is_enable_address:
          type: boolean
        is_enable_prevent_cheat:
          type: boolean
        is_enable_wifi:
          type: boolean
        is_enabled_flexible_punch:
          type: boolean
        is_enabled_rest_time:
          type: boolean
        master_admins:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          minItems: 1
          type: array
          x-tags:
            - ex:user_id
            - mix:user_id
        name:
          maxLength: 20
          minLength: 1
          type: string
        no_attendance_users:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          type: array
          x-tags:
            - ex:user_id
            - mix:user_id
        operator_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
            - mix:user_id
        prevent_cheat_settings:
          allOf:
            - $ref: '#/components/schemas/attendance_prevent_cheat_setting'
          type: object
        punch_time_rules:
          items:
            $ref: '#/components/schemas/attendance_punch_time_rule'
          maxItems: 10
          type: array
        remedy_settings:
          allOf:
            - $ref: '#/components/schemas/attendance_remedy_setting'
          type: object
        rest_time_rules:
          items:
            $ref: '#/components/schemas/attendance_rest_time_rule'
          maxItems: 10
          type: array
        rule_type:
          allOf:
            - $ref: '#/components/schemas/attendance_rule_type'
          type: object
        sub_admin_permissions:
          allOf:
            - $ref: '#/components/schemas/attendance_sub_admin_permissions'
          type: object
        sub_admins:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          minItems: 1
          type: array
          x-tags:
            - ex:user_id
            - mix:user_id
        users:
          items:
            maxLength: 1024
            type: string
          maxItems: 2000
          type: array
          x-tags:
            - ex:user_id
            - mix:user_id
        workdays:
          items:
            $ref: '#/components/schemas/attendance_workday'
          maxItems: 7
          type: array
      required:
        - operator_id
        - name
        - rule_type
        - workdays
        - punch_time_rules
        - master_admins
        - effective_type
      title: attendance_group_req_body
      type: object
    attendance_location_adjustment_range:
      enum:
        - "50"
        - "100"
        - "500"
        - "1000"
        - "1500"
      title: attendance_location_adjustment_range
      type: string
      x-enum:
        - _50
        - _100
        - _500
        - _1000
        - _1500
    attendance_member_scopes_type:
      enum:
        - user
        - dept
        - company
      title: attendance_member_scopes_type
      type: string
      x-enum:
        - user
        - dept
        - company
    attendance_prevent_cheat_setting:
      properties:
        intercept_cheat_app:
          type: boolean
        intercept_proxy_punch:
          type: boolean
        suspected_cheat_handle:
          allOf:
            - $ref: '#/components/schemas/attendance_suspected_cheat_handle'
          type: object
      title: attendance_prevent_cheat_setting
      type: object
    attendance_punch_device:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
      type: object
    attendance_punch_query_time_type:
      enum:
        - punch_time
        - mtime
      type: string
      x-enum:
        - punch_time
        - mtime
    attendance_punch_state:
      enum:
        - normal
        - late
        - early
        - pending
        - missing
      type: string
      x-enum:
        - normal
        - late
        - early
        - pending
        - missing
    attendance_punch_time_rule:
      properties:
        in_time:
          maxLength: 1024
          type: string
        in_time_after:
          format: int64
          type: integer
        in_time_before:
          format: int64
          minimum: 1
          type: integer
        out_time:
          maxLength: 1024
          type: string
        out_time_after:
          format: int64
          minimum: 1
          type: integer
        out_time_before:
          format: int64
          type: integer
      required:
        - in_time
        - out_time
        - in_time_before
        - out_time_after
      title: attendance_punch_time_rule
      type: object
    attendance_punch_type:
      enum:
        - in_punch
        - out_punch
      type: string
      x-enum:
        - in_punch
        - out_punch
    attendance_punch_wifi:
      properties:
        addr:
          maxLength: 1024
          type: string
        ssid:
          maxLength: 64
          minLength: 1
          type: string
      required:
        - ssid
        - addr
      type: object
    attendance_punches:
      properties:
        items:
          items:
            $ref: '#/components/schemas/attendance_punches_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    attendance_punches_item:
      properties:
        address:
          allOf:
            - $ref: '#/components/schemas/attedance_punch_address'
          type: object
        attendance_type:
          allOf:
            - $ref: '#/components/schemas/attendance_attendance_type'
          type: object
        ctime:
          format: int64
          type: integer
          x-number-unit: s
        customize_ext:
          allOf:
            - $ref: '#/components/schemas/attedance_punch_customize_ext'
          nullable: true
          type: object
        device:
          allOf:
            - $ref: '#/components/schemas/attendance_punch_device'
          type: object
        group_id:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        mtime:
          format: int64
          type: integer
          x-number-unit: s
        photo_url:
          maxLength: 1024
          type: string
        punch_state:
          allOf:
            - $ref: '#/components/schemas/attendance_punch_state'
          type: object
        punch_time:
          format: int64
          type: integer
          x-number-unit: s
        punch_type:
          allOf:
            - $ref: '#/components/schemas/attendance_punch_type'
          type: object
        remark:
          maxLength: 1024
          type: string
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
            - mix:user_id
        wifi:
          allOf:
            - $ref: '#/components/schemas/attendance_punch_wifi'
          type: object
        work_date_time:
          format: int64
          type: integer
          x-number-unit: s
      required:
        - id
        - user_id
        - group_id
        - work_date_time
        - punch_time
        - ctime
        - mtime
        - punch_state
        - attendance_type
        - remark
      type: object
    attendance_remedy_setting:
      properties:
        days_limit:
          format: int64
          type: integer
        is_count_limit:
          type: boolean
        is_time_limit:
          type: boolean
        monthly_count:
          format: int64
          type: integer
        monthly_reset_day:
          format: int64
          type: integer
      title: attendance_remedy_setting
      type: object
    attendance_rest_time_rule:
      properties:
        end_time:
          maxLength: 1024
          type: string
        start_time:
          maxLength: 1024
          type: string
      required:
        - start_time
        - end_time
      title: attendance_rest_time_rule
      type: object
    attendance_rule_type:
      enum:
        - fixed
        - free
      title: attendance_rule_type
      type: string
      x-enum:
        - fixed
        - free
    attendance_set_member_scopes:
      properties:
        company_id:
          maxLength: 1024
          type: string
          x-tags:
            - mix:company_id
        dept_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
            - mix:dept_id
        type:
          allOf:
            - $ref: '#/components/schemas/attendance_member_scopes_type'
          type: object
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
            - mix:user_id
      required:
        - user_id
        - dept_id
        - company_id
        - type
      title: attendance_set_member_scopes
      type: object
    attendance_sub_admin_permissions:
      properties:
        set_group_member:
          type: boolean
        set_member_scopes:
          items:
            $ref: '#/components/schemas/attendance_set_member_scopes'
          maxItems: 400
          type: array
        set_punch_address:
          type: boolean
        set_punch_others_cfg:
          type: boolean
        set_punch_time:
          type: boolean
        view_export_statistics:
          type: boolean
      title: attendance_sub_admin_permissions
      type: object
    attendance_suspected_cheat_handle:
      enum:
        - record
        - forbid
      title: attendance_suspected_cheat_handle
      type: string
      x-enum:
        - record
        - forbid
    attendance_wifi_setting:
      properties:
        addr:
          format: mac
          maxLength: 50
          minLength: 1
          type: string
        id:
          maxLength: 1024
          type: string
        ssid:
          maxLength: 100
          minLength: 1
          type: string
      required:
        - addr
      title: attendance_wifi_setting
      type: object
    attendance_workday:
      enum:
        - Sun
        - Mon
        - Tue
        - Wed
        - Thu
        - Fri
        - Sat
      title: attendance_workday
      type: string
      x-enum:
        - sun
        - mon
        - tue
        - wed
        - thu
        - fri
        - sat
    attendee:
      properties:
        group_id:
          maxLength: 1024
          nullable: true
          type: string
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        response_status:
          $ref: '#/components/schemas/attendee_response_status'
        third_party_email:
          maxLength: 1024
          nullable: true
          type: string
        type:
          $ref: '#/components/schemas/attendee_type'
        user_id:
          maxLength: 1024
          nullable: true
          type: string
      required:
        - id
        - type
        - response_status
        - name
      type: object
    attendee_ability:
      enum:
        - can_see_others
        - can_invite_others
      type: string
      x-enum:
        - can_see_others
        - can_invite_others
    attendee_group_member:
      properties:
        member:
          $ref: '#/components/schemas/group_member'
        response_status:
          $ref: '#/components/schemas/attendee_response_status'
      required:
        - member
        - response_status
      type: object
    attendee_item:
      properties:
        group_id:
          maxLength: 1024
          nullable: true
          type: string
        id:
          maxLength: 1024
          type: string
        is_optional:
          type: boolean
        is_organizer:
          type: boolean
        name:
          maxLength: 1024
          type: string
        response_status:
          allOf:
            - $ref: '#/components/schemas/attendee_response_status'
          type: object
        third_party_email:
          maxLength: 1024
          nullable: true
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/attendee_type'
          type: object
        user_id:
          maxLength: 1024
          nullable: true
          type: string
      required:
        - id
        - type
        - name
        - response_status
        - is_optional
        - is_organizer
      type: object
    attendee_response_status:
      enum:
        - not_responded
        - declined
        - accepted
        - tentative
        - follow
      type: string
      x-enum:
        - not_responded
        - declined
        - accepted
        - tentative
        - follow
    attendee_type:
      enum:
        - user
        - group
        - third_party_email
      type: string
      x-enum:
        - user
        - group
        - third_party_email
    audit_category_create_req:
      properties:
        category:
          allOf:
            - $ref: '#/components/schemas/audit_log_op_category'
          type: object
        script:
          allOf:
            - $ref: '#/components/schemas/audit_log_op_script'
          nullable: true
          type: object
      required:
        - category
      type: object
    audit_chats_batch_get_req_body:
      properties:
        chat_id_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - chat_id_list
      title: audit_chats_batch_get_req_body
      type: object
    audit_chats_batch_get_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/audit_chats_batch_get_resp_data'
      required:
        - data
      type: object
    audit_chats_batch_get_resp_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/chat'
          maxItems: 1024
          type: array
      required:
        - items
      title: audit_chats_batch_get_resp_data
      type: object
    audit_chats_messages_batch_get_req_body:
      properties:
        message_id_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - message_id_list
      title: audit_chats_messages_batch_get_req_body
      type: object
    audit_chats_messages_batch_get_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/audit_chats_messages_batch_get_resp_data'
      required:
        - data
      type: object
    audit_chats_messages_batch_get_resp_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/chat_message'
          maxItems: 1024
          type: array
      required:
        - items
      title: audit_chats_messages_batch_get_resp_data
      type: object
    audit_device:
      properties:
        id:
          maxLength: 255
          type: string
          x-omitempty: true
        platform:
          allOf:
            - $ref: '#/components/schemas/audit_platform_type'
          type: object
          x-omitempty: true
      title: device info
      type: object
    audit_file_op:
      properties:
        file_id:
          maxLength: 255
          type: string
        file_name:
          maxLength: 255
          type: string
        file_path:
          maxLength: 1024
          type: string
        file_pos:
          maxLength: 255
          type: string
        new_file_id:
          maxLength: 255
          type: string
      required:
        - file_id
        - file_name
        - file_pos
        - file_path
        - new_file_id
      type: object
    audit_group_op:
      properties:
        group_id:
          maxLength: 20
          minLength: 1
          type: string
        group_name:
          maxLength: 255
          minLength: 1
          type: string
      required:
        - group_id
        - group_name
      type: object
    audit_log:
      properties:
        id:
          maxLength: 255
          minLength: 1
          type: string
        result:
          allOf:
            - $ref: '#/components/schemas/audit_result'
          type: object
        what:
          allOf:
            - $ref: '#/components/schemas/audit_what'
          type: object
        when:
          allOf:
            - $ref: '#/components/schemas/audit_when'
          type: object
        where:
          allOf:
            - $ref: '#/components/schemas/audit_where'
          type: object
        who:
          allOf:
            - $ref: '#/components/schemas/audit_who'
          type: object
      required:
        - id
        - when
        - where
        - who
        - what
        - result
      type: object
    audit_log_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/audit_log'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      type: object
    audit_log_op_category:
      properties:
        op_key:
          maxLength: 255
          minLength: 1
          type: string
        op_name:
          maxLength: 1024
          minLength: 1
          type: string
        parent_op_key:
          maxLength: 255
          type: string
      required:
        - op_key
        - op_name
        - parent_op_key
      type: object
    audit_log_op_category_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/audit_log_op_category'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      title: audit_log_op_category_list
      type: object
    audit_log_op_script:
      properties:
        lang:
          allOf:
            - $ref: '#/components/schemas/audit_log_op_script_lang'
          type: object
        script:
          maxLength: 2048
          minLength: 1
          type: string
          x-escape: false
      required:
        - script
        - lang
      title: audit_log_op_script
      type: object
    audit_log_op_script_lang:
      enum:
        - javascript
        - gotpl
      title: audit_log_op_script_lang
      type: string
      x-enum:
        - javascript
        - gotpl
    audit_log_operation_object:
      properties:
        object_id:
          maxLength: 1024
          type: string
          x-type: int64
        object_name:
          maxLength: 100
          minLength: 1
          type: string
        object_type:
          allOf:
            - $ref: '#/components/schemas/audit_log_operation_object_type'
          type: object
      required:
        - object_name
        - object_type
        - object_id
      type: object
    audit_log_operation_object_type:
      enum:
        - group
        - file
      type: string
      x-enum:
        - group
        - file
    audit_log_type:
      enum:
        - group
        - login
        - file
        - admin
      type: string
      x-enum:
        - group
        - login
        - file
        - admin
    audit_platform_type:
      enum:
        - ios
        - web
      type: string
      x-enum:
        - ios
        - web
    audit_result:
      properties:
        success:
          type: boolean
      required:
        - success
      type: object
    audit_source:
      enum:
        - yundoc
        - admin
      title: audit_source
      type: string
      x-enum:
        - yundoc
        - admin
    audit_what:
      properties:
        detail:
          maxLength: 4096
          type: string
        file:
          allOf:
            - $ref: '#/components/schemas/audit_file_op'
          nullable: true
          type: object
        group:
          allOf:
            - $ref: '#/components/schemas/audit_group_op'
          nullable: true
          type: object
        op_key:
          maxLength: 255
          minLength: 1
          type: string
      required:
        - op_key
        - detail
      type: object
    audit_when:
      properties:
        op_start_time:
          format: int64
          type: integer
        op_time:
          format: int64
          type: integer
      required:
        - op_time
        - op_start_time
      type: object
    audit_where:
      properties:
        device:
          allOf:
            - $ref: '#/components/schemas/audit_device'
          type: object
        ip_addr:
          maxLength: 255
          type: string
        source:
          allOf:
            - $ref: '#/components/schemas/audit_source'
          type: object
      required:
        - ip_addr
        - source
        - device
      type: object
    audit_who:
      properties:
        company_id:
          maxLength: 20
          type: string
        def_dept_abs_path:
          maxLength: 2048
          type: string
        def_dept_name:
          maxLength: 255
          type: string
        operator_dept_ids:
          items:
            maxLength: 20
            minLength: 1
            type: string
            x-type: int64
          maxItems: 100
          type: array
        operator_id:
          maxLength: 20
          minLength: 1
          type: string
        operator_login_name:
          maxLength: 255
          type: string
        operator_user_name:
          maxLength: 255
          type: string
      required:
        - company_id
        - operator_id
        - operator_login_name
        - operator_dept_ids
        - def_dept_name
        - def_dept_abs_path
        - operator_user_name
      type: object
    automation_list_work_flows_resp:
      properties:
        workflow_list:
          items:
            $ref: '#/components/schemas/automation_work_flow_item'
          maxItems: 1024
          type: array
      required:
        - workflow_list
      type: object
    automation_update_work_flow_req_body:
      properties:
        status:
          format: int64
          type: integer
        trigger:
          maxLength: 1024
          type: string
        type:
          maxLength: 1024
          type: string
      required:
        - type
        - status
        - trigger
      type: object
    automation_work_flow_item:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        status:
          format: int64
          type: integer
        trigger:
          maxLength: 1024
          type: string
      required:
        - id
        - name
        - status
        - trigger
      type: object
    base_event:
      properties:
        description:
          maxLength: 2000
          type: string
        end_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          type: object
        id:
          maxLength: 1024
          type: string
        locations:
          items:
            $ref: '#/components/schemas/calendar_location'
          maxItems: 1024
          type: array
        reminders:
          items:
            $ref: '#/components/schemas/calendar_reminder'
          maxItems: 1024
          type: array
        start_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          type: object
        status:
          $ref: '#/components/schemas/event_status'
        summary:
          maxLength: 1200
          type: string
      required:
        - id
        - summary
        - description
        - start_time
        - end_time
        - status
      type: object
    batch_add_app_subjects_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_add_drive_label_objects_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_add_org_dimension_dept_members_req_body:
      properties:
        user_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
          x-tags:
            - ex:user_id
      required:
        - user_ids
      type: object
    batch_add_org_dimension_dept_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_add_public_mailbox_members:
      properties:
        items:
          items:
            $ref: '#/components/schemas/public_mailbox_member'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_add_public_mailbox_members_item:
      properties:
        object_id:
          maxLength: 128
          minLength: 1
          type: string
        object_type:
          allOf:
            - $ref: '#/components/schemas/enum_public_mailbox_object_type'
          type: object
        permission:
          allOf:
            - $ref: '#/components/schemas/enum_public_mailbox_permission_type'
          type: object
      required:
        - object_id
        - object_type
        - permission
      type: object
    batch_add_public_mailbox_members_req_body:
      properties:
        items:
          items:
            $ref: '#/components/schemas/batch_add_public_mailbox_members_item'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - items
      type: object
    batch_add_public_mailbox_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_add_public_mailbox_members'
      required:
        - data
      type: object
    batch_copy_files_req_body:
      properties:
        dst_drive_id:
          maxLength: 1024
          type: string
        dst_parent_id:
          maxLength: 1024
          type: string
        file_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - file_ids
        - dst_parent_id
        - dst_drive_id
      type: object
    batch_copy_files_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/task'
      required:
        - data
      type: object
    batch_create_allocations_data:
      properties:
        ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - ids
      type: object
    batch_create_allocations_req_body:
      properties:
        entitlement_key:
          maxLength: 128
          minLength: 1
          type: string
        entity_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        entity_type:
          allOf:
            - $ref: '#/components/schemas/enum_entity_type'
          type: object
      required:
        - entity_ids
        - entity_type
        - entitlement_key
      type: object
    batch_create_allocations_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_create_allocations_data'
      required:
        - data
      type: object
    batch_create_base_event_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/base_event'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_create_base_event_item:
      properties:
        description:
          maxLength: 2000
          nullable: true
          type: string
        end_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          type: object
        locations:
          items:
            $ref: '#/components/schemas/calendar_location'
          maxItems: 1
          type: array
        reminders:
          items:
            $ref: '#/components/schemas/calendar_reminder'
          maxItems: 10
          type: array
        start_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          type: object
        summary:
          maxLength: 1200
          type: string
      required:
        - start_time
        - end_time
      type: object
    batch_create_base_event_req_body:
      properties:
        events:
          items:
            $ref: '#/components/schemas/batch_create_base_event_item'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - events
      type: object
    batch_create_base_event_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_create_base_event_data'
      required:
        - data
      type: object
    batch_create_calendar_permissions_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/calendar_permission'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_create_calendar_permissions_req_body:
      properties:
        permissions:
          items:
            $ref: '#/components/schemas/calendar_permission_batch_item'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - permissions
      type: object
    batch_create_calendar_permissions_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_create_calendar_permissions_data'
      required:
        - data
      type: object
    batch_create_chat_bookmark_req_body:
      properties:
        bookmarks:
          items:
            $ref: '#/components/schemas/create_chat_bookmark_item'
          maxItems: 10
          type: array
      required:
        - bookmarks
      title: batch_create_chat_bookmark_req_body
      type: object
    batch_create_chat_bookmark_resp_data:
      properties:
        failed:
          items:
            $ref: '#/components/schemas/create_chat_bookmark_fail_item'
          maxItems: 1024
          type: array
      required:
        - failed
      title: batch_create_chat_bookmark_resp_data
      type: object
    batch_create_chat_bookmarks_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_create_chat_bookmark_resp_data'
      required:
        - data
      type: object
    batch_create_chat_member_invalid_item:
      properties:
        account_id_list:
          items:
            $ref: '#/components/schemas/im_identity'
          maxItems: 1024
          type: array
        description:
          maxLength: 1024
          type: string
      required:
        - account_id_list
        - description
      title: 邀请失败的成员以及失败原因
      type: object
    batch_create_chat_member_req_body:
      properties:
        account_id_list:
          items:
            $ref: '#/components/schemas/im_identity'
          maxItems: 100
          minItems: 1
          type: array
        ignore_invalid_user:
          type: boolean
      required:
        - account_id_list
      title: batch_create_chat_member_req_body
      type: object
    batch_create_chat_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_create_chat_member_resp_data'
      required:
        - data
      type: object
    batch_create_chat_member_resp_data:
      properties:
        failed_items:
          items:
            $ref: '#/components/schemas/batch_create_chat_member_invalid_item'
          maxItems: 1024
          type: array
      title: batch_create_chat_member_resp_data
      type: object
    batch_create_drive_permission_req_body:
      properties:
        overwrite:
          type: boolean
        role_id:
          maxLength: 1024
          type: string
        subjects:
          items:
            allOf:
              - $ref: '#/components/schemas/subject'
            nullable: true
            type: object
          maxItems: 200
          minItems: 1
          type: array
      required:
        - role_id
        - subjects
      type: object
    batch_create_drive_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_create_event_attendee_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/attendee'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_create_event_attendee_item_req_body:
      properties:
        is_optional:
          nullable: true
          type: boolean
        response_status:
          allOf:
            - $ref: '#/components/schemas/attendee_response_status'
          nullable: true
          type: object
        third_party_email:
          maxLength: 1024
          nullable: true
          type: string
        type:
          $ref: '#/components/schemas/attendee_type'
        user_id:
          maxLength: 1024
          nullable: true
          type: string
      required:
        - type
      type: object
    batch_create_event_attendee_req_body:
      properties:
        attendees:
          items:
            $ref: '#/components/schemas/batch_create_event_attendee_item_req_body'
          maxItems: 200
          minItems: 1
          type: array
        is_notification:
          nullable: true
          type: boolean
      required:
        - attendees
      type: object
    batch_create_event_attendee_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_create_event_attendee_data'
      required:
        - data
      type: object
    batch_create_event_meeting_room_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/event_meeting_room'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_create_event_meeting_room_req_body:
      properties:
        room_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 40
          minItems: 1
          type: array
      type: object
    batch_create_event_meeting_room_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_create_event_meeting_room_data'
      required:
        - data
      type: object
    batch_create_file_permission_req_body:
      properties:
        notify_subject_user:
          nullable: true
          type: boolean
        overwrite:
          type: boolean
        role_id:
          maxLength: 1024
          type: string
        subjects:
          items:
            allOf:
              - $ref: '#/components/schemas/subject'
            nullable: true
            type: object
          maxItems: 200
          minItems: 1
          type: array
      required:
        - role_id
        - subjects
      type: object
    batch_create_file_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_create_group_member_item:
      properties:
        item_ids:
          items:
            maxLength: 1024
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
        item_type:
          allOf:
            - $ref: '#/components/schemas/group_member_type'
          nullable: true
          type: object
          x-omitempty: true
        role:
          allOf:
            - $ref: '#/components/schemas/group_member_role'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - item_ids
      title: batch_create_group_member_item
      type: object
    batch_create_group_member_req_body:
      properties:
        members:
          items:
            $ref: '#/components/schemas/batch_create_group_member_item'
          maxItems: 20
          minItems: 1
          type: array
        with_success_and_failure_list:
          type: boolean
          x-tags:
            - public
      required:
        - members
      title: batch_create_group_member_req_body
      type: object
    batch_create_group_member_resp:
      properties:
        add_dept_count:
          format: int64
          type: integer
        add_user_count:
          format: int64
          type: integer
        failure_list:
          items:
            $ref: '#/components/schemas/batch_create_group_member_result_item'
          maxItems: 1024
          type: array
        success_list:
          items:
            $ref: '#/components/schemas/batch_create_group_member_result_item'
          maxItems: 1024
          type: array
      title: batch_create_group_member_resp
      type: object
    batch_create_group_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_create_group_member_resp'
      required:
        - data
      type: object
    batch_create_group_member_result_item:
      properties:
        item_id:
          maxLength: 1024
          type: string
        item_name:
          maxLength: 1024
          type: string
        item_type:
          allOf:
            - $ref: '#/components/schemas/group_member_type'
          nullable: true
          type: object
        msg:
          maxLength: 1024
          type: string
        result:
          maxLength: 1024
          type: string
      required:
        - item_type
        - item_id
        - item_name
        - result
        - msg
      title: batch_create_group_member_result_item
      type: object
    batch_create_mail_contact_member_item:
      properties:
        email_address:
          maxLength: 128
          minLength: 1
          type: string
        name:
          maxLength: 256
          type: string
      required:
        - email_address
      type: object
    batch_create_mail_contact_member_req_body:
      properties:
        members:
          items:
            $ref: '#/components/schemas/batch_create_mail_contact_member_item'
          maxItems: 100
          minItems: 1
          type: array
        on_conflict:
          allOf:
            - $ref: '#/components/schemas/enum_batch_create_mail_contact_member_on_conflict'
          type: object
      required:
        - members
      type: object
    batch_create_mail_contact_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_create_mail_contact_req_body:
      properties:
        mail_contacts:
          items:
            $ref: '#/components/schemas/create_mail_contact_req_body'
          maxItems: 1000
          minItems: 1
          type: array
      required:
        - mail_contacts
      type: object
    batch_create_mail_contact_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_task_data'
      required:
        - data
      type: object
    batch_create_message_req_body:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/message_content'
          nullable: true
          type: object
        mentions:
          items:
            $ref: '#/components/schemas/message_mention'
          maxItems: 1024
          type: array
        receivers:
          items:
            $ref: '#/components/schemas/batch_create_receivers'
          maxItems: 1024
          type: array
        type:
          allOf:
            - $ref: '#/components/schemas/message_type'
          type: object
      required:
        - type
        - content
        - receivers
      title: batch_create_message_req_body
      type: object
    batch_create_message_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_create_message_resp_data'
      required:
        - data
      type: object
    batch_create_message_resp_data:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/message_content'
          nullable: true
          type: object
        ctime:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        invalid_receivers:
          items:
            $ref: '#/components/schemas/batch_create_receivers'
          maxItems: 1024
          type: array
        mentions:
          items:
            $ref: '#/components/schemas/message_mention'
          maxItems: 1024
          type: array
        message_id:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/message_type'
          type: object
      required:
        - id
        - type
        - ctime
        - message_id
      title: batch_create_message_resp_data
      type: object
    batch_create_receivers:
      properties:
        partner_id:
          maxLength: 1024
          type: string
        receiver_ids:
          items:
            maxLength: 1024
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
          x-tags:
            - ex:user_id
            - ex:dept_id
        type:
          allOf:
            - $ref: '#/components/schemas/batch_message_receiver_type'
          type: object
      required:
        - receiver_ids
        - type
      title: batch_create_receivers
      type: object
    batch_create_space_member_item:
      properties:
        item_id:
          maxLength: 1024
          type: string
        item_type:
          allOf:
            - $ref: '#/components/schemas/space_member_type'
          type: object
        role:
          allOf:
            - $ref: '#/components/schemas/space_member_role'
          type: object
      required:
        - item_type
        - item_id
        - role
      type: object
    batch_create_todo_task_data:
      properties:
        task_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - task_ids
      type: object
    batch_create_todo_task_req_body:
      properties:
        tasks:
          items:
            allOf:
              - $ref: '#/components/schemas/todo_task_data'
            nullable: true
            type: object
          maxItems: 20
          type: array
      required:
        - tasks
      title: batch_create_todo_task_req_body
      type: object
    batch_create_todo_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_create_todo_task_data'
      required:
        - data
      type: object
    batch_delete_allocations_req_body:
      properties:
        entitlement_key:
          maxLength: 128
          minLength: 1
          type: string
        ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - ids
        - entitlement_key
      type: object
    batch_delete_allocations_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_delete_chat_bookmark_req_body:
      properties:
        bookmark_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 20
          type: array
      required:
        - bookmark_ids
      title: batch_delete_chat_bookmark_req_body
      type: object
    batch_delete_chat_bookmark_resp_data:
      properties:
        failed:
          items:
            $ref: '#/components/schemas/delete_chat_bookmark_fail_item'
          maxItems: 1024
          type: array
      required:
        - failed
      title: batch_delete_chat_bookmark_resp_data
      type: object
    batch_delete_chat_bookmarks_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_delete_chat_bookmark_resp_data'
      required:
        - data
      type: object
    batch_delete_chat_member_req_body:
      properties:
        account_id_list:
          items:
            $ref: '#/components/schemas/im_identity'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - account_id_list
      title: batch_delete_chat_member_req_body
      type: object
    batch_delete_chat_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_delete_chat_member_resp_data'
      required:
        - data
      type: object
    batch_delete_chat_member_resp_data:
      properties:
        failed_account_id_list:
          items:
            $ref: '#/components/schemas/im_identity'
          maxItems: 1024
          type: array
      title: batch_delete_chat_member_resp_data
      type: object
    batch_delete_deleted_files_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/task_data'
      required:
        - data
      type: object
    batch_delete_dept_req_body:
      properties:
        dept_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 50
          minItems: 1
          type: array
          x-tags:
            - ex:dept_id
      required:
        - dept_ids
      type: object
    batch_delete_dept_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_delete_drive_permission_req_body:
      properties:
        overwrite:
          type: boolean
        subjects:
          items:
            allOf:
              - $ref: '#/components/schemas/subject'
            nullable: true
            type: object
          maxItems: 200
          minItems: 1
          type: array
      required:
        - subjects
      type: object
    batch_delete_drive_permissions_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_delete_event_attendee_item_req_body:
      properties:
        third_party_email:
          maxLength: 1024
          nullable: true
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/attendee_type'
          type: object
        user_id:
          maxLength: 1024
          nullable: true
          type: string
      required:
        - type
      type: object
    batch_delete_event_attendee_req_body:
      properties:
        attendee_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          minItems: 1
          type: array
        attendees:
          items:
            $ref: '#/components/schemas/batch_delete_event_attendee_item_req_body'
          maxItems: 50
          minItems: 1
          type: array
        is_notification:
          nullable: true
          type: boolean
      required:
        - attendees
      type: object
    batch_delete_event_attendee_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_delete_event_meeting_room_req_body:
      properties:
        room_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          minItems: 1
          type: array
      type: object
    batch_delete_event_meeting_room_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_delete_file_permissions_req_body:
      properties:
        items:
          items:
            $ref: '#/components/schemas/delete_permission_item'
          maxItems: 200
          minItems: 1
          type: array
        overwrite:
          type: boolean
      required:
        - items
      type: object
    batch_delete_file_permissions_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_delete_files_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/task_data'
      required:
        - data
      type: object
    batch_delete_group_member_item:
      properties:
        item_ids:
          items:
            maxLength: 1024
            minLength: 1
            type: string
          maxItems: 100
          type: array
        item_type:
          allOf:
            - $ref: '#/components/schemas/group_member_type'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - item_ids
      title: batch_delete_group_member_item
      type: object
    batch_delete_group_member_req_body:
      properties:
        members:
          items:
            $ref: '#/components/schemas/batch_delete_group_member_item'
          maxItems: 20
          type: array
      required:
        - members
      title: batch_delete_group_member_req_body
      type: object
    batch_delete_group_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_delete_mail_contact_member_req_body:
      properties:
        email_addresses:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - email_addresses
      type: object
    batch_delete_mail_contact_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_delete_mail_contact_req_body:
      properties:
        contact_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1000
          minItems: 1
          type: array
      required:
        - contact_ids
      type: object
    batch_delete_mail_contact_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_task_data'
      required:
        - data
      type: object
    batch_delete_mail_groups_req_body:
      properties:
        mail_group_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - mail_group_ids
      type: object
    batch_delete_mail_groups_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_delete_mailboxes_req_body:
      properties:
        is_shared:
          type: boolean
        mailbox_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          minItems: 1
          type: array
        user_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - is_shared
      type: object
    batch_delete_mailboxes_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_delete_org_dimension_dept_members_req_body:
      properties:
        user_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
          x-tags:
            - ex:user_id
      required:
        - user_ids
      type: object
    batch_delete_org_dimension_dept_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_delete_public_mailbox_members_req_body:
      properties:
        delete_all:
          type: boolean
        member_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - member_ids
        - delete_all
      type: object
    batch_delete_public_mailbox_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_delete_req_body:
      properties:
        file_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - file_ids
      type: object
    batch_delete_second_deleted_files_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/task_data'
      required:
        - data
      type: object
    batch_delete_space_member_item:
      properties:
        item_id:
          maxLength: 1024
          type: string
        item_type:
          allOf:
            - $ref: '#/components/schemas/space_member_type'
          type: object
      required:
        - item_type
        - item_id
      type: object
    batch_delete_todo_personal_task_req_body:
      properties:
        ids:
          items:
            maxLength: 20
            type: string
          maxItems: 1024
          type: array
      required:
        - ids
      title: batch_delete_todo_personal_task_req_body
      type: object
    batch_delete_todo_personal_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_delete_todo_task_req_body:
      properties:
        ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - ids
      title: batch_delete_todo_task_req_body
      type: object
    batch_delete_toto_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_delete_user_req_body:
      properties:
        user_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
          x-tags:
            - ex:user_id
      required:
        - user_ids
      type: object
    batch_delete_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_deleted_file_req_body:
      properties:
        delete_type:
          allOf:
            - $ref: '#/components/schemas/file_delete_to'
          nullable: true
          type: object
        file_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - file_ids
      type: object
    batch_disable_user_req_body:
      properties:
        user_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
          x-tags:
            - ex:user_id
      required:
        - user_ids
      type: object
    batch_disable_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_download_data:
      properties:
        url:
          maxLength: 1024
          type: string
      required:
        - url
      type: object
    batch_download_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_download_data'
      required:
        - data
      type: object
    batch_enable_user_req_body:
      properties:
        user_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
          x-tags:
            - ex:user_id
      required:
        - user_ids
      type: object
    batch_enable_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_get_attendance_punches_req_body:
      properties:
        from_time:
          format: int64
          type: integer
          x-number-unit: s
        page_size:
          format: int64
          maximum: 100
          type: integer
        page_token:
          maxLength: 1024
          type: string
        time_type:
          allOf:
            - $ref: '#/components/schemas/attendance_punch_query_time_type'
          type: object
        to_time:
          format: int64
          type: integer
          x-number-unit: s
        user_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 50
          type: array
          x-tags:
            - ex:user_id
            - mix:user_id
      required:
        - from_time
        - to_time
      type: object
    batch_get_attendance_punches_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/attendance_punches'
      required:
        - data
      type: object
    batch_get_chat_req_body:
      properties:
        chat_id_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          minItems: 1
          type: array
        dept_id_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          minItems: 1
          type: array
          x-tags:
            - ex:dept_id
        with_ext_attrs:
          type: boolean
        with_group_ext_attrs:
          type: boolean
      title: batch_get_chat_req_body
      type: object
    batch_get_chat_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_get_chat_resp_data'
      required:
        - data
      type: object
    batch_get_chat_resp_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/chat'
          maxItems: 1024
          type: array
      required:
        - items
      title: batch_get_chat_resp_data
      type: object
    batch_get_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/all_file_list_data'
      required:
        - data
      type: object
    batch_get_label_item_req_body:
      properties:
        label_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        label_type:
          items:
            $ref: '#/components/schemas/label_type'
          maxItems: 1024
          type: array
        objects:
          items:
            $ref: '#/components/schemas/label_object'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - objects
      type: object
    batch_get_label_items_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/label_item'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_get_label_items_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_get_label_items_data'
      required:
        - data
      type: object
    batch_get_meeting_room_booking_form_responses_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_room_booking_form_submission'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_get_meeting_room_booking_form_responses_req_body:
      properties:
        booking_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          minItems: 1
          type: array
      required:
        - booking_ids
      type: object
    batch_get_meeting_room_booking_form_responses_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_get_meeting_room_booking_form_responses_data'
      required:
        - data
      type: object
    batch_get_meeting_room_bookings_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_room_booking'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - next_page_token
        - items
      type: object
    batch_get_meeting_room_bookings_req_body:
      properties:
        end_time:
          format: int64
          type: integer
        include_deleted:
          type: boolean
        page_size:
          format: int
          maximum: 100
          type: integer
        page_token:
          maxLength: 1024
          type: string
        results:
          items:
            $ref: '#/components/schemas/meeting_room_booking_result'
          maxItems: 1024
          type: array
        room_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          type: array
        room_level_id:
          maxLength: 1024
          nullable: true
          type: string
        start_time:
          format: int64
          type: integer
      required:
        - start_time
        - end_time
      type: object
    batch_get_meeting_room_bookings_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_get_meeting_room_bookings_data'
      required:
        - data
      type: object
    batch_get_meeting_room_levels_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_room_level'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_get_meeting_room_levels_req_body:
      properties:
        room_level_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          type: array
      required:
        - room_level_ids
      type: object
    batch_get_meeting_room_levels_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_get_meeting_room_levels_data'
      required:
        - data
      type: object
    batch_get_meeting_room_setting_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_room_setting'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_get_meeting_room_setting_req_body:
      properties:
        room_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          type: array
      required:
        - room_ids
      type: object
    batch_get_meeting_room_setting_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_get_meeting_room_setting_data'
      required:
        - data
      type: object
    batch_get_meeting_rooms_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_room'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_get_meeting_rooms_req_body:
      properties:
        room_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          type: array
      required:
        - room_ids
      type: object
    batch_get_meeting_rooms_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_get_meeting_rooms_data'
      required:
        - data
      type: object
    batch_get_personal_todo_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_get_todo_personal_task_resp'
      required:
        - data
      type: object
    batch_get_personal_todo_simple_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_get_todo_personal_task_simple_resp'
      required:
        - data
      type: object
    batch_get_primary_calendars_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/calendar_with_user_item'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_get_primary_calendars_req_body:
      properties:
        user_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 20
          minItems: 1
          type: array
      required:
        - user_ids
      type: object
    batch_get_primary_calendars_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_get_primary_calendars_data'
      required:
        - data
      type: object
    batch_get_todo_personal_task_req_body:
      properties:
        created_time:
          allOf:
            - $ref: '#/components/schemas/todo_task_time_range'
          nullable: true
          type: object
          x-omitempty: true
        due_time:
          allOf:
            - $ref: '#/components/schemas/todo_task_time_range'
          nullable: true
          type: object
          x-omitempty: true
        executor:
          maxLength: 1024
          type: string
        keyword:
          maxLength: 50
          type: string
          x-omitempty: true
        page_size:
          format: int
          maximum: 100
          type: integer
        page_token:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/todo_task_status'
          nullable: true
          type: object
          x-omitempty: true
      title: batch_get_todo_personal_task_req_body
      type: object
    batch_get_todo_personal_task_resp:
      properties:
        next_offset:
          maxLength: 1024
          type: string
          x-omitempty: true
        tasks:
          items:
            allOf:
              - $ref: '#/components/schemas/todo_personal_task'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        total:
          format: int64
          type: integer
          x-omitempty: true
      required:
        - tasks
        - next_offset
      title: batch_get_todo_personal_task_resp
      type: object
    batch_get_todo_personal_task_simple_req_body:
      properties:
        due_time:
          allOf:
            - $ref: '#/components/schemas/todo_task_time_range'
          nullable: true
          type: object
          x-omitempty: true
        page_size:
          format: int
          maximum: 500
          type: integer
          x-omitempty: true
        page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
        status:
          allOf:
            - $ref: '#/components/schemas/todo_task_status'
          nullable: true
          type: object
          x-omitempty: true
      title: batch_get_todo_personal_task_simple_req_body
      type: object
    batch_get_todo_personal_task_simple_resp:
      properties:
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
        tasks:
          items:
            allOf:
              - $ref: '#/components/schemas/todo_personal_task_simple_info'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        total:
          format: int64
          type: integer
          x-omitempty: true
      required:
        - tasks
        - next_page_token
      title: batch_get_todo_personal_task_simple_resp
      type: object
    batch_get_todo_task_req_body:
      properties:
        appid:
          maxLength: 1024
          type: string
        count:
          format: int
          type: integer
        executor:
          maxLength: 1024
          type: string
        offset:
          maxLength: 1024
          type: string
        order:
          allOf:
            - $ref: '#/components/schemas/batch_get_todo_task_sort_rule'
          nullable: true
          type: object
        sort:
          allOf:
            - $ref: '#/components/schemas/batch_get_todo_task_sort_field'
          nullable: true
          type: object
        status:
          allOf:
            - $ref: '#/components/schemas/todo_task_status'
          nullable: true
          type: object
        tags:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      type: object
    batch_get_todo_task_resp:
      properties:
        next_offset:
          maxLength: 1024
          type: string
        tasks:
          items:
            allOf:
              - $ref: '#/components/schemas/todo_task'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        total:
          format: int64
          type: integer
      required:
        - tasks
        - next_offset
        - total
      type: object
    batch_get_todo_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_get_todo_task_resp'
      required:
        - data
      type: object
    batch_get_todo_task_sort_field:
      enum:
        - created_time
        - due_time
        - finish_time
      type: string
      x-enum:
        - created_time
        - due_time
        - finish_time
    batch_get_todo_task_sort_rule:
      enum:
        - asc
        - desc
      type: string
      x-enum:
        - asc
        - desc
    batch_logout_user_req_body:
      properties:
        user_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 50
          minItems: 1
          type: array
      required:
        - user_ids
      type: object
    batch_logout_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_message_receiver_type:
      enum:
        - chat
        - company
        - dept
        - user
        - enterprise_partner
        - enterprise_partner_dept
        - enterprise_partner_user
      type: string
      x-enum:
        - chat
        - company
        - dept
        - user
        - enterprise_partner
        - enterprise_partner_dept
        - enterprise_partner_user
    batch_move_files_req_body:
      properties:
        dst_drive_id:
          maxLength: 1024
          type: string
        dst_parent_id:
          maxLength: 1024
          type: string
        file_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - file_ids
        - dst_parent_id
        - dst_drive_id
      type: object
    batch_move_files_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/task'
      required:
        - data
      type: object
    batch_operate_app_subjects_req_body:
      properties:
        is_blacklist:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/update_developer_application_subject'
          maxItems: 200
          type: array
      required:
        - items
      type: object
    batch_read_dept_attrs_values:
      properties:
        custom_attrs:
          items:
            $ref: '#/components/schemas/dept_attr_value'
          maxItems: 100
          type: array
        dept_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:dept_id
      required:
        - dept_id
        - custom_attrs
      title: 批量读取部门属性值
      type: object
    batch_read_dept_custom_attrs_data:
      properties:
        depts:
          items:
            $ref: '#/components/schemas/batch_read_dept_attrs_values'
          maxItems: 1024
          type: array
      required:
        - depts
      type: object
    batch_read_dept_custom_attrs_req_body:
      properties:
        dept_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
          x-tags:
            - ex:dept_id
      required:
        - dept_ids
      type: object
    batch_read_dept_custom_attrs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_read_dept_custom_attrs_data'
      required:
        - data
      type: object
    batch_read_dept_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/dept_item'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_read_dept_req_body:
      properties:
        dept_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
          x-tags:
            - ex:dept_id
      required:
        - dept_ids
      type: object
    batch_read_dept_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_read_dept_data'
      required:
        - data
      type: object
    batch_read_depts_by_ex_dept_ids_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/dept_item'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_read_depts_by_ex_dept_ids_req_body:
      properties:
        ex_dept_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - ex_dept_ids
      type: object
    batch_read_depts_by_ex_dept_ids_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_read_depts_by_ex_dept_ids_data'
      required:
        - data
      type: object
    batch_read_dimission_user_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/user_item_compact'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_read_dimission_user_req_body:
      properties:
        user_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 50
          minItems: 1
          type: array
      required:
        - user_ids
      type: object
    batch_read_dimission_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_read_dimission_user_data'
      required:
        - data
      type: object
    batch_read_group_member_item:
      properties:
        item_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          type: array
        item_type:
          allOf:
            - $ref: '#/components/schemas/group_member_type'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - item_ids
      title: batch_read_group_member_item
      type: object
    batch_read_group_member_req_body:
      properties:
        members:
          items:
            $ref: '#/components/schemas/batch_read_group_member_item'
          maxItems: 20
          type: array
        with_dept_info:
          type: boolean
        with_user_info:
          type: boolean
      required:
        - members
      title: batch_read_group_member_req_body
      type: object
    batch_read_group_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/group_member_list'
      required:
        - data
      type: object
    batch_read_partners_by_partner_company_ids_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/partner'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_read_partners_by_partner_company_ids_req_body:
      properties:
        partner_company_ids:
          items:
            maxLength: 1024
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - partner_company_ids
      type: object
    batch_read_partners_by_partner_company_ids_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_read_partners_by_partner_company_ids_data'
      required:
        - data
      type: object
    batch_read_user_attrs_values:
      properties:
        custom_attrs:
          items:
            $ref: '#/components/schemas/user_attr_value'
          maxItems: 100
          type: array
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - user_id
        - custom_attrs
      type: object
    batch_read_user_custom_attrs_data:
      properties:
        users:
          items:
            $ref: '#/components/schemas/batch_read_user_attrs_values'
          maxItems: 1024
          type: array
      required:
        - users
      type: object
    batch_read_user_custom_attrs_req_body:
      properties:
        user_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
          x-tags:
            - ex:user_id
      required:
        - user_ids
      type: object
    batch_read_user_custom_attrs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_read_user_custom_attrs_data'
      required:
        - data
      type: object
    batch_read_user_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/user_item_with_dept'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    batch_read_user_req_body:
      properties:
        status:
          items:
            $ref: '#/components/schemas/user_status'
          maxItems: 3
          minItems: 1
          type: array
        user_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 50
          minItems: 1
          type: array
          x-tags:
            - ex:user_id
        with_dept:
          type: boolean
      required:
        - user_ids
        - status
      type: object
    batch_read_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/batch_read_user_data'
      required:
        - data
      type: object
    batch_remove_app_subjects_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_remove_drive_label_objects_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_restore_deleted_files_req_body:
      properties:
        file_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - file_ids
      type: object
    batch_restore_deleted_files_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/task_data'
      required:
        - data
      type: object
    batch_return_mode:
      enum:
        - fastfail
        - detailed
      type: string
      x-enum:
        - fastfail
        - detailed
    batch_update_app_members_req_body:
      properties:
        items:
          items:
            $ref: '#/components/schemas/developer_member'
          maxItems: 50
          type: array
      required:
        - items
      type: object
    batch_update_app_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_update_app_subjects_req_body:
      properties:
        items:
          items:
            $ref: '#/components/schemas/update_developer_application_subject'
          maxItems: 200
          type: array
      required:
        - items
      type: object
    batch_update_app_subjects_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_update_dept_custom_attrs_req_body:
      properties:
        depts:
          items:
            $ref: '#/components/schemas/update_dept_attrs_item'
          maxItems: 1024
          type: array
      required:
        - depts
      type: object
    batch_update_dept_custom_attrs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_update_file_permission_req_body:
      properties:
        overwrite:
          type: boolean
        permission_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        role_id:
          maxLength: 1024
          type: string
      required:
        - permission_ids
        - role_id
      type: object
    batch_update_file_permissions_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_update_mail_contact_item:
      properties:
        contact_id:
          maxLength: 1024
          type: string
        contact_type:
          allOf:
            - $ref: '#/components/schemas/enum_contact_type'
          type: object
        department:
          maxLength: 1024
          type: string
        email_address:
          maxLength: 1024
          type: string
        job_title:
          maxLength: 1024
          type: string
        mobile_phone:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        organization:
          maxLength: 1024
          type: string
        remark:
          maxLength: 1024
          type: string
      required:
        - contact_id
      type: object
    batch_update_mail_contact_req_body:
      properties:
        mail_contacts:
          items:
            $ref: '#/components/schemas/batch_update_mail_contact_item'
          maxItems: 1000
          minItems: 1
          type: array
      required:
        - mail_contacts
      type: object
    batch_update_mail_contact_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_task_data'
      required:
        - data
      type: object
    batch_update_mail_group_accepted_senders_req_body:
      properties:
        add_addresses:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          type: array
        delete_addresses:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          type: array
      type: object
    batch_update_mail_group_accepted_senders_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_update_mail_group_members_req_body:
      properties:
        add_addresses:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          type: array
        delete_addresses:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          type: array
      type: object
    batch_update_mail_group_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_update_mailbox_members_req_body:
      properties:
        add_addresses:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          type: array
        delete_addresses:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          type: array
      type: object
    batch_update_mailbox_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_update_todo_task_req_body:
      properties:
        update_tasks:
          items:
            allOf:
              - $ref: '#/components/schemas/update_todo_task_item'
            nullable: true
            type: object
          maxItems: 20
          type: array
      required:
        - update_tasks
      title: batch_update_todo_task_req_body
      type: object
    batch_update_todo_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_update_user_custom_attrs_req_body:
      properties:
        users:
          items:
            $ref: '#/components/schemas/update_user_attrs_item'
          maxItems: 1024
          type: array
      required:
        - users
      type: object
    batch_update_user_custom_attrs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_update_user_dept_order_req_body:
      properties:
        user_order_list:
          items:
            $ref: '#/components/schemas/user_order'
          maxItems: 1024
          type: array
      required:
        - user_order_list
      type: object
    batch_update_user_dept_order_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    batch_update_user_dept_req_body:
      properties:
        user_dept_info_list:
          items:
            $ref: '#/components/schemas/update_user_dept_info'
          maxItems: 1024
          type: array
      required:
        - user_dept_info_list
      type: object
    batch_update_user_dept_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    bind_exchange_account_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/exchange_binding'
      required:
        - data
      type: object
    biz_id_to_message_id:
      properties:
        ex_biz_id:
          maxLength: 1024
          type: string
        message_id:
          maxLength: 1024
          type: string
      required:
        - ex_biz_id
        - message_id
      title: biz_id_to_message_id
      type: object
    biz_uuid_to_message_id:
      properties:
        biz_uuid:
          maxLength: 32
          minLength: 1
          type: string
        message_id:
          maxLength: 1024
          type: string
      required:
        - biz_uuid
        - message_id
      title: biz_uuid_to_message_id
      type: object
    block:
      properties:
        bounding_box:
          allOf:
            - $ref: '#/components/schemas/rectangle'
          type: object
        component:
          allOf:
            - $ref: '#/components/schemas/component'
          type: object
        id:
          maxLength: 1024
          type: string
        index:
          format: int
          type: integer
        page_index:
          format: int
          type: integer
        para:
          allOf:
            - $ref: '#/components/schemas/para'
          type: object
        rotate:
          format: double
          type: number
        table:
          allOf:
            - $ref: '#/components/schemas/table'
          type: object
        tags:
          items:
            $ref: '#/components/schemas/tag'
          maxItems: 1024
          type: array
        textbox:
          allOf:
            - $ref: '#/components/schemas/textbox'
          type: object
        type:
          $ref: '#/components/schemas/block_type'
      required:
        - type
      type: object
    block_type:
      enum:
        - para
        - table
        - textbox
        - component
      type: string
      x-enum:
        - para
        - table
        - textbox
        - component
    calculate_store_order_fee_data:
      properties:
        fee_of_skus:
          items:
            $ref: '#/components/schemas/fee_of_skus_item'
          maxItems: 1024
          type: array
        total_fee_of_original:
          format: int64
          type: integer
      required:
        - total_fee_of_original
        - fee_of_skus
      type: object
    calculate_store_order_fee_req_body:
      properties:
        entity:
          allOf:
            - $ref: '#/components/schemas/store_order_entity'
          type: object
        pre_calc_from_timestamp:
          format: int64
          type: integer
        skus:
          items:
            $ref: '#/components/schemas/create_order_sku'
          maxItems: 20
          minItems: 1
          type: array
      required:
        - skus
        - entity
        - pre_calc_from_timestamp
      type: object
    calculate_store_order_fee_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/calculate_store_order_fee_data'
      required:
        - data
      type: object
    calendar_auto_recording_mode:
      enum:
        - "off"
        - recording
        - ai_minutes
        - recording_and_ai_minutes
      type: string
      x-enum:
        - "off"
        - recording
        - ai_minutes
        - recording_and_ai_minutes
    calendar_detail:
      properties:
        description:
          maxLength: 80
          type: string
        id:
          maxLength: 1024
          type: string
        is_deleted:
          type: boolean
        open_status:
          allOf:
            - $ref: '#/components/schemas/calendar_open_status'
          type: object
        role:
          $ref: '#/components/schemas/calendar_permission_role'
        summary:
          maxLength: 1024
          type: string
        type:
          $ref: '#/components/schemas/calendar_type'
      required:
        - id
        - summary
        - description
        - type
        - open_status
        - role
        - is_deleted
      type: object
    calendar_join_permission:
      enum:
        - anyone
        - company_users
        - event_attendees
      type: string
      x-enum:
        - anyone
        - company_users
        - event_attendees
    calendar_location:
      properties:
        name:
          maxLength: 1024
          type: string
      required:
        - name
      type: object
    calendar_meeting_setting:
      properties:
        auto_recording:
          allOf:
            - $ref: '#/components/schemas/calendar_auto_recording_mode'
          type: object
        host_id:
          maxLength: 1024
          type: string
        is_allow_attendees_start:
          type: boolean
        is_open_lobby:
          type: boolean
        join_permission:
          allOf:
            - $ref: '#/components/schemas/calendar_join_permission'
          type: object
        meeting_type:
          allOf:
            - $ref: '#/components/schemas/calendar_meeting_type'
          type: object
        mute_on_join:
          allOf:
            - $ref: '#/components/schemas/calendar_mute_on_join_mode'
          type: object
        recording_view_permission:
          allOf:
            - $ref: '#/components/schemas/calendar_recording_view_permission'
          type: object
        require_camera_on_join:
          type: boolean
      type: object
    calendar_meeting_type:
      enum:
        - general
        - routine
        - interview
        - customer_visit
        - training
        - press_conference
        - class
        - other
      type: string
      x-enum:
        - general
        - routine
        - interview
        - customer_visit
        - training
        - press_conference
        - class
        - other
    calendar_mute_on_join_mode:
      enum:
        - "off"
        - "on"
        - auto_after_six
      type: string
      x-enum:
        - "off"
        - "on"
        - auto_after_six
    calendar_online_meeting:
      properties:
        description:
          maxLength: 100
          nullable: true
          type: string
        meeting_setting:
          allOf:
            - $ref: '#/components/schemas/calendar_meeting_setting'
          type: object
        provider:
          $ref: '#/components/schemas/calendar_online_meeting_provider'
        url:
          maxLength: 500
          nullable: true
          type: string
      required:
        - provider
      type: object
    calendar_online_meeting_provider:
      enum:
        - kso
        - third_party
      type: string
      x-enum:
        - kso
        - third_party
    calendar_online_meeting_resp_body:
      properties:
        description:
          maxLength: 100
          nullable: true
          type: string
        join_code:
          maxLength: 1024
          type: string
        meeting_setting:
          allOf:
            - $ref: '#/components/schemas/calendar_meeting_setting'
          type: object
        provider:
          $ref: '#/components/schemas/calendar_online_meeting_provider'
        url:
          maxLength: 500
          nullable: true
          type: string
      required:
        - provider
      type: object
    calendar_open_status:
      enum:
        - private
        - show_only_free_busy
        - public
      type: string
      x-enum:
        - private
        - show_only_free_busy
        - public
    calendar_organizer:
      properties:
        type:
          $ref: '#/components/schemas/calendar_organizer_type'
        user_id:
          maxLength: 1024
          nullable: true
          type: string
      required:
        - type
      type: object
    calendar_organizer_type:
      enum:
        - user
      type: string
      x-enum:
        - user
    calendar_permission:
      properties:
        calendar_id:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        role:
          $ref: '#/components/schemas/calendar_permission_role'
        user_id:
          maxLength: 1024
          type: string
      required:
        - id
        - calendar_id
        - user_id
        - role
      type: object
    calendar_permission_batch_item:
      properties:
        role:
          $ref: '#/components/schemas/calendar_permission_create_role'
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
        - role
      type: object
    calendar_permission_create_role:
      enum:
        - free_busy_reader
        - reader
        - writer
      type: string
      x-enum:
        - free_busy_reader
        - reader
        - writer
    calendar_permission_req_body:
      properties:
        role:
          $ref: '#/components/schemas/calendar_permission_create_role'
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
        - role
      type: object
    calendar_permission_role:
      enum:
        - free_busy_reader
        - reader
        - writer
        - owner
      type: string
      x-enum:
        - free_busy_reader
        - reader
        - writer
        - owner
    calendar_recording_view_permission:
      enum:
        - organizer_only
        - event_attendees
        - event_and_meeting_attendees
        - meeting_attendees_only
        - company_users
      type: string
      x-enum:
        - organizer_only
        - event_attendees
        - event_and_meeting_attendees
        - meeting_attendees_only
        - company_users
    calendar_reminder:
      properties:
        minutes:
          format: int64
          type: integer
          x-doc-tip:
            - 正数表示在日程开始前提醒，负数表示在日程开始后提醒，0表示在日程开始时提醒
          x-number-unit: 分钟
      required:
        - minutes
      type: object
    calendar_subscribe_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/calendar_detail'
      required:
        - data
      type: object
    calendar_time:
      properties:
        date:
          format: date
          maxLength: 1024
          nullable: true
          type: string
        datetime:
          format: datetime
          maxLength: 1024
          nullable: true
          type: string
      type: object
    calendar_type:
      enum:
        - primary
        - normal
      type: string
      x-enum:
        - primary
        - normal
    calendar_unsubscribe_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    calendar_with_user_item:
      properties:
        calendar:
          allOf:
            - $ref: '#/components/schemas/calendar_detail'
          type: object
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
        - calendar
      type: object
    change_type:
      enum:
        - create
        - update
        - delete
      title: 变更类型
      type: string
      x-enum:
        - create
        - update
        - delete
    chat:
      properties:
        ctime:
          format: int64
          type: integer
        ext_attrs:
          items:
            $ref: '#/components/schemas/extended_attribute'
          maxItems: 1024
          type: array
        group_ext_attrs:
          allOf:
            - $ref: '#/components/schemas/group_chat_extended_attribute'
          nullable: true
          type: object
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/chat_status'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/chat_type'
          type: object
      required:
        - id
        - type
        - name
        - ctime
        - status
      title: chat
      type: object
    chat_bookmark:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/chat_bookmark_content'
          type: object
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/chat_bookmark_type'
          type: object
      required:
        - id
        - type
        - content
        - name
      title: chat_bookmark
      type: object
    chat_bookmark_content:
      properties:
        cloud_file:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        url:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
      title: chat_bookmark_content
      type: object
    chat_bookmark_data:
      properties:
        cloud_file_id:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        url:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
      title: chat_bookmark_data
      type: object
    chat_bookmark_resp_data:
      properties:
        bookmarks:
          items:
            $ref: '#/components/schemas/chat_bookmark'
          maxItems: 1024
          type: array
      required:
        - bookmarks
      title: chat_bookmark_resp_data
      type: object
    chat_bookmark_type:
      enum:
        - url
        - cloud_file
      title: chat_bookmark_type
      type: string
      x-enum:
        - url
        - cloud_file
    chat_bookmarks_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/chat_bookmark_resp_data'
      required:
        - data
      type: object
    chat_group_member_extended_attribute:
      properties:
        role:
          allOf:
            - $ref: '#/components/schemas/chat_member_role_type'
          type: object
        status:
          allOf:
            - $ref: '#/components/schemas/chat_member_status'
          type: object
      required:
        - role
        - status
      title: chat_group_member_extended_attribute
      type: object
    chat_member:
      properties:
        group_ext_attrs:
          allOf:
            - $ref: '#/components/schemas/chat_group_member_extended_attribute'
          nullable: true
          type: object
        identity:
          allOf:
            - $ref: '#/components/schemas/im_identity'
          type: object
      required:
        - identity
      title: chat_member
      type: object
    chat_member_role_type:
      enum:
        - normal
        - admin
        - owner
      type: string
      x-enum:
        - normal
        - admin
        - owner
    chat_member_status:
      enum:
        - normal
        - resigned
        - banned
      type: string
      x-enum:
        - normal
        - resigned
        - banned
    chat_member_type:
      enum:
        - user
        - app
      title: chat_member_type
      type: string
      x-enum:
        - user
        - app
    chat_message:
      allOf:
        - $ref: '#/components/schemas/message'
      properties:
        chat_id:
          maxLength: 1024
          type: string
        delete:
          allOf:
            - $ref: '#/components/schemas/chat_message_delete'
          nullable: true
          type: object
          x-omitempty: true
        ext_attrs:
          items:
            $ref: '#/components/schemas/extended_attribute'
          maxItems: 1024
          type: array
          x-omitempty: true
        mentions:
          items:
            $ref: '#/components/schemas/message_mention'
          maxItems: 1024
          type: array
          x-omitempty: true
        position:
          format: int64
          type: integer
        quote_msg_id:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        recall:
          allOf:
            - $ref: '#/components/schemas/chat_message_recall'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - chat_id
        - position
      title: chat_message
      type: object
    chat_message_delete:
      properties:
        deleted:
          type: boolean
        time:
          format: int64
          type: integer
      required:
        - deleted
        - time
      title: chat_message_delete
      type: object
    chat_message_recall:
      properties:
        operator_id:
          maxLength: 1024
          type: string
      required:
        - operator_id
      title: chat_message_recall
      type: object
    chat_resources_download_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/im_download_data'
      required:
        - data
      type: object
    chat_share_link_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/chat_share_link_resp_data'
      required:
        - data
      type: object
    chat_share_link_resp_data:
      properties:
        share_link:
          maxLength: 1024
          type: string
      required:
        - share_link
      title: chat_share_link_resp_data
      type: object
    chat_status:
      enum:
        - active
        - dismissed
      type: string
      x-enum:
        - active
        - dismissed
    chat_type:
      enum:
        - p2p
        - group
      type: string
      x-enum:
        - p2p
        - group
    chats_messages_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_messages_resp_data'
      required:
        - data
      type: object
    chats_resource_upload_entry:
      properties:
        headers:
          allOf:
            - $ref: '#/components/schemas/map_string_string'
          type: object
        method:
          maxLength: 1024
          type: string
        params:
          allOf:
            - $ref: '#/components/schemas/map_string_string'
          type: object
        url:
          maxLength: 1024
          type: string
      required:
        - method
        - url
        - headers
        - params
      type: object
    chats_resource_upload_req_body:
      properties:
        checksum:
          maxLength: 1024
          type: string
        file_name:
          maxLength: 1024
          type: string
        file_size:
          format: int64
          type: integer
        is_avatar:
          type: boolean
      required:
        - file_name
        - file_size
        - checksum
      title: chats_resource_upload_req_body
      type: object
    chats_resource_upload_resp_data:
      properties:
        storage_key:
          maxLength: 1024
          type: string
        upload_entry:
          allOf:
            - $ref: '#/components/schemas/chats_resource_upload_entry'
          type: object
      required:
        - storage_key
        - upload_entry
      title: chats_resource_upload_resp_data
      type: object
    chats_resources_upload_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/chats_resource_upload_resp_data'
      required:
        - data
      type: object
    chats_resp_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/chat'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      title: chats_resp_data
      type: object
    chats_unread_count:
      properties:
        unread_count:
          format: int64
          type: integer
      required:
        - unread_count
      title: chats_unread_count_resp_data
      type: object
    chats_unread_count_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/chats_unread_count'
      required:
        - data
      type: object
    check_admin_permission_data:
      properties:
        is_super_admin:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/check_permission_item'
          maxItems: 1024
          type: array
      required:
        - is_super_admin
        - items
      type: object
    check_admin_permission_req_body:
      properties:
        permission_keys:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 10
          minItems: 1
          type: array
        user_id:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - user_id
        - permission_keys
      type: object
    check_admin_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/check_admin_permission_data'
      required:
        - data
      type: object
    check_app_admins_resp:
      properties:
        is_app_admin:
          type: boolean
      required:
        - is_app_admin
      type: object
    check_app_admins_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/check_app_admins_resp'
      required:
        - data
      type: object
    check_file_name_data:
      properties:
        is_exist:
          type: boolean
      required:
        - is_exist
      type: object
    check_file_name_req_body:
      properties:
        name:
          maxLength: 240
          minLength: 1
          type: string
          x-escape: false
      required:
        - name
      type: object
    check_file_name_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/check_file_name_data'
      required:
        - data
      type: object
    check_in_group_data:
      properties:
        in_group:
          type: boolean
      required:
        - in_group
      type: object
    check_in_group_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/check_in_group_data'
      required:
        - data
      type: object
    check_permission_item:
      properties:
        is_exists:
          type: boolean
        permission_key:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - permission_key
        - is_exists
      type: object
    check_subjects_white_black_list_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/check_white_black_list_resp'
      required:
        - data
      type: object
    check_white_black_list_req_body:
      properties:
        subjects:
          items:
            $ref: '#/components/schemas/developer_application_subject'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - subjects
      type: object
    check_white_black_list_resp:
      properties:
        blacklist:
          items:
            $ref: '#/components/schemas/developer_application_subject'
          maxItems: 100
          type: array
        whitelist:
          items:
            $ref: '#/components/schemas/developer_application_subject'
          maxItems: 100
          type: array
      required:
        - whitelist
        - blacklist
      type: object
    clear_deleted_files_req_body:
      properties:
        drive_id:
          maxLength: 1024
          type: string
          x-type: int64
      type: object
    clear_deleted_files_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/task_data'
      required:
        - data
      type: object
    close_drive_link_req_body:
      properties:
        mode:
          allOf:
            - $ref: '#/components/schemas/close_link_mode'
          nullable: true
          type: object
      type: object
    close_drive_link_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    close_file_link_req_body:
      properties:
        mode:
          allOf:
            - $ref: '#/components/schemas/close_link_mode'
          nullable: true
          type: object
      type: object
    close_file_link_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    close_link_mode:
      enum:
        - pause
        - delete
      type: string
      x-enum:
        - pause
        - delete
    comment:
      properties:
        blocks:
          items:
            $ref: '#/components/schemas/block'
          maxItems: 1024
          type: array
        references:
          items:
            $ref: '#/components/schemas/reference'
          maxItems: 1024
          type: array
      required:
        - references
      type: object
    comment_approval_instance_req_body:
      properties:
        attachments:
          items:
            allOf:
              - $ref: '#/components/schemas/approval_attachment'
            nullable: true
            type: object
          maxItems: 3
          type: array
        content:
          maxLength: 1000
          type: string
        creator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        images:
          items:
            allOf:
              - $ref: '#/components/schemas/approval_attachment'
            nullable: true
            type: object
          maxItems: 9
          type: array
      required:
        - creator
        - content
      title: comment_approval_instance_req_body
      type: object
    comment_approval_instance_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    commit_multipart_upload_task_req_body: {}
    commit_multipart_upload_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file'
      required:
        - data
      type: object
    commit_upload_req_body:
      properties:
        id:
          maxLength: 1024
          type: string
        upload_id:
          maxLength: 1024
          type: string
      type: object
    commit_upload_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file'
      required:
        - data
      type: object
    company_compact:
      properties:
        ctime:
          format: int64
          type: integer
        id:
          maxLength: 128
          minLength: 1
          type: string
        logo:
          maxLength: 255
          minLength: 1
          type: string
        name:
          maxLength: 128
          minLength: 1
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/company_status'
          type: object
      required:
        - id
        - name
        - status
        - logo
        - ctime
      type: object
    company_dept_custom_attr:
      properties:
        id:
          maxLength: 20
          minLength: 1
          type: string
        name:
          maxLength: 255
          minLength: 1
          type: string
        options:
          items:
            $ref: '#/components/schemas/dept_attr_option'
          maxItems: 10
          type: array
        value_type:
          allOf:
            - $ref: '#/components/schemas/dept_attr_value_type'
          type: object
      required:
        - id
        - name
        - value_type
      title: 部门自定义属性
      type: object
    company_status:
      enum:
        - active
        - deleted
        - disabled
      title: 企业状态(正常、已删除、已禁用)
      type: string
      x-enum:
        - active
        - deleted
        - disabled
    company_user_custom_attr:
      properties:
        id:
          maxLength: 20
          minLength: 1
          type: string
        name:
          maxLength: 255
          minLength: 1
          type: string
        options:
          items:
            $ref: '#/components/schemas/user_attr_option'
          maxItems: 10
          type: array
        value_type:
          allOf:
            - $ref: '#/components/schemas/user_attr_value_type'
          type: object
      required:
        - name
        - value_type
      title: 用户自定义属性
      type: object
    component:
      properties:
        media_id:
          maxLength: 1024
          type: string
        type:
          $ref: '#/components/schemas/component_type'
      required:
        - type
        - media_id
      type: object
    component_type:
      enum:
        - image
        - audio
        - video
      type: string
      x-enum:
        - image
        - audio
        - video
    confidential_doc_accord:
      properties:
        accord_class:
          format: int64
          type: integer
        accord_class_name:
          maxLength: 1024
          type: string
        id:
          format: int64
          type: integer
        value:
          maxLength: 1024
          type: string
      required:
        - id
        - value
        - accord_class
        - accord_class_name
      type: object
    confidential_doc_accord_custom:
      properties:
        value:
          maxLength: 1024
          type: string
      required:
        - value
      type: object
    confidential_doc_classified:
      properties:
        level:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
      required:
        - name
        - level
      type: object
    confidential_doc_encryption:
      properties:
        id:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        value:
          maxLength: 1024
          type: string
      required:
        - id
        - name
        - value
      type: object
    confidential_doc_handle_data_extra:
      properties:
        issue_copy_number:
          maxLength: 1024
          type: string
        issue_number:
          maxLength: 1024
          type: string
        reason:
          maxLength: 1024
          type: string
      required:
        - reason
        - issue_number
        - issue_copy_number
      type: object
    confidential_doc_info:
      properties:
        accord:
          items:
            allOf:
              - $ref: '#/components/schemas/confidential_doc_accord'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        accord_custom:
          items:
            allOf:
              - $ref: '#/components/schemas/confidential_doc_accord_custom'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        classified:
          allOf:
            - $ref: '#/components/schemas/confidential_doc_classified'
          type: object
        commit_info:
          allOf:
            - $ref: '#/components/schemas/confidential_doc_opt_info'
          nullable: true
          type: object
        company_name:
          maxLength: 1024
          type: string
        decrypt_info:
          allOf:
            - $ref: '#/components/schemas/confidential_doc_opt_info'
          nullable: true
          type: object
        draft_info:
          allOf:
            - $ref: '#/components/schemas/confidential_doc_opt_info'
          nullable: true
          type: object
        encryption:
          allOf:
            - $ref: '#/components/schemas/confidential_doc_encryption'
          type: object
        extra:
          allOf:
            - $ref: '#/components/schemas/confidential_doc_handle_data_extra'
          type: object
        file_name:
          maxLength: 1024
          type: string
        history_guid:
          maxLength: 1024
          type: string
        inform_description:
          maxLength: 1024
          type: string
        inform_range:
          items:
            allOf:
              - $ref: '#/components/schemas/confidential_doc_inform_range'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        issue_info:
          allOf:
            - $ref: '#/components/schemas/confidential_doc_opt_info'
          nullable: true
          type: object
        level_change_info:
          allOf:
            - $ref: '#/components/schemas/confidential_doc_opt_info'
          nullable: true
          type: object
        remove_info:
          allOf:
            - $ref: '#/components/schemas/confidential_doc_opt_info'
          nullable: true
          type: object
        root_guid:
          maxLength: 1024
          type: string
        status:
          format: int64
          type: integer
      required:
        - company_name
        - file_name
        - status
        - classified
        - encryption
        - accord
        - accord_custom
        - inform_range
        - inform_description
        - extra
        - draft_info
        - commit_info
        - issue_info
        - level_change_info
        - decrypt_info
        - remove_info
        - root_guid
        - history_guid
      type: object
    confidential_doc_inform_range:
      properties:
        operation_ids:
          items:
            format: int
            type: integer
          maxItems: 1024
          type: array
        principal_avatar:
          maxLength: 1024
          type: string
        principal_id:
          maxLength: 1024
          type: string
        principal_title:
          maxLength: 1024
          type: string
        principal_type:
          format: int
          type: integer
      required:
        - principal_id
        - principal_type
        - principal_title
        - principal_avatar
        - operation_ids
      type: object
    confidential_doc_opt_info:
      properties:
        name:
          maxLength: 1024
          type: string
        time:
          format: int64
          type: integer
        user_id:
          format: int64
          type: integer
      required:
        - name
        - time
        - user_id
      type: object
    confidential_docs_access_rights:
      properties:
        operation_ids:
          items:
            format: int
            type: integer
          maxItems: 1024
          type: array
        principal_id:
          format: int64
          type: integer
        principal_title:
          maxLength: 1024
          type: string
        principal_type:
          format: int
          type: integer
      required:
        - principal_id
        - principal_type
        - operation_ids
      type: object
    confidential_docs_access_rights_data:
      properties:
        access_rights:
          items:
            allOf:
              - $ref: '#/components/schemas/confidential_docs_access_rights'
            nullable: true
            type: object
          maxItems: 1024
          type: array
      required:
        - access_rights
      type: object
    confidential_docs_access_rights_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/confidential_docs_access_rights_data'
      required:
        - data
      type: object
    confidential_docs_access_rights_update_req_body:
      properties:
        access_rights:
          items:
            allOf:
              - $ref: '#/components/schemas/confidential_docs_access_rights'
            nullable: true
            type: object
          maxItems: 1024
          type: array
      required:
        - access_rights
      type: object
    confidential_docs_access_rights_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    confidential_docs_decrypt_data:
      properties:
        file_id:
          maxLength: 1024
          type: string
      required:
        - file_id
      type: object
    confidential_docs_decrypt_req_body:
      properties:
        file_id:
          maxLength: 1024
          minLength: 1
          type: string
        output_mode:
          allOf:
            - $ref: '#/components/schemas/enum_decrypt_output_mode'
          type: object
      required:
        - file_id
      type: object
    confidential_docs_decrypt_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/confidential_docs_decrypt_data'
      required:
        - data
      type: object
    confidential_docs_encrypt_data:
      properties:
        history_guid:
          maxLength: 1024
          type: string
        root_guid:
          maxLength: 1024
          type: string
      required:
        - root_guid
        - history_guid
      type: object
    confidential_docs_encrypt_req_body:
      properties:
        access_rights:
          items:
            allOf:
              - $ref: '#/components/schemas/confidential_docs_access_rights'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        confidential_file_id:
          maxLength: 1024
          type: string
        origin_file_id:
          maxLength: 1024
          minLength: 1
          type: string
          x-escape: false
      required:
        - origin_file_id
        - confidential_file_id
        - access_rights
      type: object
    confidential_docs_encrypt_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/confidential_docs_encrypt_data'
      required:
        - data
      type: object
    confidential_docs_info_data:
      properties:
        guid:
          maxLength: 1024
          type: string
        history_guid:
          maxLength: 1024
          type: string
        root_guid:
          maxLength: 1024
          type: string
      required:
        - guid
        - root_guid
        - history_guid
      type: object
    confidential_docs_info_histories_data:
      properties:
        histories:
          items:
            allOf:
              - $ref: '#/components/schemas/confidential_doc_info'
            nullable: true
            type: object
          maxItems: 1024
          type: array
      required:
        - histories
      type: object
    confidential_docs_info_histories_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/confidential_docs_info_histories_data'
      required:
        - data
      type: object
    confidential_docs_info_req_body:
      properties:
        file_id:
          maxLength: 1024
          minLength: 1
          type: string
      required:
        - file_id
      type: object
    confidential_docs_info_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/confidential_docs_info_data'
      required:
        - data
      type: object
    confidential_docs_saveas_data:
      properties:
        history_guid:
          maxLength: 1024
          type: string
        root_guid:
          maxLength: 1024
          type: string
      required:
        - root_guid
        - history_guid
      type: object
    confidential_docs_saveas_req_body:
      properties:
        file_id:
          maxLength: 1024
          minLength: 1
          type: string
      required:
        - file_id
      type: object
    confidential_docs_saveas_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/confidential_docs_saveas_data'
      required:
        - data
      type: object
    confidential_docs_update_req_body:
      properties:
        confidential_file_id:
          maxLength: 1024
          minLength: 1
          type: string
        plain_file_id:
          maxLength: 1024
          minLength: 1
          type: string
        show_flag:
          type: boolean
      required:
        - confidential_file_id
        - plain_file_id
        - show_flag
      type: object
    confidential_docs_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    confidential_docs_user_access_rights_get_data:
      properties:
        access_rights:
          allOf:
            - $ref: '#/components/schemas/confidential_docs_access_rights'
          type: object
      required:
        - access_rights
      type: object
    confidential_docs_user_access_rights_get_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/confidential_docs_user_access_rights_get_data'
      required:
        - data
      type: object
    contact_permission_type:
      enum:
        - visit
      type: string
      x-enum:
        - visit
    contact_permissions_item:
      properties:
        dept_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1500
          type: array
        group_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1500
          type: array
        permission_type:
          allOf:
            - $ref: '#/components/schemas/contact_permission_type'
          type: object
        scope:
          allOf:
            - $ref: '#/components/schemas/contact_permissions_scope'
          type: object
        user_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1500
          type: array
      required:
        - user_ids
        - dept_ids
        - group_ids
        - permission_type
        - scope
      type: object
    contact_permissions_scope:
      enum:
        - org
      type: string
      x-enum:
        - org
    content_extraction_data:
      properties:
        extracts:
          items:
            $ref: '#/components/schemas/content_extraction_info'
          maxItems: 1024
          type: array
      required:
        - extracts
      type: object
    content_extraction_info:
      properties:
        bnd_box:
          items:
            format: double
            type: number
          maxItems: 1024
          type: array
        content:
          maxLength: 1024
          type: string
        key:
          maxLength: 1024
          type: string
        page_index:
          format: int
          type: integer
      required:
        - content
        - key
      type: object
    coop_airpage_attachment_image_extra:
      properties:
        height:
          format: int64
          type: integer
        width:
          format: int64
          type: integer
      type: object
    coop_airpage_attachment_video_extra:
      properties:
        height:
          format: int64
          type: integer
        total_seconds:
          format: int64
          type: integer
        width:
          format: int64
          type: integer
      type: object
    coop_airpage_bool:
      properties:
        content:
          type: boolean
      required:
        - content
      type: object
    coop_airpage_content:
      properties:
        content:
          $ref: '#/components/schemas/coop_airpage_content_content'
      required:
        - content
      type: object
    coop_airpage_content_content:
      oneOf:
        - $ref: '#/components/schemas/coop_airpage_null_value'
        - $ref: '#/components/schemas/coop_airpage_double'
        - $ref: '#/components/schemas/coop_airpage_string'
        - $ref: '#/components/schemas/coop_airpage_bool'
        - $ref: '#/components/schemas/coop_airpage_struct'
        - $ref: '#/components/schemas/coop_airpage_list_value'
    coop_airpage_double:
      properties:
        content:
          format: double
          type: number
      required:
        - content
      type: object
    coop_airpage_exporter_task_create_resp:
      properties:
        task_id:
          maxLength: 1024
          type: string
      required:
        - task_id
      type: object
    coop_airpage_importer_req_param:
      properties:
        params:
          allOf:
            - $ref: '#/components/schemas/coop_airpage_importer_req_params'
          type: object
        sub_type:
          maxLength: 1024
          type: string
      required:
        - sub_type
        - params
      type: object
    coop_airpage_importer_req_params:
      properties:
        main_body_data:
          allOf:
            - $ref: '#/components/schemas/coop_airpage_insert_data_args'
          type: object
        title_data:
          allOf:
            - $ref: '#/components/schemas/coop_airpage_insert_data_args'
          type: object
      required:
        - main_body_data
      type: object
    coop_airpage_importer_text_type_req_body:
      properties:
        param:
          allOf:
            - $ref: '#/components/schemas/coop_airpage_importer_req_param'
          type: object
      required:
        - param
      type: object
    coop_airpage_insert_data_args:
      properties:
        content:
          items:
            $ref: '#/components/schemas/coop_airpage_page_content'
          maxItems: 1024
          type: array
        is_insert:
          type: boolean
        is_insert_begin:
          type: boolean
      required:
        - content
      type: object
    coop_airpage_list_value:
      properties:
        content:
          items:
            $ref: '#/components/schemas/coop_airpage_content'
          maxItems: 1024
          type: array
      required:
        - content
      type: object
    coop_airpage_null_value: {}
    coop_airpage_page_content:
      properties:
        attrs:
          allOf:
            - $ref: '#/components/schemas/coop_airpage_page_content_attrs'
          type: object
        content:
          allOf:
            - $ref: '#/components/schemas/coop_airpage_page_content_content'
          type: object
        type:
          maxLength: 1024
          type: string
      required:
        - type
        - content
      type: object
    coop_airpage_page_content_attrs:
      oneOf:
        - $ref: '#/components/schemas/coop_airpage_null_value'
        - $ref: '#/components/schemas/coop_airpage_double'
        - $ref: '#/components/schemas/coop_airpage_string'
        - $ref: '#/components/schemas/coop_airpage_bool'
        - $ref: '#/components/schemas/coop_airpage_struct'
        - $ref: '#/components/schemas/coop_airpage_list_value'
    coop_airpage_page_content_content:
      oneOf:
        - $ref: '#/components/schemas/coop_airpage_null_value'
        - $ref: '#/components/schemas/coop_airpage_double'
        - $ref: '#/components/schemas/coop_airpage_string'
        - $ref: '#/components/schemas/coop_airpage_bool'
        - $ref: '#/components/schemas/coop_airpage_struct'
        - $ref: '#/components/schemas/coop_airpage_list_value'
    coop_airpage_string:
      properties:
        content:
          maxLength: 1024
          type: string
      required:
        - content
      type: object
    coop_airpage_struct:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/map_string_coop_airpage_content'
          type: object
      required:
        - content
      type: object
    coop_airpage_upload_attachment_req_body:
      properties:
        anchor_id:
          maxLength: 1024
          type: string
        attachment_name:
          maxLength: 1024
          type: string
        auto_replace_block:
          type: boolean
        content_type:
          maxLength: 1024
          type: string
        file_url:
          maxLength: 1024
          type: string
      required:
        - attachment_name
        - file_url
      type: object
    coop_airpage_upload_attachment_resp:
      properties:
        source_key:
          maxLength: 1024
          type: string
        value:
          allOf:
            - $ref: '#/components/schemas/coop_airpage_upload_attachment_resp_value'
          type: object
      required:
        - source_key
      type: object
    coop_airpage_upload_attachment_resp_value:
      oneOf:
        - $ref: '#/components/schemas/coop_airpage_attachment_image_extra'
        - $ref: '#/components/schemas/coop_airpage_attachment_video_extra'
    coop_airsheet_cell_operation_type:
      enum:
        - cell_operation_type_formula
        - cell_operation_type_picture
      type: string
      x-enum:
        - cell_operation_type_formula
        - cell_operation_type_picture
    coop_airsheet_cell_pic_info:
      properties:
        height:
          format: int32
          type: integer
        pic_content:
          maxLength: 1024
          type: string
        tag:
          allOf:
            - $ref: '#/components/schemas/coop_airsheet_sheet_pic_type'
          type: object
        width:
          format: int32
          type: integer
      required:
        - tag
        - width
        - height
        - pic_content
      type: object
    coop_airsheet_copy_work_sheet_req_body:
      properties:
        copy_first_sheet:
          type: boolean
      type: object
    coop_airsheet_copy_work_sheet_resp:
      properties:
        sheet_id:
          format: int64
          type: integer
      type: object
    coop_airsheet_create_protection_ranges_req_body:
      properties:
        sheets_protection_infos:
          items:
            $ref: '#/components/schemas/coop_airsheet_sheets_protection_info'
          maxItems: 1024
          type: array
      required:
        - sheets_protection_infos
      type: object
    coop_airsheet_create_row_req_body:
      properties:
        range_data:
          items:
            $ref: '#/components/schemas/coop_airsheet_range_data'
          maxItems: 1024
          type: array
      type: object
    coop_airsheet_create_sheet_position:
      properties:
        after_sheet_id:
          format: int64
          type: integer
        before_sheet_id:
          format: int64
          type: integer
        end:
          type: boolean
      type: object
    coop_airsheet_create_work_sheet_req_body:
      properties:
        col_width:
          format: float
          type: number
        name:
          maxLength: 1024
          type: string
        position:
          allOf:
            - $ref: '#/components/schemas/coop_airsheet_create_sheet_position'
          type: object
      required:
        - position
      type: object
    coop_airsheet_create_work_sheet_resp:
      properties:
        sheet_id:
          format: int64
          type: integer
      required:
        - sheet_id
      type: object
    coop_airsheet_delete_work_sheet_req_body:
      properties:
        worksheet_ids:
          items:
            format: int64
            type: integer
          maxItems: 1024
          type: array
      type: object
    coop_airsheet_get_sheets_resp:
      properties:
        sheets:
          items:
            $ref: '#/components/schemas/coop_airsheet_sheet_info'
          maxItems: 1024
          type: array
      required:
        - sheets
      type: object
    coop_airsheet_import_req_body:
      properties:
        mine_data_id:
          maxLength: 1024
          type: string
      required:
        - mine_data_id
      type: object
    coop_airsheet_others_access_permission:
      enum:
        - others_access_permission_invisible
        - others_access_permission_visible
        - others_access_permission_editable
      type: string
      x-enum:
        - others_access_permission_invisible
        - others_access_permission_visible
        - others_access_permission_editable
    coop_airsheet_protection_info:
      properties:
        others_access_permission:
          allOf:
            - $ref: '#/components/schemas/coop_airsheet_others_access_permission'
          type: object
        protection_ranges:
          items:
            $ref: '#/components/schemas/coop_airsheet_protection_range'
          maxItems: 1024
          type: array
        protection_user_data:
          items:
            $ref: '#/components/schemas/coop_airsheet_protection_user_data'
          maxItems: 1024
          type: array
        range_creator_id:
          maxLength: 1024
          type: string
      required:
        - range_creator_id
        - protection_ranges
        - others_access_permission
        - protection_user_data
      type: object
    coop_airsheet_protection_range:
      properties:
        column_from:
          format: int32
          type: integer
        column_to:
          format: int32
          type: integer
        row_from:
          format: int32
          type: integer
        row_to:
          format: int32
          type: integer
      required:
        - row_from
        - row_to
        - column_from
        - column_to
      type: object
    coop_airsheet_protection_user_data:
      properties:
        access_permission:
          allOf:
            - $ref: '#/components/schemas/coop_airsheet_user_access_permission'
          type: object
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
        - access_permission
      type: object
    coop_airsheet_range_data:
      properties:
        cell_pic_info:
          allOf:
            - $ref: '#/components/schemas/coop_airsheet_cell_pic_info'
          type: object
        col:
          format: int32
          type: integer
        formula:
          maxLength: 1024
          type: string
        op_type:
          allOf:
            - $ref: '#/components/schemas/coop_airsheet_cell_operation_type'
          type: object
      required:
        - op_type
      type: object
    coop_airsheet_sheet_active_area:
      properties:
        col_from:
          format: int32
          type: integer
        col_to:
          format: int32
          type: integer
        row_from:
          format: int32
          type: integer
        row_to:
          format: int32
          type: integer
      required:
        - row_from
        - row_to
        - col_from
        - col_to
      type: object
    coop_airsheet_sheet_info:
      properties:
        active_area:
          allOf:
            - $ref: '#/components/schemas/coop_airsheet_sheet_active_area'
          type: object
        empty:
          type: boolean
        hidden:
          type: boolean
        index:
          format: int32
          type: integer
        max_col:
          format: int32
          type: integer
        max_row:
          format: int32
          type: integer
        name:
          maxLength: 1024
          type: string
        resource_type:
          maxLength: 1024
          type: string
        sheet_id:
          format: int64
          type: integer
      required:
        - sheet_id
        - name
        - index
        - resource_type
        - hidden
        - empty
        - max_row
        - max_col
        - active_area
      type: object
    coop_airsheet_sheet_move_type:
      enum:
        - sheet_move_type_before
        - sheet_move_type_after
      type: string
      x-enum:
        - sheet_move_type_before
        - sheet_move_type_after
    coop_airsheet_sheet_pic_type:
      enum:
        - sheet_pic_type_local
        - sheet_pic_type_attachment
        - sheet_pic_type_url
      type: string
      x-enum:
        - sheet_pic_type_local
        - sheet_pic_type_attachment
        - sheet_pic_type_url
    coop_airsheet_sheets_protection_info:
      properties:
        master_id:
          maxLength: 1024
          type: string
        other_user_permission:
          allOf:
            - $ref: '#/components/schemas/coop_airsheet_user_access_permission'
          type: object
        protection_infos:
          items:
            $ref: '#/components/schemas/coop_airsheet_protection_info'
          maxItems: 1024
          type: array
        worksheet_id:
          format: int64
          type: integer
      required:
        - worksheet_id
        - master_id
        - other_user_permission
        - protection_infos
      type: object
    coop_airsheet_update_work_sheet_req_body:
      properties:
        move_sheet_id:
          format: int64
          type: integer
        move_type:
          allOf:
            - $ref: '#/components/schemas/coop_airsheet_sheet_move_type'
          type: object
        name:
          maxLength: 1024
          type: string
      type: object
    coop_airsheet_user_access_permission:
      enum:
        - user_access_permission_visible
        - user_access_permission_editable
      type: string
      x-enum:
        - user_access_permission_visible
        - user_access_permission_editable
    coop_dbsheet_add_subjects_to_permission_req_body:
      properties:
        cloud_permission_id:
          format: int64
          type: integer
        cloud_permission_name:
          maxLength: 1024
          type: string
        permission_type:
          allOf:
            - $ref: '#/components/schemas/coop_protobuf_permission_type'
          type: object
        subjects:
          items:
            $ref: '#/components/schemas/coop_dbsheet_subject_info'
          maxItems: 1024
          type: array
      required:
        - cloud_permission_id
        - permission_type
        - subjects
      type: object
    coop_dbsheet_add_subjects_to_permission_resp:
      properties:
        failed_subjects:
          items:
            $ref: '#/components/schemas/coop_dbsheet_failed_subject'
          maxItems: 1024
          type: array
      required:
        - failed_subjects
      type: object
    coop_dbsheet_async_task_progress_resp:
      properties:
        process_result:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_status'
          type: object
      required:
        - status
        - process_result
      type: object
    coop_dbsheet_attachment_image_extra:
      properties:
        height:
          format: int64
          type: integer
        width:
          format: int64
          type: integer
      type: object
    coop_dbsheet_attachment_info:
      properties:
        attachment_id:
          maxLength: 1024
          type: string
        file_ext:
          maxLength: 1024
          type: string
        value:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_attachment_info_value'
          type: object
      required:
        - attachment_id
        - value
      type: object
    coop_dbsheet_attachment_info_value:
      oneOf:
        - $ref: '#/components/schemas/coop_dbsheet_detailed_attachment_general'
        - $ref: '#/components/schemas/coop_dbsheet_detailed_attachment_video'
    coop_dbsheet_attachment_video_extra:
      properties:
        height:
          format: int64
          type: integer
        total_seconds:
          format: int64
          type: integer
        width:
          format: int64
          type: integer
      type: object
    coop_dbsheet_bind_records_parent_req_body:
      properties:
        child_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - child_ids
      type: object
    coop_dbsheet_bind_records_parent_resp:
      properties:
        child_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        parent_id:
          maxLength: 1024
          type: string
      required:
        - parent_id
        - child_ids
      type: object
    coop_dbsheet_cancel_hook_resp:
      properties:
        deleted:
          type: boolean
      required:
        - deleted
      type: object
    coop_dbsheet_change_subjects_to_permission_req_body:
      properties:
        subjects:
          items:
            $ref: '#/components/schemas/coop_dbsheet_subject_to_permission'
          maxItems: 1024
          type: array
      required:
        - subjects
      type: object
    coop_dbsheet_child_record:
      properties:
        child_count:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
      required:
        - id
        - child_count
      type: object
    coop_dbsheet_create_content_perm_req_body:
      properties:
        content_permission_name:
          maxLength: 1024
          type: string
        permission_data:
          items:
            $ref: '#/components/schemas/coop_dbsheet_permission_data'
          maxItems: 1024
          type: array
      required:
        - content_permission_name
        - permission_data
      type: object
    coop_dbsheet_create_fields_req_body:
      properties:
        fields:
          items:
            $ref: '#/components/schemas/coop_dbsheet_field'
          maxItems: 1024
          type: array
        prefer_id:
          type: boolean
      type: object
    coop_dbsheet_create_fields_resp:
      properties:
        fields:
          items:
            $ref: '#/components/schemas/coop_dbsheet_field'
          maxItems: 1024
          type: array
      required:
        - fields
      type: object
    coop_dbsheet_create_hook_req_body:
      properties:
        callback_url:
          maxLength: 1024
          type: string
        command:
          maxLength: 1024
          type: string
        data:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_create_hook_req_body_data'
          type: object
      required:
        - command
        - data
        - callback_url
      type: object
    coop_dbsheet_create_hook_req_body_data:
      oneOf:
        - $ref: '#/components/schemas/coop_dbsheet_hook_rule_create_record'
        - $ref: '#/components/schemas/coop_dbsheet_hook_rule_update_sheet'
        - $ref: '#/components/schemas/coop_dbsheet_hook_rule_remove_record'
        - $ref: '#/components/schemas/coop_dbsheet_hook_rule_create_field'
        - $ref: '#/components/schemas/coop_dbsheet_hook_rule_update_field'
        - $ref: '#/components/schemas/coop_dbsheet_hook_rule_remove_field'
        - $ref: '#/components/schemas/coop_dbsheet_hook_rule_record_parent'
    coop_dbsheet_create_hook_resp:
      properties:
        hook_id:
          maxLength: 1024
          type: string
      required:
        - hook_id
      type: object
    coop_dbsheet_create_record_req_body:
      properties:
        prefer_id:
          type: boolean
        records:
          items:
            $ref: '#/components/schemas/coop_dbsheet_single_record_value_for_create_record'
          maxItems: 1024
          type: array
      type: object
    coop_dbsheet_create_record_resp:
      properties:
        records:
          items:
            $ref: '#/components/schemas/coop_dbsheet_record'
          maxItems: 1024
          type: array
      required:
        - records
      type: object
    coop_dbsheet_create_sheet_position:
      properties:
        after_sheet_id:
          format: int64
          type: integer
        before_sheet_id:
          format: int64
          type: integer
      type: object
    coop_dbsheet_create_sheet_req_body:
      properties:
        fields:
          items:
            $ref: '#/components/schemas/coop_dbsheet_field'
          maxItems: 1024
          type: array
        name:
          maxLength: 1024
          type: string
        position:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_create_sheet_position'
          type: object
        views:
          items:
            $ref: '#/components/schemas/coop_dbsheet_sheet_view'
          maxItems: 1024
          type: array
      required:
        - fields
        - views
        - position
      type: object
    coop_dbsheet_create_sheet_resp:
      properties:
        sheet:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_sheet'
          type: object
      type: object
    coop_dbsheet_create_view_req_body:
      properties:
        name:
          maxLength: 1024
          type: string
        type:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_create_view_resp:
      properties:
        view:
          $ref: '#/components/schemas/coop_dbsheet_sheet_view'
      type: object
    coop_dbsheet_criteria:
      properties:
        field:
          maxLength: 1024
          type: string
        operator:
          maxLength: 1024
          type: string
        values:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - values
      type: object
    coop_dbsheet_default_contact:
      properties:
        avatar:
          maxLength: 1024
          type: string
        company_id:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        nick_name:
          maxLength: 1024
          type: string
      required:
        - id
        - company_id
        - nick_name
        - avatar
      type: object
    coop_dbsheet_delete_content_perm_req_body:
      properties:
        cloud_permission_id:
          format: int64
          type: integer
        cloud_permission_removed:
          type: boolean
        replace_cloud_permission_id:
          format: int64
          type: integer
        replace_permission_type:
          allOf:
            - $ref: '#/components/schemas/coop_protobuf_permission_type'
          type: object
      required:
        - cloud_permission_id
        - replace_cloud_permission_id
        - replace_permission_type
        - cloud_permission_removed
      type: object
    coop_dbsheet_delete_field_info:
      properties:
        deleted:
          type: boolean
        id:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_delete_fields_req_body:
      properties:
        fields:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - fields
      type: object
    coop_dbsheet_delete_fields_resp:
      properties:
        fields:
          items:
            $ref: '#/components/schemas/coop_dbsheet_delete_field_info'
          maxItems: 1024
          type: array
      required:
        - fields
      type: object
    coop_dbsheet_delete_record_info:
      properties:
        deleted:
          type: boolean
        id:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_delete_record_req_body:
      properties:
        records:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - records
      type: object
    coop_dbsheet_delete_record_resp:
      properties:
        records:
          items:
            $ref: '#/components/schemas/coop_dbsheet_delete_record_info'
          maxItems: 1024
          type: array
      required:
        - records
      type: object
    coop_dbsheet_delete_sheet_resp:
      properties:
        sheet:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_sheet'
          type: object
      type: object
    coop_dbsheet_delete_view_resp:
      properties:
        view:
          $ref: '#/components/schemas/coop_dbsheet_sheet_view'
      type: object
    coop_dbsheet_demix_id_req_body:
      properties:
        mix_type:
          maxLength: 1024
          type: string
        mixed_id:
          maxLength: 1024
          type: string
      required:
        - mixed_id
        - mix_type
      type: object
    coop_dbsheet_demix_id_resp:
      properties:
        origin_id:
          maxLength: 1024
          type: string
      required:
        - origin_id
      type: object
    coop_dbsheet_detailed_attachment_general:
      properties:
        download_url:
          maxLength: 1024
          type: string
        file_size:
          format: int64
          type: integer
      required:
        - download_url
      type: object
    coop_dbsheet_detailed_attachment_video:
      properties:
        download_url:
          maxLength: 1024
          type: string
      required:
        - download_url
      type: object
    coop_dbsheet_disable_records_parent_resp:
      properties:
        enable:
          type: boolean
      required:
        - enable
      type: object
    coop_dbsheet_edit_sheet_config:
      properties:
        field_filter:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        is_add_record:
          type: boolean
        is_all_field:
          type: boolean
        is_all_record:
          type: boolean
        is_remove_record:
          type: boolean
        record_filter:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_record_filter'
          type: object
      required:
        - field_filter
      type: object
    coop_dbsheet_enable_records_parent_resp:
      properties:
        enable:
          type: boolean
      required:
        - enable
      type: object
    coop_dbsheet_failed_subject:
      properties:
        err_code:
          maxLength: 1024
          type: string
        err_reason:
          maxLength: 1024
          type: string
        subject_id:
          maxLength: 1024
          type: string
      required:
        - subject_id
        - err_reason
        - err_code
      type: object
    coop_dbsheet_field:
      properties:
        data:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_field_data'
          type: object
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        type:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_field_address:
      properties:
        address_level:
          format: int64
          type: integer
        detailed_address:
          type: boolean
        preset_address:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_field_address_preset_address'
          type: object
      type: object
    coop_dbsheet_field_address_preset_address:
      properties:
        detail:
          maxLength: 1024
          type: string
        districts:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - districts
      type: object
    coop_dbsheet_field_attachment:
      properties:
        only_upload_by_camera:
          type: boolean
      type: object
    coop_dbsheet_field_auto_number:
      properties:
        number_format:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_field_contact:
      properties:
        default_value:
          maxLength: 1024
          type: string
        default_value_array:
          items:
            $ref: '#/components/schemas/coop_dbsheet_default_contact'
          maxItems: 1024
          type: array
        default_value_type:
          maxLength: 1024
          type: string
        multiple_contacts:
          type: boolean
        notice_new_contact:
          type: boolean
        support_multi:
          type: boolean
      required:
        - default_value_array
      type: object
    coop_dbsheet_field_created_time:
      properties:
        number_format:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_field_currency:
      properties:
        number_format:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_field_data:
      oneOf:
        - $ref: '#/components/schemas/coop_dbsheet_field_date'
        - $ref: '#/components/schemas/coop_dbsheet_field_time'
        - $ref: '#/components/schemas/coop_dbsheet_field_number'
        - $ref: '#/components/schemas/coop_dbsheet_field_currency'
        - $ref: '#/components/schemas/coop_dbsheet_field_multi_line_text'
        - $ref: '#/components/schemas/coop_dbsheet_field_percentage'
        - $ref: '#/components/schemas/coop_dbsheet_field_identity'
        - $ref: '#/components/schemas/coop_dbsheet_field_phone'
        - $ref: '#/components/schemas/coop_dbsheet_field_last_modified_by'
        - $ref: '#/components/schemas/coop_dbsheet_field_last_modified_time'
        - $ref: '#/components/schemas/coop_dbsheet_field_formula'
        - $ref: '#/components/schemas/coop_dbsheet_field_auto_number'
        - $ref: '#/components/schemas/coop_dbsheet_field_created_time'
        - $ref: '#/components/schemas/coop_dbsheet_field_link'
        - $ref: '#/components/schemas/coop_dbsheet_field_lookup'
        - $ref: '#/components/schemas/coop_dbsheet_field_url'
        - $ref: '#/components/schemas/coop_dbsheet_field_single_select'
        - $ref: '#/components/schemas/coop_dbsheet_field_multiple_select'
        - $ref: '#/components/schemas/coop_dbsheet_field_rating'
        - $ref: '#/components/schemas/coop_dbsheet_field_contact'
        - $ref: '#/components/schemas/coop_dbsheet_field_attachment'
        - $ref: '#/components/schemas/coop_dbsheet_field_address'
    coop_dbsheet_field_date:
      properties:
        default_value:
          maxLength: 1024
          type: string
        default_value_type:
          maxLength: 1024
          type: string
        number_format:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_field_formula:
      properties:
        formula:
          maxLength: 1024
          type: string
        number_format:
          maxLength: 1024
          type: string
        value_type:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_field_identity:
      properties:
        unique_value:
          type: boolean
      type: object
    coop_dbsheet_field_last_modified_by:
      properties:
        watch_all:
          type: boolean
        watched_field:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - watched_field
      type: object
    coop_dbsheet_field_last_modified_time:
      properties:
        number_format:
          maxLength: 1024
          type: string
        watch_all:
          type: boolean
        watched_field:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - watched_field
      type: object
    coop_dbsheet_field_link:
      properties:
        filter:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_field_link_filter'
          type: object
        is_auto:
          type: boolean
        link_field:
          maxLength: 1024
          type: string
        link_sheet:
          format: int32
          type: integer
        link_view:
          maxLength: 1024
          type: string
        multiple_links:
          type: boolean
        support_multi:
          type: boolean
      type: object
    coop_dbsheet_field_link_detail:
      properties:
        current_sheet_field_id:
          maxLength: 1024
          type: string
        link_sheet_field_id:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_field_link_filter:
      properties:
        conditions:
          items:
            $ref: '#/components/schemas/coop_dbsheet_field_link_detail'
          maxItems: 1024
          type: array
        mode:
          maxLength: 1024
          type: string
      required:
        - conditions
      type: object
    coop_dbsheet_field_lookup:
      properties:
        aggregation:
          maxLength: 1024
          type: string
        base_type:
          maxLength: 1024
          type: string
        filter:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_field_link_filter'
          type: object
        link_field:
          maxLength: 1024
          type: string
        lookup_field:
          maxLength: 1024
          type: string
        lookup_sheet_id:
          format: int64
          type: integer
      type: object
    coop_dbsheet_field_multi_line_text:
      properties:
        unique_value:
          type: boolean
      type: object
    coop_dbsheet_field_multiple_select:
      properties:
        allow_add_item_while_inputting:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/coop_dbsheet_field_select_item'
          maxItems: 1024
          type: array
      required:
        - items
        - allow_add_item_while_inputting
      type: object
    coop_dbsheet_field_number:
      properties:
        number_format:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_field_percentage:
      properties:
        number_format:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_field_phone:
      properties:
        unique_value:
          type: boolean
      type: object
    coop_dbsheet_field_rating:
      properties:
        max:
          format: int64
          type: integer
      type: object
    coop_dbsheet_field_select_item:
      properties:
        color:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        value:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_field_single_select:
      properties:
        allow_add_item_while_inputting:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/coop_dbsheet_field_select_item'
          maxItems: 1024
          type: array
      required:
        - items
        - allow_add_item_while_inputting
      type: object
    coop_dbsheet_field_time:
      properties:
        number_format:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_field_url:
      properties:
        display_text:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_filter:
      properties:
        criteria:
          items:
            $ref: '#/components/schemas/coop_dbsheet_criteria'
          maxItems: 1024
          type: array
        mode:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_get_attachment_resp:
      properties:
        attachment:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_attachment_info'
          type: object
      required:
        - attachment
      type: object
    coop_dbsheet_get_permission_subjects_resp:
      properties:
        next_page_token:
          maxLength: 1024
          type: string
        subjects:
          items:
            $ref: '#/components/schemas/coop_dbsheet_subject_info'
          maxItems: 1024
          type: array
      required:
        - subjects
      type: object
    coop_dbsheet_get_permissions_resp:
      properties:
        permissions:
          items:
            $ref: '#/components/schemas/coop_dbsheet_permission_info'
          maxItems: 1024
          type: array
      required:
        - permissions
      type: object
    coop_dbsheet_get_records_parent_status_resp:
      properties:
        enable:
          type: boolean
      required:
        - enable
      type: object
    coop_dbsheet_get_schema_resp:
      properties:
        sheets:
          items:
            $ref: '#/components/schemas/coop_dbsheet_sheet_schema'
          maxItems: 1024
          type: array
      required:
        - sheets
      type: object
    coop_dbsheet_hook_rule_create_field:
      properties:
        sheet_id:
          format: int64
          type: integer
      required:
        - sheet_id
      type: object
    coop_dbsheet_hook_rule_create_record:
      properties:
        sheet_id:
          format: int64
          type: integer
      required:
        - sheet_id
      type: object
    coop_dbsheet_hook_rule_record_parent:
      properties:
        record_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        sheet_id:
          format: int64
          type: integer
      required:
        - sheet_id
        - record_ids
      type: object
    coop_dbsheet_hook_rule_remove_field:
      properties:
        field_id:
          maxLength: 1024
          type: string
        sheet_id:
          format: int64
          type: integer
      required:
        - sheet_id
        - field_id
      type: object
    coop_dbsheet_hook_rule_remove_record:
      properties:
        record_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        sheet_id:
          format: int64
          type: integer
      required:
        - sheet_id
        - record_ids
      type: object
    coop_dbsheet_hook_rule_update_field:
      properties:
        field_id:
          maxLength: 1024
          type: string
        sheet_id:
          format: int64
          type: integer
      required:
        - sheet_id
        - field_id
      type: object
    coop_dbsheet_hook_rule_update_sheet:
      properties:
        include_formula_result_change:
          type: boolean
        sheet_id:
          format: int64
          type: integer
        skip_after_match_create_and_fill:
          type: boolean
      required:
        - sheet_id
        - include_formula_result_change
        - skip_after_match_create_and_fill
      type: object
    coop_dbsheet_list_all_records_req_body:
      properties:
        fields:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        filter:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_filter'
          type: object
        max_records:
          format: int64
          type: integer
        page_size:
          format: int64
          type: integer
        page_token:
          maxLength: 1024
          type: string
        prefer_id:
          type: boolean
        show_fields_info:
          type: boolean
        show_record_extra_info:
          type: boolean
        text_value:
          maxLength: 1024
          type: string
        view_id:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_list_all_records_resp:
      properties:
        fields_schema:
          items:
            $ref: '#/components/schemas/coop_dbsheet_field'
          maxItems: 1024
          type: array
        page_token:
          maxLength: 1024
          type: string
        records:
          items:
            $ref: '#/components/schemas/coop_dbsheet_record'
          maxItems: 1024
          type: array
      required:
        - fields_schema
        - records
      type: object
    coop_dbsheet_list_child_records_resp:
      properties:
        children:
          items:
            $ref: '#/components/schemas/coop_dbsheet_child_record'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - children
      type: object
    coop_dbsheet_list_hook_resp:
      properties:
        hooks:
          allOf:
            - $ref: '#/components/schemas/map_string_coop_dbsheet_hook_info'
          type: object
      required:
        - hooks
      type: object
    coop_dbsheet_list_records_by_page_req_body:
      properties:
        fields:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        filter:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_filter'
          type: object
        max_records:
          format: int64
          type: integer
        page_num:
          format: int64
          type: integer
        page_size:
          format: int64
          type: integer
        prefer_id:
          type: boolean
        show_fields_info:
          type: boolean
        show_record_extra_info:
          type: boolean
        text_value:
          maxLength: 1024
          type: string
        view_id:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_list_records_by_page_resp:
      properties:
        fields_schema:
          items:
            $ref: '#/components/schemas/coop_dbsheet_field'
          maxItems: 1024
          type: array
        records:
          items:
            $ref: '#/components/schemas/coop_dbsheet_record'
          maxItems: 1024
          type: array
      required:
        - fields_schema
        - records
      type: object
    coop_dbsheet_mix_id_req_body:
      properties:
        mix_type:
          maxLength: 1024
          type: string
        origin_id:
          maxLength: 1024
          type: string
      required:
        - origin_id
        - mix_type
      type: object
    coop_dbsheet_mix_id_resp:
      properties:
        mixed_id:
          maxLength: 1024
          type: string
      required:
        - mixed_id
      type: object
    coop_dbsheet_modify_content_perm_req_body:
      properties:
        cloud_permission_id:
          format: int64
          type: integer
        content_permission_name:
          maxLength: 1024
          type: string
        permission_data:
          items:
            $ref: '#/components/schemas/coop_dbsheet_permission_data'
          maxItems: 1024
          type: array
      required:
        - cloud_permission_id
        - content_permission_name
        - permission_data
      type: object
    coop_dbsheet_permission_data:
      properties:
        edit_sheet_config:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_edit_sheet_config'
          type: object
        record_config_type:
          maxLength: 1024
          type: string
        sheet_id:
          format: int64
          type: integer
        sheet_permission_type:
          maxLength: 1024
          type: string
        viewed_sheet_config:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_viewed_sheet_config'
          type: object
      required:
        - sheet_id
        - sheet_permission_type
      type: object
    coop_dbsheet_permission_info:
      properties:
        cloud_permission_id:
          format: int64
          type: integer
        permission_alias_name:
          maxLength: 1024
          type: string
        permission_name:
          maxLength: 1024
          type: string
        permission_type:
          allOf:
            - $ref: '#/components/schemas/coop_protobuf_permission_type'
          type: object
        user_acl:
          allOf:
            - $ref: '#/components/schemas/coop_protobuf_user_acl'
          type: object
      required:
        - permission_type
        - permission_name
        - permission_alias_name
        - cloud_permission_id
        - user_acl
      type: object
    coop_dbsheet_record:
      properties:
        created_time:
          maxLength: 1024
          type: string
        creator:
          maxLength: 1024
          type: string
        fields:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        last_modified_by:
          maxLength: 1024
          type: string
        last_modified_time:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_record_filter:
      properties:
        criteria:
          items:
            $ref: '#/components/schemas/coop_dbsheet_criteria'
          maxItems: 1024
          type: array
        mode:
          maxLength: 1024
          type: string
      required:
        - criteria
      type: object
    coop_dbsheet_remove_subjects_from_permission_req_body:
      properties:
        subjects:
          items:
            $ref: '#/components/schemas/coop_dbsheet_subject_info'
          maxItems: 1024
          type: array
      required:
        - subjects
      type: object
    coop_dbsheet_retrieve_record_resp:
      properties:
        fields_schema:
          items:
            $ref: '#/components/schemas/coop_dbsheet_field'
          maxItems: 1024
          type: array
        record:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_record'
          type: object
      required:
        - fields_schema
      type: object
    coop_dbsheet_retrieve_records_req_body:
      properties:
        prefer_id:
          type: boolean
        records:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        show_fields_info:
          type: boolean
        show_record_extra_info:
          type: boolean
        text_value:
          maxLength: 1024
          type: string
      required:
        - records
      type: object
    coop_dbsheet_retrieve_records_resp:
      properties:
        fields_schema:
          items:
            $ref: '#/components/schemas/coop_dbsheet_field'
          maxItems: 1024
          type: array
        records:
          items:
            $ref: '#/components/schemas/coop_dbsheet_record'
          maxItems: 1024
          type: array
      required:
        - fields_schema
      type: object
    coop_dbsheet_sheet:
      properties:
        fields:
          items:
            $ref: '#/components/schemas/coop_dbsheet_field'
          maxItems: 1024
          type: array
        id:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        primary_field_id:
          maxLength: 1024
          type: string
        views:
          items:
            $ref: '#/components/schemas/coop_dbsheet_sheet_view'
          maxItems: 1024
          type: array
      required:
        - fields
        - views
      type: object
    coop_dbsheet_sheet_schema:
      properties:
        fields:
          items:
            $ref: '#/components/schemas/coop_dbsheet_field'
          maxItems: 1024
          type: array
        id:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        primary_field_id:
          maxLength: 1024
          type: string
        records_count:
          format: int64
          type: integer
        views:
          items:
            $ref: '#/components/schemas/coop_dbsheet_sheet_view'
          maxItems: 1024
          type: array
      required:
        - views
        - fields
      type: object
    coop_dbsheet_sheet_view:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        records_count:
          format: int64
          type: integer
        type:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_single_record_value_for_create_record:
      properties:
        fields_value:
          maxLength: 1024
          type: string
      required:
        - fields_value
      type: object
    coop_dbsheet_single_record_value_for_update_record:
      properties:
        fields_value:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
      required:
        - id
        - fields_value
      type: object
    coop_dbsheet_status:
      enum:
        - running
        - finished
        - failed
      type: string
      x-enum:
        - running
        - finished
        - failed
    coop_dbsheet_subject_info:
      properties:
        company_id:
          maxLength: 1024
          type: string
        subject_avatar:
          maxLength: 1024
          type: string
        subject_id:
          maxLength: 1024
          type: string
        subject_name:
          maxLength: 1024
          type: string
        subject_type:
          allOf:
            - $ref: '#/components/schemas/coop_protobuf_subject_type'
          type: object
      required:
        - subject_id
        - subject_type
      type: object
    coop_dbsheet_subject_to_permission:
      properties:
        subject:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_subject_info'
          type: object
        to_permission:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_to_permission'
          type: object
      required:
        - subject
        - to_permission
      type: object
    coop_dbsheet_task_info:
      properties:
        task_id:
          maxLength: 1024
          type: string
        task_type:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_task_type'
          type: object
      required:
        - task_id
        - task_type
      type: object
    coop_dbsheet_task_type: {}
    coop_dbsheet_to_permission:
      properties:
        to_cloud_permission_id:
          format: int64
          type: integer
        to_permission_name:
          maxLength: 1024
          type: string
        to_permission_type:
          allOf:
            - $ref: '#/components/schemas/coop_protobuf_permission_type'
          type: object
      required:
        - to_cloud_permission_id
        - to_permission_name
        - to_permission_type
      type: object
    coop_dbsheet_unbind_records_parent_req_body:
      properties:
        child_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - child_ids
      type: object
    coop_dbsheet_unbind_records_parent_resp:
      properties:
        child_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        parent_id:
          maxLength: 1024
          type: string
      required:
        - parent_id
        - child_ids
      type: object
    coop_dbsheet_update_fields_req_body:
      properties:
        fields:
          items:
            $ref: '#/components/schemas/coop_dbsheet_field'
          maxItems: 1024
          type: array
        prefer_id:
          type: boolean
      required:
        - fields
      type: object
    coop_dbsheet_update_fields_resp:
      properties:
        fields:
          items:
            $ref: '#/components/schemas/coop_dbsheet_field'
          maxItems: 1024
          type: array
      required:
        - fields
      type: object
    coop_dbsheet_update_record_req_body:
      properties:
        prefer_id:
          type: boolean
        records:
          items:
            $ref: '#/components/schemas/coop_dbsheet_single_record_value_for_update_record'
          maxItems: 1024
          type: array
      type: object
    coop_dbsheet_update_record_resp:
      properties:
        records:
          items:
            $ref: '#/components/schemas/coop_dbsheet_record'
          maxItems: 1024
          type: array
      required:
        - records
      type: object
    coop_dbsheet_update_sheet_req_body:
      properties:
        name:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_update_sheet_resp:
      properties:
        sheet:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_sheet'
          type: object
      type: object
    coop_dbsheet_update_view_req_body:
      properties:
        name:
          maxLength: 1024
          type: string
      type: object
    coop_dbsheet_update_view_resp:
      properties:
        view:
          $ref: '#/components/schemas/coop_dbsheet_sheet_view'
      type: object
    coop_dbsheet_upload_attachment_req_body:
      properties:
        file:
          format: binary
          maxLength: 1024
          type: string
        type:
          maxLength: 1024
          type: string
      required:
        - file
        - type
      type: object
    coop_dbsheet_upload_attachment_resp:
      properties:
        new_content_type:
          maxLength: 1024
          type: string
        object_id:
          maxLength: 1024
          type: string
        old_content_type:
          maxLength: 1024
          type: string
        value:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_upload_attachment_resp_value'
          type: object
      required:
        - object_id
      type: object
    coop_dbsheet_upload_attachment_resp_value:
      oneOf:
        - $ref: '#/components/schemas/coop_dbsheet_attachment_image_extra'
        - $ref: '#/components/schemas/coop_dbsheet_attachment_video_extra'
    coop_dbsheet_viewed_sheet_config:
      properties:
        field_filter:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        is_all_field:
          type: boolean
        is_all_record:
          type: boolean
        record_filter:
          allOf:
            - $ref: '#/components/schemas/coop_dbsheet_record_filter'
          type: object
      required:
        - field_filter
      type: object
    coop_et_get_regional_permission_resp:
      properties:
        permission:
          maxLength: 1024
          type: string
      required:
        - permission
      type: object
    coop_files_attachments_attachment_info:
      properties:
        attachment_id:
          maxLength: 1024
          type: string
        download_url:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        size:
          format: int64
          type: integer
      required:
        - name
        - size
        - download_url
        - attachment_id
      type: object
    coop_files_attachments_attachment_thumbnail:
      properties:
        attachment_id:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
      required:
        - attachment_id
        - url
      type: object
    coop_files_attachments_batch_get_attachment_infos_req_body:
      properties:
        attachment_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - attachment_ids
      type: object
    coop_files_attachments_batch_get_attachment_infos_resp:
      properties:
        attachment_infos:
          items:
            $ref: '#/components/schemas/coop_files_attachments_attachment_info'
          maxItems: 1024
          type: array
      required:
        - attachment_infos
      type: object
    coop_files_attachments_batch_get_attachment_thumbnails_req_body:
      properties:
        expire:
          format: int32
          type: integer
        support_webp:
          type: boolean
        thumbnails:
          items:
            $ref: '#/components/schemas/coop_files_attachments_batch_get_attachment_thumbnails_req_body_thumbnail'
          maxItems: 1024
          type: array
      required:
        - thumbnails
      type: object
    coop_files_attachments_batch_get_attachment_thumbnails_req_body_thumbnail:
      properties:
        attachment_id:
          maxLength: 1024
          type: string
        max_edge:
          format: int32
          type: integer
      required:
        - attachment_id
        - max_edge
      type: object
    coop_files_attachments_batch_get_attachment_thumbnails_resp:
      properties:
        thumbnails:
          items:
            $ref: '#/components/schemas/coop_files_attachments_attachment_thumbnail'
          maxItems: 1024
          type: array
      required:
        - thumbnails
      type: object
    coop_files_attachments_get_attachment_info_resp:
      properties:
        download_url:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        size:
          format: int64
          type: integer
      required:
        - name
        - size
        - download_url
      type: object
    coop_files_attachments_get_upload_address_req_body:
      properties:
        content_type:
          maxLength: 1024
          type: string
        internal:
          type: boolean
        md5:
          maxLength: 1024
          type: string
        name:
          maxLength: 240
          type: string
        size:
          format: int64
          type: integer
      required:
        - name
        - size
      type: object
    coop_files_attachments_get_upload_address_resp:
      properties:
        request:
          $ref: '#/components/schemas/coop_files_attachments_get_upload_address_resp_request'
        send_back_params:
          $ref: '#/components/schemas/coop_files_attachments_get_upload_address_resp_send_back_params'
        upload_id:
          maxLength: 1024
          type: string
      required:
        - request
        - send_back_params
        - upload_id
      type: object
    coop_files_attachments_get_upload_address_resp_request:
      properties:
        headers:
          allOf:
            - $ref: '#/components/schemas/map_string_string'
          type: object
        method:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
      required:
        - url
        - method
      type: object
    coop_files_attachments_get_upload_address_resp_send_back_params:
      properties:
        etag:
          maxLength: 1024
          type: string
        key:
          maxLength: 1024
          type: string
      required:
        - etag
        - key
      type: object
    coop_files_attachments_upload_complete_req_body:
      properties:
        params:
          $ref: '#/components/schemas/coop_files_attachments_upload_complete_req_body_params'
        upload_id:
          maxLength: 1024
          type: string
      required:
        - upload_id
        - params
      type: object
    coop_files_attachments_upload_complete_req_body_params:
      properties:
        etag:
          maxLength: 1024
          type: string
        key:
          maxLength: 1024
          type: string
      required:
        - etag
        - key
      type: object
    coop_files_attachments_upload_complete_resp:
      properties:
        attachment_id:
          maxLength: 1024
          type: string
        kind:
          maxLength: 1024
          type: string
      required:
        - attachment_id
        - kind
      type: object
    coop_files_attachments_upload_file_req_body:
      properties:
        file:
          format: binary
          maxLength: 1024
          type: string
      required:
        - file
      type: object
    coop_files_attachments_upload_file_resp:
      properties:
        size:
          format: int64
          type: integer
        upload_id:
          maxLength: 1024
          type: string
      required:
        - upload_id
      type: object
    coop_files_rollback_file_rollback_req_body:
      properties:
        conn_id:
          maxLength: 1024
          type: string
        history_id:
          maxLength: 1024
          type: string
        password:
          maxLength: 1024
          type: string
        revision:
          format: int64
          type: integer
        version:
          format: int64
          type: integer
      required:
        - version
      type: object
    coop_files_rollback_file_rollback_status:
      enum:
        - success
        - fail
      type: string
      x-enum:
        - success
        - fail
    coop_files_rollback_file_rollback_status_resp:
      properties:
        status:
          allOf:
            - $ref: '#/components/schemas/coop_files_rollback_file_rollback_status'
          type: object
      required:
        - status
      type: object
    coop_protobuf_permission_alias_name:
      enum:
        - manageable
        - viewable
        - editable
      type: string
      x-enum:
        - manageable
        - viewable
        - editable
    coop_protobuf_permission_type:
      enum:
        - system
        - team_custom
        - content_custom
      type: string
      x-enum:
        - system
        - team_custom
        - content_custom
    coop_protobuf_subject_type:
      enum:
        - user
        - group
        - dept
      type: string
      x-enum:
        - user
        - group
        - dept
    coop_protobuf_user_acl:
      properties:
        comment:
          format: int32
          type: integer
        copy:
          format: int32
          type: integer
        download:
          format: int32
          type: integer
        edit_share:
          format: int32
          type: integer
        history:
          format: int32
          type: integer
        manage_perm:
          format: int32
          type: integer
        print:
          format: int32
          type: integer
        read:
          format: int32
          type: integer
        rename:
          format: int32
          type: integer
        saveas:
          format: int32
          type: integer
        share:
          format: int32
          type: integer
        update:
          format: int32
          type: integer
      required:
        - read
        - update
        - download
        - share
        - rename
        - history
        - copy
        - print
        - saveas
        - edit_share
        - comment
        - manage_perm
      type: object
    create_aidocs_space_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aidocs_space'
      required:
        - data
      type: object
    create_approval_define_req_body:
      properties:
        creator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        form_defines:
          items:
            $ref: '#/components/schemas/approval_form_define'
          maxItems: 1024
          type: array
        icon:
          allOf:
            - $ref: '#/components/schemas/approval_define_icon_type'
          type: object
        name:
          maxLength: 50
          minLength: 1
          type: string
        process_define:
          allOf:
            - $ref: '#/components/schemas/approval_process_define'
          type: object
        setting:
          allOf:
            - $ref: '#/components/schemas/approval_define_setting'
          nullable: true
          type: object
        visible_scopes:
          items:
            $ref: '#/components/schemas/approval_visible_scope'
          maxItems: 1024
          type: array
      required:
        - creator
        - name
        - form_defines
        - process_define
      title: create_approval_define_req_body
      type: object
    create_approval_define_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/approval_define'
      required:
        - data
      type: object
    create_approval_instance_req_body:
      properties:
        approval_define_id:
          maxLength: 1024
          type: string
        contents:
          items:
            $ref: '#/components/schemas/approval_instance_content'
          maxItems: 1024
          type: array
        creator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        custom_form:
          maxLength: 1024
          type: string
          x-omitempty: true
        dept_id:
          maxLength: 1024
          type: string
          x-omitempty: true
          x-tags:
            - ex:dept_id
        node_users:
          items:
            $ref: '#/components/schemas/approval_node_approver'
          maxItems: 1024
          type: array
        remind:
          nullable: true
          type: boolean
          x-omitempty: true
        title:
          maxLength: 1024
          type: string
      required:
        - creator
        - approval_define_id
        - title
        - contents
      title: create_approval_instance_req_body
      type: object
    create_approval_instance_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/approval_instance'
      required:
        - data
      type: object
    create_asr_task_data:
      properties:
        task_id:
          maxLength: 1024
          type: string
      required:
        - task_id
      type: object
    create_asr_task_req_body:
      properties:
        audio:
          maxLength: 3145728
          type: string
        duration:
          format: int
          maximum: 14400
          type: integer
        file_url:
          maxLength: 1024
          type: string
        format:
          maxLength: 1024
          type: string
      required:
        - format
      type: object
    create_asr_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_asr_task_data'
      required:
        - data
      type: object
    create_attendance_group_data:
      properties:
        group_id:
          maxLength: 1024
          type: string
      required:
        - group_id
      type: object
    create_attendance_group_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_attendance_group_data'
      required:
        - data
      type: object
    create_audit_category_req_body:
      properties:
        items:
          items:
            $ref: '#/components/schemas/audit_category_create_req'
          maxItems: 20
          minItems: 1
          type: array
      required:
        - items
      type: object
    create_audit_category_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    create_audit_what:
      properties:
        company_id:
          maxLength: 20
          type: string
        detail:
          maxLength: 10000
          minLength: 1
          type: string
        op_key:
          maxLength: 100
          minLength: 1
          type: string
        operation_objects:
          items:
            $ref: '#/components/schemas/audit_log_operation_object'
          maxItems: 1000
          type: array
        type:
          allOf:
            - $ref: '#/components/schemas/audit_log_type'
          type: object
      required:
        - type
        - op_key
      type: object
    create_audit_where:
      properties:
        ip_addr:
          maxLength: 100
          minLength: 1
          type: string
      type: object
    create_audit_who:
      properties:
        company_id:
          maxLength: 1024
          type: string
          x-type: int64
        operator_id:
          maxLength: 1024
          type: string
          x-type: int64
      required:
        - company_id
        - operator_id
      type: object
    create_calendar_event_chat_data:
      properties:
        chat_id:
          maxLength: 1024
          type: string
      required:
        - chat_id
      type: object
    create_calendar_event_chat_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_calendar_event_chat_data'
      required:
        - data
      type: object
    create_calendar_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/calendar_permission'
      required:
        - data
      type: object
    create_calendar_req_body:
      properties:
        summary:
          maxLength: 40
          minLength: 1
          type: string
      required:
        - summary
      type: object
    create_calendar_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/calendar_detail'
      required:
        - data
      type: object
    create_chat_bookmark_fail_item:
      allOf:
        - $ref: '#/components/schemas/create_chat_bookmark_item'
      properties:
        reason:
          maxLength: 1024
          type: string
      required:
        - reason
      title: create_chat_bookmark_fail_item
      type: object
    create_chat_bookmark_item:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/chat_bookmark_data'
          type: object
        name:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/chat_bookmark_type'
          type: object
      required:
        - type
        - content
      title: create_chat_bookmark_item
      type: object
    create_chat_req_body:
      properties:
        account_id_list:
          items:
            $ref: '#/components/schemas/im_identity'
          maxItems: 100
          minItems: 1
          type: array
        avatar:
          maxLength: 255
          minLength: 1
          nullable: true
          type: string
        is_enable_history_messages:
          nullable: true
          type: boolean
        is_enable_nickname:
          nullable: true
          type: boolean
        is_join_approve:
          nullable: true
          type: boolean
        is_owner_admin_add_bookmark:
          nullable: true
          type: boolean
        is_owner_admin_at_all:
          nullable: true
          type: boolean
        is_owner_admin_modify:
          nullable: true
          type: boolean
        name:
          maxLength: 255
          minLength: 1
          nullable: true
          type: string
        owner_id:
          maxLength: 1024
          nullable: true
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/chat_type'
          type: object
      required:
        - type
        - account_id_list
      title: create_chat_req_body
      type: object
    create_chat_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/chat'
      required:
        - data
      type: object
    create_company_dept_custom_attr:
      properties:
        name:
          maxLength: 255
          minLength: 1
          type: string
        options:
          items:
            $ref: '#/components/schemas/dept_attr_option'
          maxItems: 10
          type: array
        value_type:
          allOf:
            - $ref: '#/components/schemas/dept_attr_value_type'
          type: object
      required:
        - name
        - value_type
      title: 创建部门自定义属性
      type: object
    create_company_dept_custom_attrs_data:
      properties:
        attr_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - attr_ids
      type: object
    create_company_dept_custom_attrs_req_body:
      properties:
        custom_attrs:
          items:
            $ref: '#/components/schemas/create_company_dept_custom_attr'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - custom_attrs
      type: object
    create_company_dept_custom_attrs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_company_dept_custom_attrs_data'
      required:
        - data
      type: object
    create_company_user_custom_attr:
      properties:
        name:
          maxLength: 255
          minLength: 1
          type: string
        options:
          items:
            $ref: '#/components/schemas/user_attr_option'
          maxItems: 10
          type: array
        value_type:
          allOf:
            - $ref: '#/components/schemas/user_attr_value_type'
          type: object
      required:
        - name
        - value_type
      title: 创建用户自定义属性
      type: object
    create_company_user_custom_attrs_data:
      properties:
        attr_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - attr_ids
      type: object
    create_company_user_custom_attrs_req_body:
      properties:
        custom_attrs:
          items:
            $ref: '#/components/schemas/create_company_user_custom_attr'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - custom_attrs
      type: object
    create_company_user_custom_attrs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_company_user_custom_attrs_data'
      required:
        - data
      type: object
    create_dept_chat_req_body:
      properties:
        dept_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:dept_id
        owner_id:
          maxLength: 1024
          nullable: true
          type: string
          x-tags:
            - ex:user_id
      required:
        - dept_id
      title: create_dept_chat_req_body
      type: object
    create_dept_chat_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/chat'
      required:
        - data
      type: object
    create_dept_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    create_dept_req_body:
      properties:
        ex_dept_id:
          maxLength: 128
          minLength: 1
          nullable: true
          type: string
        leaders:
          items:
            $ref: '#/components/schemas/leader_item'
          maxItems: 5
          type: array
        name:
          maxLength: 128
          minLength: 1
          type: string
        order:
          format: int64
          nullable: true
          type: integer
        parent_id:
          maxLength: 128
          minLength: 1
          type: string
          x-tags:
            - ex:dept_id
        type:
          maxLength: 255
          minLength: 1
          nullable: true
          type: string
      required:
        - name
        - parent_id
      type: object
    create_dept_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dept_item'
      required:
        - data
      type: object
    create_doclib_data:
      allOf:
        - $ref: '#/components/schemas/doclib'
      properties:
        approval_id:
          maxLength: 1024
          type: string
          x-type: int64
      required:
        - approval_id
      type: object
    create_doclib_req_body:
      properties:
        apply_reason:
          maxLength: 100
          minLength: 1
          type: string
        dept_id:
          maxLength: 100
          minLength: 1
          type: string
          x-tags:
            - ex:dept_id
        members:
          items:
            $ref: '#/components/schemas/create_group_member_req_body'
          maxItems: 1024
          type: array
        name:
          maxLength: 1024
          type: string
      required:
        - name
      type: object
    create_doclib_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_doclib_data'
      required:
        - data
      type: object
    create_drive_req_body:
      properties:
        allotee_id:
          maxLength: 1024
          type: string
        allotee_type:
          allOf:
            - $ref: '#/components/schemas/enum_allotee_type'
          type: object
        description:
          maxLength: 1024
          nullable: true
          type: string
        ext_attrs:
          items:
            $ref: '#/components/schemas/extended_attribute'
          maxItems: 1024
          type: array
        name:
          maxLength: 1024
          type: string
        source:
          maxLength: 1024
          type: string
        total_quota:
          format: int64
          nullable: true
          type: integer
      required:
        - name
        - allotee_type
      type: object
    create_drive_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/drive'
      required:
        - data
      type: object
    create_event_meeting_minutes_data:
      properties:
        doc_url:
          maxLength: 1024
          type: string
      required:
        - doc_url
      type: object
    create_event_meeting_minutes_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_event_meeting_minutes_data'
      required:
        - data
      type: object
    create_event_req_body:
      properties:
        attendee_ability:
          allOf:
            - $ref: '#/components/schemas/attendee_ability'
          nullable: true
          type: object
        description:
          maxLength: 2000
          nullable: true
          type: string
        end_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          type: object
        free_busy_status:
          allOf:
            - $ref: '#/components/schemas/free_busy_status'
          nullable: true
          type: object
        locations:
          items:
            $ref: '#/components/schemas/calendar_location'
          maxItems: 1
          type: array
        online_meeting:
          allOf:
            - $ref: '#/components/schemas/calendar_online_meeting'
          nullable: true
          type: object
        recurrence:
          allOf:
            - $ref: '#/components/schemas/recurrence'
          nullable: true
          type: object
        reminders:
          items:
            $ref: '#/components/schemas/calendar_reminder'
          maxItems: 10
          type: array
        start_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          type: object
        summary:
          maxLength: 1200
          type: string
        user_id:
          maxLength: 1024
          nullable: true
          type: string
        visibility:
          allOf:
            - $ref: '#/components/schemas/event_visibility'
          nullable: true
          type: object
      required:
        - start_time
        - end_time
      type: object
    create_event_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/event'
      required:
        - data
      type: object
    create_external_approval_define_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_external_define_resp'
      required:
        - data
      type: object
    create_external_define_req_body:
      properties:
        define_code:
          maxLength: 128
          minLength: 1
          type: string
        define_config:
          allOf:
            - $ref: '#/components/schemas/external_define_config'
          type: object
        group_id:
          format: int64
          type: integer
        icon:
          allOf:
            - $ref: '#/components/schemas/approval_define_icon_type'
          type: object
        name:
          maxLength: 50
          minLength: 1
          type: string
        setting:
          allOf:
            - $ref: '#/components/schemas/external_define_setting'
          nullable: true
          type: object
        visible_scopes:
          items:
            $ref: '#/components/schemas/approval_visible_scope'
          maxItems: 1024
          type: array
      required:
        - name
        - define_code
        - define_config
      title: create_external_define_req_body
      type: object
    create_external_define_resp:
      properties:
        define_code:
          maxLength: 1024
          type: string
      required:
        - define_code
      title: create_external_define_resp
      type: object
    create_external_instance_req_body:
      properties:
        cc_list:
          items:
            allOf:
              - $ref: '#/components/schemas/external_instance_cc'
            nullable: true
            type: object
          maxItems: 200
          type: array
          x-omitempty: true
        create_time:
          maxLength: 1024
          type: string
        creator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        define_code:
          maxLength: 128
          minLength: 1
          type: string
        efficiency_stats_disabled:
          type: boolean
          x-omitempty: true
        end_time:
          maxLength: 1024
          type: string
          x-omitempty: true
        form:
          items:
            allOf:
              - $ref: '#/components/schemas/external_instance_form_data'
            nullable: true
            type: object
          maxItems: 3
          type: array
          x-omitempty: true
        instance_id:
          maxLength: 128
          minLength: 1
          type: string
        links:
          allOf:
            - $ref: '#/components/schemas/external_instance_link'
          nullable: true
          type: object
        status:
          allOf:
            - $ref: '#/components/schemas/external_instance_status'
          type: object
        task_list:
          items:
            allOf:
              - $ref: '#/components/schemas/external_instance_task'
            nullable: true
            type: object
          maxItems: 300
          type: array
          x-omitempty: true
        title:
          maxLength: 256
          minLength: 1
          type: string
        update_mode:
          allOf:
            - $ref: '#/components/schemas/external_instance_update_mode'
          type: object
        update_time:
          maxLength: 1024
          type: string
      required:
        - instance_id
        - define_code
        - title
        - creator
        - status
        - create_time
        - update_time
        - update_mode
        - links
      title: create_external_instance_req_body
      type: object
    create_external_instance_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/external_instance'
      required:
        - data
      type: object
    create_file_content_task_data:
      properties:
        task_id:
          maxLength: 1024
          type: string
      required:
        - task_id
      type: object
    create_file_content_task_req_body:
      allOf:
        - $ref: '#/components/schemas/export_business_params'
    create_file_content_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_file_content_task_data'
      required:
        - data
      type: object
    create_file_permission_req_body:
      properties:
        overwrite:
          type: boolean
        role_id:
          maxLength: 1024
          type: string
        subject_attr:
          $ref: '#/components/schemas/subject_attr'
        subject_id:
          maxLength: 1024
          type: string
        subject_type:
          allOf:
            - $ref: '#/components/schemas/subject_type'
          type: object
      required:
        - overwrite
        - subject_type
        - subject_id
        - role_id
      type: object
    create_file_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    create_file_req_body:
      properties:
        file_id:
          maxLength: 240
          minLength: 1
          type: string
        file_type:
          $ref: '#/components/schemas/enum_file_type'
        name:
          maxLength: 240
          minLength: 1
          type: string
          x-escape: false
        on_name_conflict:
          allOf:
            - $ref: '#/components/schemas/on_name_conflict'
          type: object
        parent_path:
          items:
            maxLength: 1024
            type: string
          maxItems: 10
          minItems: 1
          type: array
          x-tags:
            - public
      required:
        - name
        - file_type
      type: object
    create_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file'
      required:
        - data
      type: object
    create_group_member_req_body:
      properties:
        about:
          maxLength: 255
          nullable: true
          type: string
          x-omitempty: true
        item_id:
          maxLength: 1024
          type: string
        item_type:
          allOf:
            - $ref: '#/components/schemas/group_member_type'
          nullable: true
          type: object
          x-omitempty: true
        nickname:
          maxLength: 255
          minLength: 1
          nullable: true
          type: string
          x-omitempty: true
        role:
          allOf:
            - $ref: '#/components/schemas/group_member_role'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - item_id
      title: create_group_member_req_body
      type: object
    create_group_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/group_member'
      required:
        - data
      type: object
    create_group_req_body:
      properties:
        creator_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        dept_id:
          maxLength: 1024
          type: string
          x-omitempty: true
          x-tags:
            - ex:dept_id
        description:
          maxLength: 512
          type: string
        mail:
          maxLength: 255
          minLength: 1
          type: string
        name:
          maxLength: 255
          minLength: 1
          type: string
        owner_id:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
          x-tags:
            - ex:user_id
        source:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/group_type'
          nullable: true
          type: object
        visibility_members:
          items:
            $ref: '#/components/schemas/create_group_visibility_member_item'
          maxItems: 20
          minItems: 1
          type: array
          x-omitempty: true
        visibility_type:
          allOf:
            - $ref: '#/components/schemas/group_visibility_type'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - name
        - creator_id
      title: create_group_req_body
      type: object
    create_group_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/group'
      required:
        - data
      type: object
    create_group_visibility_member_item:
      properties:
        item_ids:
          items:
            maxLength: 1024
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
        item_type:
          allOf:
            - $ref: '#/components/schemas/group_visibility_member_type'
          nullable: true
          type: object
          x-omitempty: true
      title: create_group_visibility_member_item
      type: object
    create_latest_folder_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    create_mail_contact_req_body:
      properties:
        contact_type:
          allOf:
            - $ref: '#/components/schemas/enum_contact_type'
          type: object
        department:
          maxLength: 1024
          type: string
        email_address:
          maxLength: 1024
          type: string
        job_title:
          maxLength: 1024
          type: string
        mobile_phone:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        organization:
          maxLength: 1024
          type: string
        remark:
          maxLength: 1024
          type: string
      required:
        - name
        - email_address
      type: object
    create_mail_contact_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_contact'
      required:
        - data
      type: object
    create_mail_draft_req_body:
      properties:
        bcc_recipients:
          items:
            $ref: '#/components/schemas/mail_recipient'
          maxItems: 1024
          type: array
        body:
          maxLength: 1024
          type: string
        cc_recipients:
          items:
            $ref: '#/components/schemas/mail_recipient'
          maxItems: 1024
          type: array
        subject:
          maxLength: 1024
          type: string
        to_recipients:
          items:
            $ref: '#/components/schemas/mail_recipient'
          maxItems: 1024
          type: array
      type: object
    create_mail_draft_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_mail_draft_rsp_body'
      required:
        - data
      type: object
    create_mail_draft_rsp_body:
      properties:
        message_id:
          maxLength: 1024
          type: string
      required:
        - message_id
      type: object
    create_mail_group_req_body:
      properties:
        accepted_type:
          allOf:
            - $ref: '#/components/schemas/mail_group_accepted_type'
          type: object
        address:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        owner_address:
          maxLength: 1024
          type: string
      required:
        - address
        - name
        - owner_address
        - accepted_type
      type: object
    create_mail_group_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_group'
      required:
        - data
      type: object
    create_mailbox_req_body:
      properties:
        address:
          maxLength: 1024
          type: string
        is_shared:
          type: boolean
        name:
          maxLength: 1024
          type: string
        owner_address:
          maxLength: 1024
          type: string
        user_id:
          maxLength: 1024
          type: string
      required:
        - address
        - is_shared
      type: object
    create_mailbox_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mailbox'
      required:
        - data
      type: object
    create_meeting_reserve_req_body:
      properties:
        end_time:
          maxLength: 1024
          type: string
        meeting_settings:
          allOf:
            - $ref: '#/components/schemas/meeting_settings'
          type: object
        owner_id:
          maxLength: 1024
          type: string
        subject:
          maxLength: 1024
          type: string
      required:
        - subject
        - end_time
        - meeting_settings
      type: object
    create_meeting_reserve_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_reserve'
      required:
        - data
      type: object
    create_meeting_room_banned_user_req_body:
      properties:
        feature:
          items:
            $ref: '#/components/schemas/meeting_room_banned_feature'
          maxItems: 10
          type: array
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
        - feature
      type: object
    create_meeting_room_banned_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_room_banned_user'
      required:
        - data
      type: object
    create_meeting_room_level_req_body:
      properties:
        name:
          maxLength: 1024
          type: string
        parent_id:
          maxLength: 1024
          type: string
      required:
        - name
        - parent_id
      type: object
    create_meeting_room_level_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_room_level'
      required:
        - data
      type: object
    create_meeting_room_privileged_user_req_body:
      properties:
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
      type: object
    create_meeting_room_privileged_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_room_privileged_user'
      required:
        - data
      type: object
    create_meeting_room_req_body:
      properties:
        capacity:
          format: int
          type: integer
        device_list:
          items:
            $ref: '#/components/schemas/meeting_room_device'
          maxItems: 100
          type: array
        level_id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        remark:
          maxLength: 100
          type: string
        tag_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 3
          type: array
      required:
        - level_id
        - name
        - capacity
      type: object
    create_meeting_room_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_room'
      required:
        - data
      type: object
    create_meeting_room_tag_req_body:
      properties:
        color:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - name
        - color
      type: object
    create_meeting_room_tag_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_room_tag'
      required:
        - data
      type: object
    create_member_mailbox_alias_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    create_member_mailbox_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_user_mailbox_rsp_body'
      required:
        - data
      type: object
    create_message_req_body:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/message_content'
          nullable: true
          type: object
        mentions:
          items:
            $ref: '#/components/schemas/message_mention'
          maxItems: 1024
          type: array
          x-omitempty: true
        receiver:
          allOf:
            - $ref: '#/components/schemas/message_receiver'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/message_type'
          type: object
      required:
        - type
        - content
        - receiver
      title: create_message_req_body
      type: object
    create_message_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_message_resp_data'
      required:
        - data
      type: object
    create_message_resp_data:
      properties:
        chat_id:
          maxLength: 1024
          type: string
        content:
          allOf:
            - $ref: '#/components/schemas/message_content'
          nullable: true
          type: object
        ctime:
          format: int64
          type: integer
        mentions:
          items:
            $ref: '#/components/schemas/message_mention'
          maxItems: 1024
          type: array
        message_id:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/message_type'
          type: object
      required:
        - chat_id
        - message_id
        - ctime
        - type
        - content
      title: create_message_resp_data
      type: object
    create_minute_req_body:
      properties:
        ai_enable:
          type: boolean
        duration:
          format: int64
          type: integer
        recording_content_url:
          maxLength: 1024
          type: string
        recording_thumbnail_url:
          maxLength: 1024
          type: string
        start_time:
          format: int64
          type: integer
        title:
          maxLength: 1024
          type: string
        transcript_content_url:
          maxLength: 1024
          type: string
      required:
        - recording_content_url
        - duration
        - start_time
        - title
        - ai_enable
      title: 创建会议纪要请求体
      type: object
    create_minute_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/minute'
      required:
        - data
      type: object
    create_multipart_upload_task_data:
      properties:
        part_count:
          format: int64
          type: integer
        part_size:
          format: int64
          type: integer
        upload_addr:
          maxLength: 1024
          type: string
          x-tags:
            - public
        upload_id:
          maxLength: 1024
          type: string
      required:
        - upload_id
        - part_count
        - part_size
      type: object
    create_multipart_upload_task_req_body:
      properties:
        delegate_user_id:
          maxLength: 1024
          type: string
          x-tags:
            - public
        display_size:
          format: int64
          type: integer
          x-tags:
            - public
        file_id:
          maxLength: 1024
          type: string
        hashes:
          items:
            $ref: '#/components/schemas/hash'
          maxItems: 1024
          type: array
        internal:
          type: boolean
        mode:
          allOf:
            - $ref: '#/components/schemas/enum_multipart_upload_mode'
          type: object
          x-tags:
            - public
        name:
          maxLength: 240
          minLength: 1
          type: string
          x-escape: false
        on_name_conflict:
          allOf:
            - $ref: '#/components/schemas/on_name_conflict'
          type: object
        parent_path:
          items:
            maxLength: 1024
            type: string
          maxItems: 10
          minItems: 1
          type: array
        size:
          format: int64
          type: integer
        storage_base_domain:
          maxLength: 1024
          type: string
          x-tags:
            - public
        upload_scene:
          allOf:
            - $ref: '#/components/schemas/enum_upload_scene'
          type: object
      required:
        - size
      type: object
    create_multipart_upload_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_multipart_upload_task_data'
      required:
        - data
      type: object
    create_order_sku:
      properties:
        actual_fee:
          format: int64
          type: integer
        amount:
          format: int64
          type: integer
        bind:
          allOf:
            - $ref: '#/components/schemas/store_sub_order_bind'
          type: object
        inner_entitlement_key:
          maxLength: 100
          minLength: 1
          type: string
        order_type:
          allOf:
            - $ref: '#/components/schemas/enum_store_order_type'
          type: object
        out_entitlement_key:
          maxLength: 100
          minLength: 1
          type: string
        sku_id:
          maxLength: 100
          minLength: 1
          type: string
        spu_id:
          maxLength: 100
          minLength: 1
          type: string
        sub_request_id:
          maxLength: 100
          minLength: 1
          type: string
        term:
          format: int64
          type: integer
        term_by:
          allOf:
            - $ref: '#/components/schemas/enum_store_order_term_by'
          type: object
        with_new_entitlement:
          type: boolean
      required:
        - sku_id
        - amount
        - term
        - term_by
        - actual_fee
      type: object
    create_org_dimension_dept_req_body:
      properties:
        name:
          maxLength: 255
          minLength: 1
          type: string
          x-escape: false
      required:
        - name
      type: object
    create_org_dimension_dept_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/org_dimension_dept'
      required:
        - data
      type: object
    create_org_dimension_req_body:
      properties:
        desc:
          maxLength: 255
          type: string
          x-escape: false
          x-omitempty: true
        name:
          maxLength: 255
          minLength: 1
          type: string
          x-escape: false
        visibility_objs:
          items:
            $ref: '#/components/schemas/org_dimension_visibility_object'
          maxItems: 1000
          type: array
          x-omitempty: true
        visibility_type:
          allOf:
            - $ref: '#/components/schemas/org_dimension_visibility_type'
          type: object
      required:
        - name
        - visibility_type
      type: object
    create_org_dimension_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/org_dimension'
      required:
        - data
      type: object
    create_privilege_function_task_req_body:
      properties:
        ocr_opts:
          allOf:
            - $ref: '#/components/schemas/privilege_function_task_ocr_opts'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/privilege_function_task_type'
          type: object
        urls:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - urls
        - type
      type: object
    create_privilege_function_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/privilege_function_task'
      required:
        - data
      type: object
    create_public_mailbox_alias_req_body:
      properties:
        alias:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - alias
      type: object
    create_public_mailbox_alias_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/public_mailbox_alias'
      required:
        - data
      type: object
    create_public_mailbox_req_body:
      properties:
        email_address:
          maxLength: 128
          minLength: 1
          type: string
        name:
          maxLength: 50
          minLength: 1
          type: string
        owner_id:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - name
        - email_address
        - owner_id
      type: object
    create_public_mailbox_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/public_mailbox'
      required:
        - data
      type: object
    create_role_req_body:
      properties:
        name:
          maxLength: 1024
          type: string
        permission_bits:
          allOf:
            - $ref: '#/components/schemas/permission_bits'
          nullable: true
          type: object
        permissions:
          allOf:
            - $ref: '#/components/schemas/permission_bits'
          nullable: true
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/file_role_type'
          nullable: true
          type: object
      required:
        - name
      type: object
    create_role_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/role'
      required:
        - data
      type: object
    create_store_order:
      properties:
        activation:
          allOf:
            - $ref: '#/components/schemas/store_order_activation'
          type: object
        entitlements:
          items:
            $ref: '#/components/schemas/store_order_entitlement'
          maxItems: 1024
          type: array
        order_id:
          maxLength: 1024
          type: string
      required:
        - order_id
        - activation
        - entitlements
      type: object
    create_store_order_req_body:
      properties:
        delivery:
          allOf:
            - $ref: '#/components/schemas/store_order_delivery'
          type: object
        entity:
          allOf:
            - $ref: '#/components/schemas/store_order_entity'
          type: object
        partner:
          allOf:
            - $ref: '#/components/schemas/store_order_partner'
          type: object
        purchase_type:
          allOf:
            - $ref: '#/components/schemas/enum_store_order_purchase_type'
          type: object
        remark:
          maxLength: 200
          type: string
        request_id:
          maxLength: 100
          minLength: 1
          type: string
        skus:
          items:
            $ref: '#/components/schemas/create_order_sku'
          maxItems: 20
          minItems: 1
          type: array
        utm:
          allOf:
            - $ref: '#/components/schemas/store_order_utm'
          type: object
      required:
        - skus
        - request_id
        - entity
        - delivery
        - remark
        - purchase_type
        - utm
        - partner
      type: object
    create_store_order_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_store_order'
      required:
        - data
      type: object
    create_timeoff_event_req_body:
      properties:
        description:
          maxLength: 2000
          nullable: true
          type: string
        end_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          type: object
        start_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          type: object
        timeoff_type:
          allOf:
            - $ref: '#/components/schemas/timeoff_type'
          type: object
          x-doc-tip:
            - 不同请假类型在日历中会有不同的显示效果，影响用户的日程状态显示
        title:
          maxLength: 1200
          type: string
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
        - timeoff_type
        - start_time
        - end_time
        - title
      type: object
    create_timeoff_event_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/timeoff_event'
      required:
        - data
      type: object
    create_title_req_body:
      properties:
        dept_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          type: array
          x-tags:
            - ex:dept_id
        name:
          maxLength: 100
          minLength: 1
          type: string
      required:
        - name
      type: object
    create_title_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    create_todo_category_req_body:
      properties:
        name:
          maxLength: 40
          minLength: 1
          type: string
        parent_id:
          maxLength: 1024
          type: string
        sort_priority:
          maxLength: 1024
          type: string
      required:
        - name
      title: create_todo_category_req_body
      type: object
    create_todo_category_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/todo_category'
      required:
        - data
      type: object
    create_todo_personal_task_data:
      properties:
        task_id:
          maxLength: 1024
          type: string
      required:
        - task_id
      type: object
    create_todo_personal_task_req_body:
      properties:
        biz_source:
          maxLength: 1024
          type: string
        create_time:
          format: int64
          type: integer
        creator:
          maxLength: 1024
          type: string
        description:
          maxLength: 500
          minLength: 1
          type: string
        due_time:
          format: int64
          type: integer
        executors:
          items:
            maxLength: 100
            type: string
          maxItems: 1024
          type: array
        ext_attrs:
          items:
            allOf:
              - $ref: '#/components/schemas/extended_attribute'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        notify_config:
          allOf:
            - $ref: '#/components/schemas/todo_notify_config'
          nullable: true
          type: object
          x-omitempty: true
        status:
          allOf:
            - $ref: '#/components/schemas/todo_task_status'
          nullable: true
          type: object
          x-omitempty: true
        title:
          allOf:
            - $ref: '#/components/schemas/todo_task_title'
          type: object
      required:
        - title
      title: create_todo_personal_task_req_body
      type: object
    create_todo_personal_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_todo_personal_task_data'
      required:
        - data
      type: object
    create_todo_task_data:
      properties:
        task_id:
          maxLength: 1024
          type: string
      required:
        - task_id
      type: object
    create_todo_task_req_body:
      allOf:
        - $ref: '#/components/schemas/todo_task_data'
      title: create_todo_task_req_body
    create_todo_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/create_todo_task_data'
      required:
        - data
      type: object
    create_user_mailbox_alias_req_body:
      properties:
        alias:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - alias
      type: object
    create_user_mailbox_req_body:
      properties:
        email_address:
          maxLength: 1024
          type: string
        on_conflict:
          allOf:
            - $ref: '#/components/schemas/enum_on_conflict'
          type: object
      required:
        - email_address
      type: object
    create_user_mailbox_rsp_body:
      properties:
        email_address:
          maxLength: 1024
          type: string
      required:
        - email_address
      type: object
    create_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/user_item_with_dept'
      required:
        - data
      type: object
    create_workbench_favorite_app_req_body:
      properties:
        app_id:
          maxLength: 1024
          type: string
      required:
        - app_id
      type: object
    create_workbench_favorite_app_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    current_user:
      properties:
        avatar:
          maxLength: 1024
          type: string
        company_id:
          maxLength: 1024
          type: string
        ex_user_id:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/user_type'
          nullable: true
          type: object
          x-omitempty: true
        type_v2:
          allOf:
            - $ref: '#/components/schemas/user_type_v2'
          nullable: true
          type: object
          x-omitempty: true
        user_name:
          maxLength: 1024
          type: string
      required:
        - user_name
        - avatar
        - id
        - company_id
        - ex_user_id
      title: current_user
      type: object
    custom_approval_define_req_body:
      properties:
        forbidden_forms:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        forbidden_ops:
          items:
            format: int64
            type: integer
          maxItems: 1024
          type: array
        hide:
          type: boolean
      title: custom_approval_define_req_body
      type: object
    custom_approval_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    dbsheet_add_content_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_task_info'
      required:
        - data
      type: object
    dbsheet_add_subjects_to_content_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_add_subjects_to_permission_resp'
      required:
        - data
      type: object
    dbsheet_batch_create_sheets_req_body:
      properties:
        sheets:
          items:
            $ref: '#/components/schemas/dbsheet_create_sheets_info'
          maxItems: 1024
          type: array
      required:
        - sheets
      type: object
    dbsheet_batch_create_sheets_resp:
      properties:
        sheets:
          items:
            $ref: '#/components/schemas/dbsheet_sheet'
          maxItems: 1024
          type: array
      required:
        - sheets
      type: object
    dbsheet_batch_create_sheets_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_batch_create_sheets_resp'
      required:
        - data
      type: object
    dbsheet_batch_delete_sheets_req_body:
      properties:
        sheets:
          items:
            format: int64
            type: integer
          maxItems: 1024
          type: array
      required:
        - sheets
      type: object
    dbsheet_batch_delete_sheets_resp:
      properties:
        sheets:
          items:
            format: int64
            type: integer
          maxItems: 1024
          type: array
      required:
        - sheets
      type: object
    dbsheet_batch_delete_sheets_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_batch_delete_sheets_resp'
      required:
        - data
      type: object
    dbsheet_bind_parent_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_bind_records_parent_resp'
      required:
        - data
      type: object
    dbsheet_cancel_hook_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_cancel_hook_resp'
      required:
        - data
      type: object
    dbsheet_change_subjects_to_content_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    dbsheet_close_shared_link_req_body:
      properties:
        view_type:
          maxLength: 1024
          type: string
      required:
        - view_type
      type: object
    dbsheet_close_shared_link_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    dbsheet_copy_dashboard_req_body:
      properties:
        name:
          maxLength: 1024
          type: string
      required:
        - name
      type: object
    dbsheet_copy_dashboard_resp:
      properties:
        dashboard:
          allOf:
            - $ref: '#/components/schemas/dbsheet_dashboard'
          type: object
      required:
        - dashboard
      type: object
    dbsheet_copy_dashboard_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_copy_dashboard_resp'
      required:
        - data
      type: object
    dbsheet_create_async_export_task_req_body:
      properties:
        client_id:
          maxLength: 1024
          type: string
        file_version:
          format: int64
          type: integer
        format:
          maxLength: 1024
          minLength: 1
          type: string
        from:
          maxLength: 1024
          type: string
        need_compress:
          type: boolean
        sheet_id:
          format: int64
          type: integer
        store_type:
          maxLength: 1024
          type: string
        view_id:
          maxLength: 1024
          type: string
        with_attachment:
          type: boolean
      required:
        - format
        - store_type
      type: object
    dbsheet_create_async_export_task_resp:
      properties:
        task_id:
          maxLength: 1024
          type: string
        task_type:
          maxLength: 1024
          type: string
      required:
        - task_type
        - task_id
      type: object
    dbsheet_create_async_export_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_create_async_export_task_resp'
      required:
        - data
      type: object
    dbsheet_create_fields_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_create_fields_resp'
      required:
        - data
      type: object
    dbsheet_create_record_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_create_record_resp'
      required:
        - data
      type: object
    dbsheet_create_sheet_position:
      properties:
        after_sheet_id:
          format: int64
          type: integer
        before_sheet_id:
          format: int64
          type: integer
      type: object
    dbsheet_create_sheet_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_create_sheet_resp'
      required:
        - data
      type: object
    dbsheet_create_sheets_info:
      properties:
        fields:
          items:
            $ref: '#/components/schemas/dbsheet_field'
          maxItems: 1024
          type: array
        name:
          maxLength: 1024
          type: string
        position:
          allOf:
            - $ref: '#/components/schemas/dbsheet_create_sheet_position'
          type: object
        views:
          items:
            $ref: '#/components/schemas/dbsheet_sheet_view'
          maxItems: 1024
          type: array
      required:
        - name
        - fields
        - views
        - position
      type: object
    dbsheet_create_view_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_create_view_resp'
      required:
        - data
      type: object
    dbsheet_dashboard:
      properties:
        data_source_ids:
          items:
            format: int64
            type: integer
          maxItems: 1024
          type: array
        description:
          maxLength: 1024
          type: string
        icon:
          maxLength: 1024
          type: string
        id:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        sheet_type:
          maxLength: 1024
          type: string
      required:
        - id
        - name
        - description
        - icon
        - sheet_type
        - data_source_ids
      type: object
    dbsheet_default_contact:
      properties:
        avatar:
          maxLength: 1024
          type: string
        company_id:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        nick_name:
          maxLength: 1024
          type: string
      required:
        - id
        - company_id
        - nick_name
        - avatar
      type: object
    dbsheet_delete_content_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_task_info'
      required:
        - data
      type: object
    dbsheet_delete_fields_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_delete_fields_resp'
      required:
        - data
      type: object
    dbsheet_delete_record_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_delete_record_resp'
      required:
        - data
      type: object
    dbsheet_delete_sheet_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_delete_sheet_resp'
      required:
        - data
      type: object
    dbsheet_delete_view_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_delete_view_resp'
      required:
        - data
      type: object
    dbsheet_demix_id_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_demix_id_resp'
      required:
        - data
      type: object
    dbsheet_disable_parent_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_disable_records_parent_resp'
      required:
        - data
      type: object
    dbsheet_enable_parent_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_enable_records_parent_resp'
      required:
        - data
      type: object
    dbsheet_export_task_result:
      properties:
        download_url:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        with_attachment:
          type: boolean
      required:
        - file_id
        - with_attachment
      type: object
    dbsheet_field:
      properties:
        data:
          allOf:
            - $ref: '#/components/schemas/dbsheet_field_data'
          type: object
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        type:
          maxLength: 1024
          type: string
      type: object
    dbsheet_field_address:
      properties:
        address_level:
          format: int64
          type: integer
        detailed_address:
          type: boolean
        preset_address:
          allOf:
            - $ref: '#/components/schemas/dbsheet_field_address_preset_address'
          type: object
      type: object
    dbsheet_field_address_preset_address:
      properties:
        detail:
          maxLength: 1024
          type: string
        districts:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - districts
      type: object
    dbsheet_field_attachment:
      properties:
        only_upload_by_camera:
          type: boolean
      type: object
    dbsheet_field_auto_number:
      properties:
        number_format:
          maxLength: 1024
          type: string
      type: object
    dbsheet_field_contact:
      properties:
        default_value:
          maxLength: 1024
          type: string
        default_value_array:
          items:
            $ref: '#/components/schemas/dbsheet_default_contact'
          maxItems: 1024
          type: array
        default_value_type:
          maxLength: 1024
          type: string
        multiple_contacts:
          type: boolean
        notice_new_contact:
          type: boolean
        support_multi:
          type: boolean
      required:
        - default_value_array
      type: object
    dbsheet_field_created_time:
      properties:
        number_format:
          maxLength: 1024
          type: string
      type: object
    dbsheet_field_currency:
      properties:
        number_format:
          maxLength: 1024
          type: string
      type: object
    dbsheet_field_data:
      oneOf:
        - $ref: '#/components/schemas/dbsheet_field_date'
        - $ref: '#/components/schemas/dbsheet_field_time'
        - $ref: '#/components/schemas/dbsheet_field_number'
        - $ref: '#/components/schemas/dbsheet_field_currency'
        - $ref: '#/components/schemas/dbsheet_field_multi_line_text'
        - $ref: '#/components/schemas/dbsheet_field_percentage'
        - $ref: '#/components/schemas/dbsheet_field_identity'
        - $ref: '#/components/schemas/dbsheet_field_phone'
        - $ref: '#/components/schemas/dbsheet_field_last_modified_by'
        - $ref: '#/components/schemas/dbsheet_field_last_modified_time'
        - $ref: '#/components/schemas/dbsheet_field_formula'
        - $ref: '#/components/schemas/dbsheet_field_auto_number'
        - $ref: '#/components/schemas/dbsheet_field_created_time'
        - $ref: '#/components/schemas/dbsheet_field_link'
        - $ref: '#/components/schemas/dbsheet_field_lookup'
        - $ref: '#/components/schemas/dbsheet_field_url'
        - $ref: '#/components/schemas/dbsheet_field_single_select'
        - $ref: '#/components/schemas/dbsheet_field_multiple_select'
        - $ref: '#/components/schemas/dbsheet_field_rating'
        - $ref: '#/components/schemas/dbsheet_field_contact'
        - $ref: '#/components/schemas/dbsheet_field_attachment'
        - $ref: '#/components/schemas/dbsheet_field_address'
    dbsheet_field_date:
      properties:
        default_value:
          maxLength: 1024
          type: string
        default_value_type:
          maxLength: 1024
          type: string
        number_format:
          maxLength: 1024
          type: string
      type: object
    dbsheet_field_formula:
      properties:
        formula:
          maxLength: 1024
          type: string
        number_format:
          maxLength: 1024
          type: string
        value_type:
          maxLength: 1024
          type: string
      type: object
    dbsheet_field_identity:
      properties:
        unique_value:
          type: boolean
      type: object
    dbsheet_field_last_modified_by:
      properties:
        watch_all:
          type: boolean
        watched_field:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - watched_field
      type: object
    dbsheet_field_last_modified_time:
      properties:
        number_format:
          maxLength: 1024
          type: string
        watch_all:
          type: boolean
        watched_field:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - watched_field
      type: object
    dbsheet_field_link:
      properties:
        filter:
          allOf:
            - $ref: '#/components/schemas/dbsheet_field_link_filter'
          type: object
        is_auto:
          type: boolean
        link_field:
          maxLength: 1024
          type: string
        link_sheet:
          format: int32
          type: integer
        link_view:
          maxLength: 1024
          type: string
        multiple_links:
          type: boolean
        support_multi:
          type: boolean
      type: object
    dbsheet_field_link_detail:
      properties:
        current_sheet_field_id:
          maxLength: 1024
          type: string
        link_sheet_field_id:
          maxLength: 1024
          type: string
      type: object
    dbsheet_field_link_filter:
      properties:
        conditions:
          items:
            $ref: '#/components/schemas/dbsheet_field_link_detail'
          maxItems: 1024
          type: array
        mode:
          maxLength: 1024
          type: string
      required:
        - conditions
      type: object
    dbsheet_field_lookup:
      properties:
        aggregation:
          maxLength: 1024
          type: string
        base_type:
          maxLength: 1024
          type: string
        filter:
          allOf:
            - $ref: '#/components/schemas/dbsheet_field_link_filter'
          type: object
        link_field:
          maxLength: 1024
          type: string
        lookup_field:
          maxLength: 1024
          type: string
        lookup_sheet_id:
          format: int64
          type: integer
      type: object
    dbsheet_field_multi_line_text:
      properties:
        unique_value:
          type: boolean
      type: object
    dbsheet_field_multiple_select:
      properties:
        allow_add_item_while_inputting:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/dbsheet_field_select_item'
          maxItems: 1024
          type: array
      required:
        - items
        - allow_add_item_while_inputting
      type: object
    dbsheet_field_number:
      properties:
        number_format:
          maxLength: 1024
          type: string
      type: object
    dbsheet_field_percentage:
      properties:
        number_format:
          maxLength: 1024
          type: string
      type: object
    dbsheet_field_phone:
      properties:
        unique_value:
          type: boolean
      type: object
    dbsheet_field_rating:
      properties:
        max:
          format: int64
          type: integer
      type: object
    dbsheet_field_select_item:
      properties:
        color:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        value:
          maxLength: 1024
          type: string
      type: object
    dbsheet_field_single_select:
      properties:
        allow_add_item_while_inputting:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/dbsheet_field_select_item'
          maxItems: 1024
          type: array
      required:
        - items
        - allow_add_item_while_inputting
      type: object
    dbsheet_field_time:
      properties:
        number_format:
          maxLength: 1024
          type: string
      type: object
    dbsheet_field_url:
      properties:
        display_text:
          maxLength: 1024
          type: string
      type: object
    dbsheet_form_field:
      properties:
        description:
          maxLength: 1024
          type: string
        field_id:
          maxLength: 1024
          type: string
        required:
          type: boolean
        title:
          maxLength: 1024
          type: string
      required:
        - field_id
        - title
        - description
        - required
      type: object
    dbsheet_get_attachment_info_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_get_attachment_resp'
      required:
        - data
      type: object
    dbsheet_get_content_permission_subjects_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_get_permission_subjects_resp'
      required:
        - data
      type: object
    dbsheet_get_content_permissions_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_get_permissions_resp'
      required:
        - data
      type: object
    dbsheet_get_form_meta_resp:
      properties:
        description:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - name
        - description
      type: object
    dbsheet_get_form_meta_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_get_form_meta_resp'
      required:
        - data
      type: object
    dbsheet_get_schema_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_get_schema_resp'
      required:
        - data
      type: object
    dbsheet_get_shared_link_settings_resp:
      properties:
        repeatable:
          type: boolean
      required:
        - repeatable
      type: object
    dbsheet_get_sharedlink_settings_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_get_shared_link_settings_resp'
      required:
        - data
      type: object
    dbsheet_get_view_resp:
      properties:
        view:
          allOf:
            - $ref: '#/components/schemas/dbsheet_sheet_view'
          type: object
      required:
        - view
      type: object
    dbsheet_get_view_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_get_view_resp'
      required:
        - data
      type: object
    dbsheet_hook_sheet_add_record_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_create_hook_resp'
      required:
        - data
      type: object
    dbsheet_list_all_records_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_list_all_records_resp'
      required:
        - data
      type: object
    dbsheet_list_children_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_list_child_records_resp'
      required:
        - data
      type: object
    dbsheet_list_dashboards_resp:
      properties:
        dashboards:
          items:
            $ref: '#/components/schemas/dbsheet_dashboard'
          maxItems: 1024
          type: array
      required:
        - dashboards
      type: object
    dbsheet_list_dashboards_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_list_dashboards_resp'
      required:
        - data
      type: object
    dbsheet_list_form_fields_resp:
      properties:
        form_fields:
          items:
            $ref: '#/components/schemas/dbsheet_form_field'
          maxItems: 1024
          type: array
      required:
        - form_fields
      type: object
    dbsheet_list_form_fields_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_list_form_fields_resp'
      required:
        - data
      type: object
    dbsheet_list_hook_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_list_hook_resp'
      required:
        - data
      type: object
    dbsheet_list_records_by_page_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_list_records_by_page_resp'
      required:
        - data
      type: object
    dbsheet_list_views_resp:
      properties:
        views:
          items:
            $ref: '#/components/schemas/dbsheet_sheet_view'
          maxItems: 1024
          type: array
      required:
        - views
      type: object
    dbsheet_list_views_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_list_views_resp'
      required:
        - data
      type: object
    dbsheet_mix_id_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_mix_id_resp'
      required:
        - data
      type: object
    dbsheet_modify_content_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_task_info'
      required:
        - data
      type: object
    dbsheet_open_shared_link_req_body:
      properties:
        permission:
          maxLength: 1024
          type: string
        share_to:
          maxLength: 1024
          type: string
        view_type:
          maxLength: 1024
          type: string
      required:
        - permission
        - view_type
        - share_to
      type: object
    dbsheet_open_shared_link_resp:
      properties:
        share_id:
          maxLength: 1024
          type: string
      required:
        - share_id
      type: object
    dbsheet_open_shared_link_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_open_shared_link_resp'
      required:
        - data
      type: object
    dbsheet_parent_status_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_get_records_parent_status_resp'
      required:
        - data
      type: object
    dbsheet_query_async_export_task_resp:
      properties:
        error_msg:
          maxLength: 1024
          type: string
        result:
          allOf:
            - $ref: '#/components/schemas/dbsheet_export_task_result'
          type: object
        status:
          maxLength: 1024
          type: string
      required:
        - status
      type: object
    dbsheet_query_async_export_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_query_async_export_task_resp'
      required:
        - data
      type: object
    dbsheet_query_content_permission_task_progress_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_async_task_progress_resp'
      required:
        - data
      type: object
    dbsheet_query_shared_link_detail_resp:
      properties:
        enable:
          type: boolean
        permission:
          maxLength: 1024
          type: string
        share_to:
          maxLength: 1024
          type: string
        short_url:
          maxLength: 1024
          type: string
      required:
        - share_to
        - permission
        - enable
        - short_url
      type: object
    dbsheet_query_shared_link_status_resp:
      properties:
        is_enable:
          type: boolean
        share_id:
          maxLength: 1024
          type: string
      required:
        - is_enable
        - share_id
      type: object
    dbsheet_remove_subjects_from_content_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    dbsheet_retrieve_record_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_retrieve_record_resp'
      required:
        - data
      type: object
    dbsheet_retrieve_records_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_retrieve_records_resp'
      required:
        - data
      type: object
    dbsheet_set_shared_link_settings_req_body:
      properties:
        repeatable:
          type: boolean
      required:
        - repeatable
      type: object
    dbsheet_set_sharedlink_settings_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    dbsheet_sheet:
      properties:
        fields:
          items:
            $ref: '#/components/schemas/dbsheet_field'
          maxItems: 1024
          type: array
        id:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        primary_field_id:
          maxLength: 1024
          type: string
        views:
          items:
            $ref: '#/components/schemas/dbsheet_sheet_view'
          maxItems: 1024
          type: array
      required:
        - fields
        - views
      type: object
    dbsheet_sheet_view:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        records_count:
          format: int64
          type: integer
        type:
          maxLength: 1024
          type: string
      type: object
    dbsheet_unbind_parent_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_unbind_records_parent_resp'
      required:
        - data
      type: object
    dbsheet_update_fields_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_update_fields_resp'
      required:
        - data
      type: object
    dbsheet_update_form_field_req_body:
      properties:
        description:
          maxLength: 1024
          type: string
        pre_field_id:
          maxLength: 1024
          type: string
        required:
          type: boolean
        title:
          maxLength: 1024
          type: string
      type: object
    dbsheet_update_form_field_resp:
      properties:
        description:
          maxLength: 1024
          type: string
        pre_field_id:
          maxLength: 1024
          type: string
        required:
          type: boolean
        title:
          maxLength: 1024
          type: string
      required:
        - pre_field_id
        - title
        - description
        - required
      type: object
    dbsheet_update_form_field_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_update_form_field_resp'
      required:
        - data
      type: object
    dbsheet_update_form_meta_req_body:
      properties:
        description:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      type: object
    dbsheet_update_form_meta_resp:
      properties:
        description:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - name
        - description
      type: object
    dbsheet_update_form_meta_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_update_form_meta_resp'
      required:
        - data
      type: object
    dbsheet_update_record_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_update_record_resp'
      required:
        - data
      type: object
    dbsheet_update_shared_link_permission_req_body:
      properties:
        permission:
          maxLength: 1024
          type: string
        share_to:
          maxLength: 1024
          type: string
      required:
        - permission
        - share_to
      type: object
    dbsheet_update_shared_link_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    dbsheet_update_sheet_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_update_sheet_resp'
      required:
        - data
      type: object
    dbsheet_update_view_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_update_view_resp'
      required:
        - data
      type: object
    dbsheet_upload_attachment_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_dbsheet_upload_attachment_resp'
      required:
        - data
      type: object
    delete_aidocs_space_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_approval_define_req_body:
      properties:
        operator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      title: delete_approval_define_req_body
      type: object
    delete_approval_define_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_attendance_approval_records_req_body:
      properties:
        approval_id:
          maxLength: 100
          minLength: 1
          type: string
        approval_source:
          maxLength: 100
          minLength: 1
          type: string
      required:
        - approval_source
        - approval_id
      type: object
    delete_attendance_approval_records_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_attendance_group_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_calendar_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_calendar_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_chat_bookmark_fail_item:
      properties:
        bookmark_id:
          maxLength: 1024
          type: string
        reason:
          maxLength: 1024
          type: string
      required:
        - bookmark_id
        - reason
      title: delete_chat_bookmark_fail_item
      type: object
    delete_chat_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_company_dept_custom_attrs_req_body:
      properties:
        attr_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - attr_ids
      type: object
    delete_company_dept_custom_attrs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_company_user_custom_attrs_req_body:
      properties:
        attr_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - attr_ids
      type: object
    delete_company_user_custom_attrs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_deleted_file_req_body:
      properties:
        delete_type:
          allOf:
            - $ref: '#/components/schemas/file_delete_to'
          nullable: true
          type: object
      type: object
    delete_deleted_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_dept_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_dept_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_doclib_req_body:
      properties:
        drive_id:
          maxLength: 1024
          type: string
      required:
        - drive_id
      type: object
    delete_doclib_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_event_req_body:
      properties:
        is_notification:
          nullable: true
          type: boolean
        mod_type:
          allOf:
            - $ref: '#/components/schemas/event_mod_type'
          nullable: true
          type: object
        which_day_time:
          format: uint64
          type: integer
          x-number-unit: ms
      type: object
    delete_event_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_file_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_group_member_req_body:
      properties:
        item_id:
          maxLength: 1024
          type: string
        item_type:
          allOf:
            - $ref: '#/components/schemas/group_member_type'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - item_id
      title: delete_group_member_req_body
      type: object
    delete_group_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_group_req_body:
      properties:
        recycle:
          nullable: true
          type: boolean
          x-omitempty: true
      title: delete_group_req_body
      type: object
    delete_group_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_mail_contact_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_meeting_reserve_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_meeting_room_banned_user_req_body:
      properties:
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
      type: object
    delete_meeting_room_banned_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_meeting_room_level_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_meeting_room_privileged_user_req_body:
      properties:
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
      type: object
    delete_meeting_room_privileged_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_meeting_room_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_meeting_room_tag_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_member_mailbox_alias_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_member_mailbox_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_message_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_minute_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_org_dimension_dept_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_org_dimension_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_permission_item:
      properties:
        id:
          format: int64
          nullable: true
          type: integer
        subject:
          allOf:
            - $ref: '#/components/schemas/subject'
          nullable: true
          type: object
      type: object
    delete_permission_req_body:
      properties:
        overwrite:
          type: boolean
      type: object
    delete_public_mailbox_alias_req_body:
      properties:
        alias:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - alias
      type: object
    delete_public_mailbox_alias_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_public_mailbox_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_role_policy:
      enum:
        - remove
        - replace
      type: string
      x-enum:
        - remove
        - replace
    delete_role_req_body:
      properties:
        policy:
          allOf:
            - $ref: '#/components/schemas/delete_role_policy'
          nullable: true
          type: object
        replace_role_id:
          maxLength: 1024
          nullable: true
          type: string
      type: object
    delete_role_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_second_deleted_files_req_body:
      properties:
        delete_type:
          allOf:
            - $ref: '#/components/schemas/file_delete_to'
          nullable: true
          type: object
      type: object
    delete_second_deleted_files_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_timeoff_event_req_body:
      properties:
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
      type: object
    delete_timeoff_event_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_todo_category_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_user_mailbox_alias_req_body:
      properties:
        alias:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - alias
      type: object
    delete_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    delete_visibility_rules_req_body:
      properties:
        rule_ids:
          items:
            maxLength: 1024
            type: string
            x-type: int64
          maxItems: 100
          minItems: 1
          type: array
      required:
        - rule_ids
      type: object
    delete_visibility_rules_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    deleted_file:
      properties:
        created_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        ctime:
          format: int64
          type: integer
        deleted_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        drive:
          allOf:
            - $ref: '#/components/schemas/drive'
          nullable: true
          type: object
          x-omitempty: true
        drive_id:
          maxLength: 1024
          type: string
          x-type: int64
        dtime:
          format: int64
          type: integer
        ext_attrs:
          items:
            $ref: '#/components/schemas/extended_attribute'
          maxItems: 1024
          type: array
          x-omitempty: true
        hash:
          $ref: '#/components/schemas/hash'
        id:
          maxLength: 1024
          type: string
        modified_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        parent_id:
          maxLength: 1024
          type: string
        size:
          format: int64
          type: integer
        type:
          $ref: '#/components/schemas/enum_file_type'
        version:
          format: int
          type: integer
      required:
        - id
        - drive_id
        - parent_id
        - created_by
        - modified_by
        - deleted_by
        - size
        - version
        - type
        - name
        - ctime
        - mtime
        - dtime
        - hash
      title: 回收站文件信息
      type: object
    deleted_files_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/deleted_file'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      type: object
    department:
      properties:
        dept_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:dept_id
      required:
        - dept_id
      type: object
    department_info:
      properties:
        is_all:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/department'
          maxItems: 1024
          type: array
      required:
        - is_all
        - items
      type: object
    dept:
      properties:
        abs_path:
          maxLength: 1024
          type: string
        ctime:
          format: int64
          type: integer
        ex_dept_id:
          maxLength: 128
          minLength: 1
          type: string
        id:
          maxLength: 128
          minLength: 1
          type: string
        leaders_id:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 10
          type: array
          x-tags:
            - ex:user_id
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 128
          minLength: 1
          type: string
        order:
          format: int64
          type: integer
        parent_id:
          maxLength: 128
          minLength: 1
          type: string
          x-tags:
            - ex:dept_id
      required:
        - id
        - name
        - order
        - parent_id
        - leaders_id
        - ctime
        - mtime
      title: 部门
      type: object
    dept_attr_option:
      properties:
        key:
          maxLength: 100
          minLength: 1
          type: string
        name:
          maxLength: 100
          minLength: 1
          type: string
      required:
        - key
        - name
      title: 可选项部门自定义属性
      type: object
    dept_attr_value:
      properties:
        attr_id:
          maxLength: 20
          minLength: 1
          type: string
        attr_name:
          maxLength: 255
          type: string
        attr_value_type:
          allOf:
            - $ref: '#/components/schemas/dept_attr_value_type'
          type: object
        option:
          maxLength: 255
          type: string
        relation_user:
          maxLength: 255
          minLength: 1
          type: string
          x-tags:
            - ex:user_id
        text:
          maxLength: 255
          type: string
      required:
        - attr_id
      title: 部门属性值
      type: object
    dept_attr_value_type:
      enum:
        - text
        - relation_user
        - option
      title: 部门属性值类型
      type: string
      x-enum:
        - text
        - relation_user
        - option
    dept_change_record:
      properties:
        change_time:
          format: int64
          minimum: 1
          type: integer
        change_type:
          allOf:
            - $ref: '#/components/schemas/change_type'
          type: object
        dept_id:
          maxLength: 255
          minLength: 1
          type: string
        id:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - id
        - dept_id
        - change_type
        - change_time
      title: 部门变更记录
      type: object
    dept_change_record_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/dept_change_record'
          maxItems: 1000
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
        - next_page_token
      type: object
    dept_chat_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    dept_compact:
      properties:
        abs_path:
          maxLength: 1024
          type: string
        id:
          maxLength: 128
          minLength: 1
          type: string
          x-tags:
            - ex:dept_id
        id_path:
          maxLength: 1024
          minLength: 1
          type: string
        name:
          maxLength: 128
          minLength: 1
          type: string
        parent_id:
          maxLength: 1024
          minLength: 1
          type: string
          x-tags:
            - ex:dept_id
      required:
        - id
        - name
        - parent_id
      type: object
    dept_item:
      properties:
        abs_path:
          maxLength: 1024
          type: string
        ctime:
          format: int64
          type: integer
        ex_dept_id:
          maxLength: 128
          type: string
        id:
          maxLength: 128
          minLength: 1
          type: string
        leaders:
          items:
            $ref: '#/components/schemas/leader_item'
          maxItems: 5
          type: array
        name:
          maxLength: 128
          minLength: 1
          type: string
        order:
          format: int64
          type: integer
        parent_id:
          maxLength: 128
          minLength: 1
          type: string
          x-tags:
            - ex:dept_id
        type:
          maxLength: 255
          minLength: 1
          type: string
      required:
        - id
        - name
        - order
        - parent_id
        - ctime
      type: object
    dept_item_compact:
      properties:
        abs_path:
          maxLength: 1024
          type: string
        id:
          maxLength: 128
          minLength: 1
          type: string
          x-tags:
            - ex:dept_id
        name:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - id
        - name
      type: object
    dept_list_with_highlight:
      properties:
        items:
          items:
            $ref: '#/components/schemas/dept_with_highlight'
          maxItems: 1000
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-tags:
            - public
        total:
          format: int64
          nullable: true
          type: integer
      required:
        - items
        - next_page_token
      title: dept_list_with_highlight
      type: object
    dept_member_item:
      properties:
        ctime:
          format: int64
          type: integer
        dept_id:
          maxLength: 20
          minLength: 1
          type: string
          x-tags:
            - ex:dept_id
        dept_info:
          allOf:
            - $ref: '#/components/schemas/dept_item_compact'
          nullable: true
          type: object
          x-omitempty: true
        is_leader:
          type: boolean
        mtime:
          format: int64
          type: integer
        order:
          format: int64
          type: integer
        user_id:
          maxLength: 20
          minLength: 1
          type: string
          x-tags:
            - ex:user_id
        user_info:
          allOf:
            - $ref: '#/components/schemas/user_compact'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - dept_id
        - user_id
        - is_leader
        - order
      title: 部门成员
      type: object
    dept_tree_item:
      allOf:
        - $ref: '#/components/schemas/dept_item'
      properties:
        has_permission:
          type: boolean
          x-omitempty: true
      type: object
    dept_with_highlight:
      allOf:
        - $ref: '#/components/schemas/dept'
      properties:
        high_light:
          allOf:
            - $ref: '#/components/schemas/map_string_array_string'
          type: object
      required:
        - high_light
      title: dept_with_highlight
      type: object
    designated_theme:
      properties:
        theme_id:
          format: int
          type: integer
      required:
        - theme_id
      type: object
    developer_app_detail_data:
      properties:
        callback_urls:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        description:
          maxLength: 1024
          type: string
        i18n:
          items:
            $ref: '#/components/schemas/application_i18n'
          maxItems: 1024
          type: array
        id:
          maxLength: 1024
          type: string
        logo:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        online_version_id:
          maxLength: 1024
          type: string
        owner:
          allOf:
            - $ref: '#/components/schemas/developer_app_owner'
          type: object
        scopes:
          items:
            $ref: '#/components/schemas/developer_app_scope'
          maxItems: 1024
          type: array
        status:
          allOf:
            - $ref: '#/components/schemas/app_status'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/app_mode'
          type: object
        unaudit_version_id:
          maxLength: 1024
          type: string
      required:
        - id
        - name
        - description
        - logo
        - status
        - type
        - callback_urls
        - online_version_id
        - unaudit_version_id
        - i18n
        - owner
        - scopes
      type: object
    developer_app_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/developer_app_detail_data'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        page_size:
          format: int64
          type: integer
        total:
          format: int64
          type: integer
      required:
        - next_page_token
        - page_size
        - total
        - items
      type: object
    developer_app_owner:
      properties:
        owner_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - owner_id
      type: object
    developer_app_scope:
      properties:
        auth_types:
          items:
            $ref: '#/components/schemas/permission_type'
          maxItems: 1024
          type: array
        description:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - name
        - description
        - auth_types
      type: object
    developer_application_subject:
      properties:
        id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
            - ex:dept_id
        name:
          maxLength: 1024
          type: string
        partner_company_id:
          maxLength: 1024
          type: string
        partner_id:
          maxLength: 1024
          type: string
        partner_name:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/developer_application_subject_type'
          type: object
      required:
        - id
        - type
      type: object
    developer_application_subject_type:
      enum:
        - company
        - dept
        - user
        - group
        - partner_dept
        - partner_user
        - external_user
      title: |
        企业可用范围目标类型。（ISV应用无关联组织信息，企业自建应用才有关联组织信息）
        company：企业；
        dept：部门；
        user：用户；
        partner_dept：关联组织部门；
        partner_user：关联组织用户；
        external_user：外部联系人；
        org_dimension：多维组织(仅私有化支持)；
        org_dimension_dept：多维组织部门(仅私有化支持)；
      type: string
      x-enum:
        - company
        - dept
        - user
        - group
        - partner_dept
        - partner_user
        - external_user
    developer_application_subjects:
      properties:
        items:
          items:
            $ref: '#/components/schemas/developer_application_subject'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
        - next_page_token
      type: object
    developer_apps_batch_get_resp:
      properties:
        items:
          items:
            $ref: '#/components/schemas/application_basic_data'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    developer_member:
      properties:
        company_id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        partner_id:
          maxLength: 1024
          type: string
        role:
          allOf:
            - $ref: '#/components/schemas/developer_member_role_type'
          type: object
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - user_id
        - name
        - role
      type: object
    developer_member_role_type:
      enum:
        - owner
        - manager
        - developer
        - operator
      title: |
        应用企业成员信息
        owner：应用所有者，拥有应用所有权限；
        manager：应用管理员，除了转让应用、删除应用，所有权限都有；
        developer：应用开发者，不能进行成员管理；
        operator：运营，最少的权限
      type: string
      x-enum:
        - owner
        - manager
        - developer
        - operator
    developer_members:
      properties:
        items:
          items:
            $ref: '#/components/schemas/developer_member'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    devhub_app_chat_cancel_req_body:
      properties:
        chat_id:
          maxLength: 1024
          type: string
      type: object
    devhub_app_chat_cancel_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    devhub_app_chat_create_req_body:
      properties:
        files:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        session_id:
          maxLength: 1024
          type: string
        text:
          maxLength: 1024
          type: string
        variables:
          items:
            $ref: '#/components/schemas/devhub_variable'
          maxItems: 1024
          type: array
      required:
        - text
      type: object
    devhub_app_chat_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/devhub_app_chat_create_resp_data'
      required:
        - data
      type: object
    devhub_app_chat_create_resp_data:
      properties:
        chat_id:
          maxLength: 1024
          type: string
        session_id:
          maxLength: 1024
          type: string
      required:
        - chat_id
      type: object
    devhub_app_detail:
      properties:
        app_id:
          maxLength: 1024
          type: string
        app_name:
          maxLength: 1024
          type: string
        scopes:
          items:
            $ref: '#/components/schemas/devhub_app_scope'
          maxItems: 1024
          type: array
        variables:
          items:
            $ref: '#/components/schemas/devhub_variable_detail'
          maxItems: 1024
          type: array
      required:
        - app_id
        - app_name
        - scopes
      type: object
    devhub_app_detail_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/devhub_app_detail'
      required:
        - data
      type: object
    devhub_app_scope:
      properties:
        scope:
          maxLength: 1024
          type: string
        type:
          maxLength: 1024
          type: string
      required:
        - type
        - scope
      type: object
    devhub_app_session_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/devhub_app_session_create_resp_data'
      required:
        - data
      type: object
    devhub_app_session_create_resp_data:
      properties:
        session_id:
          maxLength: 1024
          type: string
      required:
        - session_id
      type: object
    devhub_app_session_messages_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/devhub_session_message'
      required:
        - data
      type: object
    devhub_session_message:
      properties:
        files:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        id:
          maxLength: 1024
          type: string
        sender_name:
          maxLength: 1024
          type: string
        session_id:
          maxLength: 1024
          type: string
        text:
          maxLength: 1024
          type: string
        timestamp:
          maxLength: 1024
          type: string
      required:
        - id
        - timestamp
        - sender_name
        - session_id
        - text
        - files
      type: object
    devhub_variable:
      properties:
        key:
          maxLength: 1024
          type: string
        value:
          maxLength: 1024
          type: string
      required:
        - key
        - value
      type: object
    devhub_variable_detail:
      properties:
        desc:
          maxLength: 1024
          type: string
        key:
          maxLength: 1024
          type: string
      required:
        - key
        - desc
      type: object
    diff_external_instance_item:
      properties:
        instance_id:
          maxLength: 128
          minLength: 1
          type: string
        tasks:
          items:
            allOf:
              - $ref: '#/components/schemas/diff_external_instance_task'
            nullable: true
            type: object
          maxItems: 200
          minItems: 1
          type: array
        update_time:
          maxLength: 1024
          type: string
      required:
        - instance_id
        - update_time
        - tasks
      title: diff_external_instance_item
      type: object
    diff_external_instance_req_body:
      properties:
        instances:
          items:
            allOf:
              - $ref: '#/components/schemas/diff_external_instance_item'
            nullable: true
            type: object
          maxItems: 50
          minItems: 1
          type: array
      required:
        - instances
      title: diff_external_instance_req_body
      type: object
    diff_external_instance_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/external_instance_diff_list'
      required:
        - data
      type: object
    diff_external_instance_task:
      properties:
        task_id:
          maxLength: 128
          minLength: 1
          type: string
        update_time:
          maxLength: 1024
          type: string
      required:
        - task_id
        - update_time
      title: diff_external_instance_task
      type: object
    disable_app_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    doc_prop:
      properties:
        page_count:
          format: int
          type: integer
        page_props:
          items:
            $ref: '#/components/schemas/page_prop'
          maxItems: 1024
          type: array
      type: object
    doclib:
      properties:
        drive:
          allOf:
            - $ref: '#/components/schemas/drive'
          type: object
        group:
          allOf:
            - $ref: '#/components/schemas/group'
          type: object
        pinned:
          type: boolean
        user_role:
          allOf:
            - $ref: '#/components/schemas/group_member_role'
          type: object
      required:
        - drive
        - group
        - user_role
        - pinned
      type: object
    doclib_aidocs_switch_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    doclib_invite_url_resp:
      properties:
        invite_url:
          maxLength: 1024
          type: string
      required:
        - invite_url
      type: object
    doclib_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/doclib'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      type: object
    doclib_search_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/doclib_with_highlight'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      type: object
    doclib_settings:
      properties:
        allow_admin_manage:
          type: boolean
        allow_creator_manage:
          type: boolean
        file_share_scope:
          allOf:
            - $ref: '#/components/schemas/file_share_scope'
          type: object
        watermark:
          type: boolean
      required:
        - allow_admin_manage
        - watermark
        - allow_creator_manage
        - file_share_scope
      type: object
    doclib_switch_status_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aidocs_space_status'
      required:
        - data
      type: object
    doclib_with_highlight:
      allOf:
        - $ref: '#/components/schemas/doclib'
      properties:
        highlights:
          $ref: '#/components/schemas/map_string_array_string'
      required:
        - highlights
      type: object
    docqa_insight_chat_answer_citation:
      properties:
        reasoning_content:
          maxLength: 1024
          type: string
        relative_image_url:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        reply_faq_sources:
          items:
            $ref: '#/components/schemas/docqa_insight_chat_faq_data'
          maxItems: 1024
          type: array
        reply_sources:
          items:
            $ref: '#/components/schemas/docqa_insight_chat_file_data'
          maxItems: 1024
          type: array
        text:
          maxLength: 1024
          type: string
        timestamp:
          format: int64
          type: integer
        type:
          maxLength: 1024
          type: string
      required:
        - type
        - timestamp
        - reasoning_content
        - text
        - reply_sources
        - reply_faq_sources
        - relative_image_url
      type: object
    docqa_insight_chat_data:
      properties:
        code:
          format: int64
          type: integer
        dynamic:
          allOf:
            - $ref: '#/components/schemas/docqa_insight_chat_dynamic_data'
          type: object
        faq_content:
          items:
            $ref: '#/components/schemas/docqa_insight_chat_faq_data'
          maxItems: 1024
          type: array
        more:
          maxLength: 1024
          type: string
        qa_drive_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        qa_group_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        query:
          maxLength: 1024
          type: string
        recall_content:
          items:
            $ref: '#/components/schemas/docqa_insight_chat_recall_content'
          maxItems: 1024
          type: array
        relative_image_urls:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        result:
          allOf:
            - $ref: '#/components/schemas/docqa_insight_chat_result_content'
          type: object
        session_id:
          maxLength: 1024
          type: string
      required:
        - code
        - session_id
        - qa_group_ids
        - qa_drive_ids
        - query
        - more
        - recall_content
        - faq_content
        - result
        - dynamic
        - relative_image_urls
      type: object
    docqa_insight_chat_dynamic_data:
      properties:
        answer_citations:
          items:
            $ref: '#/components/schemas/docqa_insight_chat_answer_citation'
          maxItems: 1024
          type: array
        caution:
          maxLength: 1024
          type: string
        drive_id:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        filename:
          maxLength: 1024
          type: string
        intent:
          maxLength: 1024
          type: string
        is_abstract:
          type: boolean
        is_cache:
          type: boolean
        process_display:
          maxLength: 1024
          type: string
        rewrite_query:
          maxLength: 1024
          type: string
      required:
        - process_display
        - caution
        - rewrite_query
        - is_cache
        - is_abstract
        - answer_citations
        - intent
        - filename
        - drive_id
        - file_id
      type: object
    docqa_insight_chat_faq_data:
      properties:
        answer:
          maxLength: 1024
          type: string
        drive_id:
          maxLength: 1024
          type: string
        foot_mark:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        question:
          maxLength: 1024
          type: string
      required:
        - id
        - drive_id
        - question
        - answer
        - foot_mark
      type: object
    docqa_insight_chat_file_data:
      properties:
        fileid:
          format: int64
          type: integer
        fname:
          maxLength: 1024
          type: string
        foot_mark:
          format: int64
          type: integer
        link_url:
          maxLength: 1024
          type: string
        mtime:
          format: int64
          type: integer
        pages:
          items:
            $ref: '#/components/schemas/docqa_insight_chat_page'
          maxItems: 1024
          type: array
        scr_fileid:
          maxLength: 1024
          type: string
      required:
        - fileid
        - scr_fileid
        - mtime
        - link_url
        - fname
        - pages
        - foot_mark
      type: object
    docqa_insight_chat_file_meta:
      properties:
        file_meta:
          allOf:
            - $ref: '#/components/schemas/docqa_insight_chat_file_data'
          type: object
        score:
          format: double
          type: number
      required:
        - score
        - file_meta
      type: object
    docqa_insight_chat_model_parameter:
      properties:
        max_tokens:
          format: int64
          type: integer
        temperature:
          format: double
          type: number
        top_k:
          format: int64
          type: integer
        top_p:
          format: double
          type: number
      type: object
    docqa_insight_chat_page:
      properties:
        index:
          format: int64
          type: integer
        paragraphs:
          items:
            $ref: '#/components/schemas/docqa_insight_chat_paragraph'
          maxItems: 1024
          type: array
        score:
          format: double
          type: number
      type: object
    docqa_insight_chat_paragraph:
      properties:
        angle:
          format: double
          type: number
        bnd_box:
          allOf:
            - $ref: '#/components/schemas/map_string_float64'
          type: object
        content:
          maxLength: 1024
          type: string
        index:
          format: int64
          type: integer
        position:
          maxLength: 1024
          type: string
        ref_score:
          format: double
          type: number
        relative_image_url:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - index
        - ref_score
      type: object
    docqa_insight_chat_promptData:
      properties:
        model_parameter:
          allOf:
            - $ref: '#/components/schemas/docqa_insight_chat_model_parameter'
          type: object
        template:
          maxLength: 1024
          type: string
      type: object
    docqa_insight_chat_recall_content:
      properties:
        file_meta:
          allOf:
            - $ref: '#/components/schemas/docqa_insight_chat_file_meta'
          type: object
        score:
          format: double
          type: number
      required:
        - score
        - file_meta
      type: object
    docqa_insight_chat_req_body:
      properties:
        prompt_data:
          allOf:
            - $ref: '#/components/schemas/docqa_insight_chat_promptData'
          type: object
        qa_drive_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        qa_file_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        qa_group_names:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        search_name:
          maxLength: 1024
          type: string
        session_id:
          maxLength: 1024
          type: string
        switch_markdown:
          type: boolean
      required:
        - search_name
        - qa_drive_ids
        - qa_group_names
      type: object
    docqa_insight_chat_resp:
      properties:
        code:
          format: int64
          type: integer
        data:
          allOf:
            - $ref: '#/components/schemas/docqa_insight_chat_data'
          type: object
        msg:
          maxLength: 1024
          type: string
      required:
        - code
        - msg
      type: object
    docqa_insight_chat_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/docqa_insight_chat_resp'
      required:
        - data
      type: object
    docqa_insight_chat_result_content:
      properties:
        faq_sources:
          items:
            $ref: '#/components/schemas/docqa_insight_chat_faq_data'
          maxItems: 1024
          type: array
        file:
          items:
            $ref: '#/components/schemas/docqa_insight_chat_file_data'
          maxItems: 1024
          type: array
      required:
        - file
        - faq_sources
      type: object
    docqa_instore_recall_rank_chunk_info:
      properties:
        chunk_id:
          format: int64
          type: integer
        content:
          maxLength: 10240
          type: string
        drive_id:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        file_name:
          maxLength: 1024
          type: string
        image_url:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-omitempty: true
        link_url:
          maxLength: 1024
          type: string
        paragraphs:
          items:
            $ref: '#/components/schemas/docqa_instore_recall_rank_paragraphs_info'
          maxItems: 1024
          type: array
        ref_score:
          format: double
          type: number
      required:
        - file_id
        - file_name
        - link_url
        - drive_id
        - ref_score
        - chunk_id
        - content
        - paragraphs
      type: object
    docqa_instore_recall_rank_drive_info:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        file_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - drive_id
      type: object
    docqa_instore_recall_rank_paragraphs_info:
      properties:
        content:
          maxLength: 10240
          type: string
        content_type:
          maxLength: 1024
          type: string
        image_url:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
          x-omitempty: true
        level:
          format: int64
          type: integer
      required:
        - content_type
        - content
        - level
      type: object
    docqa_insight_recall_rank_req_body:
      properties:
        query:
          description: 检索关键词
          maxLength: 1024
          type: string
        topk:
          description: 返回结果数量上限
          maximum: 100
          minimum: 1
          type: integer
        drives:
          description: 文档库列表
          items:
            $ref: '#/components/schemas/docqa_insight_recall_rank_drive_info'
          type: array
        scene:
          description: 召回场景
          type: string
        start_time:
          description: 时间范围起始（Unix 时间戳）
          type: integer
        end_time:
          description: 时间范围结束（Unix 时间戳）
          type: integer
      required:
        - query
        - topk
      type: object
    docqa_insight_recall_rank_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          properties:
            chunks:
              items:
                $ref: '#/components/schemas/docqa_insight_recall_rank_chunk_info'
              type: array
          type: object
      type: object
    docqa_insight_recall_rank_chunk_info:
      properties:
        file_name:
          type: string
        file_id:
          type: string
        paragraphs:
          items:
            $ref: '#/components/schemas/docqa_insight_recall_rank_paragraphs_info'
          type: array
        score:
          type: number
      type: object
    docqa_insight_recall_rank_drive_info:
      properties:
        drive_id:
          type: string
        file_ids:
          items:
            type: string
          type: array
      type: object
    docqa_insight_recall_rank_faq_info:
      properties:
        answer:
          type: string
        question:
          type: string
      type: object
    docqa_insight_recall_rank_paragraphs_info:
      properties:
        content:
          type: string
        faq:
          $ref: '#/components/schemas/docqa_insight_recall_rank_faq_info'
        page_no:
          type: integer
      type: object
    docqa_instore_recall_rank_req_body:
      properties:
        drives:
          items:
            $ref: '#/components/schemas/docqa_instore_recall_rank_drive_info'
          maxItems: 1024
          type: array
        end_time:
          format: int64
          type: integer
        query:
          maxLength: 1024
          type: string
        scene:
          maxLength: 1024
          type: string
        start_time:
          format: int64
          type: integer
        topk:
          format: int
          maximum: 100
          type: integer
      required:
        - query
        - topk
      type: object
    docqa_instore_recall_rank_resp:
      properties:
        data:
          items:
            $ref: '#/components/schemas/docqa_instore_recall_rank_chunk_info'
          maxItems: 1024
          type: array
      required:
        - data
      type: object
    docqa_instore_recall_rank_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/docqa_instore_recall_rank_resp'
      required:
        - data
      type: object
    docqa_insight_switch_req_body:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        open:
          type: boolean
      required:
        - drive_id
        - open
      type: object
    docqa_insight_switch_resp:
      properties:
        code:
          format: int64
          type: integer
        msg:
          maxLength: 1024
          type: string
      required:
        - code
        - msg
      type: object
    docqa_insight_switch_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/docqa_insight_switch_resp'
      required:
        - data
      type: object
    docqa_instore_switch_req_body:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        is_knowledge_qa:
          type: boolean
      required:
        - drive_id
        - is_knowledge_qa
      type: object
    docqa_instore_switch_resp:
      properties:
        code:
          format: int64
          type: integer
        msg:
          maxLength: 1024
          type: string
      required:
        - code
        - msg
      type: object
    docqa_instore_switch_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/docqa_instore_switch_resp'
      required:
        - data
      type: object
    docqa_instore_switch_status_data:
      properties:
        analyzing_files:
          format: int64
          type: integer
        process_percentage:
          format: int64
          type: integer
        status:
          maxLength: 1024
          type: string
        total_files:
          format: int64
          type: integer
      required:
        - process_percentage
        - total_files
        - status
        - analyzing_files
      type: object
    docqa_instore_switch_status_resp:
      properties:
        code:
          format: int64
          type: integer
        data:
          allOf:
            - $ref: '#/components/schemas/docqa_instore_switch_status_data'
          type: object
        msg:
          maxLength: 1024
          type: string
      required:
        - code
        - msg
      type: object
    docqa_instore_switch_status_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/docqa_instore_switch_status_resp'
      required:
        - data
      type: object
    document_like:
      properties:
        created_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          nullable: true
          type: object
        ctime:
          format: int64
          type: integer
        mtime:
          format: int64
          type: integer
      required:
        - created_by
        - ctime
        - mtime
      type: object
    documents_attachments_attachment_info:
      properties:
        attachment_id:
          maxLength: 1024
          type: string
        download_url:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        size:
          format: int64
          type: integer
      required:
        - name
        - size
        - download_url
        - attachment_id
      type: object
    documents_attachments_batch_get_attachment_infos_req_body:
      properties:
        attachment_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - attachment_ids
      type: object
    documents_attachments_batch_get_attachment_infos_resp:
      properties:
        attachment_infos:
          items:
            $ref: '#/components/schemas/documents_attachments_attachment_info'
          maxItems: 1024
          type: array
      required:
        - attachment_infos
      type: object
    documents_attachments_batch_get_infos_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/documents_attachments_batch_get_attachment_infos_resp'
      required:
        - data
      type: object
    documents_attachments_get_upload_address_req_body:
      properties:
        content_type:
          maxLength: 1024
          type: string
        internal:
          type: boolean
        md5:
          maxLength: 1024
          type: string
        name:
          maxLength: 240
          type: string
        size:
          format: int64
          type: integer
      required:
        - name
        - size
      type: object
    documents_attachments_get_upload_address_resp:
      properties:
        request:
          $ref: '#/components/schemas/documents_attachments_get_upload_address_resp_request'
        send_back_params:
          $ref: '#/components/schemas/documents_attachments_get_upload_address_resp_send_back_params'
        upload_id:
          maxLength: 1024
          type: string
      required:
        - request
        - send_back_params
        - upload_id
      type: object
    documents_attachments_get_upload_address_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/documents_attachments_get_upload_address_resp'
      required:
        - data
      type: object
    documents_attachments_get_upload_address_resp_request:
      properties:
        headers:
          allOf:
            - $ref: '#/components/schemas/map_string_string'
          type: object
        method:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
      required:
        - url
        - method
      type: object
    documents_attachments_get_upload_address_resp_send_back_params:
      properties:
        etag:
          maxLength: 1024
          type: string
        key:
          maxLength: 1024
          type: string
      required:
        - etag
        - key
      type: object
    documents_attachments_upload_complete_req_body:
      properties:
        params:
          $ref: '#/components/schemas/documents_attachments_upload_complete_req_body_params'
        upload_id:
          maxLength: 1024
          type: string
      required:
        - upload_id
        - params
      type: object
    documents_attachments_upload_complete_req_body_params:
      properties:
        etag:
          maxLength: 1024
          type: string
        key:
          maxLength: 1024
          type: string
      required:
        - etag
        - key
      type: object
    documents_attachments_upload_complete_resp:
      properties:
        attachment_id:
          maxLength: 1024
          type: string
        kind:
          maxLength: 1024
          type: string
      required:
        - attachment_id
        - kind
      type: object
    documents_attachments_upload_complete_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/documents_attachments_upload_complete_resp'
      required:
        - data
      type: object
    documents_attachments_upload_file_req_body:
      properties:
        file:
          format: binary
          maxLength: 1024
          type: string
      required:
        - file
      type: object
    documents_attachments_upload_file_resp:
      properties:
        size:
          format: int64
          type: integer
        upload_id:
          maxLength: 1024
          type: string
      required:
        - upload_id
      type: object
    documents_attachments_upload_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/documents_attachments_upload_file_resp'
      required:
        - data
      type: object
    documents_comment:
      properties:
        content:
          maxLength: 1024
          type: string
        created_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          nullable: true
          type: object
        ctime:
          format: int64
          type: integer
        id:
          format: int64
          type: integer
        mtime:
          format: int64
          type: integer
        origin_id:
          format: int64
          nullable: true
          type: integer
          x-omitempty: true
        reply_id:
          format: int64
          nullable: true
          type: integer
          x-omitempty: true
        reply_to:
          allOf:
            - $ref: '#/components/schemas/identity'
          nullable: true
          type: object
          x-omitempty: true
        status:
          allOf:
            - $ref: '#/components/schemas/enum_documents_comment_status'
          type: object
      required:
        - id
        - created_by
        - ctime
        - mtime
        - status
        - content
      type: object
    documents_comment_create_req_body:
      properties:
        content:
          maxLength: 5000
          minLength: 1
          type: string
          x-escape: false
        origin_id:
          format: int64
          type: integer
        reply_id:
          format: int64
          type: integer
      required:
        - content
      type: object
    documents_comment_update_req_body:
      properties:
        content:
          maxLength: 5000
          minLength: 1
          type: string
          x-escape: false
      required:
        - content
      type: object
    documents_exports_cloud_store_params:
      properties:
        file_name:
          maxLength: 1024
          type: string
        group_id:
          format: int64
          type: integer
        parent_id:
          format: int64
          type: integer
      required:
        - parent_id
        - group_id
      type: object
    documents_exports_create_export_task_req_body:
      properties:
        cloud_store:
          allOf:
            - $ref: '#/components/schemas/documents_exports_cloud_store_params'
          type: object
        file_version:
          maxLength: 1024
          type: string
        format:
          maxLength: 1024
          type: string
        ks3_store:
          allOf:
            - $ref: '#/components/schemas/documents_exports_ks3store_params'
          type: object
        need_compress:
          type: boolean
        password:
          maxLength: 1024
          type: string
        sheet_idx:
          format: int32
          type: integer
        store_type:
          maxLength: 1024
          type: string
        with_attachment:
          type: boolean
      required:
        - format
        - store_type
      type: object
    documents_exports_create_export_task_resp:
      properties:
        task_id:
          maxLength: 1024
          type: string
      required:
        - task_id
      type: object
    documents_exports_create_export_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/documents_exports_create_export_task_resp'
      required:
        - data
      type: object
    documents_exports_export_task_result:
      properties:
        file_id:
          maxLength: 1024
          type: string
        file_name:
          maxLength: 1024
          type: string
        files:
          items:
            $ref: '#/components/schemas/documents_exports_export_task_result_exported_file_data'
          maxItems: 1024
          type: array
        folder_names:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        folder_url:
          maxLength: 1024
          type: string
        key:
          maxLength: 1024
          type: string
        redirect_url:
          maxLength: 1024
          type: string
        size:
          format: int64
          type: integer
        store_key:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
        without_attachment:
          type: boolean
      required:
        - file_id
        - folder_names
        - without_attachment
        - files
      type: object
    documents_exports_export_task_result_exported_file_data:
      properties:
        file_id:
          maxLength: 1024
          type: string
        file_name:
          maxLength: 1024
          type: string
        redirect_url:
          maxLength: 1024
          type: string
      required:
        - file_id
        - file_name
        - redirect_url
      type: object
    documents_exports_get_export_task_resp:
      properties:
        result:
          allOf:
            - $ref: '#/components/schemas/documents_exports_export_task_result'
          type: object
        status:
          maxLength: 1024
          type: string
      required:
        - status
      type: object
    documents_exports_get_export_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/documents_exports_get_export_task_resp'
      required:
        - data
      type: object
    documents_exports_ks3store_params:
      properties:
        disable_x_origin:
          type: boolean
        download_name:
          maxLength: 1024
          type: string
        with_size:
          type: boolean
      type: object
    documents_likes_list_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/document_like'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        total:
          format: int64
          type: integer
      required:
        - total
        - items
        - next_page_token
      type: object
    documents_likes_list_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/documents_likes_list_data'
      required:
        - data
      type: object
    domain:
      properties:
        id:
          maxLength: 1024
          type: string
        is_admin_managed:
          type: boolean
        is_verified:
          type: boolean
        supported_service:
          allOf:
            - $ref: '#/components/schemas/supported_service'
          type: object
      required:
        - id
        - is_admin_managed
        - is_verified
        - supported_service
      type: object
    domain_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/domain'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    domains_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/domain_list'
      required:
        - data
      type: object
    download_data:
      properties:
        hashes:
          items:
            $ref: '#/components/schemas/hash'
          maxItems: 1024
          type: array
        url:
          maxLength: 1024
          type: string
      required:
        - url
      type: object
    download_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/download_data'
      required:
        - data
      type: object
    download_version_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/download_data'
      required:
        - data
      type: object
    drive:
      properties:
        allotee_id:
          maxLength: 1024
          type: string
        allotee_type:
          allOf:
            - $ref: '#/components/schemas/enum_allotee_type'
          type: object
        company_id:
          maxLength: 1024
          type: string
        created_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        ctime:
          format: int64
          type: integer
        description:
          maxLength: 1024
          type: string
        ext_attrs:
          items:
            $ref: '#/components/schemas/extended_attribute'
          maxItems: 1024
          type: array
          x-omitempty: true
        id:
          maxLength: 1024
          type: string
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        quota:
          allOf:
            - $ref: '#/components/schemas/drive_quota'
          type: object
        source:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/enum_drive_status'
          type: object
      required:
        - id
        - name
        - allotee_type
        - allotee_id
        - company_id
        - created_by
        - ctime
        - mtime
        - description
        - quota
        - status
        - source
      title: 驱动盘
      type: object
    drive_file:
      properties:
        created_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        ctime:
          format: int64
          type: integer
        drive:
          allOf:
            - $ref: '#/components/schemas/drive'
          nullable: true
          type: object
          x-omitempty: true
        drive_id:
          maxLength: 1024
          type: string
        ext_attrs:
          items:
            $ref: '#/components/schemas/extended_attribute'
          maxItems: 1024
          type: array
          x-omitempty: true
        hash:
          allOf:
            - $ref: '#/components/schemas/hash'
          nullable: true
          type: object
        id:
          maxLength: 1024
          type: string
        link_id:
          maxLength: 1024
          type: string
        link_url:
          maxLength: 1024
          type: string
        modified_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        parent_id:
          maxLength: 1024
          type: string
        permission:
          allOf:
            - $ref: '#/components/schemas/permission_bits'
          nullable: true
          type: object
          x-omitempty: true
        size:
          format: int64
          type: integer
        type:
          $ref: '#/components/schemas/enum_file_type'
        version:
          format: int
          type: integer
      required:
        - id
        - drive_id
        - parent_id
        - created_by
        - modified_by
        - size
        - version
        - type
        - name
        - ctime
        - mtime
        - link_url
        - link_id
        - drive
      title: 我发出的文件信息,添加盘信息
      type: object
    drive_file_hash_type_enum:
      enum:
        - "no"
        - sha256
        - sm3
        - md5
      type: string
      x-enum:
        - "no"
        - sha256
        - sm3
        - md5
    drive_file_operate_type_enum:
      enum:
        - new
        - update
        - delete
        - recycle
        - recover
        - rename
        - clear
      type: string
      x-enum:
        - new
        - update
        - delete
        - recycle
        - recover
        - rename
        - clear
    drive_label_batch_add_object:
      allOf:
        - $ref: '#/components/schemas/drive_label_batch_object'
    drive_label_batch_add_objects_req_body:
      properties:
        objects:
          items:
            $ref: '#/components/schemas/drive_label_batch_add_object'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - objects
      type: object
    drive_label_batch_object:
      properties:
        id:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/label_object_type'
          type: object
      required:
        - id
        - type
      type: object
    drive_label_batch_remove_objects_req_body:
      properties:
        objects:
          items:
            $ref: '#/components/schemas/drive_label_batch_object'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - objects
      type: object
    drive_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/drive'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      title: 获取盘列表
      type: object
    drive_quota:
      properties:
        deleted:
          format: int64
          type: integer
        remaining:
          format: int64
          type: integer
        total:
          format: int64
          type: integer
        used:
          format: int64
          type: integer
      required:
        - total
        - used
        - remaining
        - deleted
      title: 盘容量
      type: object
    drive_toggle_code_enum:
      enum:
        - wait
        - running
        - fail
        - finish
      type: string
      x-enum:
        - wait
        - running
        - fail
        - finish
    drive_toggle_file_convert_fail:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        file_name:
          maxLength: 1024
          type: string
        msg:
          maxLength: 1024
          type: string
      required:
        - drive_id
        - file_id
        - file_name
      type: object
    drive_toggle_operate_type_enum:
      enum:
        - open
        - reopen
        - close
        - delete
        - clear
      type: string
      x-enum:
        - open
        - reopen
        - close
        - delete
        - clear
    edit_visibility_rule_req_body:
      properties:
        include_local_dept:
          type: boolean
        subject_objs:
          items:
            $ref: '#/components/schemas/visibility_object'
          maxItems: 100
          minItems: 1
          type: array
        subject_objs_exclude_list:
          items:
            $ref: '#/components/schemas/visibility_object'
          maxItems: 100
          type: array
        visible_objs:
          items:
            $ref: '#/components/schemas/visibility_object'
          maxItems: 100
          type: array
        visible_type:
          allOf:
            - $ref: '#/components/schemas/visibility_rule_type'
          type: object
      required:
        - visible_type
        - subject_objs
      title: edit_visibility_rule_req_body
      type: object
    enable_app_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    encrypted_docs_access_rights:
      properties:
        operation_ids:
          items:
            $ref: '#/components/schemas/enum_operation_id'
          maxItems: 1024
          type: array
        principal_id:
          maxLength: 1024
          type: string
        principal_type:
          allOf:
            - $ref: '#/components/schemas/enum_principal_type'
          type: object
      required:
        - principal_id
        - principal_type
        - operation_ids
      type: object
    encrypted_docs_access_rights_data:
      properties:
        access_rights:
          items:
            allOf:
              - $ref: '#/components/schemas/encrypted_docs_access_rights_with_title'
            nullable: true
            type: object
          maxItems: 1024
          type: array
      required:
        - access_rights
      type: object
    encrypted_docs_access_rights_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/encrypted_docs_access_rights_data'
      required:
        - data
      type: object
    encrypted_docs_access_rights_update_req_body:
      properties:
        access_rights:
          items:
            allOf:
              - $ref: '#/components/schemas/encrypted_docs_access_rights'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        operator_id:
          maxLength: 1024
          type: string
      required:
        - operator_id
        - access_rights
      type: object
    encrypted_docs_access_rights_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    encrypted_docs_access_rights_with_title:
      allOf:
        - $ref: '#/components/schemas/encrypted_docs_access_rights'
      properties:
        principal_title:
          maxLength: 1024
          type: string
      required:
        - principal_title
      type: object
    encrypted_docs_decrypt_req_body:
      properties:
        file_id:
          maxLength: 1024
          type: string
        operator_id:
          maxLength: 1024
          type: string
      required:
        - operator_id
        - file_id
      type: object
    encrypted_docs_decrypt_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    encrypted_docs_encrypt_data:
      properties:
        guid:
          maxLength: 1024
          type: string
      required:
        - guid
      type: object
    encrypted_docs_encrypt_req_body:
      properties:
        access_rights:
          items:
            allOf:
              - $ref: '#/components/schemas/encrypted_docs_access_rights'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        file_id:
          maxLength: 1024
          type: string
        operator_id:
          maxLength: 1024
          type: string
      required:
        - operator_id
        - file_id
      type: object
    encrypted_docs_encrypt_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/encrypted_docs_encrypt_data'
      required:
        - data
      type: object
    encrypted_docs_info_data:
      properties:
        guid:
          maxLength: 1024
          type: string
      required:
        - guid
      type: object
    encrypted_docs_info_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/encrypted_docs_info_data'
      required:
        - data
      type: object
    encrypted_docs_tickets:
      properties:
        doc_id:
          maxLength: 1024
          type: string
        guid:
          maxLength: 1024
          type: string
        offline_ticket:
          maxLength: 1024
          type: string
        online_ticket:
          maxLength: 1024
          type: string
      required:
        - doc_id
        - guid
        - online_ticket
        - offline_ticket
      type: object
    encrypted_docs_tickets_create_req_body:
      properties:
        access_rights:
          items:
            allOf:
              - $ref: '#/components/schemas/encrypted_docs_access_rights'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        content_key:
          maxLength: 4096
          type: string
        doc_sign:
          maxLength: 40960
          minLength: 1
          type: string
        encryption_algorithm:
          maxLength: 1024
          type: string
        ext_data_sign:
          maxLength: 40960
          minLength: 1
          type: string
        file_name:
          maxLength: 1024
          type: string
        file_type:
          allOf:
            - $ref: '#/components/schemas/enum_sec_doc_file_type'
          type: object
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
        - file_type
        - doc_sign
        - content_key
      type: object
    encrypted_docs_tickets_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/encrypted_docs_tickets'
      required:
        - data
      type: object
    encrypted_docs_tickets_decrypt:
      properties:
        content_key:
          maxLength: 1024
          type: string
        creator_id:
          maxLength: 1024
          type: string
        doc_id:
          maxLength: 1024
          type: string
        guid:
          maxLength: 1024
          type: string
      required:
        - doc_id
        - guid
        - content_key
        - creator_id
      type: object
    encrypted_docs_tickets_decrypt_req_body:
      properties:
        doc_name:
          maxLength: 4096
          type: string
        doc_sign:
          maxLength: 4096
          type: string
        encryption_algorithm:
          maxLength: 1024
          type: string
        ext_data_sign:
          maxLength: 40960
          type: string
        guid:
          maxLength: 1024
          type: string
        offline_ticket:
          maxLength: 40960
          type: string
        online_ticket:
          maxLength: 40960
          type: string
      required:
        - guid
        - doc_sign
        - online_ticket
      type: object
    encrypted_docs_tickets_decrypt_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/encrypted_docs_tickets_decrypt'
      required:
        - data
      type: object
    encrypted_docs_tickets_update_req_body:
      properties:
        access_rights:
          items:
            allOf:
              - $ref: '#/components/schemas/encrypted_docs_access_rights'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        content_key:
          maxLength: 4096
          type: string
        doc_sign:
          maxLength: 40960
          minLength: 1
          type: string
        encryption_algorithm:
          maxLength: 1024
          type: string
        ext_data_sign:
          maxLength: 40960
          minLength: 1
          type: string
        file_name:
          maxLength: 1024
          type: string
        file_type:
          allOf:
            - $ref: '#/components/schemas/enum_sec_doc_file_type'
          type: object
        guid:
          maxLength: 1024
          type: string
        update_access_rights:
          type: boolean
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
        - guid
        - file_type
        - update_access_rights
        - doc_sign
        - content_key
      type: object
    encrypted_docs_tickets_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/encrypted_docs_tickets'
      required:
        - data
      type: object
    encrypted_docs_update_req_body:
      properties:
        encrypted_file_id:
          maxLength: 1024
          type: string
        operator_id:
          maxLength: 1024
          type: string
        plain_file_id:
          maxLength: 1024
          type: string
      required:
        - operator_id
        - encrypted_file_id
        - plain_file_id
      type: object
    encrypted_docs_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    encrypted_docs_user_access_rights_data:
      properties:
        access_rights:
          allOf:
            - $ref: '#/components/schemas/encrypted_docs_access_rights_with_title'
          type: object
      required:
        - access_rights
      type: object
    encrypted_docs_user_access_rights_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/encrypted_docs_user_access_rights_data'
      required:
        - data
      type: object
    end_meeting_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    entitlement:
      properties:
        allocated:
          format: int64
          type: integer
        can_allocate:
          type: boolean
        desc:
          maxLength: 128
          minLength: 1
          type: string
        expire_at:
          format: int64
          type: integer
        key:
          maxLength: 128
          minLength: 1
          type: string
        name:
          maxLength: 128
          minLength: 1
          type: string
        order_type:
          allOf:
            - $ref: '#/components/schemas/order_type'
          type: object
        product_type:
          allOf:
            - $ref: '#/components/schemas/store_product_type'
          type: object
        start_at:
          format: int64
          type: integer
        total:
          format: int64
          type: integer
      required:
        - key
        - name
        - desc
        - total
        - allocated
        - start_at
        - expire_at
        - product_type
      type: object
    enum_ai_table_intent_code:
      enum:
        - classify
        - extract
        - summarize
        - other
      type: string
      x-enum:
        - classify
        - extract
        - summarize
        - other
    enum_ai_table_scene:
      enum:
        - ask_data
        - operation_table
        - quick_build_table
        - batch_generate
      type: string
      x-enum:
        - ask_data
        - operation_table
        - quick_build_table
        - batch_generate
    enum_allocation_state:
      enum:
        - active
        - disabled
        - cancel
        - expired
      title: 分配记录状态
      type: string
      x-enum:
        - active
        - disabled
        - cancel
        - expired
    enum_allotee_type:
      enum:
        - user
        - group
        - app
      title: 盘归属身份类型
      type: string
      x-enum:
        - user
        - group
        - app
    enum_batch_create_mail_contact_member_on_conflict:
      enum:
        - override
        - reject
      type: string
      x-enum:
        - override
        - reject
    enum_contact_type:
      enum:
        - personal
        - public
        - group
        - unknown
      type: string
      x-enum:
        - personal
        - public
        - group
        - unknown
    enum_decrypt_output_mode:
      enum:
        - overwrite
        - new_file
      type: string
      x-enum:
        - overwrite
        - new_file
    enum_documents_comment_status:
      enum:
        - normal
        - deleted
      type: string
      x-enum:
        - normal
        - deleted
    enum_drive_status:
      enum:
        - inuse
        - deleted
      title: 盘状态
      type: string
      x-enum:
        - normal
        - deleted
    enum_entity_type:
      enum:
        - user
        - app
        - company
      title: 被分配对象实体类型
      type: string
      x-enum:
        - user
        - app
        - company
    enum_file_type:
      enum:
        - folder
        - file
        - shortcut
      title: '文件类型:'
      type: string
      x-enum:
        - folder
        - file
        - shortcut
    enum_hash_type:
      enum:
        - sha256
        - md5
        - sha1
        - s2s
      type: string
      x-enum:
        - sha256
        - md5
        - sha1
        - s2s
    enum_location_type:
      enum:
        - link
        - user
        - group
        - roaming
        - app
      type: string
      x-enum:
        - link
        - user
        - group
        - roaming
        - app
    enum_mail_folder_type:
      enum:
        - user_folder
        - system_folder
      type: string
      x-enum:
        - user_folder
        - system_folder
    enum_mail_migration_state:
      enum:
        - pending
        - running
        - paused
        - failed
        - cancelled
        - success
        - closed
      type: string
      x-enum:
        - pending
        - running
        - paused
        - failed
        - cancelled
        - success
        - closed
    enum_mail_task_status:
      enum:
        - preparing
        - running
        - finish
      type: string
      x-enum:
        - preparing
        - running
        - finish
    enum_mail_task_type:
      enum:
        - mail_contacts_create
        - mail_contacts_update
        - mail_contacts_delete
      type: string
      x-enum:
        - mail_contacts_create
        - mail_contacts_update
        - mail_contacts_delete
    enum_mailbox_type:
      enum:
        - user
        - public
        - group
        - other
      type: string
      x-enum:
        - user
        - public
        - group
        - other
    enum_multipart_upload_mode:
      enum:
        - sequential
        - parallel
      type: string
      x-enum:
        - sequential
        - parallel
    enum_on_conflict:
      enum:
        - override
        - reject
      type: string
      x-enum:
        - override
        - reject
    enum_operation_id:
      enum:
        - authorize
        - read_only
        - edit
        - save_as
        - copy
        - print
        - offline
        - pdf_remark
        - pdf_page_edit
        - pdf_convert
        - pdf_form_edit
      type: string
      x-enum:
        - authorize
        - read_only
        - edit
        - save_as
        - copy
        - print
        - offline
        - pdf_remark
        - pdf_page_edit
        - pdf_convert
        - pdf_form_edit
    enum_order:
      enum:
        - desc
        - asc
      type: string
      x-enum:
        - desc
        - asc
    enum_order_by:
      enum:
        - ctime
        - mtime
        - dtime
        - fname
        - fsize
      type: string
      x-enum:
        - ctime
        - mtime
        - dtime
        - fname
        - fsize
    enum_permission_setting:
      enum:
        - allow_guest_create_upload
        - share_entity
        - copy_content_entity
        - save_as_entity
        - upload_entity
        - rename_entity
        - move_entity
      type: string
      x-enum:
        - allow_guest_create_upload
        - share_entity
        - copy_content_entity
        - save_as_entity
        - upload_entity
        - rename_entity
        - move_entity
    enum_principal_type:
      enum:
        - user
        - group
        - dept
      type: string
      x-enum:
        - user
        - group
        - dept
    enum_public_mailbox_object_type:
      enum:
        - department
        - user
      type: string
      x-enum:
        - department
        - user
    enum_public_mailbox_permission_type:
      enum:
        - send_only
        - all
      type: string
      x-enum:
        - send
        - all
    enum_sec_doc_file_type:
      enum:
        - word
        - excel
        - ppt
        - pdf
        - ofd
      type: string
      x-enum:
        - word
        - excel
        - ppt
        - pdf
        - ofd
    enum_store_order_delivery_type:
      enum:
        - activation_code
        - instant
      type: string
      x-enum:
        - activation_code
        - instant
    enum_store_order_purchase_type:
      enum:
        - trial
        - buy
        - gift_with_buy
        - internal_test
      type: string
      x-enum:
        - trial
        - buy
        - gift_with_buy
        - internal_test
    enum_store_order_source:
      enum:
        - open_eco_partner
      type: string
      x-enum:
        - open_eco_partner
    enum_store_order_term_by:
      enum:
        - day
        - month
        - year
      type: string
      x-enum:
        - day
        - month
        - year
    enum_store_order_type:
      enum:
        - purchase
        - renewal
      type: string
      x-enum:
        - purchase
        - renewal
    enum_stream_status:
      enum:
        - web_search_processing
        - web_search_done
        - outline_processing
        - outline_done
        - think_processing
        - think_done
        - finish
        - ping
        - error
      type: string
      x-enum:
        - web_search_processing
        - web_search_done
        - outline_processing
        - outline_done
        - think_processing
        - think_done
        - finish
        - ping
        - error
    enum_task_status:
      enum:
        - success
        - running
        - failed
      type: string
      x-enum:
        - success
        - running
        - failed
    enum_upload_scene:
      enum:
        - normal_upload
        - roaming_upload
      type: string
      x-enum:
        - normal_upload
        - roaming_upload
    enum_vector_index_open_scene:
      enum:
        - ai_search
        - ai_qa
        - ai_graphic
        - ai_public_knowledge
        - all
      type: string
      x-enum:
        - ai_search
        - ai_qa
        - ai_graphic
        - ai_public_knowledge
        - all
    enum_vector_index_query_mode:
      enum:
        - drive
        - private
        - temp
        - share
        - roaming
        - file
      type: string
      x-enum:
        - drive
        - private
        - temp
        - share
        - roaming
        - file
    et_get_regional_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_et_get_regional_permission_resp'
      required:
        - data
      type: object
    event:
      properties:
        calendar_id:
          maxLength: 1024
          type: string
        description:
          maxLength: 2000
          type: string
        end_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          type: object
        free_busy_status:
          $ref: '#/components/schemas/free_busy_status'
        id:
          maxLength: 1024
          type: string
        locations:
          items:
            $ref: '#/components/schemas/calendar_location'
          maxItems: 1024
          type: array
        online_meeting:
          allOf:
            - $ref: '#/components/schemas/calendar_online_meeting_resp_body'
          nullable: true
          type: object
        organizer:
          allOf:
            - $ref: '#/components/schemas/calendar_organizer'
          type: object
        original_start_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          nullable: true
          type: object
        recurrence:
          allOf:
            - $ref: '#/components/schemas/recurrence'
          nullable: true
          type: object
        recurring_event_id:
          maxLength: 1024
          type: string
        reminders:
          items:
            $ref: '#/components/schemas/calendar_reminder'
          maxItems: 1024
          type: array
        start_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          type: object
        status:
          $ref: '#/components/schemas/event_status'
        summary:
          maxLength: 1200
          type: string
        visibility:
          $ref: '#/components/schemas/event_visibility'
      required:
        - id
        - summary
        - description
        - start_time
        - end_time
        - calendar_id
        - original_start_time
        - visibility
        - free_busy_status
        - organizer
        - status
      type: object
    event_instance:
      properties:
        calendar_id:
          maxLength: 1024
          type: string
        description:
          maxLength: 2000
          type: string
        end_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          type: object
        free_busy_status:
          $ref: '#/components/schemas/free_busy_status'
        id:
          maxLength: 1024
          type: string
        locations:
          items:
            $ref: '#/components/schemas/calendar_location'
          maxItems: 1024
          type: array
        online_meeting:
          allOf:
            - $ref: '#/components/schemas/calendar_online_meeting'
          nullable: true
          type: object
        organizer:
          allOf:
            - $ref: '#/components/schemas/calendar_organizer'
          type: object
        recurring_event_id:
          maxLength: 1024
          type: string
        reminders:
          items:
            $ref: '#/components/schemas/calendar_reminder'
          maxItems: 1024
          type: array
        start_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          type: object
        status:
          $ref: '#/components/schemas/event_status'
        summary:
          maxLength: 1200
          type: string
        visibility:
          $ref: '#/components/schemas/event_visibility'
      required:
        - id
        - summary
        - description
        - start_time
        - end_time
        - calendar_id
        - visibility
        - free_busy_status
        - organizer
        - status
      type: object
    event_instances_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/event_instance'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    event_instances_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/event_instances_data'
      required:
        - data
      type: object
    event_meeting_room:
      properties:
        booking_id:
          maxLength: 1024
          type: string
        fail_reason:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        result:
          $ref: '#/components/schemas/meeting_room_booking_result'
        room_id:
          maxLength: 1024
          type: string
      required:
        - room_id
        - booking_id
        - name
        - result
      type: object
    event_mod_type:
      enum:
        - one
        - all
      type: string
      x-enum:
        - one
        - all
    event_status:
      enum:
        - normal
        - cancelled
      type: string
      x-enum:
        - normal
        - cancelled
    event_time_range:
      properties:
        end:
          format: datetime
          maxLength: 1024
          type: string
        start:
          format: datetime
          maxLength: 1024
          type: string
      required:
        - start
        - end
      type: object
    event_visibility:
      enum:
        - default
        - public
        - private
      type: string
      x-enum:
        - default
        - public
        - private
    exchange_binding:
      properties:
        admin_account:
          maxLength: 1024
          type: string
        exchange_account:
          maxLength: 1024
          type: string
        exchange_binding_id:
          maxLength: 1024
          type: string
        status:
          $ref: '#/components/schemas/exchange_status'
        user_id:
          maxLength: 1024
          type: string
      required:
        - exchange_binding_id
        - admin_account
        - exchange_account
        - user_id
        - status
      type: object
    exchange_binding_req_body:
      properties:
        admin_account:
          maxLength: 1024
          type: string
        exchange_account:
          maxLength: 1024
          type: string
        user_id:
          maxLength: 1024
          type: string
      required:
        - admin_account
        - exchange_account
        - user_id
      type: object
    exchange_status:
      enum:
        - syncing
        - sync_done
        - password_error
        - sync_failed
      type: string
      x-enum:
        - syncing
        - sync_done
        - password_error
        - sync_failed
    export_business_params:
      properties:
        cache_param:
          allOf:
            - $ref: '#/components/schemas/file_export_cache_param'
          type: object
        convert_options:
          allOf:
            - $ref: '#/components/schemas/file_export_convert_options'
          type: object
        enable_html_format_table:
          type: boolean
        enable_multi_threading:
          type: boolean
        format:
          allOf:
            - $ref: '#/components/schemas/file_dst_format'
          type: object
        include_elements:
          maxLength: 1024
          type: string
        open_args:
          allOf:
            - $ref: '#/components/schemas/file_export_open_args'
          type: object
        password:
          maxLength: 1024
          type: string
        pdf_convert_options:
          allOf:
            - $ref: '#/components/schemas/file_export_pdf_convert_options'
          type: object
        return_mode:
          maxLength: 1024
          type: string
        task_duration:
          maxLength: 1024
          type: string
        url_expire:
          format: int
          type: integer
        urls:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        wpp_convert_options:
          allOf:
            - $ref: '#/components/schemas/file_export_wpp_convert_options'
          type: object
      required:
        - format
      type: object
    export_file_req_body:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        file_ext:
          allOf:
            - $ref: '#/components/schemas/exporter_file_ext'
          type: object
        file_key:
          maxLength: 1024
          type: string
        file_name:
          maxLength: 1024
          type: string
        file_size:
          format: int
          type: integer
        file_source:
          maxLength: 1024
          type: string
        file_url:
          maxLength: 1024
          type: string
        generate_type:
          allOf:
            - $ref: '#/components/schemas/outline_generate_mode'
          type: object
        switch_v2:
          type: boolean
      required:
        - file_size
        - file_ext
        - file_name
      type: object
    export_pxf_from_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/pxf_root'
      required:
        - data
      type: object
    export_pxf_from_text_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/pxf_root'
      required:
        - data
      type: object
    export_pxf_from_theme_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/pxf_root'
      required:
        - data
      type: object
    exporter_file_ext:
      enum:
        - pdf
        - otl
        - docx
        - doc
        - wpt
        - wps
        - pof
        - xmind
        - pos
        - mmap
      type: string
      x-enum:
        - pdf
        - otl
        - docx
        - doc
        - wpt
        - wps
        - pof
        - xmind
        - pos
        - mmap
    extended_attribute:
      properties:
        name:
          maxLength: 1024
          type: string
        value:
          maxLength: 1024
          type: string
      required:
        - name
        - value
      title: 自定义扩展属性
      type: object
    external_define:
      properties:
        define_code:
          maxLength: 1024
          type: string
        define_config:
          allOf:
            - $ref: '#/components/schemas/external_define_config'
          type: object
        group_id:
          format: int64
          type: integer
        icon:
          allOf:
            - $ref: '#/components/schemas/approval_define_icon_type'
          type: object
        name:
          maxLength: 1024
          type: string
        setting:
          allOf:
            - $ref: '#/components/schemas/external_define_setting'
          nullable: true
          type: object
        visible_scopes:
          items:
            $ref: '#/components/schemas/approval_visible_scope'
          maxItems: 1024
          type: array
      required:
        - name
        - icon
        - define_code
        - group_id
        - setting
        - visible_scopes
        - define_config
      title: external_define
      type: object
    external_define_config:
      properties:
        biz_name:
          maxLength: 64
          minLength: 1
          type: string
        create_link_mobile:
          maxLength: 3000
          type: string
        create_link_pc:
          maxLength: 3000
          type: string
        exclude_efficiency_statistics:
          nullable: true
          type: boolean
      title: external_define_config
      type: object
    external_define_setting:
      properties:
        is_show_in_backend_page:
          nullable: true
          type: boolean
        is_show_in_home_page:
          nullable: true
          type: boolean
      title: external_define_setting
      type: object
    external_instance:
      properties:
        cc_list:
          items:
            allOf:
              - $ref: '#/components/schemas/external_instance_cc'
            nullable: true
            type: object
          maxItems: 200
          type: array
          x-omitempty: true
        create_time:
          maxLength: 1024
          type: string
        creator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        define_code:
          maxLength: 1024
          type: string
        efficiency_stats_disabled:
          type: boolean
          x-omitempty: true
        end_time:
          maxLength: 1024
          type: string
          x-omitempty: true
        form:
          items:
            allOf:
              - $ref: '#/components/schemas/external_instance_form_data'
            nullable: true
            type: object
          maxItems: 3
          type: array
          x-omitempty: true
        instance_id:
          maxLength: 1024
          type: string
        links:
          allOf:
            - $ref: '#/components/schemas/external_instance_link'
          nullable: true
          type: object
        status:
          allOf:
            - $ref: '#/components/schemas/external_instance_status'
          type: object
        task_list:
          items:
            allOf:
              - $ref: '#/components/schemas/external_instance_task'
            nullable: true
            type: object
          maxItems: 300
          type: array
          x-omitempty: true
        title:
          maxLength: 1024
          type: string
        update_mode:
          allOf:
            - $ref: '#/components/schemas/external_instance_update_mode'
          type: object
        update_time:
          maxLength: 1024
          type: string
      required:
        - instance_id
        - define_code
        - title
        - creator
        - status
        - create_time
        - update_time
        - update_mode
        - links
      title: external_instance
      type: object
    external_instance_cc:
      properties:
        cc_id:
          maxLength: 128
          minLength: 1
          type: string
        create_time:
          maxLength: 1024
          type: string
        links:
          allOf:
            - $ref: '#/components/schemas/external_instance_link'
          nullable: true
          type: object
        read_status:
          allOf:
            - $ref: '#/components/schemas/external_instance_cc_read_status'
          nullable: true
          type: object
          x-omitempty: true
        title:
          maxLength: 256
          minLength: 1
          type: string
          x-omitempty: true
        update_time:
          maxLength: 1024
          type: string
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - user_id
        - cc_id
        - create_time
        - update_time
        - links
      title: external_instance_cc
      type: object
    external_instance_cc_read_status:
      enum:
        - read
        - unread
      title: external_instance_cc_read_status
      type: string
      x-enum:
        - read
        - unread
    external_instance_diff_list:
      properties:
        diff_instances:
          items:
            allOf:
              - $ref: '#/components/schemas/diff_external_instance_item'
            nullable: true
            type: object
          maxItems: 1024
          type: array
      required:
        - diff_instances
      title: external_instance_diff_list
      type: object
    external_instance_form_data:
      properties:
        name:
          maxLength: 1024
          type: string
          x-omitempty: true
        value:
          maxLength: 1024
          type: string
          x-omitempty: true
      title: external_instance_form_data
      type: object
    external_instance_link:
      properties:
        mobile_link:
          maxLength: 3000
          minLength: 1
          type: string
          x-omitempty: true
        pc_link:
          maxLength: 3000
          minLength: 1
          type: string
      required:
        - pc_link
      title: external_instance_link
      type: object
    external_instance_status:
      enum:
        - pending
        - approved
        - rejected
        - revoked
        - deleted
        - terminated
      title: external_instance_status
      type: string
      x-enum:
        - pending
        - approved
        - rejected
        - revoked
        - deleted
        - terminated
    external_instance_task:
      properties:
        action_context:
          maxLength: 3000
          type: string
        complete_reason:
          allOf:
            - $ref: '#/components/schemas/external_instance_task_complete_reason'
          nullable: true
          type: object
        create_time:
          maxLength: 1024
          type: string
        efficiency_stats_disabled:
          type: boolean
          x-omitempty: true
        end_time:
          maxLength: 1024
          type: string
          x-omitempty: true
        extra:
          maxLength: 3000
          type: string
          x-omitempty: true
        links:
          allOf:
            - $ref: '#/components/schemas/external_instance_link'
          nullable: true
          type: object
        node_id:
          format: int
          type: integer
          x-omitempty: true
        node_name:
          maxLength: 256
          minLength: 1
          type: string
          x-omitempty: true
        status:
          allOf:
            - $ref: '#/components/schemas/external_instance_task_status'
          type: object
        task_id:
          maxLength: 128
          minLength: 1
          type: string
        title:
          maxLength: 256
          minLength: 1
          type: string
          x-omitempty: true
        update_time:
          maxLength: 1024
          type: string
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - task_id
        - user_id
        - status
        - links
        - create_time
        - update_time
      title: external_instance_task
      type: object
    external_instance_task_complete_reason:
      enum:
        - approved
        - rejected
        - specific_rollback
        - add_pre
        - add_post
        - forward
        - forward_resign
        - recall
        - deleted
        - admin_forward
        - system_forward
        - others
      title: external_instance_task_complete_reason
      type: string
      x-enum:
        - approved
        - rejected
        - specific_rollback
        - add_pre
        - add_post
        - forward
        - forward_resign
        - recall
        - deleted
        - admin_forward
        - system_forward
        - others
    external_instance_task_status:
      enum:
        - pending
        - approved
        - rejected
        - transferred
        - done
      title: external_instance_task_status
      type: string
      x-enum:
        - pending
        - approved
        - rejected
        - transferred
        - done
    external_instance_update_mode:
      enum:
        - replace
        - update
      title: external_instance_update_mode
      type: string
      x-enum:
        - replace
        - update
    external_task_list:
      properties:
        data:
          items:
            allOf:
              - $ref: '#/components/schemas/list_external_task_item'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        has_more:
          type: boolean
        page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - data
        - has_more
      title: external_task_list
      type: object
    extract_commit_data:
      properties:
        task_id:
          maxLength: 1024
          type: string
      required:
        - task_id
      type: object
    extract_commit_req_body:
      properties:
        file_id:
          maxLength: 1024
          type: string
        file_url:
          maxLength: 1024
          type: string
        item_name:
          allOf:
            - $ref: '#/components/schemas/extract_fields'
          type: object
      required:
        - file_id
        - file_url
        - item_name
      type: object
    extract_commit_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/extract_commit_data'
      required:
        - data
      type: object
    extract_extra:
      properties:
        parent:
          maxLength: 1024
          type: string
        position:
          maxLength: 1024
          type: string
      required:
        - parent
        - position
      type: object
    extract_field:
      properties:
        desc:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - name
        - desc
      type: object
    extract_fields:
      properties:
        extra:
          allOf:
            - $ref: '#/components/schemas/extract_extra'
          type: object
        fields:
          items:
            $ref: '#/components/schemas/extract_field'
          maxItems: 1024
          type: array
        type:
          maxLength: 1024
          type: string
      required:
        - type
        - fields
      type: object
    extract_res_req_body:
      properties:
        task_id:
          maxLength: 1024
          type: string
      required:
        - task_id
      type: object
    extract_res_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aidocs_extract_task_result'
      required:
        - data
      type: object
    extract_task_data:
      properties:
        key:
          maxLength: 1024
          type: string
        value:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - key
        - value
      type: object
    fee_of_skus_item:
      properties:
        fee_of_add:
          format: int64
          type: integer
        fee_of_purchase:
          format: int64
          type: integer
        fee_of_renew:
          format: int64
          type: integer
        fee_of_total:
          format: int64
          type: integer
        fee_of_upgrade:
          format: int64
          type: integer
        sub_request_id:
          maxLength: 1024
          type: string
      required:
        - sub_request_id
        - fee_of_total
        - fee_of_add
        - fee_of_purchase
        - fee_of_renew
        - fee_of_upgrade
      type: object
    file:
      properties:
        created_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        ctime:
          format: int64
          type: integer
        drive:
          allOf:
            - $ref: '#/components/schemas/drive'
          nullable: true
          type: object
          x-omitempty: true
        drive_id:
          maxLength: 1024
          type: string
        ext_attrs:
          items:
            $ref: '#/components/schemas/extended_attribute'
          maxItems: 1024
          type: array
          x-omitempty: true
        id:
          maxLength: 1024
          type: string
        link_id:
          maxLength: 1024
          type: string
        link_url:
          maxLength: 1024
          type: string
        modified_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        parent_id:
          maxLength: 1024
          type: string
        permission:
          allOf:
            - $ref: '#/components/schemas/permission_bits'
          nullable: true
          type: object
          x-omitempty: true
        shared:
          type: boolean
          x-tags:
            - public
        size:
          format: int64
          type: integer
        type:
          allOf:
            - $ref: '#/components/schemas/enum_file_type'
          type: object
        version:
          format: int
          type: integer
      required:
        - id
        - drive_id
        - parent_id
        - created_by
        - modified_by
        - size
        - version
        - type
        - name
        - ctime
        - mtime
        - link_url
        - link_id
        - shared
      title: 文件信息
      type: object
    file_acls_item:
      properties:
        permission:
          allOf:
            - $ref: '#/components/schemas/permission_bits'
          type: object
        permission_bits:
          allOf:
            - $ref: '#/components/schemas/permission_bits'
          type: object
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - user_id
        - permission
        - permission_bits
      type: object
    file_api_mode:
      enum:
        - sync
        - async
        - auto
      type: string
      x-enum:
        - sync
        - async
        - auto
    file_classification_label_approval_info_data:
      properties:
        approval_info:
          allOf:
            - $ref: '#/components/schemas/file_classification_label_approval_info_resp'
          nullable: true
          type: object
      required:
        - approval_info
      type: object
    file_classification_label_approval_info_resp:
      properties:
        action:
          format: int64
          type: integer
        company_id:
          maxLength: 1024
          type: string
        current_label_info:
          allOf:
            - $ref: '#/components/schemas/file_classification_label_info'
          nullable: true
          type: object
        file_id:
          maxLength: 1024
          type: string
        login_name:
          maxLength: 1024
          type: string
        target_label_info:
          allOf:
            - $ref: '#/components/schemas/file_classification_label_info'
          nullable: true
          type: object
        target_label_version:
          format: int64
          minimum: 1
          type: integer
        user_id:
          maxLength: 1024
          type: string
      required:
        - company_id
        - file_id
        - action
        - user_id
        - login_name
        - target_label_version
        - current_label_info
        - target_label_info
      type: object
    file_classification_label_approval_info_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file_classification_label_approval_info_data'
      required:
        - data
      type: object
    file_classification_label_info:
      properties:
        id:
          maxLength: 1024
          type: string
        level:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
        - level
      type: object
    file_classification_label_info_resp:
      properties:
        file_id:
          maxLength: 1024
          type: string
        label_info:
          allOf:
            - $ref: '#/components/schemas/file_classification_label_info'
          nullable: true
          type: object
      required:
        - file_id
        - label_info
      type: object
    file_classification_labels_attach_req_body:
      properties:
        check_user_permission:
          type: boolean
        company_id:
          maxLength: 1024
          minLength: 1
          type: string
        file_id:
          maxLength: 1024
          minLength: 1
          type: string
        label_version:
          format: int64
          minimum: 1
          type: integer
        user_id:
          maxLength: 1024
          type: string
      required:
        - company_id
        - file_id
      type: object
    file_classification_labels_attach_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    file_classification_labels_batch_get_data:
      properties:
        label_info_list:
          items:
            allOf:
              - $ref: '#/components/schemas/file_classification_label_info_resp'
            nullable: true
            type: object
          maxItems: 1024
          type: array
      required:
        - label_info_list
      type: object
    file_classification_labels_batch_get_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file_classification_labels_batch_get_data'
      required:
        - data
      type: object
    file_classification_labels_check_data:
      properties:
        label_attached:
          type: boolean
      required:
        - label_attached
      type: object
    file_classification_labels_check_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file_classification_labels_check_data'
      required:
        - data
      type: object
    file_classification_labels_detach_req_body:
      properties:
        check_user_permission:
          type: boolean
        company_id:
          maxLength: 1024
          minLength: 1
          type: string
        file_id:
          maxLength: 1024
          minLength: 1
          type: string
        user_id:
          maxLength: 1024
          type: string
      required:
        - company_id
        - file_id
      type: object
    file_classification_labels_detach_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    file_comment:
      properties:
        company_id:
          maxLength: 1024
          type: string
        duration:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        parent_id:
          maxLength: 1024
          type: string
        review_status:
          allOf:
            - $ref: '#/components/schemas/file_comment_review_status'
          type: object
        text:
          maxLength: 1024
          type: string
        time:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/file_comment_type'
          type: object
        user_id:
          maxLength: 1024
          type: string
        user_name:
          maxLength: 1024
          type: string
      required:
        - parent_id
        - id
        - text
        - review_status
        - type
        - time
        - user_id
        - user_name
      type: object
    file_comment_review_status:
      enum:
        - success
        - ing
        - fail
        - default
      title: 审核状态
      type: string
      x-enum:
        - success
        - ing
        - fail
        - default
    file_comment_type:
      enum:
        - text
        - voice
      title: 评论类型
      type: string
      x-enum:
        - text
        - voice
    file_content:
      properties:
        attachment_url:
          maxLength: 1024
          type: string
        doc:
          allOf:
            - $ref: '#/components/schemas/kdc_document'
          type: object
        doc_url:
          maxLength: 1024
          type: string
        dst_format:
          $ref: '#/components/schemas/file_dst_format'
        file_info:
          allOf:
            - $ref: '#/components/schemas/kdc_file_info'
          type: object
        html:
          maxLength: 1024
          type: string
        is_partly_exported:
          type: boolean
        markdown:
          maxLength: 1024
          type: string
        plain:
          maxLength: 1024
          type: string
        src_format:
          $ref: '#/components/schemas/file_src_format'
        src_format_detail:
          maxLength: 1024
          type: string
        version:
          maxLength: 1024
          type: string
      required:
        - version
        - src_format
        - src_format_detail
        - dst_format
        - file_info
        - is_partly_exported
        - attachment_url
        - doc_url
      type: object
    file_content_data:
      allOf:
        - $ref: '#/components/schemas/file_content'
      properties:
        task_id:
          maxLength: 1024
          type: string
          x-tags:
            - public
        task_status:
          allOf:
            - $ref: '#/components/schemas/enum_task_status'
          type: object
          x-tags:
            - public
      type: object
    file_delete_to:
      enum:
        - first
        - second
        - permanent
      type: string
      x-enum:
        - first
        - second
        - permanent
    file_dst_format:
      enum:
        - kdc
        - plain
        - markdown
        - html
      type: string
      x-enum:
        - kdc
        - plain
        - markdown
        - html
    file_export_cache_param:
      properties:
        cache_expire:
          format: int
          type: integer
        file_version:
          maxLength: 1024
          type: string
        force_cache:
          type: boolean
        match_level:
          format: int
          type: integer
        version_tolerance:
          format: int
          type: integer
      type: object
    file_export_convert_options:
      properties:
        auto_figure_dpi:
          type: boolean
        disable_pdf_detection:
          type: boolean
        enable_core_export_md:
          type: boolean
        enable_upload_medias:
          type: boolean
        figure_dpi:
          format: int
          type: integer
        fixed_chunk_size:
          type: boolean
        get_comment:
          type: boolean
        ignore_cell_height:
          type: boolean
        ignore_cell_width:
          type: boolean
        ignore_display_text:
          type: boolean
        ignore_run_prop:
          type: boolean
        ignore_style_ref:
          type: boolean
        is_md_table_html:
          type: boolean
        min_export_page_num:
          format: int
          type: integer
        ocr_option:
          maxLength: 1024
          type: string
        ofd_engine_type:
          allOf:
            - $ref: '#/components/schemas/kdc_ofd_engine_type'
          type: object
        page_range:
          maxLength: 1024
          type: string
        pdf_engine:
          allOf:
            - $ref: '#/components/schemas/kdc_pdf_engine'
          type: object
        revision_show_mode:
          allOf:
            - $ref: '#/components/schemas/revision_show_mode'
          type: object
        with_comment:
          type: boolean
        workbook_range:
          allOf:
            - $ref: '#/components/schemas/workbook_range'
          type: object
      type: object
    file_export_open_args:
      properties:
        enable_html_format_table:
          type: boolean
        password:
          maxLength: 1024
          type: string
        pdf_edet_opt:
          format: int
          type: integer
      type: object
    file_export_pdf_convert_options:
      properties:
        fast_mode:
          type: boolean
      type: object
    file_export_wpp_convert_options:
      properties:
        disable_placeholder_content:
          type: boolean
      type: object
    file_from_cloud_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ft_file_from_cloud_result'
      required:
        - data
      type: object
    file_inherit:
      properties:
        link:
          allOf:
            - $ref: '#/components/schemas/link_inherit'
          type: object
      required:
        - link
      type: object
    file_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/file'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      title: 文件列表
      type: object
    file_parse_data:
      properties:
        file_content:
          allOf:
            - $ref: '#/components/schemas/aiopen_file_content'
          type: object
      required:
        - file_content
      type: object
    file_path:
      properties:
        location_id:
          maxLength: 1024
          type: string
        location_type:
          allOf:
            - $ref: '#/components/schemas/enum_location_type'
          type: object
        paths:
          items:
            $ref: '#/components/schemas/path_segment'
          maxItems: 1024
          type: array
      required:
        - paths
        - location_type
        - location_id
      type: object
    file_role_type:
      enum:
        - preset
        - custom
        - file_custom
      type: string
      x-enum:
        - role_type_preset
        - role_type_custom
        - file_custom
    file_save_as_req_body:
      properties:
        dst_drive_id:
          maxLength: 1024
          type: string
          x-type: int64
        dst_parent_id:
          maxLength: 1024
          type: string
        name:
          maxLength: 240
          minLength: 1
          type: string
        on_name_conflict:
          allOf:
            - $ref: '#/components/schemas/on_name_conflict'
          type: object
      required:
        - dst_parent_id
        - dst_drive_id
      type: object
    file_save_as_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file'
      required:
        - data
      type: object
    file_search_enum_order_by:
      enum:
        - ctime
        - mtime
      type: string
      x-enum:
        - ctime
        - mtime
    file_search_enum_scope:
      enum:
        - all
        - share_by_me
        - share_to_me
        - latest
        - personal_drive
        - group_drive
        - recycle
        - customize
        - latest_opened
        - latest_edited
      type: string
      x-enum:
        - all
        - share_by_me
        - share_to_me
        - latest
        - personal_drive
        - group_drive
        - recycle
        - customize
        - latest_opened
        - latest_edited
    file_search_type:
      enum:
        - file_name
        - content
        - all
      type: string
      x-enum:
        - file_name
        - content
        - all
    file_share_scope:
      enum:
        - no_limit
        - group
      type: string
      x-enum:
        - no_limit
        - group
    file_source:
      properties:
        name:
          maxLength: 1024
          type: string
        path:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/file_source_type'
          type: object
      required:
        - name
        - type
      type: object
    file_source_type:
      enum:
        - link
        - user_private
        - user_roaming
        - group_normal
        - group_dept
        - group_whole
      type: string
      x-enum:
        - link
        - user_private
        - user_roaming
        - group_normal
        - group_dept
        - group_whole
    file_src_format:
      enum:
        - docx
        - doc
        - dot
        - wps
        - wpt
        - dotx
        - docm
        - dotm
        - rtf
        - uot
        - mht
        - mhtml
        - htm
        - html
        - xml
        - xls
        - xlt
        - et
        - ett
        - xlsx
        - xltx
        - csv
        - xlsm
        - xltm
        - xlsb
        - uos
        - ksheet
        - pptx
        - ppt
        - pot
        - potx
        - pps
        - ppsx
        - dps
        - dpt
        - pptm
        - potm
        - ppsm
        - uop
        - pdf
        - ofd
        - uof
        - jpg
        - jpeg
        - png
        - gif
        - bmp
        - tif
        - tiff
        - psd
        - svg
        - vsd
        - vsdx
        - txt
        - log
        - c
        - cpp
        - java
        - lrc
        - h
        - asm
        - s
        - asp
        - bat
        - bas
        - prg
        - cmd
        - cdr
        - epub
        - dbf
        - otl
        - dbt
        - mtm
      type: string
      x-enum:
        - docx
        - doc
        - dot
        - wps
        - wpt
        - dotx
        - docm
        - dotm
        - rtf
        - uot
        - mht
        - mhtml
        - htm
        - html
        - xml
        - xls
        - xlt
        - et
        - ett
        - xlsx
        - xltx
        - csv
        - xlsm
        - xltm
        - xlsb
        - uos
        - ksheet
        - pptx
        - ppt
        - pot
        - potx
        - pps
        - ppsx
        - dps
        - dpt
        - pptm
        - potm
        - ppsm
        - uop
        - pdf
        - ofd
        - uof
        - jpg
        - jpeg
        - png
        - gif
        - bmp
        - tif
        - tiff
        - psd
        - svg
        - vsd
        - vsdx
        - txt
        - log
        - c
        - cpp
        - java
        - lrc
        - h
        - asm
        - s
        - asp
        - bat
        - bas
        - prg
        - cmd
        - cdr
        - epub
        - dbf
        - otl
        - dbt
        - mtm
    files_attachments_batch_get_infos_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_files_attachments_batch_get_attachment_infos_resp'
      required:
        - data
      type: object
    files_attachments_batch_get_thumbnails_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_files_attachments_batch_get_attachment_thumbnails_resp'
      required:
        - data
      type: object
    files_attachments_get_upload_address_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_files_attachments_get_upload_address_resp'
      required:
        - data
      type: object
    files_attachments_info_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_files_attachments_get_attachment_info_resp'
      required:
        - data
      type: object
    files_attachments_upload_complete_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_files_attachments_upload_complete_resp'
      required:
        - data
      type: object
    files_attachments_upload_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_files_attachments_upload_file_resp'
      required:
        - data
      type: object
    files_generation_mode_enum:
      enum:
        - directory
        - view
      type: string
      x-enum:
        - directory
        - view
    files_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/coop_files_rollback_file_rollback_status_resp'
      required:
        - data
      type: object
    files_search_file:
      properties:
        creator_id:
          maxLength: 1024
          type: string
        ctime:
          format: int64
          type: integer
        drive_id:
          maxLength: 1024
          type: string
        file_content:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        size:
          format: int64
          type: integer
      required:
        - drive_id
        - file_id
        - name
        - file_content
        - ctime
        - mtime
        - creator_id
        - size
      type: object
    files_search_item:
      properties:
        file:
          allOf:
            - $ref: '#/components/schemas/files_search_file'
          type: object
        highlights:
          allOf:
            - $ref: '#/components/schemas/map_string_array_string'
          type: object
      required:
        - file
        - highlights
      type: object
    files_search_order_enum:
      enum:
        - desc
        - asc
      type: string
      x-enum:
        - desc
        - asc
    files_search_order_type_enum:
      enum:
        - ctime
        - mtime
      type: string
      x-enum:
        - ctime
        - mtime
    files_search_time_type_enum:
      enum:
        - ctime
        - mtime
      type: string
      x-enum:
        - ctime
        - mtime
    files_search_type_enum:
      enum:
        - name
        - content
      type: string
      x-enum:
        - name
        - content
    filter:
      properties:
        client_type:
          maxLength: 1024
          type: string
        component:
          maxLength: 1024
          type: string
        entry:
          maxLength: 1024
          type: string
        product:
          maxLength: 1024
          type: string
      type: object
    free_busy:
      properties:
        busy_times:
          items:
            $ref: '#/components/schemas/event_time_range'
          maxItems: 1024
          type: array
        room_id:
          maxLength: 1024
          type: string
        user_id:
          maxLength: 1024
          type: string
      required:
        - busy_times
      type: object
    free_busy_status:
      enum:
        - busy
        - free
      type: string
      x-enum:
        - busy
        - free
    freq_item:
      properties:
        ctime:
          format: int64
          type: integer
        drive:
          allOf:
            - $ref: '#/components/schemas/drive'
          nullable: true
          type: object
          x-omitempty: true
        file:
          allOf:
            - $ref: '#/components/schemas/file'
          nullable: true
          type: object
          x-omitempty: true
        file_src:
          allOf:
            - $ref: '#/components/schemas/file_source'
          nullable: true
          type: object
          x-omitempty: true
        object_type:
          allOf:
            - $ref: '#/components/schemas/label_object_type'
          type: object
        position:
          format: int64
          type: integer
      required:
        - object_type
        - position
        - ctime
      type: object
    ft_batch_delete_req_body:
      properties:
        account_id:
          maxLength: 32
          minLength: 1
          type: string
        account_type:
          maxLength: 32
          minLength: 1
          type: string
        box:
          maxLength: 32
          minLength: 1
          type: string
        file_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          minItems: 1
          type: array
      required:
        - account_id
        - account_type
        - file_ids
        - box
      type: object
    ft_batch_delete_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    ft_download_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ft_download_result'
      required:
        - data
      type: object
    ft_download_result:
      properties:
        url:
          maxLength: 1024
          type: string
      required:
        - url
      type: object
    ft_drives_update_req_body:
      properties:
        bucket:
          maxLength: 255
          minLength: 1
          type: string
        drive_id:
          maxLength: 64
          minLength: 1
          type: string
      required:
        - drive_id
        - bucket
      type: object
    ft_drives_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ft_drives_update_result'
      required:
        - data
      type: object
    ft_drives_update_result:
      properties:
        bucket:
          maxLength: 255
          minLength: 1
          type: string
        id:
          maxLength: 64
          minLength: 1
          type: string
      required:
        - id
        - bucket
      type: object
    ft_encrypt_jwks_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ft_encrypt_jwks_result'
      required:
        - data
      type: object
    ft_encrypt_jwks_result:
      properties:
        key:
          maxLength: 1024
          type: string
      required:
        - key
      type: object
    ft_file_from_cloud_req_body:
      properties:
        account_id:
          maxLength: 32
          minLength: 1
          type: string
        account_type:
          maxLength: 32
          minLength: 1
          type: string
        download_url:
          maxLength: 1024
          minLength: 1
          type: string
        name:
          maxLength: 32
          minLength: 1
          type: string
        parent_path:
          items:
            maxLength: 32
            minLength: 1
            type: string
          maxItems: 12
          minItems: 1
          type: array
        size:
          format: int64
          type: integer
        task_id:
          maxLength: 64
          minLength: 1
          type: string
      required:
        - account_id
        - account_type
        - download_url
        - name
        - size
        - task_id
        - parent_path
      type: object
    ft_file_from_cloud_result:
      properties:
        file_id:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - file_id
      type: object
    ft_file_preview_req_body:
      properties:
        account_id:
          maxLength: 32
          minLength: 1
          type: string
        account_type:
          maxLength: 32
          minLength: 1
          type: string
        box:
          maxLength: 32
          minLength: 1
          type: string
        expire_time:
          format: int64
          type: integer
        file_id:
          maxLength: 32
          minLength: 1
          type: string
        preview_account_id:
          maxLength: 32
          minLength: 1
          type: string
        preview_account_type:
          maxLength: 32
          minLength: 1
          type: string
        preview_mode:
          maxLength: 32
          minLength: 1
          type: string
        type:
          maxLength: 32
          minLength: 1
          type: string
        wps_preview:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - account_id
        - account_type
        - file_id
        - type
        - box
        - preview_account_id
        - preview_account_type
      type: object
    ft_file_preview_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ft_file_preview_result'
      required:
        - data
      type: object
    ft_file_preview_result:
      properties:
        expiration:
          format: int64
          type: integer
        preview_token:
          maxLength: 32
          minLength: 1
          type: string
        url:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - url
        - expiration
        - preview_token
      type: object
    ft_percent_req_body:
      properties:
        account_id:
          maxLength: 32
          minLength: 1
          type: string
        account_type:
          maxLength: 32
          minLength: 1
          type: string
        file_ids:
          items:
            maxLength: 32
            minLength: 1
            type: string
          maxItems: 1024
          type: array
      required:
        - account_id
        - account_type
      type: object
    ft_percent_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ft_percent_result'
      required:
        - data
      type: object
    ft_percent_result:
      properties:
        approval_preview_url:
          maxLength: 1024
          type: string
        extra:
          maxLength: 2000
          minLength: 1
          type: string
        fail_detail:
          maxLength: 1024
          type: string
        fail_type:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 32
          minLength: 1
          type: string
        file_type:
          maxLength: 32
          minLength: 1
          type: string
        finish_end:
          format: int64
          type: integer
        name:
          maxLength: 32
          minLength: 1
          type: string
        scan_preview_url:
          maxLength: 1024
          type: string
        stage:
          format: int64
          type: integer
        status:
          format: int64
          type: integer
        task_id:
          maxLength: 32
          minLength: 1
          type: string
        transfer_end:
          format: int64
          type: integer
        transfer_start:
          format: int64
          type: integer
      required:
        - file_id
        - task_id
        - name
        - file_type
        - stage
        - status
        - fail_type
        - fail_detail
        - scan_preview_url
        - approval_preview_url
        - extra
        - transfer_start
        - transfer_end
        - finish_end
      type: object
    ft_status_batch_update_req_body:
      properties:
        account_id:
          maxLength: 32
          minLength: 1
          type: string
        account_type:
          maxLength: 32
          minLength: 1
          type: string
        approval_preview_url:
          maxLength: 1024
          type: string
        box:
          maxLength: 32
          minLength: 1
          type: string
        extra:
          maxLength: 2000
          minLength: 1
          type: string
        fail_detail:
          maxLength: 1024
          type: string
        fail_type:
          maxLength: 1024
          type: string
        fails:
          items:
            $ref: '#/components/schemas/ft_status_fail_detail'
          maxItems: 1024
          type: array
        scan_preview_url:
          maxLength: 1024
          type: string
        stage:
          format: int64
          type: integer
        status:
          format: int64
          type: integer
        task_id:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - account_id
        - account_type
        - task_id
        - box
        - stage
        - status
        - fail_type
        - fail_detail
        - scan_preview_url
        - approval_preview_url
        - extra
      type: object
    ft_status_batch_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    ft_status_fail_detail:
      properties:
        fail_detail:
          maxLength: 1024
          type: string
        fail_type:
          maxLength: 1024
          type: string
        file_ids:
          items:
            maxLength: 32
            minLength: 1
            type: string
          maxItems: 1024
          type: array
        transfer_ids:
          items:
            maxLength: 32
            minLength: 1
            type: string
          maxItems: 1024
          type: array
      required:
        - fail_type
        - fail_detail
      type: object
    ft_status_update_req_body:
      properties:
        account_id:
          maxLength: 32
          minLength: 1
          type: string
        account_type:
          maxLength: 32
          minLength: 1
          type: string
        approval_preview_url:
          maxLength: 1024
          type: string
        extra:
          maxLength: 2000
          minLength: 1
          type: string
        fail_detail:
          maxLength: 1024
          type: string
        fail_type:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 32
          minLength: 1
          type: string
        over_write:
          format: int64
          type: integer
        scan_preview_url:
          maxLength: 1024
          type: string
        stage:
          format: int64
          type: integer
        status:
          format: int64
          type: integer
        transfer_id:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - account_id
        - account_type
        - over_write
        - stage
        - status
        - fail_type
        - fail_detail
        - scan_preview_url
        - approval_preview_url
        - extra
      type: object
    ft_status_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    ft_task_approval:
      properties:
        approval_reason:
          maxLength: 255
          minLength: 1
          type: string
        dept_id:
          maxLength: 32
          minLength: 1
          type: string
        need_approval:
          type: boolean
        preview_url:
          maxLength: 255
          minLength: 1
          type: string
      required:
        - need_approval
        - approval_reason
        - preview_url
        - dept_id
      type: object
    ft_task_commit_req_body:
      properties:
        account_id:
          maxLength: 32
          minLength: 1
          type: string
        account_type:
          maxLength: 32
          minLength: 1
          type: string
        approval_info:
          allOf:
            - $ref: '#/components/schemas/ft_task_approval'
          type: object
        box:
          maxLength: 32
          minLength: 1
          type: string
        task_id:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - account_id
        - account_type
        - task_id
        - box
      type: object
    ft_task_commit_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ft_task_commit_result'
      required:
        - data
      type: object
    ft_task_commit_result:
      properties:
        is_finish:
          format: int64
          type: integer
        task_id:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - task_id
        - is_finish
      type: object
    ft_task_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ft_task_create_result'
      required:
        - data
      type: object
    ft_task_create_result:
      properties:
        task_id:
          maxLength: 64
          minLength: 1
          type: string
      required:
        - task_id
      type: object
    ft_transfer_approval_req_body:
      properties:
        account_id:
          maxLength: 32
          minLength: 1
          type: string
        account_type:
          maxLength: 32
          minLength: 1
          type: string
        approval_info:
          allOf:
            - $ref: '#/components/schemas/ft_task_approval'
          type: object
        task_id:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - account_id
        - account_type
        - task_id
        - approval_info
      type: object
    ft_transfer_approval_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ft_transfer_approval_result'
      required:
        - data
      type: object
    ft_transfer_approval_result:
      properties:
        id:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - id
      type: object
    ft_transfer_fail_type_custom_item:
      properties:
        fail_custom:
          maxLength: 1024
          type: string
        fail_type:
          maxLength: 1024
          type: string
      required:
        - fail_type
        - fail_custom
      type: object
    ft_transfer_fail_type_custom_req_body:
      properties:
        custom_fail_info:
          items:
            $ref: '#/components/schemas/ft_transfer_fail_type_custom_item'
          maxItems: 1024
          type: array
      required:
        - custom_fail_info
      type: object
    ft_transfer_fail_type_custom_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    ft_update_commit_result:
      properties:
        file_id:
          format: int64
          type: integer
        is_finish:
          format: int64
          type: integer
      required:
        - file_id
        - is_finish
      type: object
    ft_update_init_result:
      properties:
        part_count:
          maxLength: 1024
          type: string
        part_size:
          format: int64
          type: integer
        upload_id:
          maxLength: 1024
          type: string
      required:
        - upload_id
        - part_count
        - part_size
      type: object
    ft_update_result:
      properties:
        file_id:
          format: int64
          type: integer
        is_finish:
          format: int64
          type: integer
      required:
        - file_id
        - is_finish
      type: object
    ft_update_sign_result:
      properties:
        part_count:
          maxLength: 1024
          type: string
        part_number:
          format: int64
          type: integer
        part_size:
          format: int64
          type: integer
      required:
        - part_number
        - part_count
        - part_size
      type: object
    ft_upload_commit_req_body:
      properties:
        account_id:
          maxLength: 32
          minLength: 1
          type: string
        account_type:
          maxLength: 32
          minLength: 1
          type: string
        box:
          maxLength: 32
          minLength: 1
          type: string
        multipart_store_response:
          items:
            $ref: '#/components/schemas/multipart_store_part_response'
          maxItems: 1024
          type: array
        name:
          maxLength: 32
          minLength: 1
          type: string
        outbox_company_id:
          maxLength: 32
          minLength: 1
          type: string
        outbox_file_id:
          maxLength: 32
          minLength: 1
          type: string
        parent_id:
          maxLength: 32
          minLength: 1
          type: string
        size:
          format: int64
          type: integer
        task_id:
          maxLength: 32
          minLength: 1
          type: string
        transfer_id:
          maxLength: 32
          minLength: 1
          type: string
        upload_id:
          maxLength: 1024
          type: string
      required:
        - account_id
        - account_type
        - upload_id
        - box
        - parent_id
        - name
        - size
        - multipart_store_response
      type: object
    ft_upload_commit_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ft_update_commit_result'
      required:
        - data
      type: object
    ft_upload_init_req_body:
      properties:
        account_id:
          maxLength: 32
          minLength: 1
          type: string
        account_type:
          maxLength: 32
          minLength: 1
          type: string
        box:
          maxLength: 32
          minLength: 1
          type: string
        name:
          maxLength: 32
          minLength: 1
          type: string
        size:
          format: int64
          type: integer
      required:
        - account_id
        - account_type
        - box
        - name
        - size
      type: object
    ft_upload_init_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ft_update_init_result'
      required:
        - data
      type: object
    ft_upload_req_body:
      properties:
        account_id:
          maxLength: 32
          minLength: 1
          type: string
        account_type:
          maxLength: 32
          minLength: 1
          type: string
        box:
          maxLength: 32
          minLength: 1
          type: string
        name:
          maxLength: 32
          minLength: 1
          type: string
        outbox_company_id:
          maxLength: 32
          minLength: 1
          type: string
        outbox_file_id:
          maxLength: 32
          minLength: 1
          type: string
        parent_id:
          maxLength: 32
          minLength: 1
          type: string
        size:
          format: int64
          type: integer
        task_id:
          maxLength: 32
          minLength: 1
          type: string
        transfer_id:
          maxLength: 32
          minLength: 1
          type: string
      required:
        - account_id
        - account_type
        - box
        - parent_id
        - name
        - size
      type: object
    ft_upload_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ft_update_result'
      required:
        - data
      type: object
    ft_upload_sign_req_body:
      properties:
        account_id:
          maxLength: 32
          minLength: 1
          type: string
        account_type:
          maxLength: 32
          minLength: 1
          type: string
        part_number:
          format: int64
          type: integer
        upload_id:
          maxLength: 1024
          type: string
      required:
        - account_id
        - account_type
        - upload_id
        - part_number
      type: object
    ft_upload_sign_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ft_update_sign_result'
      required:
        - data
      type: object
    ft_user_transfers_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ft_user_transfers_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 256
          minLength: 1
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
        - next_page_token
      type: object
    ft_user_transfers_item:
      properties:
        approval_preview_url:
          maxLength: 1024
          type: string
        extra:
          maxLength: 2000
          minLength: 1
          type: string
        fail_detail:
          maxLength: 1024
          type: string
        fail_type:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 32
          minLength: 1
          type: string
        file_type:
          maxLength: 32
          minLength: 1
          type: string
        finish_end:
          format: int64
          type: integer
        name:
          maxLength: 32
          minLength: 1
          type: string
        parent_id:
          maxLength: 32
          minLength: 1
          type: string
        scan_preview_url:
          maxLength: 1024
          type: string
        stage:
          format: int64
          type: integer
        status:
          format: int64
          type: integer
        task_id:
          maxLength: 32
          minLength: 1
          type: string
        transfer_end:
          format: int64
          type: integer
        transfer_start:
          format: int64
          type: integer
      required:
        - file_id
        - task_id
        - name
        - file_type
        - stage
        - status
        - fail_type
        - fail_detail
        - scan_preview_url
        - approval_preview_url
        - extra
        - transfer_start
        - transfer_end
        - finish_end
        - parent_id
      type: object
    ft_user_transfers_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/ft_user_transfers_data'
      required:
        - data
      type: object
    gateway_log_data:
      properties:
        action_id:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        aigc_error_code:
          maxLength: 1024
          type: string
        caller:
          maxLength: 1024
          type: string
        client_channel:
          maxLength: 1024
          type: string
        client_language:
          maxLength: 1024
          type: string
        client_type:
          maxLength: 1024
          type: string
        client_version:
          maxLength: 1024
          type: string
        company_id:
          maxLength: 1024
          type: string
        company_info:
          maxLength: 1024
          type: string
        completion_bytes_length:
          format: int64
          type: integer
        completion_length:
          format: int64
          type: integer
        completion_tokens:
          format: int64
          type: integer
        created_at:
          format: int64
          type: integer
        end_resp_client_time:
          maxLength: 1024
          type: string
        error_info:
          maxLength: 1024
          type: string
        error_retry_count:
          format: int64
          type: integer
        execute_count:
          format: int64
          type: integer
        first_resp_client_time:
          maxLength: 1024
          type: string
        function_code:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        headers:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        headers_str:
          maxLength: 1024
          type: string
        host_name:
          maxLength: 1024
          type: string
        input_gateway_time:
          maxLength: 1024
          type: string
        input_model_time:
          maxLength: 1024
          type: string
        input_queue_time:
          maxLength: 1024
          type: string
        intention_code:
          maxLength: 1024
          type: string
        is_caller_disconnected:
          format: int64
          nullable: true
          type: integer
          x-omitempty: true
        is_get_task_timeout:
          format: int64
          type: integer
        llm_accept_time:
          maxLength: 1024
          type: string
        llm_trace_id:
          maxLength: 1024
          type: string
        model:
          maxLength: 1024
          type: string
        model_end_resp_time:
          maxLength: 1024
          type: string
        model_error_code:
          maxLength: 1024
          type: string
        model_first_resp_time:
          maxLength: 1024
          type: string
        model_headers:
          maxLength: 1024
          type: string
        num:
          format: int64
          nullable: true
          type: integer
          x-omitempty: true
        path:
          maxLength: 1024
          type: string
        process_start_time:
          maxLength: 1024
          type: string
        product_name:
          maxLength: 1024
          type: string
        prompt_bytes_length:
          format: int64
          type: integer
        prompt_length:
          format: int64
          type: integer
        prompt_tokens:
          format: int64
          type: integer
        provider:
          maxLength: 1024
          type: string
        reassured_enable:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        req_input_audit_time:
          maxLength: 1024
          type: string
        req_output_audit_time:
          maxLength: 1024
          type: string
        req_sensitive:
          type: boolean
        req_sensitive_body:
          maxLength: 1024
          type: string
        request_body:
          maxLength: 1024
          type: string
        request_id:
          maxLength: 1024
          type: string
        res_sensitive:
          type: boolean
        res_sensitive_body:
          maxLength: 1024
          type: string
        resolution:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        resp_input_audit_time:
          maxLength: 1024
          type: string
        resp_output_audit_time:
          maxLength: 1024
          type: string
        response_body:
          maxLength: 1024
          type: string
        revision:
          maxLength: 1024
          type: string
        runtime:
          format: int64
          type: integer
        session_id:
          maxLength: 1024
          type: string
        status_code:
          format: int64
          type: integer
        step:
          format: int64
          nullable: true
          type: integer
          x-omitempty: true
        task_id:
          maxLength: 1024
          type: string
        token_id:
          format: int64
          nullable: true
          type: integer
          x-omitempty: true
        total_bytes_length:
          format: int64
          type: integer
        total_length:
          format: int64
          type: integer
        total_tokens:
          format: int64
          type: integer
        trace_id:
          maxLength: 1024
          type: string
        unique_key:
          maxLength: 1024
          type: string
        uri:
          maxLength: 1024
          type: string
        user_id:
          maxLength: 1024
          type: string
        user_ip:
          maxLength: 1024
          type: string
        version:
          maxLength: 1024
          type: string
        wps_uid:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
      required:
        - unique_key
        - created_at
        - headers_str
        - request_body
        - response_body
        - request_id
        - model_headers
        - model_error_code
        - session_id
        - task_id
        - status_code
        - version
        - llm_trace_id
        - llm_accept_time
        - execute_count
        - error_retry_count
        - is_get_task_timeout
        - trace_id
        - req_input_audit_time
        - req_output_audit_time
        - resp_input_audit_time
        - resp_output_audit_time
        - input_gateway_time
        - input_queue_time
        - process_start_time
        - input_model_time
        - model_first_resp_time
        - first_resp_client_time
        - model_end_resp_time
        - end_resp_client_time
        - req_sensitive
        - res_sensitive
        - req_sensitive_body
        - res_sensitive_body
        - error_info
        - user_id
        - model
        - caller
        - runtime
        - aigc_error_code
        - company_id
        - provider
        - completion_tokens
        - prompt_tokens
        - total_tokens
        - prompt_length
        - completion_length
        - total_length
        - prompt_bytes_length
        - completion_bytes_length
        - total_bytes_length
        - revision
        - product_name
        - intention_code
        - company_info
        - uri
        - path
        - host_name
        - client_type
        - client_version
        - client_channel
        - client_language
        - user_ip
      type: object
    gen_filter:
      properties:
        file:
          $ref: '#/components/schemas/profile_file'
        filter:
          allOf:
            - $ref: '#/components/schemas/filter'
          type: object
        profile_refs_id:
          maxLength: 1024
          type: string
      required:
        - filter
      type: object
    gen_outline_req_body:
      properties:
        file_generation_mode:
          allOf:
            - $ref: '#/components/schemas/files_generation_mode_enum'
          nullable: true
          type: object
        question:
          maxLength: 1024
          nullable: true
          type: string
        sources:
          items:
            $ref: '#/components/schemas/gen_outline_source'
          maxItems: 100
          type: array
      required:
        - sources
      type: object
    gen_outline_resp:
      properties:
        content:
          maxLength: 1024
          type: string
        content_index:
          maxLength: 1024
          type: string
        sequence_num:
          format: int
          type: integer
        stream_status:
          allOf:
            - $ref: '#/components/schemas/gen_outline_resp_stream_status'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/gen_outline_resp_type_enum'
          type: object
      required:
        - content
        - type
        - sequence_num
        - stream_status
        - content_index
      type: object
    gen_outline_resp_stream_status:
      enum:
        - reply
        - done
      type: string
      x-enum:
        - reply
        - done
    gen_outline_resp_type_enum:
      enum:
        - outline
        - content
      type: string
      x-enum:
        - outline
        - content
    gen_outline_source:
      properties:
        chunks:
          items:
            maxLength: 65535
            type: string
          maxItems: 100
          type: array
        drive_id:
          maxLength: 64
          minLength: 1
          type: string
        file_id:
          maxLength: 64
          minLength: 1
          type: string
      required:
        - file_id
        - drive_id
      type: object
    gen_ppt_content_req_body:
      properties:
        page_text_param:
          allOf:
            - $ref: '#/components/schemas/page_text_params'
          type: object
      required:
        - page_text_param
      type: object
    gen_slides_req_body:
      properties:
        gen_mode:
          format: int
          type: integer
        pptx_params:
          allOf:
            - $ref: '#/components/schemas/pptx_params'
          type: object
        pxf_root:
          allOf:
            - $ref: '#/components/schemas/pxf_root'
          type: object
        theme_params:
          allOf:
            - $ref: '#/components/schemas/theme_params'
          type: object
      required:
        - theme_params
        - pptx_params
        - pxf_root
      type: object
    gen_theme_filter:
      properties:
        slides_prefix_n:
          format: int
          type: integer
        slides_suffix_n:
          format: int
          type: integer
        template_standard:
          allOf:
            - $ref: '#/components/schemas/template_standard'
          nullable: true
          type: object
        theme_filter:
          allOf:
            - $ref: '#/components/schemas/theme_filter'
          type: object
      required:
        - template_standard
      type: object
    gen_tpl_desc:
      properties:
        bg_url:
          maxLength: 1024
          type: string
        cover_url:
          maxLength: 1024
          type: string
        logo_url:
          maxLength: 1024
          type: string
      type: object
    gen_tpl_from_ppt_req_body:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        file_url:
          maxLength: 1024
          type: string
        filter:
          allOf:
            - $ref: '#/components/schemas/gen_filter'
          type: object
        gen_standard_template:
          maxLength: 1024
          type: string
        gen_tpl_scene:
          allOf:
            - $ref: '#/components/schemas/gen_tpl_scene'
          type: object
        template_id:
          maxLength: 1024
          type: string
        theme_filter:
          allOf:
            - $ref: '#/components/schemas/gen_theme_filter'
          type: object
        tpl_desp:
          allOf:
            - $ref: '#/components/schemas/gen_tpl_desc'
          type: object
      required:
        - theme_filter
        - filter
      type: object
    gen_tpl_from_ppt_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/gen_tpl_from_ppt_result'
      required:
        - data
      type: object
    gen_tpl_from_ppt_result:
      properties:
        item:
          allOf:
            - $ref: '#/components/schemas/item'
          type: object
      type: object
    gen_tpl_scene:
      enum:
        - gen_tpl_from_user
        - gen_tpl_from_company
        - gen_tpl_from_cloudfile
      type: string
      x-enum:
        - from_user
        - from_company
        - from_cloudfile
    gender:
      enum:
        - undefined
        - male
        - female
        - secrecy
      title: 性别(U、M、F、S)
      type: string
      x-enum:
        - undefined
        - male
        - female
        - secrecy
    generate_options:
      properties:
        enable_transition:
          type: boolean
        merge_and_link:
          type: boolean
      required:
        - merge_and_link
        - enable_transition
      type: object
    generate_ppt_content_data:
      properties:
        err_code:
          format: int
          type: integer
        err_msg:
          maxLength: 1024
          type: string
        message_data:
          allOf:
            - $ref: '#/components/schemas/message_data_response'
          type: object
        search_data:
          items:
            $ref: '#/components/schemas/search_data_response'
          maxItems: 1024
          type: array
        stream_status:
          allOf:
            - $ref: '#/components/schemas/enum_stream_status'
          type: object
      required:
        - stream_status
      type: object
    generate_ppt_content_result:
      properties:
        code:
          format: int
          type: integer
        message_data:
          allOf:
            - $ref: '#/components/schemas/generate_ppt_content_data'
          type: object
        msg:
          maxLength: 1024
          type: string
      required:
        - code
        - msg
        - message_data
      type: object
    generate_pptx_state:
      enum:
        - begin
        - generating
        - begin_merge
        - merging
        - end
      type: string
      x-enum:
        - begin
        - generating
        - begin_merge
        - merging
        - end
    generate_slide_result_body:
      properties:
        action:
          maxLength: 1024
          type: string
        code:
          format: int
          type: integer
        data:
          allOf:
            - $ref: '#/components/schemas/generate_slides_response_data'
          type: object
        msg:
          maxLength: 1024
          type: string
      required:
        - code
        - msg
        - action
        - data
      type: object
    generate_slide_type:
      enum:
        - title
        - contents
        - section_title
        - text
        - end
      type: string
      x-enum:
        - title
        - contents
        - section_title
        - text
        - end
    generate_slides_req_body:
      properties:
        encrypted_aes_key:
          maxLength: 1024
          type: string
        encrypted_slides:
          maxLength: 1024
          type: string
        generate_options:
          allOf:
            - $ref: '#/components/schemas/generate_options'
          nullable: true
          type: object
      required:
        - encrypted_slides
        - encrypted_aes_key
      type: object
    generate_slides_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/generate_slides_result'
      required:
        - data
      type: object
    generate_slides_response_data:
      properties:
        pptx_data:
          allOf:
            - $ref: '#/components/schemas/pptx_response_data'
          nullable: true
          type: object
        sequence_num:
          format: int64
          type: integer
        stream_status:
          maxLength: 1024
          type: string
        type:
          maxLength: 1024
          type: string
      required:
        - sequence_num
        - stream_status
      type: object
    generate_slides_result:
      properties:
        begin:
          allOf:
            - $ref: '#/components/schemas/generate_slides_result_begin'
          nullable: true
          type: object
        begin_merge:
          allOf:
            - $ref: '#/components/schemas/generate_slides_result_begin_merge'
          nullable: true
          type: object
        end:
          allOf:
            - $ref: '#/components/schemas/generate_slides_result_end'
          nullable: true
          type: object
        generating:
          allOf:
            - $ref: '#/components/schemas/generate_slides_result_generating'
          nullable: true
          type: object
        merging:
          allOf:
            - $ref: '#/components/schemas/generate_slides_result_merging'
          nullable: true
          type: object
        state:
          allOf:
            - $ref: '#/components/schemas/generate_pptx_state'
          type: object
      required:
        - state
      type: object
    generate_slides_result_begin:
      properties:
        total:
          format: int64
          type: integer
      required:
        - total
      type: object
    generate_slides_result_begin_merge:
      properties:
        total:
          format: int64
          type: integer
      required:
        - total
      type: object
    generate_slides_result_end:
      properties:
        link_url:
          maxLength: 1024
          type: string
      type: object
    generate_slides_result_generating:
      properties:
        file_url:
          maxLength: 1024
          type: string
        slide_index:
          format: int64
          type: integer
        slide_type:
          allOf:
            - $ref: '#/components/schemas/generate_slide_type'
          type: object
        thumb_url:
          maxLength: 1024
          type: string
      required:
        - slide_index
        - slide_type
        - thumb_url
        - file_url
      type: object
    generate_slides_result_merging:
      properties:
        current_index:
          format: int64
          type: integer
      required:
        - current_index
      type: object
    get_active_meeting_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting'
      required:
        - data
      type: object
    get_admin_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/admin_info'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    get_admin_scope_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/admin_scope'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    get_admin_scope_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_admin_scope_data'
      required:
        - data
      type: object
    get_admins_by_permission_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/admin'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 256
          type: string
      required:
        - items
        - next_page_token
      type: object
    get_admins_by_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_admins_by_permission_data'
      required:
        - data
      type: object
    get_ai_gateway_logs_search_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_get_ai_gateway_logs_search_resp'
      required:
        - data
      type: object
    get_allocations_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/allocation'
          maxItems: 1024
          type: array
        total:
          format: int64
          type: integer
      required:
        - items
      type: object
    get_allocations_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_allocations_data'
      required:
        - data
      type: object
    get_announce_cover_url_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/announce_download'
      required:
        - data
      type: object
    get_announce_detail_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/announce_detail'
      required:
        - data
      type: object
    get_app_admin_scope_resp:
      properties:
        dept:
          allOf:
            - $ref: '#/components/schemas/department_info'
          type: object
      required:
        - dept
      type: object
    get_app_admin_scope_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_app_admin_scope_resp'
      required:
        - data
      type: object
    get_app_contacts_range_apply_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/app_contacts_range_resp'
      required:
        - data
      type: object
    get_app_contacts_range_resp:
      properties:
        all_members:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/developer_application_subject'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        same_with_visible:
          type: boolean
        total:
          format: int64
          type: integer
      required:
        - same_with_visible
        - all_members
        - items
        - next_page_token
      type: object
    get_app_contacts_range_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_app_contacts_range_resp'
      required:
        - data
      type: object
    get_app_detail_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/developer_app_detail_data'
      required:
        - data
      type: object
    get_app_list_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/developer_app_list'
      required:
        - data
      type: object
    get_app_version_details_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/app_version'
      required:
        - data
      type: object
    get_app_versions_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/app_version_data'
      required:
        - data
      type: object
    get_approval_define_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/approval_define'
      required:
        - data
      type: object
    get_approval_instance_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/approval_instance'
      required:
        - data
      type: object
    get_asr_task_data:
      properties:
        all_texts:
          maxLength: 1024
          type: string
        duration:
          format: double
          type: number
        status:
          allOf:
            - $ref: '#/components/schemas/asr_task_status'
          type: object
        texts:
          items:
            $ref: '#/components/schemas/asr_text_item'
          maxItems: 1024
          type: array
      required:
        - all_texts
        - duration
        - texts
        - status
      type: object
    get_asr_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_asr_task_data'
      required:
        - data
      type: object
    get_authorized_drives_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/drive_list'
      required:
        - data
      type: object
    get_calendar_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/calendar_detail'
      required:
        - data
      type: object
    get_chat_by_userid_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/chat'
      required:
        - data
      type: object
    get_chat_list_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_chat_list_resp_data'
      required:
        - data
      type: object
    get_chat_list_resp_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/chat'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      title: get_chat_list_resp_data
      type: object
    get_chat_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/chat'
      required:
        - data
      type: object
    get_chunks_search_req_body:
      properties:
        drive_ids:
          items:
            maxLength: 64
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
        file_id:
          maxLength: 64
          minLength: 1
          nullable: true
          type: string
        is_content:
          type: boolean
          x-omitempty: true
        question:
          maxLength: 1024
          minLength: 1
          type: string
        top_n:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
      required:
        - drive_ids
        - question
      type: object
    get_chunks_search_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_get_chunks_search_resp'
      required:
        - data
      type: object
    get_company_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/company_compact'
      required:
        - data
      type: object
    get_contact_permissions_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/contact_permissions_item'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    get_contact_permissions_scope_entities_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/permission_entity_info'
          maxItems: 100
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    get_contact_permissions_scope_entities_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_contact_permissions_scope_entities_data'
      required:
        - data
      type: object
    get_contact_permissions_scope_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_contact_permissions_data'
      required:
        - data
      type: object
    get_current_application_data:
      properties:
        company_id:
          maxLength: 1024
          type: string
        description:
          maxLength: 1024
          type: string
        logo:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - company_id
        - name
        - logo
        - description
      type: object
    get_current_application_developer_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/developer_members'
      required:
        - data
      type: object
    get_current_application_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_current_application_data'
      required:
        - data
      type: object
    get_current_application_subjects_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/developer_application_subjects'
      required:
        - data
      type: object
    get_current_service_principal_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/service_principal'
      required:
        - data
      type: object
    get_current_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/current_user'
      required:
        - data
      type: object
    get_deleted_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/deleted_file'
      required:
        - data
      type: object
    get_dept_member_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/dept_member_item'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    get_dept_member_req_body:
      properties:
        status:
          items:
            $ref: '#/components/schemas/user_status'
          maxItems: 3
          minItems: 1
          type: array
        user_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 50
          minItems: 1
          type: array
        with_dept_detail:
          type: boolean
        with_user_detail:
          type: boolean
      required:
        - user_ids
        - status
      type: object
    get_dept_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_dept_member_data'
      required:
        - data
      type: object
    get_dept_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dept_item'
      required:
        - data
      type: object
    get_depts_parent_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/dept_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
        - next_page_token
      type: object
    get_depts_parent_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_depts_parent_list'
      required:
        - data
      type: object
    get_doc_operate_task_search_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_operate_task_search_result'
      required:
        - data
      type: object
    get_doc_operate_tasks_search_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_get_doc_operate_tasks_search_resp'
      required:
        - data
      type: object
    get_doclib_invite_url_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/doclib_invite_url_resp'
      required:
        - data
      type: object
    get_doclib_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/doclib'
      required:
        - data
      type: object
    get_doclib_settings_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/doclib_settings'
      required:
        - data
      type: object
    get_documents_comment_list_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/origin_documents_comment'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        total:
          format: int64
          type: integer
      required:
        - total
        - items
        - next_page_token
      type: object
    get_documents_comment_list_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_documents_comment_list_data'
      required:
        - data
      type: object
    get_drive_file_status_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_get_drive_file_status_resp'
      required:
        - data
      type: object
    get_drive_files_status_req_body:
      properties:
        file_ids:
          items:
            maxLength: 64
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - file_ids
      type: object
    get_drive_files_status_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_get_drive_files_status_resp'
      required:
        - data
      type: object
    get_drive_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/drive'
      required:
        - data
      type: object
    get_drive_toggle_details_search_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_get_drive_toggle_details_search_resp'
      required:
        - data
      type: object
    get_entitlements_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/entitlement'
          maxItems: 1024
          type: array
        total:
          format: int64
          type: integer
      required:
        - items
      type: object
    get_entitlements_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_entitlements_data'
      required:
        - data
      type: object
    get_event_egress_ip_data:
      properties:
        items:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
      type: object
    get_event_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/event'
      required:
        - data
      type: object
    get_events_egress_ip_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_event_egress_ip_data'
      required:
        - data
      type: object
    get_exchange_account_binding_info_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/exchange_binding'
      required:
        - data
      type: object
    get_external_approval_define_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/external_define'
      required:
        - data
      type: object
    get_file_content_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file_content_data'
      required:
        - data
      type: object
    get_file_directly_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file'
      required:
        - data
      type: object
    get_file_inherit_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file_inherit'
      required:
        - data
      type: object
    get_file_path_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file_path'
      required:
        - data
      type: object
    get_files_search_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_get_files_search_resp'
      required:
        - data
      type: object
    get_group_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/group_member'
      required:
        - data
      type: object
    get_group_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/group'
      required:
        - data
      type: object
    get_group_settings_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/group_settings'
      required:
        - data
      type: object
    get_link_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/link'
      required:
        - data
      type: object
    get_link_settings_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/link_settings'
      required:
        - data
      type: object
    get_low_code_app_members_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/low_code_app_member'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
      type: object
    get_low_code_app_members_req_body:
      properties:
        page_size:
          format: int64
          type: integer
        page_token:
          maxLength: 1024
          type: string
        with_total:
          type: boolean
      type: object
    get_low_code_app_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_low_code_app_members_data'
      required:
        - data
      type: object
    get_low_code_app_table_fields_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/low_code_app_field'
          maxItems: 1024
          type: array
        table:
          $ref: '#/components/schemas/low_code_app_table'
      required:
        - table
        - items
      type: object
    get_low_code_app_table_fields_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_low_code_app_table_fields_data'
      required:
        - data
      type: object
    get_low_code_app_tables_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/low_code_app_table'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
      type: object
    get_low_code_app_tables_req_body:
      properties:
        page_size:
          format: int64
          type: integer
        page_token:
          maxLength: 1024
          type: string
        with_total:
          type: boolean
      type: object
    get_low_code_app_tables_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_low_code_app_tables_data'
      required:
        - data
      type: object
    get_mail_group_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_group'
      required:
        - data
      type: object
    get_mail_message_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_message'
      required:
        - data
      type: object
    get_mail_task_info_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_task_info'
      required:
        - data
      type: object
    get_mailbox_by_user_id_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mailbox_info'
      required:
        - data
      type: object
    get_mailbox_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mailbox'
      required:
        - data
      type: object
    get_meeting_reserve_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_reserve'
      required:
        - data
      type: object
    get_meeting_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting'
      required:
        - data
      type: object
    get_meeting_room_banned_users_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_room_banned_user'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - next_page_token
        - items
      type: object
    get_meeting_room_banned_users_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_meeting_room_banned_users_data'
      required:
        - data
      type: object
    get_meeting_room_disable_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_disable'
      required:
        - data
      type: object
    get_meeting_room_level_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_room_level'
      required:
        - data
      type: object
    get_meeting_room_privileged_users_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_room_privileged_user'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - next_page_token
        - items
      type: object
    get_meeting_room_privileged_users_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_meeting_room_privileged_users_data'
      required:
        - data
      type: object
    get_meeting_room_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_room'
      required:
        - data
      type: object
    get_message_ids_req_body:
      properties:
        ex_biz_id_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - ex_biz_id_list
      title: get_message_ids_req_body
      type: object
    get_message_ids_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_message_ids_resp_data'
      required:
        - data
      type: object
    get_message_ids_resp_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/biz_id_to_message_id'
          maxItems: 1024
          type: array
      required:
        - items
      title: get_message_ids_resp_data
      type: object
    get_message_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/chat_message'
      required:
        - data
      type: object
    get_messages_resp_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/chat_message'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
        - next_page_token
      title: get_messages_resp_data
      type: object
    get_minute_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/minute'
      required:
        - data
      type: object
    get_minute_summary_data:
      properties:
        content:
          maxLength: 1024
          type: string
      required:
        - content
      type: object
    get_minute_summary_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_minute_summary_data'
      required:
        - data
      type: object
    get_minute_transcript_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_transcript_content_json'
      required:
        - data
      type: object
    get_org_dimension_dept_children_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/org_dimension_dept_list'
      required:
        - data
      type: object
    get_org_dimension_members_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/user_item_with_dept'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    get_org_dimension_members_req_body:
      properties:
        status:
          items:
            $ref: '#/components/schemas/user_status'
          maxItems: 3
          minItems: 1
          type: array
        user_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 50
          minItems: 1
          type: array
          x-tags:
            - ex:user_id
        with_dept:
          type: boolean
      required:
        - user_ids
        - status
      type: object
    get_org_dimension_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_org_dimension_members_data'
      required:
        - data
      type: object
    get_org_dimensions_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/org_dimension_list'
      required:
        - data
      type: object
    get_org_display_settings_data:
      properties:
        order:
          items:
            $ref: '#/components/schemas/org_display_item_type'
          maxItems: 1024
          minItems: 2
          type: array
      required:
        - order
      type: object
    get_org_display_settings_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_org_display_settings_data'
      required:
        - data
      type: object
    get_permission_settings_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/permission_setting'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    get_permission_settings_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_permission_settings_data'
      required:
        - data
      type: object
    get_primary_calendar_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/calendar_detail'
      required:
        - data
      type: object
    get_privileges_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/privileges'
      required:
        - data
      type: object
    get_public_mailbox_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/public_mailbox_member'
      required:
        - data
      type: object
    get_public_mailbox_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/public_mailbox'
      required:
        - data
      type: object
    get_recording_chapters_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/recording_chapter_item'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    get_recording_chapters_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_recording_chapters_data'
      required:
        - data
      type: object
    get_recording_media_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/recording_media'
      required:
        - data
      type: object
    get_recording_summary_data:
      properties:
        content:
          maxLength: 1024
          type: string
      required:
        - content
      type: object
    get_recording_summary_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_recording_summary_data'
      required:
        - data
      type: object
    get_recording_transcript_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_transcript_content_json'
      required:
        - data
      type: object
    get_root_dept_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dept_tree_item'
      required:
        - data
      type: object
    get_semantic_keywords_search_req_body:
      properties:
        drive_ids:
          items:
            maxLength: 64
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
        semantic_keyword:
          maxLength: 1024
          minLength: 1
          type: string
        threshold:
          format: double
          nullable: true
          type: number
          x-omitempty: true
        top_n:
          format: int
          nullable: true
          type: integer
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/get_semantic_keywords_search_req_body_type_enum'
          type: object
          x-omitempty: true
      required:
        - drive_ids
        - semantic_keyword
        - type
      type: object
    get_semantic_keywords_search_req_body_type_enum:
      enum:
        - file_name
      type: string
      x-enum:
        - file_name
    get_semantic_keywords_search_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_get_semantic_keywords_search_resp'
      required:
        - data
      type: object
    get_store_order_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/store_order'
      required:
        - data
      type: object
    get_store_orders_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/store_order'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
      type: object
    get_store_orders_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_store_orders_data'
      required:
        - data
      type: object
    get_subscription_account_storage_download_link_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/subscription_store_download'
      required:
        - data
      type: object
    get_subscription_accounts_data:
      properties:
        items:
          items:
            allOf:
              - $ref: '#/components/schemas/subscription_account_item'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
      type: object
    get_subscription_accounts_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_subscription_accounts_data'
      required:
        - data
      type: object
    get_subscription_content_storage_download_link_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/subscription_store_download'
      required:
        - data
      type: object
    get_subscription_published_contents_data:
      properties:
        items:
          items:
            allOf:
              - $ref: '#/components/schemas/subscription_content_item'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
      type: object
    get_subscription_published_contents_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_subscription_published_contents_data'
      required:
        - data
      type: object
    get_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/task_progress'
      required:
        - data
      type: object
    get_title_by_name_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/title_info'
      required:
        - data
      type: object
    get_titles_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/title_list'
      required:
        - data
      type: object
    get_todo_personal_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/todo_personal_task'
      required:
        - data
      type: object
    get_todo_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/todo_task'
      required:
        - data
      type: object
    get_tracking_data_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/tracking_data_resp'
      required:
        - data
      type: object
    get_usage_tips_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/setting_usage_tips'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    get_usage_tips_req_body:
      properties:
        apps:
          items:
            $ref: '#/components/schemas/usage_tips_app'
          maxItems: 1024
          minItems: 1
          type: array
      required:
        - apps
      type: object
    get_usage_tips_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_usage_tips_data'
      required:
        - data
      type: object
    get_user_count_data:
      properties:
        count:
          format: int64
          type: integer
      required:
        - count
      type: object
    get_user_count_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_user_count_data'
      required:
        - data
      type: object
    get_user_current_id_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/user_current_id'
      required:
        - data
      type: object
    get_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/user_item_with_dept'
      required:
        - data
      type: object
    get_version_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/version'
      required:
        - data
      type: object
    group:
      properties:
        avatar:
          maxLength: 1024
          type: string
        company_id:
          maxLength: 1024
          type: string
        creator_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        ctime:
          format: int64
          minimum: 1
          type: integer
        dept_id:
          maxLength: 1024
          type: string
        description:
          maxLength: 512
          type: string
        id:
          maxLength: 1024
          type: string
        mail:
          maxLength: 255
          type: string
        member_total:
          format: int64
          minimum: 0
          nullable: true
          type: integer
          x-omitempty: true
        mtime:
          format: int64
          minimum: 1
          type: integer
        name:
          maxLength: 1024
          minLength: 1
          type: string
        owner_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        source:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/group_status'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/group_type'
          type: object
      required:
        - id
        - company_id
        - name
        - mail
        - type
        - avatar
        - source
        - owner_id
        - creator_id
        - status
        - description
        - dept_id
        - ctime
        - mtime
      title: group
      type: object
    group_chat_avatar:
      properties:
        avatars:
          items:
            maxLength: 1024
            type: string
          maxItems: 9
          minItems: 1
          type: array
        type:
          allOf:
            - $ref: '#/components/schemas/group_chat_avatar_type'
          type: object
      required:
        - type
        - avatars
      title: group_chat_avatar
      type: object
    group_chat_avatar_type:
      enum:
        - default
        - custom
      type: string
      x-enum:
        - default
        - custom
    group_chat_extended_attribute:
      properties:
        avatar:
          allOf:
            - $ref: '#/components/schemas/group_chat_avatar'
          type: object
        dept_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:dept_id
        owner_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        settings:
          allOf:
            - $ref: '#/components/schemas/group_chat_settings'
          nullable: true
          type: object
      required:
        - owner_id
        - avatar
      title: group_chat_extended_attribute
      type: object
    group_chat_settings:
      properties:
        is_disable_all_send:
          type: boolean
        is_disable_part_send:
          type: boolean
        is_enable_history_messages:
          type: boolean
        is_enable_nickname:
          type: boolean
        is_external_join_approve:
          type: boolean
        is_join_approve:
          type: boolean
        is_owner_admin_add_bookmark:
          type: boolean
        is_owner_admin_at_all:
          type: boolean
        is_owner_admin_modify:
          type: boolean
      title: group_chat_settings
      type: object
    group_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/group'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 256
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
      title: group_list
      type: object
    group_member:
      properties:
        about:
          maxLength: 255
          type: string
        ctime:
          format: int64
          minimum: 1
          type: integer
        dept_info:
          items:
            $ref: '#/components/schemas/dept_compact'
          maxItems: 1024
          type: array
        group_id:
          maxLength: 1024
          type: string
        item_id:
          maxLength: 1024
          type: string
        item_type:
          allOf:
            - $ref: '#/components/schemas/group_member_type'
          type: object
        mtime:
          format: int64
          minimum: 1
          type: integer
        nickname:
          maxLength: 255
          minLength: 1
          type: string
        role:
          allOf:
            - $ref: '#/components/schemas/group_member_role'
          type: object
        user_info:
          allOf:
            - $ref: '#/components/schemas/user_compact_with_dept'
          nullable: true
          type: object
      required:
        - group_id
        - item_type
        - item_id
        - nickname
        - about
        - role
        - ctime
        - mtime
      title: group_member
      type: object
    group_member_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/group_member'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
      title: group_member_list
      type: object
    group_member_role:
      enum:
        - readonly
        - normal
        - admin
        - owner
      title: group_member_role
      type: string
      x-enum:
        - readonly
        - normal
        - admin
        - owner
    group_member_type:
      enum:
        - normal
        - dept
      title: group_member_type
      type: string
      x-enum:
        - normal
        - dept
    group_settings:
      properties:
        link_period:
          format: int64
          type: integer
        share_enable:
          type: boolean
        share_need_approve:
          type: boolean
        visibility_members:
          allOf:
            - $ref: '#/components/schemas/group_visibility_member_list'
          type: object
        visibility_type:
          allOf:
            - $ref: '#/components/schemas/group_visibility_type'
          type: object
      required:
        - share_enable
        - share_need_approve
        - link_period
      title: group_settings
      type: object
    group_status:
      enum:
        - enable
        - recycled
      title: group status
      type: string
      x-enum:
        - enable
        - recycled
    group_type:
      enum:
        - normal
        - dept
        - org_dynamic
        - org_normal
      title: group type
      type: string
      x-enum:
        - normal
        - dept
        - org_dynamic
        - org_normal
    group_update_owner_req_body:
      properties:
        owner_id:
          maxLength: 1024
          type: string
      required:
        - owner_id
      title: update_group_owner_request_body
      type: object
    group_visibility_member:
      properties:
        avatar:
          maxLength: 256
          type: string
          x-omitempty: true
        ctime:
          format: int64
          type: integer
          x-omitempty: true
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 255
          minLength: 1
          nullable: true
          type: string
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/group_visibility_member_type'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - id
      title: group_visibility_member
      type: object
    group_visibility_member_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/group_visibility_member'
          maxItems: 1000
          minItems: 1
          type: array
        total:
          format: int64
          type: integer
      title: group_visibility_member_list
      type: object
    group_visibility_member_type:
      enum:
        - normal
        - dept
      title: group_visibility_member_type
      type: string
      x-enum:
        - normal
        - dept
    group_visibility_type:
      enum:
        - nobody
        - all
        - group
        - specify
      title: group visibility type
      type: string
      x-enum:
        - nobody
        - all
        - group
        - specify
    hash:
      properties:
        sum:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/enum_hash_type'
          type: object
      required:
        - type
        - sum
      type: object
    hit_result:
      properties:
        detail:
          maxLength: 1024
          type: string
        is_hit:
          type: boolean
      required:
        - is_hit
        - detail
      type: object
    html2pptx_data:
      properties:
        current:
          format: int
          type: integer
        file_url:
          maxLength: 1024
          type: string
        html_id:
          maxLength: 1024
          type: string
        html_index:
          format: int
          type: integer
        task_id:
          maxLength: 1024
          type: string
        total:
          format: int
          type: integer
      type: object
    html2pptx_req_body:
      properties:
        encode_data:
          maxLength: 1024
          type: string
        html_contents:
          allOf:
            - $ref: '#/components/schemas/map_string_string'
          type: object
        html_urls:
          allOf:
            - $ref: '#/components/schemas/map_string_string'
          type: object
        merge_slides:
          type: boolean
      required:
        - merge_slides
      type: object
    html2pptx_response_data:
      properties:
        code:
          format: int
          type: integer
        data:
          allOf:
            - $ref: '#/components/schemas/html2pptx_data'
          nullable: true
          type: object
        msg:
          maxLength: 1024
          type: string
        request_id:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/html2pptx_response_type'
          type: object
      required:
        - type
        - code
        - msg
        - request_id
      type: object
    html2pptx_response_type:
      enum:
        - generate_pptx_start
        - generate_pptx_result
        - generate_pptx_merge_start
        - generate_pptx_merge_current
        - generate_pptx_finish
        - heartbeat
      type: string
      x-enum:
        - generate_pptx_start
        - generate_pptx_result
        - generate_pptx_merge_start
        - generate_pptx_merge_current
        - generate_pptx_finish
        - heartbeat
    html2pptx_sse_result:
      properties:
        message:
          allOf:
            - $ref: '#/components/schemas/html2pptx_response_data'
          type: object
      required:
        - message
      type: object
    iam_subject_check_type:
      enum:
        - company
        - dept
        - user
        - group
      type: string
      x-enum:
        - company
        - dept
        - user
        - group
    id_type:
      enum:
        - internal
        - external
      title: 开放id类型，默认internal，目前仅用户id和部门id存在转换
      type: string
      x-enum:
        - internal
        - external
    identity:
      properties:
        avatar:
          maxLength: 1024
          type: string
          x-omitempty: true
        company_id:
          maxLength: 1024
          type: string
          x-omitempty: true
          x-type: int64
        id:
          maxLength: 1024
          type: string
          x-tags:
            - 'ex: user_id'
        name:
          maxLength: 1024
          type: string
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/identity_type'
          type: object
      required:
        - id
        - type
      title: 身份唯一标识
      type: object
    identity_type:
      enum:
        - user
        - sp
        - unknown
      title: 身份类型
      type: string
      x-enum:
        - user
        - sp
        - unknown
    im_download_data:
      properties:
        url:
          maxLength: 1024
          type: string
      required:
        - url
      type: object
    im_identity:
      allOf:
        - $ref: '#/components/schemas/identity'
      properties:
        app_id:
          maxLength: 1024
          type: string
      title: im身份标识
      type: object
    import_attendance_approval_records_req_body:
      properties:
        approval_id:
          maxLength: 100
          minLength: 1
          type: string
        approval_source:
          maxLength: 100
          minLength: 1
          type: string
        approval_sub_type:
          allOf:
            - $ref: '#/components/schemas/attendance_approval_sub_type'
          type: object
        approval_type:
          allOf:
            - $ref: '#/components/schemas/attendance_approval_type'
          type: object
        leave:
          allOf:
            - $ref: '#/components/schemas/attendance_approval_records_leave'
          nullable: true
          type: object
        redirect_url:
          maxLength: 512
          type: string
        user_id:
          maxLength: 128
          minLength: 1
          type: string
          x-tags:
            - ex:user_id
            - mix:user_id
      required:
        - user_id
        - approval_source
        - approval_id
        - approval_type
      type: object
    import_attendance_approval_records_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/import_attendance_approval_records_result'
      required:
        - data
      type: object
    import_attendance_approval_records_result:
      properties:
        details:
          items:
            $ref: '#/components/schemas/attendance_approval_records_duration_detail'
          maxItems: 1024
          type: array
        duration:
          maxLength: 1024
          type: string
        duration_unit:
          allOf:
            - $ref: '#/components/schemas/attendance_approval_duration_unit'
          type: object
      required:
        - duration
        - duration_unit
        - details
      type: object
    import_mail_message_req_body:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/mail_message_file'
          type: object
      required:
        - content
      type: object
    import_mail_message_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_message'
      required:
        - data
      type: object
    include_element:
      enum:
        - para
        - table
        - component
        - textbox
        - all
      type: string
      x-enum:
        - para
        - table
        - component
        - textbox
        - all
    instance_timeline_type:
      enum:
        - approval_created
        - passed
        - reject
        - returned
        - revoke
        - comment
        - cc
        - create_group
        - add_sign
        - deleted
        - rollback
        - auto_passed
        - transfer
        - auto_approval
        - admin_transfer
        - terminate
        - review
      title: instance_timeline_type
      type: string
      x-enum:
        - approval_created
        - passed
        - reject
        - returned
        - revoke
        - comment
        - cc
        - create_group
        - add_sign
        - deleted
        - rollback
        - auto_passed
        - transfer
        - auto_approval
        - admin_transfer
        - terminate
        - review
    is_member_in_chat_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/is_member_in_chat_resp_data'
      required:
        - data
      type: object
    is_member_in_chat_resp_data:
      properties:
        is_in_chat:
          type: boolean
      required:
        - is_in_chat
      title: is_member_in_chat_resp_data
      type: object
    item:
      properties:
        content_item_count:
          format: int
          type: integer
        id:
          format: int
          type: integer
        is_need_cut_contents:
          type: boolean
        resource_key:
          format: int
          type: integer
        standard_template_key:
          maxLength: 1024
          type: string
        standard_template_url:
          maxLength: 1024
          type: string
        tag_template_key:
          maxLength: 1024
          type: string
        tag_template_url:
          maxLength: 1024
          type: string
        theme_id:
          maxLength: 1024
          type: string
        theme_key:
          maxLength: 1024
          type: string
        theme_name:
          maxLength: 1024
          type: string
        theme_url:
          maxLength: 1024
          type: string
        thumb_urls:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - theme_id
        - theme_name
        - thumb_urls
        - standard_template_key
        - standard_template_url
        - content_item_count
        - is_need_cut_contents
        - tag_template_key
        - tag_template_url
      type: object
    kdc_document:
      properties:
        comments:
          items:
            $ref: '#/components/schemas/comment'
          maxItems: 1024
          type: array
        medias:
          items:
            $ref: '#/components/schemas/media'
          maxItems: 1024
          type: array
        prop:
          allOf:
            - $ref: '#/components/schemas/doc_prop'
          type: object
        tree:
          allOf:
            - $ref: '#/components/schemas/node'
          type: object
      type: object
    kdc_file_info:
      properties:
        is_scan:
          type: boolean
        sheet_num:
          format: int32
          type: integer
        total_page_num:
          format: int32
          type: integer
      required:
        - is_scan
      type: object
    kdc_ofd_engine_type:
      enum:
        - kspdftool
        - rpcapi
      type: string
      x-enum:
        - kspdftool
        - rpcapi
    kdc_pdf_engine:
      enum:
        - standard
        - scan
        - default
      type: string
      x-enum:
        - standard
        - scan
        - default
    label:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/label_type'
          type: object
      required:
        - id
        - type
        - name
      type: object
    label_item:
      properties:
        labels:
          items:
            $ref: '#/components/schemas/label'
          maxItems: 1024
          type: array
        object:
          allOf:
            - $ref: '#/components/schemas/label_object'
          type: object
      required:
        - object
        - labels
      type: object
    label_object:
      properties:
        id:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/label_object_type'
          type: object
      required:
        - type
        - id
      type: object
    label_object_type:
      enum:
        - file
        - drive
      type: string
      x-enum:
        - file
        - drive
    label_type:
      enum:
        - system
        - custom
      type: string
      x-enum:
        - system
        - custom
    latest_folder:
      properties:
        ctime:
          format: int64
          type: integer
        drive_id:
          maxLength: 1024
          type: string
        folder_id:
          maxLength: 1024
          type: string
        group_id:
          maxLength: 1024
          type: string
          x-omitempty: true
        group_type:
          allOf:
            - $ref: '#/components/schemas/group_type'
          nullable: true
          type: object
          x-omitempty: true
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
      required:
        - folder_id
        - drive_id
        - name
        - ctime
        - mtime
      title: 最近文件夹信息
      type: object
    latest_folder_create_req_body:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        folder_id:
          maxLength: 1024
          type: string
      required:
        - folder_id
        - drive_id
      type: object
    latest_item:
      properties:
        ctime:
          format: int64
          type: integer
        drive:
          allOf:
            - $ref: '#/components/schemas/drive'
          nullable: true
          type: object
          x-omitempty: true
        file:
          $ref: '#/components/schemas/file'
        file_src:
          allOf:
            - $ref: '#/components/schemas/file_source'
          nullable: true
          type: object
          x-omitempty: true
        mtime:
          format: int64
          type: integer
      required:
        - ctime
        - mtime
        - file
      type: object
    leader_item:
      properties:
        order:
          format: int64
          type: integer
        user_id:
          maxLength: 128
          minLength: 1
          type: string
          x-tags:
            - ex:user_id
      required:
        - user_id
        - order
      type: object
    link:
      properties:
        created_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          nullable: true
          type: object
          x-omitempty: true
        creator:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        ctime:
          format: int64
          type: integer
        drive_id:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        mtime:
          format: int64
          type: integer
        opts:
          allOf:
            - $ref: '#/components/schemas/link_opts'
          type: object
        role_id:
          maxLength: 1024
          type: string
        scope:
          allOf:
            - $ref: '#/components/schemas/link_scope'
          type: object
        status:
          allOf:
            - $ref: '#/components/schemas/link_status'
          type: object
        url:
          maxLength: 1024
          type: string
      required:
        - id
        - url
        - drive_id
        - file_id
        - status
      type: object
    link_expire_peroid:
      enum:
        - 0
        - 7
        - 30
      type: integer
      x-enum:
        - unlimited
        - seven_days
        - thirty_days
    link_inherit:
      properties:
        exist:
          type: boolean
        role_id:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        role_name:
          maxLength: 1024
          nullable: true
          type: string
        scope:
          allOf:
            - $ref: '#/components/schemas/link_scope'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - exist
      type: object
    link_opts:
      properties:
        allow_perm_apply:
          nullable: true
          type: boolean
        check_code:
          maxLength: 1024
          nullable: true
          type: string
        close_after_expire:
          nullable: true
          type: boolean
        expire_period:
          allOf:
            - $ref: '#/components/schemas/link_expire_peroid'
          nullable: true
          type: object
        expire_time:
          format: int64
          nullable: true
          type: integer
      type: object
    link_scope:
      enum:
        - anyone
        - company
        - users
      type: string
      x-enum:
        - anyone
        - company
        - users
    link_settings:
      properties:
        allow_share_grant:
          type: boolean
        expire_period:
          allOf:
            - $ref: '#/components/schemas/link_expire_peroid'
          type: object
        role_id:
          maxLength: 1024
          type: string
          x-type: int64
        scope:
          allOf:
            - $ref: '#/components/schemas/link_scope'
          type: object
      required:
        - scope
        - role_id
        - expire_period
        - allow_share_grant
      type: object
    link_status:
      enum:
        - open
        - closed
        - expired
      type: string
      x-enum:
        - link_status_open
        - link_status_closed
        - link_status_expired
    list_aidocs_list_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aidocs_space_list'
      required:
        - data
      type: object
    list_aidocs_spaces_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aidocs_space_list'
      required:
        - data
      type: object
    list_announce_visibilities_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/announce_visibilities'
      required:
        - data
      type: object
    list_announces:
      properties:
        items:
          items:
            $ref: '#/components/schemas/announce_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
          x-omitempty: true
      required:
        - next_page_token
        - items
      title: list_announces
      type: object
    list_announces_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_announces'
      required:
        - data
      type: object
    list_app_admins_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/get_admin_list'
      required:
        - data
      type: object
    list_app_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/developer_members'
      required:
        - data
      type: object
    list_applications_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/application_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
      type: object
    list_applications_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_applications_data'
      required:
        - data
      type: object
    list_approval_ccs_resp:
      properties:
        cc_list:
          items:
            allOf:
              - $ref: '#/components/schemas/approval_cc_list_item'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        has_more:
          type: boolean
        page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - has_more
        - cc_list
      title: list_approval_ccs_resp
      type: object
    list_approval_ccs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_approval_ccs_resp'
      required:
        - data
      type: object
    list_approval_defines_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/approval_defines'
      required:
        - data
      type: object
    list_approval_instances_brief_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_approval_instances_resp'
      required:
        - data
      type: object
    list_approval_instances_resp:
      properties:
        has_more:
          type: boolean
        instance_list:
          items:
            allOf:
              - $ref: '#/components/schemas/approval_instance_brief'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - has_more
        - instance_list
      title: list_approval_instances_resp
      type: object
    list_approval_instances_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/approval_instances'
      required:
        - data
      type: object
    list_approval_tasks_resp:
      properties:
        has_more:
          type: boolean
        page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
        task_list:
          items:
            allOf:
              - $ref: '#/components/schemas/approval_task_list_item'
            nullable: true
            type: object
          maxItems: 1024
          type: array
      required:
        - has_more
        - task_list
      title: list_approval_tasks_resp
      type: object
    list_approval_tasks_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_approval_tasks_resp'
      required:
        - data
      type: object
    list_approval_timeline_resp:
      properties:
        has_more:
          type: boolean
        page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
        timeline_list:
          items:
            allOf:
              - $ref: '#/components/schemas/approval_timeline_list_item'
            nullable: true
            type: object
          maxItems: 1024
          type: array
      required:
        - has_more
        - timeline_list
      title: list_approval_timeline_resp
      type: object
    list_approval_timelines_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_approval_timeline_resp'
      required:
        - data
      type: object
    list_audit_categories_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/audit_log_op_category_list'
      required:
        - data
      type: object
    list_audit_chats_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_audit_chats_members_resp_data'
      required:
        - data
      type: object
    list_audit_chats_members_resp_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/chat_member'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      title: list_audit_chats_members_resp_data
      type: object
    list_audit_chats_messages_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_audit_chats_messages_resp_data'
      required:
        - data
      type: object
    list_audit_chats_messages_resp_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/chat_message'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      title: list_audit_chats_messages_resp_data
      type: object
    list_audit_chats_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/chats_resp_data'
      required:
        - data
      type: object
    list_audit_logs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/audit_log_list'
      required:
        - data
      type: object
    list_calendar_permissions_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/calendar_permission'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    list_calendar_permissions_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_calendar_permissions_data'
      required:
        - data
      type: object
    list_calendars_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/calendar_detail'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        next_sync_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    list_calendars_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_calendars_data'
      required:
        - data
      type: object
    list_chat_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_chat_members_resp_data'
      required:
        - data
      type: object
    list_chat_members_resp_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/chat_member'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      title: list_chat_members_resp_data
      type: object
    list_chat_members_status:
      enum:
        - normal
        - banned
      title: list_chat_members_status
      type: string
      x-enum:
        - normal
        - banned
    list_company_dept_custom_attrs_data:
      properties:
        custom_attrs:
          items:
            $ref: '#/components/schemas/company_dept_custom_attr'
          maxItems: 1024
          type: array
        total:
          format: int64
          type: integer
      required:
        - total
        - custom_attrs
      type: object
    list_company_dept_custom_attrs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_company_dept_custom_attrs_data'
      required:
        - data
      type: object
    list_company_user_custom_attrs_data:
      properties:
        custom_attrs:
          items:
            $ref: '#/components/schemas/company_user_custom_attr'
          maxItems: 1024
          type: array
        total:
          format: int64
          type: integer
      required:
        - total
        - custom_attrs
      type: object
    list_company_user_custom_attrs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_company_user_custom_attrs_data'
      required:
        - data
      type: object
    list_deleted_files_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/deleted_files_data'
      required:
        - data
      type: object
    list_dept_changes_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dept_change_record_list'
      required:
        - data
      type: object
    list_dept_children_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/dept_tree_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
        - next_page_token
      type: object
    list_dept_children_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_dept_children_data'
      required:
        - data
      type: object
    list_dept_members_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/dept_member_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
        - next_page_token
      type: object
    list_dept_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_dept_members_data'
      required:
        - data
      type: object
    list_doclibs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/doclib_list'
      required:
        - data
      type: object
    list_drives_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/drive_list'
      required:
        - data
      type: object
    list_event_attendee_group_members_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/attendee_group_member'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    list_event_attendee_group_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_event_attendee_group_members_data'
      required:
        - data
      type: object
    list_event_attendees_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/attendee_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    list_event_attendees_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_event_attendees_data'
      required:
        - data
      type: object
    list_event_instances_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/event_instance'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    list_event_instances_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_event_instances_data'
      required:
        - data
      type: object
    list_event_meeting_rooms_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/event_meeting_room'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    list_event_meeting_rooms_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_event_meeting_rooms_data'
      required:
        - data
      type: object
    list_events_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/event'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        next_sync_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    list_events_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_events_data'
      required:
        - data
      type: object
    list_external_task_item:
      properties:
        define_code:
          maxLength: 1024
          type: string
        instance_id:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/external_instance_status'
          type: object
        tasks:
          items:
            allOf:
              - $ref: '#/components/schemas/list_external_task_status_item'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        update_time:
          maxLength: 1024
          type: string
      required:
        - instance_id
        - define_code
        - status
        - update_time
        - tasks
      title: list_external_task_item
      type: object
    list_external_task_status_item:
      properties:
        id:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/external_instance_task_status'
          type: object
        update_time:
          maxLength: 1024
          type: string
      required:
        - id
        - status
        - update_time
      title: list_external_task_status_item
      type: object
    list_external_task_status_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/external_task_list'
      required:
        - data
      type: object
    list_file_acls_by_user_ids_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/file_acls_item'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    list_file_acls_by_user_ids_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_file_acls_by_user_ids_data'
      required:
        - data
      type: object
    list_file_comments_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/file_comment'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    list_file_comments_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_file_comments_data'
      required:
        - data
      type: object
    list_file_permissions_data:
      properties:
        has_custom_permission:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/permission_item'
          maxItems: 1024
          type: array
      required:
        - has_custom_permission
        - items
      type: object
    list_file_permissions_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_file_permissions_data'
      required:
        - data
      type: object
    list_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file_list'
      required:
        - data
      type: object
    list_free_busy_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/free_busy'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    list_free_busy_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_free_busy_data'
      required:
        - data
      type: object
    list_freq_items_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/freq_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      type: object
    list_freq_items_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_freq_items_data'
      required:
        - data
      type: object
    list_group_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/group_member_list'
      required:
        - data
      type: object
    list_groups_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/group_list'
      required:
        - data
      type: object
    list_latest_folders_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/latest_folder'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      type: object
    list_latest_folders_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_latest_folders_data'
      required:
        - data
      type: object
    list_latest_items_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/latest_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      type: object
    list_latest_items_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_latest_items_data'
      required:
        - data
      type: object
    list_mail_contacts_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_contact_list'
      required:
        - data
      type: object
    list_mail_folder_children_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_folder_list'
      required:
        - data
      type: object
    list_mail_folders_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_folder_list'
      required:
        - data
      type: object
    list_mail_messages_in_folder_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_message_list'
      required:
        - data
      type: object
    list_mailbox_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mailbox_member_list'
      required:
        - data
      type: object
    list_mailboxes_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mailbox_list'
      required:
        - data
      type: object
    list_meeting_room_levels_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_room_level'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - next_page_token
        - items
      type: object
    list_meeting_room_levels_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_meeting_room_levels_data'
      required:
        - data
      type: object
    list_meeting_room_tags_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_room_tag'
          maxItems: 20
          type: array
      required:
        - items
      type: object
    list_meeting_room_tags_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_meeting_room_tags_data'
      required:
        - data
      type: object
    list_meeting_rooms_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_room'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - next_page_token
        - items
      type: object
    list_meeting_rooms_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_meeting_rooms_data'
      required:
        - data
      type: object
    list_meetings_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_list_resp'
      required:
        - data
      type: object
    list_member_mailbox_aliases_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/user_mailbox_alias_rsp_body'
      required:
        - data
      type: object
    list_partner_dept_members_data:
      properties:
        next_page_token:
          maxLength: 1024
          type: string
        users:
          items:
            $ref: '#/components/schemas/partner_user'
          maxItems: 1024
          type: array
      required:
        - users
        - next_page_token
      type: object
    list_partner_dept_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_partner_dept_members_data'
      required:
        - data
      type: object
    list_partner_depts_data:
      properties:
        depts:
          items:
            $ref: '#/components/schemas/partner_dept'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - depts
        - next_page_token
      type: object
    list_partner_depts_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_partner_depts_data'
      required:
        - data
      type: object
    list_partners_data:
      properties:
        next_page_token:
          maxLength: 1024
          type: string
        partners:
          items:
            $ref: '#/components/schemas/partner'
          maxItems: 1024
          type: array
      required:
        - partners
        - next_page_token
      type: object
    list_partners_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_partners_data'
      required:
        - data
      type: object
    list_public_mail_contacts_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_contact_member_list'
      required:
        - data
      type: object
    list_public_mailbox_aliases_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/public_mailbox_alias'
      required:
        - data
      type: object
    list_public_mailbox_members:
      properties:
        items:
          items:
            $ref: '#/components/schemas/public_mailbox_member'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
        total:
          format: int64
          type: integer
          x-omitempty: true
      required:
        - items
      type: object
    list_public_mailbox_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_public_mailbox_members'
      required:
        - data
      type: object
    list_public_mailboxes:
      properties:
        items:
          items:
            $ref: '#/components/schemas/public_mailbox'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
        total:
          format: int64
          type: integer
          x-omitempty: true
      required:
        - items
      type: object
    list_public_mailboxes_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_public_mailboxes'
      required:
        - data
      type: object
    list_recv_links_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/recv_file'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      type: object
    list_recv_links_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_recv_links_data'
      required:
        - data
      type: object
    list_roles_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/roles'
      required:
        - data
      type: object
    list_send_links_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/drive_file'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      type: object
    list_send_links_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_send_links_data'
      required:
        - data
      type: object
    list_star_items_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/star_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      type: object
    list_star_items_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_star_items_data'
      required:
        - data
      type: object
    list_todo_categories_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/todo_category_list'
      required:
        - data
      type: object
    list_user_changes_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/user_change_record_list'
      required:
        - data
      type: object
    list_user_depts_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/dept_item'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    list_user_depts_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_user_depts_data'
      required:
        - data
      type: object
    list_user_manage_approval_defines_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/approval_user_manage_defines'
      required:
        - data
      type: object
    list_user_visible_approval_defines_resp:
      properties:
        has_more:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/approval_define'
          maxItems: 1024
          type: array
        page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - has_more
      title: list_user_visible_approval_defines_resp
      type: object
    list_user_visible_approval_defines_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_user_visible_approval_defines_resp'
      required:
        - data
      type: object
    list_users_by_emails_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/user_item_compact_with_dept'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    list_users_by_emails_req_body:
      properties:
        emails:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
        status:
          items:
            $ref: '#/components/schemas/user_status'
          maxItems: 3
          minItems: 1
          type: array
        with_dept:
          type: boolean
      required:
        - emails
        - status
      type: object
    list_users_by_emails_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_users_by_emails_data'
      required:
        - data
      type: object
    list_users_by_ex_user_ids_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/user_item_compact'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    list_users_by_ex_user_ids_req_body:
      properties:
        ex_user_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
        status:
          items:
            $ref: '#/components/schemas/user_status'
          maxItems: 3
          minItems: 1
          type: array
      required:
        - ex_user_ids
        - status
      type: object
    list_users_by_ex_user_ids_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_users_by_ex_user_ids_data'
      required:
        - data
      type: object
    list_users_by_phones_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/user_item_compact_with_dept'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    list_users_by_phones_req_body:
      properties:
        phones:
          items:
            maxLength: 32
            minLength: 1
            type: string
          maxItems: 100
          minItems: 1
          type: array
        status:
          items:
            $ref: '#/components/schemas/user_status'
          maxItems: 3
          minItems: 1
          type: array
        with_dept:
          type: boolean
      required:
        - phones
        - status
      type: object
    list_users_by_phones_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_users_by_phones_data'
      required:
        - data
      type: object
    list_users_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/user_item_with_dept'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 256
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
        - next_page_token
      type: object
    list_users_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_users_data'
      required:
        - data
      type: object
    list_versions_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/version_list_data'
      required:
        - data
      type: object
    list_visibility_rules_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/visibility_rules'
      required:
        - data
      type: object
    list_visible_apps_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/application_basic_data'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
        total:
          format: int64
          type: integer
          x-omitempty: true
      required:
        - items
      type: object
    list_visible_apps_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_visible_apps_data'
      required:
        - data
      type: object
    list_work_flows_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/automation_list_work_flows_resp'
      required:
        - data
      type: object
    list_workbench_favorite_apps_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/workbench_favorite_apps_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
      type: object
    list_workbench_favorite_apps_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/list_workbench_favorite_apps_data'
      required:
        - data
      type: object
    longtask_gen_tpl_from_ppt_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/gen_tpl_from_ppt_result'
      required:
        - data
      type: object
    low_code_app_attachment_field_setting:
      properties:
        accept_types:
          maxLength: 1024
          type: string
        editable:
          type: boolean
        max_count:
          format: int64
          type: integer
        max_size:
          format: int64
          type: integer
        nullable:
          type: boolean
      required:
        - nullable
        - max_count
        - max_size
        - accept_types
        - editable
      type: object
    low_code_app_cascade_field_setting:
      properties:
        multiple:
          type: boolean
        nullable:
          type: boolean
        value_tree:
          items:
            $ref: '#/components/schemas/low_code_app_cascade_value_tree_item'
          maxItems: 1024
          type: array
      required:
        - nullable
        - multiple
        - value_tree
      type: object
    low_code_app_cascade_value_tree_item:
      properties:
        children:
          items:
            $ref: '#/components/schemas/low_code_app_cascade_value_tree_item'
          maxItems: 1024
          type: array
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
        - children
      type: object
    low_code_app_category_field_setting:
      properties:
        category_tree:
          items:
            $ref: '#/components/schemas/low_code_app_category_tree_item'
          maxItems: 1024
          type: array
        multiple:
          type: boolean
        nullable:
          type: boolean
      required:
        - nullable
        - multiple
        - category_tree
      type: object
    low_code_app_category_tree_item:
      properties:
        children:
          items:
            $ref: '#/components/schemas/low_code_app_category_tree_item'
          maxItems: 1024
          type: array
        color:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - color
        - name
        - id
        - children
      type: object
    low_code_app_checkbox_setting:
      properties:
        color:
          maxLength: 1024
          type: string
        default_value:
          maxLength: 1024
          type: string
        icon:
          maxLength: 1024
          type: string
        nullable:
          type: boolean
      required:
        - nullable
        - color
        - default_value
        - icon
      type: object
    low_code_app_children_field_setting:
      properties:
        allow_multi_parent:
          type: boolean
        card_field_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        depends_list:
          items:
            $ref: '#/components/schemas/low_code_app_depend_item'
          maxItems: 1024
          type: array
        not_null_check_delete:
          type: boolean
        search_order_by_list:
          items:
            $ref: '#/components/schemas/low_code_app_order_by_item'
          maxItems: 1024
          type: array
        search_show_field_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - card_field_list
        - search_show_field_list
        - search_order_by_list
        - depends_list
        - not_null_check_delete
        - allow_multi_parent
      type: object
    low_code_app_color_field_setting:
      properties:
        default_value:
          maxLength: 1024
          type: string
        nullable:
          type: boolean
      required:
        - nullable
        - default_value
      type: object
    low_code_app_create_record_req_body:
      properties:
        create_record:
          allOf:
            - $ref: '#/components/schemas/low_code_app_record_data'
          type: object
      required:
        - create_record
      type: object
    low_code_app_date_field_setting:
      properties:
        default_value:
          maxLength: 1024
          type: string
        format:
          maxLength: 1024
          type: string
        gt_field_id:
          maxLength: 1024
          type: string
        lt_field_id:
          maxLength: 1024
          type: string
        nullable:
          type: boolean
        show_time:
          type: boolean
        use_now_as_default_value:
          type: boolean
      required:
        - nullable
        - show_time
        - format
        - gt_field_id
        - lt_field_id
        - use_now_as_default_value
        - default_value
      type: object
    low_code_app_depend_item:
      properties:
        field_id:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        rule:
          maxLength: 1024
          type: string
      required:
        - rule
        - id
        - field_id
      type: object
    low_code_app_double_field_setting:
      properties:
        allow_negative:
          type: boolean
        default_value:
          maxLength: 1024
          type: string
        enable_range:
          type: boolean
        max:
          format: double
          type: number
        min:
          format: double
          type: number
        precision:
          format: int64
          type: integer
      required:
        - enable_range
        - min
        - max
        - default_value
        - allow_negative
        - precision
      type: object
    low_code_app_enum_condition_opt:
      enum:
        - eq
        - ne
        - gt
        - ge
        - lt
        - le
        - contains
        - notContains
        - startsWith
        - endsWith
        - isNull
        - isNotNull
        - between
        - notBetween
      type: string
      x-enum:
        - eq
        - ne
        - gt
        - ge
        - lt
        - le
        - contains
        - not_contains
        - starts_with
        - ends_with
        - is_null
        - is_not_null
        - between
        - not_between
    low_code_app_enum_field_setting:
      oneOf:
        - $ref: '#/components/schemas/low_code_app_name_field_setting'
        - $ref: '#/components/schemas/low_code_app_text_field_setting'
        - $ref: '#/components/schemas/low_code_app_rich_text_field_setting'
        - $ref: '#/components/schemas/low_code_app_integer_field_setting'
        - $ref: '#/components/schemas/low_code_app_double_field_setting'
        - $ref: '#/components/schemas/low_code_app_rate_field_setting'
        - $ref: '#/components/schemas/low_code_app_date_field_setting'
        - $ref: '#/components/schemas/low_code_app_time_field_setting'
        - $ref: '#/components/schemas/low_code_app_select_field_setting'
        - $ref: '#/components/schemas/low_code_app_attachment_field_setting'
        - $ref: '#/components/schemas/low_code_app_checkbox_setting'
        - $ref: '#/components/schemas/low_code_app_people_selector_field_setting'
        - $ref: '#/components/schemas/low_code_app_color_field_setting'
        - $ref: '#/components/schemas/low_code_app_signature_field_setting'
        - $ref: '#/components/schemas/low_code_app_category_field_setting'
        - $ref: '#/components/schemas/low_code_app_geography_field_setting'
        - $ref: '#/components/schemas/low_code_app_cascade_field_setting'
        - $ref: '#/components/schemas/low_code_app_formula_field_setting'
        - $ref: '#/components/schemas/low_code_app_relation_field_setting'
        - $ref: '#/components/schemas/low_code_app_relation_record_field_setting'
        - $ref: '#/components/schemas/low_code_app_relation_rollup_field_setting'
        - $ref: '#/components/schemas/low_code_app_relation_record_field_field_setting'
        - $ref: '#/components/schemas/low_code_app_relation_record_lookup_list_field_setting'
        - $ref: '#/components/schemas/low_code_app_children_field_setting'
        - $ref: '#/components/schemas/low_code_app_id_field_setting'
        - $ref: '#/components/schemas/low_code_app_index_number_field_setting'
        - $ref: '#/components/schemas/low_code_app_static_field_setting'
    low_code_app_enum_field_type:
      enum:
        - Name
        - SingleText
        - MultiText
        - RichText
        - Attachment
        - Checkbox
        - SingleSelect
        - MultiSelect
        - Member
        - Account
        - Date
        - Time
        - Integer
        - Double
        - Rate
        - Color
        - Category
        - Cascader
        - Region
        - Coordinate
        - Children
        - Relation
        - RelationRollup
        - RelationRecord
        - RelationRecordField
        - RelationRecordLookupList
        - ID
        - Formula
        - CreateTime
        - LastModifyTime
        - CreateUser
        - LastModifyUser
        - StaticText
        - IndexNumber
        - Signature
        - Department
      type: string
      x-enum:
        - name
        - single_text
        - multi_text
        - rich_text
        - attachment
        - checkbox
        - single_select
        - multi_select
        - member
        - account
        - date
        - time
        - integer
        - double
        - rate
        - color
        - category
        - cascade
        - region
        - coordinate
        - children
        - relation
        - relation_rollup
        - relation_record
        - relation_record_field
        - relation_record_lookup_list
        - id
        - formula
        - create_time
        - last_modify_time
        - create_user
        - last_modify_user
        - static_text
        - index_number
        - signature
        - department
    low_code_app_field:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        nullable:
          type: boolean
        setting:
          allOf:
            - $ref: '#/components/schemas/low_code_app_enum_field_setting'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/low_code_app_enum_field_type'
          type: object
      required:
        - id
        - name
        - type
        - setting
        - nullable
      type: object
    low_code_app_filter_condition_item:
      properties:
        children:
          items:
            $ref: '#/components/schemas/low_code_app_filter_condition_item'
          maxItems: 1024
          type: array
        condition_list:
          items:
            $ref: '#/components/schemas/low_code_app_search_condition'
          maxItems: 1024
          type: array
        opt:
          allOf:
            - $ref: '#/components/schemas/low_code_app_enum_condition_opt'
          type: object
      required:
        - opt
        - condition_list
        - children
      type: object
    low_code_app_formula_field_setting:
      properties:
        format:
          maxLength: 1024
          type: string
        format_setting_barcode_display_value:
          type: boolean
        format_setting_barcode_height:
          maxLength: 1024
          type: string
        format_setting_image_fit:
          maxLength: 1024
          type: string
        format_setting_image_height:
          maxLength: 1024
          type: string
        format_setting_image_width:
          maxLength: 1024
          type: string
        format_setting_spark_line_fill:
          type: boolean
        formula:
          maxLength: 1024
          type: string
      required:
        - format_setting_barcode_display_value
        - format_setting_image_height
        - format_setting_barcode_height
        - format_setting_spark_line_fill
        - format
        - format_setting_image_width
        - formula
        - format_setting_image_fit
      type: object
    low_code_app_geography_field_setting:
      properties:
        level:
          maxLength: 1024
          type: string
        nullable:
          type: boolean
      required:
        - nullable
        - level
      type: object
    low_code_app_id_field_setting:
      properties:
        prefix:
          maxLength: 1024
          type: string
        reset_type:
          maxLength: 1024
          type: string
        width:
          format: int64
          type: integer
      required:
        - prefix
        - width
        - reset_type
      type: object
    low_code_app_index_number_field_setting:
      properties:
        children_fieldId:
          maxLength: 1024
          type: string
        split:
          maxLength: 1024
          type: string
      required:
        - children_fieldId
        - split
      type: object
    low_code_app_integer_field_setting:
      properties:
        allow_negative:
          type: boolean
        default_value:
          maxLength: 1024
          type: string
        enable_range:
          type: boolean
        max:
          format: int64
          type: integer
        min:
          format: int64
          type: integer
        split_comma:
          maxLength: 1024
          type: string
      required:
        - min
        - max
        - default_value
        - split_comma
        - enable_range
        - allow_negative
      type: object
    low_code_app_member:
      properties:
        member_id:
          maxLength: 1024
          type: string
        member_name:
          maxLength: 1024
          type: string
      required:
        - member_id
        - member_name
      type: object
    low_code_app_name_field_setting:
      properties:
        max:
          format: int64
          type: integer
        min:
          format: int64
          type: integer
        nullable:
          type: boolean
        unique:
          type: boolean
        use_field_concat:
          type: boolean
        value_field_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        value_field_separator:
          maxLength: 1024
          type: string
      required:
        - nullable
        - min
        - max
        - unique
        - use_field_concat
        - value_field_separator
        - value_field_list
      type: object
    low_code_app_order_by_item:
      properties:
        field:
          maxLength: 1024
          type: string
        is_name:
          type: boolean
        type:
          maxLength: 1024
          type: string
      required:
        - field
        - type
        - is_name
      type: object
    low_code_app_people_selector_field_setting:
      properties:
        multiple:
          type: boolean
        notification:
          type: boolean
        nullable:
          type: boolean
      required:
        - nullable
        - multiple
        - notification
      type: object
    low_code_app_rate_field_setting:
      properties:
        color:
          maxLength: 1024
          type: string
        count:
          format: int64
          type: integer
        default_value:
          maxLength: 1024
          type: string
        heart:
          maxLength: 1024
          type: string
      required:
        - color
        - count
        - default_value
        - heart
      type: object
    low_code_app_record_data:
      properties:
        row_data:
          allOf:
            - $ref: '#/components/schemas/map'
          type: object
      required:
        - row_data
      type: object
    low_code_app_relation_field_setting:
      properties:
        card_field_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        filter:
          allOf:
            - $ref: '#/components/schemas/low_code_app_filter_condition_item'
          type: object
        nullable:
          type: boolean
        search_order_by_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        search_show_field_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        table_id:
          maxLength: 1024
          type: string
      required:
        - nullable
        - card_field_list
        - search_show_field_list
        - search_order_by_list
        - table_id
        - filter
      type: object
    low_code_app_relation_record_field_field_setting:
      properties:
        field_id:
          maxLength: 1024
          type: string
        nullable:
          type: boolean
        target_field_id:
          maxLength: 1024
          type: string
        target_table_id:
          maxLength: 1024
          type: string
      required:
        - nullable
        - target_field_id
        - target_table_id
        - field_id
      type: object
    low_code_app_relation_record_field_setting:
      properties:
        disable_show_detail:
          type: boolean
        hide_create_button:
          type: boolean
        hide_edit_button:
          type: boolean
        nullable:
          type: boolean
        query_and_no_show:
          type: boolean
        search_filter_field_default_value_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        search_filter_field_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        search_order_by_list:
          items:
            $ref: '#/components/schemas/low_code_app_order_by_item'
          maxItems: 1024
          type: array
        search_show_field_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        search_type:
          maxLength: 1024
          type: string
        show_form_view:
          type: boolean
        show_type_list:
          maxLength: 1024
          type: string
        table_id:
          maxLength: 1024
          type: string
      required:
        - table_id
        - nullable
        - search_type
        - show_form_view
        - show_type_list
        - hide_edit_button
        - query_and_no_show
        - hide_create_button
        - disable_show_detail
        - search_order_by_list
        - search_show_field_list
        - search_filter_field_list
        - search_filter_field_default_value_list
      type: object
    low_code_app_relation_record_lookup_list_field_setting:
      properties:
        card_field_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        card_order_by_list:
          items:
            $ref: '#/components/schemas/low_code_app_order_by_item'
          maxItems: 1024
          type: array
        field_id:
          maxLength: 1024
          type: string
        filter:
          allOf:
            - $ref: '#/components/schemas/low_code_app_filter_condition_item'
          type: object
        table_id:
          maxLength: 1024
          type: string
      required:
        - field_id
        - table_id
        - card_field_list
        - card_order_by_list
        - filter
      type: object
    low_code_app_relation_rollup_field_setting:
      properties:
        func:
          maxLength: 1024
          type: string
        precision:
          format: int64
          type: integer
        relation_field_id:
          maxLength: 1024
          type: string
        rollup_field_id:
          maxLength: 1024
          type: string
        rollup_table_id:
          maxLength: 1024
          type: string
      required:
        - relation_field_id
        - rollup_table_id
        - rollup_field_id
        - func
        - precision
      type: object
    low_code_app_rich_text_field_setting:
      properties:
        default_value:
          maxLength: 1024
          type: string
        editor_type:
          maxLength: 1024
          type: string
        nullable:
          type: boolean
      required:
        - nullable
        - default_value
        - editor_type
      type: object
    low_code_app_search_condition:
      properties:
        field_id:
          maxLength: 1024
          type: string
        func:
          maxLength: 1024
          type: string
        opt:
          allOf:
            - $ref: '#/components/schemas/low_code_app_enum_condition_opt'
          type: object
        value:
          allOf:
            - $ref: '#/components/schemas/map'
          type: object
        var:
          type: boolean
        var_type:
          format: int64
          type: integer
      required:
        - field_id
        - opt
        - value
        - func
        - var
        - var_type
      type: object
    low_code_app_select_field_setting:
      properties:
        editor_type:
          maxLength: 1024
          type: string
        enable_binding_source:
          type: boolean
        nullable:
          type: boolean
        option_list:
          items:
            $ref: '#/components/schemas/select_option_item'
          maxItems: 1024
          type: array
        source_field_id:
          maxLength: 1024
          type: string
        source_table_id:
          maxLength: 1024
          type: string
      required:
        - nullable
        - option_list
        - editor_type
        - enable_binding_source
        - source_table_id
        - source_field_id
      type: object
    low_code_app_signature_field_setting:
      properties:
        display_width:
          format: int64
          type: integer
        editable:
          type: boolean
        exportable:
          type: boolean
        icon:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        nullable:
          type: boolean
        searchable:
          type: boolean
        sortable:
          type: boolean
        width:
          format: int64
          type: integer
      required:
        - nullable
        - searchable
        - sortable
        - editable
        - name
        - icon
        - width
        - exportable
        - display_width
      type: object
    low_code_app_static_field_setting:
      properties:
        format:
          maxLength: 1024
          type: string
      required:
        - format
      type: object
    low_code_app_table:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
      type: object
    low_code_app_table_record_create_data:
      properties:
        record_id:
          maxLength: 1024
          type: string
      required:
        - record_id
      type: object
    low_code_app_table_record_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/low_code_app_table_record_create_data'
      required:
        - data
      type: object
    low_code_app_table_record_delete_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    low_code_app_table_record_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    low_code_app_table_records_search_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/low_code_app_record_data'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
      type: object
    low_code_app_table_records_search_req_body:
      properties:
        condition_list:
          items:
            $ref: '#/components/schemas/low_code_app_search_condition'
          maxItems: 1024
          type: array
        page_size:
          format: int64
          type: integer
        page_token:
          maxLength: 1024
          type: string
        with_total:
          type: boolean
      type: object
    low_code_app_table_records_search_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/low_code_app_table_records_search_data'
      required:
        - data
      type: object
    low_code_app_table_single_record_search_data:
      properties:
        record:
          $ref: '#/components/schemas/low_code_app_record_data'
      required:
        - record
      type: object
    low_code_app_table_single_record_search_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/low_code_app_table_single_record_search_data'
      required:
        - data
      type: object
    low_code_app_text_field_setting:
      properties:
        default_value:
          maxLength: 1024
          type: string
        format:
          maxLength: 1024
          type: string
        max:
          format: int64
          type: integer
        min:
          format: int64
          type: integer
        nullable:
          type: boolean
        unique:
          type: boolean
      required:
        - nullable
        - min
        - max
        - unique
        - format
        - default_value
      type: object
    low_code_app_time_field_setting:
      properties:
        format:
          maxLength: 1024
          type: string
        nullable:
          type: boolean
      required:
        - nullable
        - format
      type: object
    low_code_update_record_req_body:
      properties:
        update_record:
          allOf:
            - $ref: '#/components/schemas/low_code_app_record_data'
          type: object
      required:
        - update_record
      type: object
    mail_archive:
      properties:
        archive_id:
          maxLength: 1024
          type: string
        archive_time:
          format: int64
          type: integer
        bcc_recipient:
          items:
            $ref: '#/components/schemas/mail_recipient'
          maxItems: 1024
          type: array
        cc_recipient:
          items:
            $ref: '#/components/schemas/mail_recipient'
          maxItems: 1024
          type: array
        email_address:
          maxLength: 1024
          type: string
        folder_name:
          maxLength: 1024
          type: string
        send_time:
          format: int64
          type: integer
        sender:
          allOf:
            - $ref: '#/components/schemas/mail_recipient'
          type: object
        subject:
          maxLength: 1024
          type: string
        to_recipient:
          items:
            $ref: '#/components/schemas/mail_recipient'
          maxItems: 1024
          type: array
      required:
        - archive_id
        - send_time
        - email_address
        - sender
        - subject
        - archive_time
        - folder_name
      type: object
    mail_archive_download:
      properties:
        download_url:
          maxLength: 1024
          type: string
      required:
        - download_url
      type: object
    mail_archive_download_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_archive_download'
      required:
        - data
      type: object
    mail_archive_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/mail_archive'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
        - total
      type: object
    mail_archive_list_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_archive_list'
      required:
        - data
      type: object
    mail_attachment:
      properties:
        filename:
          maxLength: 1024
          type: string
        mime_type:
          maxLength: 1024
          type: string
        part_id:
          maxLength: 1024
          type: string
        size:
          format: int64
          type: integer
      required:
        - part_id
        - mime_type
        - filename
        - size
      type: object
    mail_body_version:
      enum:
        - v1
        - v2
      type: string
      x-enum:
        - v1
        - v2
    mail_contact:
      properties:
        contact_type:
          allOf:
            - $ref: '#/components/schemas/enum_contact_type'
          type: object
        department:
          maxLength: 1024
          type: string
        email_address:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        job_title:
          maxLength: 1024
          type: string
        mobile_phone:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        organization:
          maxLength: 1024
          type: string
        remark:
          maxLength: 1024
          type: string
      required:
        - id
        - name
        - email_address
        - contact_type
      type: object
    mail_contact_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/mail_contact'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
        total:
          format: int64
          type: integer
          x-omitempty: true
      required:
        - items
        - next_page_token
      type: object
    mail_contact_member_item:
      properties:
        email_address:
          maxLength: 128
          minLength: 1
          type: string
        name:
          maxLength: 256
          type: string
          x-omitempty: true
      required:
        - email_address
      type: object
    mail_contact_member_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/mail_contact_member_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
          x-omitempty: true
      required:
        - items
      type: object
    mail_contact_task_create_detail:
      properties:
        failures:
          items:
            $ref: '#/components/schemas/mail_contact_task_create_failure_detail'
          maxItems: 1024
          type: array
        successes:
          items:
            $ref: '#/components/schemas/mail_contact_task_create_success_detail'
          maxItems: 1024
          type: array
      required:
        - successes
        - failures
      type: object
    mail_contact_task_create_failure_detail:
      properties:
        code:
          format: int64
          type: integer
        email_address:
          maxLength: 1024
          type: string
        msg:
          maxLength: 1024
          type: string
      required:
        - email_address
        - code
        - msg
      type: object
    mail_contact_task_create_success_detail:
      properties:
        contact_id:
          maxLength: 1024
          type: string
        email_address:
          maxLength: 1024
          type: string
      required:
        - email_address
        - contact_id
      type: object
    mail_contact_task_detail:
      properties:
        failures:
          items:
            $ref: '#/components/schemas/mail_contact_task_failure_detail'
          maxItems: 1024
          type: array
        successes:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - successes
        - failures
      type: object
    mail_contact_task_failure_detail:
      properties:
        code:
          format: int64
          type: integer
        contact_id:
          maxLength: 1024
          type: string
        msg:
          maxLength: 1024
          type: string
      required:
        - contact_id
        - code
        - msg
      type: object
    mail_folder:
      properties:
        display_name:
          maxLength: 1024
          type: string
        folder_id:
          maxLength: 1024
          type: string
        folder_type:
          allOf:
            - $ref: '#/components/schemas/enum_mail_folder_type'
          type: object
        level:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        parent_folder_id:
          maxLength: 1024
          type: string
        total_message_count:
          format: int64
          type: integer
        unread_message_count:
          format: int64
          type: integer
      required:
        - folder_id
        - level
        - name
        - folder_type
        - display_name
        - total_message_count
        - unread_message_count
      type: object
    mail_folder_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/mail_folder'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
      type: object
    mail_group:
      properties:
        accepted_senders:
          items:
            $ref: '#/components/schemas/mail_member'
          maxItems: 1024
          type: array
        accepted_type:
          allOf:
            - $ref: '#/components/schemas/mail_group_accepted_type'
          type: object
        address:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        members:
          items:
            $ref: '#/components/schemas/mail_member'
          maxItems: 1024
          type: array
        name:
          maxLength: 1024
          type: string
        owner:
          allOf:
            - $ref: '#/components/schemas/mail_recipient'
          type: object
      required:
        - id
        - address
        - name
        - accepted_type
      type: object
    mail_group_accepted_type:
      enum:
        - all
        - company
        - member
        - custom
      type: string
      x-enum:
        - all
        - company
        - member
        - custom
    mail_group_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/mail_group'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
        total:
          format: int64
          type: integer
          x-omitempty: true
      required:
        - items
      type: object
    mail_importance_flag:
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
      type: integer
      x-enum:
        - rule_1
        - rule_2
        - rule_3
        - rule_4
        - rule_5
        - rule_6
        - rule_7
        - rule_8
    mail_member:
      properties:
        avatar:
          maxLength: 1024
          type: string
        email_address:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/mail_member_type'
          type: object
      required:
        - type
      type: object
    mail_member_type:
      enum:
        - dept
        - user
        - mailbox
      type: string
      x-enum:
        - dept
        - user
        - mailbox
    mail_message:
      properties:
        attachments:
          items:
            $ref: '#/components/schemas/mail_attachment'
          maxItems: 1024
          type: array
        bcc_recipient:
          items:
            $ref: '#/components/schemas/mail_recipient'
          maxItems: 1024
          type: array
        body:
          maxLength: 1024
          type: string
        body_version:
          allOf:
            - $ref: '#/components/schemas/mail_body_version'
          type: object
        cc_recipient:
          items:
            $ref: '#/components/schemas/mail_recipient'
          maxItems: 1024
          type: array
        ctime:
          format: int64
          type: integer
        folder_id:
          maxLength: 1024
          type: string
        from:
          allOf:
            - $ref: '#/components/schemas/mail_recipient'
          type: object
        has_attachments:
          type: boolean
        importance_flag:
          items:
            $ref: '#/components/schemas/mail_importance_flag'
          maxItems: 1024
          type: array
        is_draft:
          type: boolean
        is_flag:
          type: boolean
        is_read:
          type: boolean
        mailbox_id:
          maxLength: 1024
          type: string
        message_id:
          maxLength: 1024
          type: string
        priority:
          allOf:
            - $ref: '#/components/schemas/mail_priority'
          type: object
        sender:
          maxLength: 1024
          type: string
        subject:
          maxLength: 1024
          type: string
        thread_id:
          maxLength: 1024
          type: string
        thread_message_count:
          format: int64
          type: integer
        to_recipient:
          items:
            $ref: '#/components/schemas/mail_recipient'
          maxItems: 1024
          type: array
      required:
        - mailbox_id
        - message_id
        - subject
        - sender
        - from
        - thread_id
        - thread_message_count
        - ctime
        - is_flag
        - is_draft
        - is_read
        - folder_id
        - has_attachments
      type: object
    mail_message_file:
      format: binary
    mail_message_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/mail_message_list_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
      type: object
    mail_message_list_item:
      properties:
        bcc_recipient:
          items:
            $ref: '#/components/schemas/mail_recipient'
          maxItems: 1024
          type: array
        body_preview:
          maxLength: 1024
          type: string
        cc_recipient:
          items:
            $ref: '#/components/schemas/mail_recipient'
          maxItems: 1024
          type: array
        ctime:
          format: int64
          type: integer
        folder_id:
          maxLength: 1024
          type: string
        from:
          allOf:
            - $ref: '#/components/schemas/mail_recipient'
          type: object
        has_attachments:
          type: boolean
        importance_flag:
          items:
            $ref: '#/components/schemas/mail_importance_flag'
          maxItems: 1024
          type: array
        is_draft:
          type: boolean
        is_flag:
          type: boolean
        is_read:
          type: boolean
        mailbox_id:
          maxLength: 1024
          type: string
        message_id:
          maxLength: 1024
          type: string
        priority:
          allOf:
            - $ref: '#/components/schemas/mail_priority'
          type: object
        sender:
          maxLength: 1024
          type: string
        subject:
          maxLength: 1024
          type: string
        thread_id:
          maxLength: 1024
          type: string
        to_recipient:
          items:
            $ref: '#/components/schemas/mail_recipient'
          maxItems: 1024
          type: array
      required:
        - mailbox_id
        - message_id
        - subject
        - sender
        - from
        - thread_id
        - ctime
        - is_flag
        - is_draft
        - is_read
        - folder_id
        - has_attachments
        - body_preview
      type: object
    mail_migration_add_req_body:
      properties:
        user_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 50
          type: array
          x-tags:
            - ex:user_id
      type: object
    mail_migration_add_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_migration_add_rsp_body'
      required:
        - data
      type: object
    mail_migration_add_rsp_body:
      properties:
        failed_list:
          items:
            $ref: '#/components/schemas/migrate_mailbox_result'
          maxItems: 1024
          type: array
        successful_list:
          items:
            $ref: '#/components/schemas/migrate_mailbox_result'
          maxItems: 1024
          type: array
      required:
        - successful_list
        - failed_list
      type: object
    mail_migration_list_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_migration_list_rsp_body'
      required:
        - data
      type: object
    mail_migration_list_rsp_body:
      properties:
        items:
          items:
            $ref: '#/components/schemas/mail_migration_task'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
      type: object
    mail_migration_start_req_body:
      properties:
        remote_email_address:
          maxLength: 1024
          type: string
      required:
        - remote_email_address
      type: object
    mail_migration_start_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    mail_migration_task:
      properties:
        ctime:
          format: int64
          type: integer
        email_address:
          maxLength: 1024
          type: string
        error_msg:
          maxLength: 1024
          type: string
        failed:
          format: int64
          type: integer
        ftime:
          format: int64
          type: integer
        remote_email_address:
          maxLength: 1024
          type: string
        start_by_admin:
          type: boolean
        state:
          allOf:
            - $ref: '#/components/schemas/enum_mail_migration_state'
          type: object
        succeed:
          format: int64
          type: integer
        task_id:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - task_id
        - state
        - email_address
        - succeed
        - total
        - failed
        - ctime
        - start_by_admin
        - remote_email_address
      type: object
    mail_priority:
      enum:
        - 0
        - 1
        - 5
      type: integer
      x-enum:
        - normal
        - high
        - low
    mail_recipient:
      properties:
        avatar:
          maxLength: 1024
          type: string
        email_address:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - email_address
      type: object
    mail_task_data:
      properties:
        task_id:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/enum_mail_task_type'
          type: object
      required:
        - task_id
        - type
      type: object
    mail_task_detail:
      properties:
        mail_contacts_create:
          allOf:
            - $ref: '#/components/schemas/mail_contact_task_create_detail'
          type: object
        mail_contacts_delete:
          allOf:
            - $ref: '#/components/schemas/mail_contact_task_detail'
          type: object
        mail_contacts_update:
          allOf:
            - $ref: '#/components/schemas/mail_contact_task_detail'
          type: object
      type: object
    mail_task_info:
      properties:
        description:
          maxLength: 1024
          type: string
        detail:
          allOf:
            - $ref: '#/components/schemas/mail_task_detail'
          type: object
        progress:
          format: int64
          type: integer
        status:
          allOf:
            - $ref: '#/components/schemas/enum_mail_task_status'
          type: object
        task_id:
          maxLength: 1024
          type: string
      required:
        - task_id
        - status
        - progress
        - description
      type: object
    mailbox:
      properties:
        email_address:
          maxLength: 128
          minLength: 1
          type: string
        id:
          maxLength: 40
          minLength: 1
          type: string
        is_primary:
          type: boolean
        name:
          maxLength: 64
          minLength: 1
          type: string
      required:
        - id
        - email_address
        - is_primary
        - name
      type: object
    mailbox_info:
      properties:
        email_address:
          maxLength: 1024
          type: string
        email_type:
          allOf:
            - $ref: '#/components/schemas/enum_mailbox_type'
          type: object
        is_primary:
          type: boolean
      required:
        - email_address
        - email_type
        - is_primary
      type: object
    mailbox_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/mailbox'
          maxItems: 100
          type: array
        next_page_token:
          maxLength: 256
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
      type: object
    mailbox_member_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/mail_member'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
        total:
          format: int64
          type: integer
          x-omitempty: true
      required:
        - items
      type: object
    media:
      properties:
        data:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
      required:
        - id
      type: object
    meeting:
      properties:
        create_time:
          maxLength: 1024
          type: string
        end_time:
          maxLength: 1024
          type: string
        host_user:
          allOf:
            - $ref: '#/components/schemas/meeting_user'
          type: object
        id:
          maxLength: 1024
          type: string
        join_code:
          maxLength: 1024
          type: string
        join_url:
          maxLength: 1024
          type: string
        start_time:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/meeting_status'
          type: object
        subject:
          maxLength: 1024
          type: string
      required:
        - id
        - subject
        - join_code
        - create_time
        - start_time
        - end_time
        - host_user
        - status
      type: object
    meeting_brief:
      properties:
        id:
          maxLength: 1024
          type: string
        join_code:
          maxLength: 1024
          type: string
        join_url:
          maxLength: 1024
          type: string
        subject:
          maxLength: 1024
          type: string
      required:
        - id
        - join_code
      type: object
    meeting_disable:
      properties:
        end_time:
          format: int64
          type: integer
          x-number-unit: ms
        reason:
          maxLength: 200
          type: string
        schedule_disable:
          type: boolean
        start_time:
          format: int64
          type: integer
          x-number-unit: ms
      required:
        - schedule_disable
      type: object
    meeting_disable_req_body:
      properties:
        contact_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 10
          type: array
        end_time:
          format: int64
          type: integer
          x-number-unit: ms
        is_send_disable_notify:
          type: boolean
        reason:
          maxLength: 200
          type: string
        schedule_disable:
          type: boolean
        start_time:
          format: int64
          type: integer
          x-number-unit: ms
      required:
        - schedule_disable
      type: object
    meeting_get_minutes_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_minute'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    meeting_get_minutes_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_get_minutes_data'
      required:
        - data
      type: object
    meeting_get_participants_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_participant_list'
      required:
        - data
      type: object
    meeting_get_recordings_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_recording'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    meeting_get_recordings_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_get_recordings_data'
      required:
        - data
      type: object
    meeting_invite_participants_req_body:
      properties:
        invitees:
          items:
            $ref: '#/components/schemas/meeting_user'
          maxItems: 20
          type: array
      required:
        - invitees
      type: object
    meeting_invite_participants_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    meeting_join_permission:
      enum:
        - anyone
        - company_users
      type: string
      x-enum:
        - anyone
        - company_users
    meeting_list_resp:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_brief'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    meeting_minute:
      properties:
        duration:
          format: int
          type: integer
        id:
          maxLength: 1024
          type: string
        view_url:
          maxLength: 1024
          type: string
      required:
        - id
      type: object
    meeting_participant:
      allOf:
        - $ref: '#/components/schemas/meeting_user'
      properties:
        is_host:
          type: boolean
      required:
        - is_host
      type: object
    meeting_participant_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_participant'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    meeting_recording:
      properties:
        duration:
          format: int
          type: integer
        id:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/meeting_recording_type'
          type: object
        view_url:
          maxLength: 1024
          type: string
      required:
        - id
        - type
      type: object
    meeting_recording_type:
      enum:
        - audio
        - video
      type: string
      x-enum:
        - audio
        - video
    meeting_remove_participants_req_body:
      properties:
        kickout_users:
          items:
            $ref: '#/components/schemas/meeting_user'
          maxItems: 20
          type: array
      required:
        - kickout_users
      type: object
    meeting_remove_participants_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    meeting_reserve:
      properties:
        end_time:
          maxLength: 1024
          type: string
        expired_status:
          allOf:
            - $ref: '#/components/schemas/meeting_reserve_expired_status'
          type: object
        id:
          maxLength: 1024
          type: string
        join_code:
          maxLength: 1024
          type: string
        join_url:
          maxLength: 1024
          type: string
        meeting_settings:
          allOf:
            - $ref: '#/components/schemas/meeting_settings'
          type: object
        owner_id:
          maxLength: 1024
          type: string
        subject:
          maxLength: 1024
          type: string
      required:
        - id
        - join_url
        - end_time
        - expired_status
        - meeting_settings
      type: object
    meeting_reserve_expired_status:
      enum:
        - active
        - expired
      type: string
      x-enum:
        - active
        - expired
    meeting_room:
      properties:
        capacity:
          format: int
          type: integer
        device_list:
          items:
            $ref: '#/components/schemas/meeting_room_device'
          maxItems: 1024
          type: array
        devices:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          type: array
        disable:
          type: boolean
        id:
          maxLength: 1024
          type: string
        level_id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        remark:
          maxLength: 1024
          type: string
        tag_list:
          items:
            $ref: '#/components/schemas/meeting_room_tag'
          maxItems: 1024
          type: array
      required:
        - id
        - level_id
        - name
        - remark
        - capacity
        - disable
        - devices
        - device_list
        - tag_list
      type: object
    meeting_room_access_scope:
      properties:
        members:
          items:
            $ref: '#/components/schemas/meeting_room_access_scope_member'
          maxItems: 50
          type: array
        type:
          $ref: '#/components/schemas/meeting_room_access_scope_type'
      required:
        - type
      type: object
    meeting_room_access_scope_member:
      properties:
        dept_id:
          maxLength: 1024
          type: string
        type:
          $ref: '#/components/schemas/meeting_room_access_scope_member_type'
        user_id:
          maxLength: 1024
          type: string
      required:
        - type
      type: object
    meeting_room_access_scope_member_type:
      enum:
        - user
        - dept
      type: string
      x-enum:
        - user
        - dept
    meeting_room_access_scope_type:
      enum:
        - all
        - partial
      type: string
      x-enum:
        - all
        - partial
    meeting_room_approval_condition_rules:
      properties:
        meeting_duration:
          format: int
          type: integer
          x-number-unit: 分钟
      type: object
    meeting_room_approval_method:
      enum:
        - approver_or_sign
        - custom
      type: string
      x-enum:
        - approver_or_sign
        - custom
    meeting_room_approval_mode:
      enum:
        - all
        - condition
      type: string
      x-enum:
        - all
        - condition
    meeting_room_approval_setting:
      properties:
        approval_condition_rules:
          allOf:
            - $ref: '#/components/schemas/meeting_room_approval_condition_rules'
          type: object
        approval_method:
          allOf:
            - $ref: '#/components/schemas/meeting_room_approval_method'
          type: object
        approval_mode:
          allOf:
            - $ref: '#/components/schemas/meeting_room_approval_mode'
          type: object
        approvers:
          items:
            $ref: '#/components/schemas/meeting_room_approver'
          maxItems: 10
          minItems: 1
          type: array
        is_enabled:
          type: boolean
      type: object
    meeting_room_approver:
      properties:
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
      type: object
    meeting_room_banned_feature:
      enum:
        - booking
      type: string
      x-enum:
        - booking
    meeting_room_banned_user:
      properties:
        feature:
          items:
            $ref: '#/components/schemas/meeting_room_banned_feature'
          maxItems: 10
          type: array
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
        - feature
      title: 会议室黑名单用户
      type: object
    meeting_room_booking:
      properties:
        accept_count:
          format: int
          type: integer
        calendar_id:
          maxLength: 1024
          type: string
        create_time:
          format: int64
          type: integer
        delete_time:
          format: int64
          type: integer
        dept_name:
          maxLength: 1024
          type: string
        end_time:
          format: int64
          type: integer
        event_id:
          maxLength: 1024
          type: string
        fail_reason:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        invite_count:
          format: int
          type: integer
        is_recurring:
          type: boolean
        result:
          $ref: '#/components/schemas/meeting_room_booking_result'
        room_id:
          maxLength: 1024
          type: string
        room_name:
          maxLength: 1024
          type: string
        sign_in_status:
          $ref: '#/components/schemas/meeting_room_sign_in_status'
        sign_time:
          format: int64
          type: integer
        start_time:
          format: int64
          type: integer
        summary:
          maxLength: 1024
          type: string
        user:
          allOf:
            - $ref: '#/components/schemas/meeting_room_booking_user'
          type: object
      required:
        - id
        - room_name
        - room_id
        - summary
        - user
        - start_time
        - end_time
        - create_time
        - result
        - event_id
        - calendar_id
        - dept_name
        - invite_count
        - accept_count
        - fail_reason
        - sign_in_status
        - sign_time
        - is_recurring
        - delete_time
      type: object
    meeting_room_booking_form_field:
      properties:
        answers:
          items:
            maxLength: 200
            type: string
          maxItems: 1024
          type: array
        title:
          maxLength: 200
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/meeting_room_booking_form_question_type'
          type: object
      required:
        - type
        - title
        - answers
      type: object
    meeting_room_booking_form_question_type:
      enum:
        - single_choice
        - multiple_choice
        - text
      type: string
      x-enum:
        - single_choice
        - multiple_choice
        - text
    meeting_room_booking_form_submission:
      properties:
        booking_id:
          maxLength: 1024
          type: string
        fields:
          items:
            $ref: '#/components/schemas/meeting_room_booking_form_field'
          maxItems: 1024
          type: array
        room_id:
          maxLength: 1024
          type: string
        submit_time:
          format: int64
          type: integer
          x-number-unit: s
      required:
        - booking_id
        - room_id
        - fields
        - submit_time
      type: object
    meeting_room_booking_release_type:
      enum:
        - meeting_auto_release
        - manual_release
      type: string
      x-enum:
        - meeting_auto_release
        - manual_release
    meeting_room_booking_result:
      enum:
        - success
        - failed
        - approving
      type: string
      x-enum:
        - success
        - failed
        - approving
    meeting_room_booking_update_status:
      enum:
        - success
        - failed
      type: string
      x-enum:
        - success
        - failed
    meeting_room_booking_user:
      properties:
        id:
          maxLength: 1024
          type: string
        user_name:
          maxLength: 1024
          type: string
      required:
        - id
        - user_name
      type: object
    meeting_room_device:
      properties:
        name:
          maxLength: 100
          type: string
      required:
        - name
      type: object
    meeting_room_level:
      properties:
        has_child:
          type: boolean
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        parent_id:
          maxLength: 1024
          type: string
        path:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - id
        - name
        - parent_id
        - path
        - has_child
      type: object
    meeting_room_privileged_user:
      properties:
        user_id:
          maxLength: 1024
          type: string
        user_name:
          maxLength: 1024
          type: string
      required:
        - user_id
        - user_name
      title: 会议室白名单用户
      type: object
    meeting_room_setting:
      properties:
        access_scope:
          $ref: '#/components/schemas/meeting_room_access_scope'
        approval_setting:
          allOf:
            - $ref: '#/components/schemas/meeting_room_approval_setting'
          type: object
        approve_time:
          format: int
          type: integer
          x-number-unit: 分钟
        booking_duration:
          format: int
          type: integer
          x-number-unit: 分钟
        booking_limit:
          type: boolean
        booking_preview:
          format: int
          type: integer
          x-number-unit: 天
        booking_time:
          maxLength: 1024
          type: string
        room_id:
          maxLength: 1024
          type: string
      required:
        - room_id
        - booking_limit
        - booking_time
        - booking_duration
        - booking_preview
        - approve_time
        - access_scope
        - approval_setting
      type: object
    meeting_room_setting_limit:
      properties:
        access_scope:
          $ref: '#/components/schemas/meeting_room_access_scope'
        booking_duration:
          format: int
          type: integer
        booking_limit_switch:
          type: boolean
        booking_preview:
          format: int
          type: integer
        booking_time:
          maxLength: 1024
          type: string
      required:
        - access_scope
      type: object
    meeting_room_sign_in_status:
      enum:
        - wait
        - success
        - release
        - ""
      type: string
      x-enum:
        - wait
        - success
        - release
        - empty
    meeting_room_tag:
      properties:
        color:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
        - color
      type: object
    meeting_set_host_req_body:
      properties:
        host_user:
          allOf:
            - $ref: '#/components/schemas/meeting_user'
          type: object
        old_host_user:
          allOf:
            - $ref: '#/components/schemas/meeting_user'
          type: object
      required:
        - host_user
      type: object
    meeting_set_host_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    meeting_settings:
      properties:
        auto_record:
          type: boolean
        join_permission:
          $ref: '#/components/schemas/meeting_join_permission'
      required:
        - join_permission
      type: object
    meeting_share_recording_action_type:
      enum:
        - grant
        - revoke
      type: string
      x-enum:
        - grant
        - revoke
    meeting_share_recording_req_body:
      properties:
        action_type:
          $ref: '#/components/schemas/meeting_share_recording_action_type'
        permission_objects:
          items:
            $ref: '#/components/schemas/meeting_user'
          maxItems: 1024
          type: array
      required:
        - permission_objects
        - action_type
      type: object
    meeting_share_recording_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    meeting_start_recording_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    meeting_status:
      enum:
        - ongoing
        - ended
      type: string
      x-enum:
        - ongoing
        - ended
    meeting_stop_recording_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    meeting_transcript_content_json:
      properties:
        paragraphs:
          items:
            $ref: '#/components/schemas/transcript_paragraph'
          maxItems: 1024
          type: array
      required:
        - paragraphs
      type: object
    meeting_user:
      properties:
        type:
          $ref: '#/components/schemas/meeting_user_type'
        user_id:
          maxLength: 1024
          type: string
      required:
        - type
        - user_id
      type: object
    meeting_user_type:
      enum:
        - user
      type: string
      x-enum:
        - user
    message:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/message_content'
          nullable: true
          type: object
        ctime:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        sender:
          allOf:
            - $ref: '#/components/schemas/im_identity'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/message_type'
          type: object
      required:
        - id
        - type
        - sender
        - ctime
      title: message
      type: object
    message_action_type:
      enum:
        - approved
        - rejected
        - revoked
        - rollback
        - terminated
        - deleted
        - processed
        - disabled
        - enabled
      title: message_action_type
      type: string
      x-enum:
        - approved
        - rejected
        - revoked
        - rollback
        - terminated
        - deleted
        - processed
        - disabled
        - enabled
    message_audio:
      properties:
        media:
          allOf:
            - $ref: '#/components/schemas/message_audio_media'
          type: object
        storage_key:
          maxLength: 1024
          type: string
      required:
        - storage_key
        - media
      title: message_audio
      type: object
    message_audio_media:
      properties:
        channels:
          format: int32
          type: integer
        codec:
          allOf:
            - $ref: '#/components/schemas/message_audio_media_codec'
          type: object
        duration:
          format: int64
          type: integer
        format:
          allOf:
            - $ref: '#/components/schemas/message_audio_media_format'
          type: object
        sample_bits:
          format: int32
          type: integer
        sample_rate:
          format: int32
          type: integer
        size:
          format: int64
          type: integer
      required:
        - format
        - codec
        - size
        - duration
        - sample_rate
        - sample_bits
        - channels
      type: object
    message_audio_media_codec:
      enum:
        - amr
      type: string
      x-enum:
        - amr
    message_audio_media_format:
      enum:
        - amr
      type: string
      x-enum:
        - amr
    message_builtin_sticker:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/message_builtin_sticker_type'
          type: object
        version:
          maxLength: 1024
          type: string
      required:
        - type
        - id
        - version
        - name
      title: message_builtin_sticker
      type: object
    message_builtin_sticker_type:
      enum:
        - emoji
        - xiaomeng
      title: message_builtin_sticker_type
      type: string
      x-enum:
        - emoji
        - xiaomeng
    message_button_config:
      properties:
        approve_need_reason:
          nullable: true
          type: boolean
          x-omitempty: true
        reject_need_reason:
          nullable: true
          type: boolean
          x-omitempty: true
      title: message_button_config
      type: object
    message_calendar:
      properties:
        attendees:
          items:
            $ref: '#/components/schemas/identity'
          maxItems: 1024
          type: array
        end_time:
          format: int64
          type: integer
        event_id:
          maxLength: 1024
          type: string
        organizer:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        start_time:
          format: int64
          type: integer
        summary:
          maxLength: 1024
          type: string
      required:
        - event_id
        - summary
        - organizer
        - start_time
        - end_time
      title: message_calendar
      type: object
    message_card:
      properties:
        config:
          allOf:
            - $ref: '#/components/schemas/message_card_config'
          nullable: true
          type: object
          x-omitempty: true
        i18n_items:
          items:
            $ref: '#/components/schemas/message_card_item_attr'
          maxItems: 10
          minItems: 1
          type: array
        link:
          allOf:
            - $ref: '#/components/schemas/message_card_link'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - i18n_items
      title: message_card
      type: object
    message_card_action:
      properties:
        actions:
          items:
            $ref: '#/components/schemas/message_card_action_element'
          maxItems: 20
          minItems: 1
          type: array
        layout:
          allOf:
            - $ref: '#/components/schemas/message_card_action_layout'
          type: object
          x-omitempty: true
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
      required:
        - tag
        - actions
      title: message_card_action
      type: object
    message_card_action_config:
      properties:
        disable:
          type: boolean
      title: message_card_action_config
      type: object
    message_card_action_content:
      properties:
        placeholder:
          maxLength: 1024
          type: string
          x-omitempty: true
        value:
          maxLength: 1024
          type: string
          x-omitempty: true
      title: message_card_action_content
      type: object
    message_card_action_element:
      properties:
        button:
          allOf:
            - $ref: '#/components/schemas/message_card_button'
          nullable: true
          type: object
          x-omitempty: true
        date_picker:
          allOf:
            - $ref: '#/components/schemas/message_card_date_picker'
          nullable: true
          type: object
          x-omitempty: true
        dropdown:
          allOf:
            - $ref: '#/components/schemas/message_card_dropdown'
          nullable: true
          type: object
          x-omitempty: true
        input:
          allOf:
            - $ref: '#/components/schemas/message_card_input'
          nullable: true
          type: object
          x-omitempty: true
        selection:
          allOf:
            - $ref: '#/components/schemas/message_card_selection'
          nullable: true
          type: object
          x-omitempty: true
      title: message_card_action_element
      type: object
    message_card_action_layout:
      enum:
        - exclusive_row
        - bisected
        - trisection
        - flow
      type: string
      x-enum:
        - exclusive_row
        - bisected
        - trisection
        - flow
    message_card_action_option:
      properties:
        content:
          maxLength: 1024
          type: string
        value:
          maxLength: 1024
          type: string
      required:
        - content
        - value
      title: message_card_action_option
      type: object
    message_card_button:
      allOf:
        - $ref: '#/components/schemas/message_card_button_exppand_style'
      properties:
        key:
          maxLength: 1024
          type: string
          x-omitempty: true
        link:
          allOf:
            - $ref: '#/components/schemas/message_card_link'
          nullable: true
          type: object
          x-omitempty: true
        modal:
          allOf:
            - $ref: '#/components/schemas/message_card_modal'
          nullable: true
          type: object
          x-omitempty: true
        required:
          type: boolean
        style:
          allOf:
            - $ref: '#/components/schemas/message_card_button_style'
          type: object
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
        text:
          allOf:
            - $ref: '#/components/schemas/message_text'
          type: object
      required:
        - tag
        - text
        - style
      title: message_card_button
      type: object
    message_card_button_exppand_style:
      properties:
        disabled_tips:
          allOf:
            - $ref: '#/components/schemas/message_text'
          nullable: true
          type: object
          x-omitempty: true
        hover_tips:
          allOf:
            - $ref: '#/components/schemas/message_text'
          nullable: true
          type: object
          x-omitempty: true
        icon:
          allOf:
            - $ref: '#/components/schemas/message_card_icon'
          nullable: true
          type: object
          x-omitempty: true
        margin:
          maxLength: 1024
          type: string
          x-omitempty: true
        width:
          maxLength: 1024
          type: string
          x-omitempty: true
      title: message_card_button_exppand_style
      type: object
    message_card_button_style:
      enum:
        - normal
        - secondary
        - warn
        - disable
        - text
        - primary_text
        - danger_text
        - primary_filled
        - danger_filled
      title: message_card_button_style
      type: string
      x-enum:
        - normal
        - secondary
        - warn
        - disable
        - text
        - primary_text
        - danger_text
        - primary_filled
        - danger_filled
    message_card_carousel:
      properties:
        elements:
          items:
            $ref: '#/components/schemas/message_card_image'
          maxItems: 20
          minItems: 1
          type: array
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
      required:
        - tag
        - elements
      title: message_card_carousel
      type: object
    message_card_config:
      properties:
        allowd_operate_list:
          items:
            $ref: '#/components/schemas/message_card_config_operate_type'
          maxItems: 4
          type: array
          x-omitempty: true
        filter_key:
          maxLength: 1024
          type: string
          x-omitempty: true
        nonsupport_client:
          allOf:
            - $ref: '#/components/schemas/message_card_config_unsupported_client'
          nullable: true
          type: object
          x-omitempty: true
        processing_state:
          allOf:
            - $ref: '#/components/schemas/message_card_processing_state'
          nullable: true
          type: object
          x-omitempty: true
        shared_card:
          type: boolean
        todo_switch:
          type: boolean
        width_mode:
          allOf:
            - $ref: '#/components/schemas/message_card_width_mode'
          nullable: true
          type: object
          x-omitempty: true
      title: message_card_config
      type: object
    message_card_config_operate_type:
      enum:
        - disable
        - forward
        - reply
        - favorite
        - accept_all
        - copy
        - pin
      type: string
      x-enum:
        - disable
        - forward
        - reply
        - favorite
        - accept_all
        - copy
        - pin
    message_card_config_unsupported_client:
      properties:
        client_type:
          items:
            $ref: '#/components/schemas/message_card_config_unsupported_client_type'
          maxItems: 3
          type: array
          x-omitempty: true
        describe:
          maxLength: 1024
          type: string
          x-omitempty: true
      type: object
    message_card_config_unsupported_client_type:
      enum:
        - pc
        - ios
        - android
      type: string
      x-enum:
        - pc
        - ios
        - android
    message_card_date_picker:
      properties:
        config:
          allOf:
            - $ref: '#/components/schemas/message_card_action_config'
          nullable: true
          type: object
          x-omitempty: true
        content:
          allOf:
            - $ref: '#/components/schemas/message_card_action_content'
          nullable: true
          type: object
          x-omitempty: true
        key:
          maxLength: 1024
          type: string
        required:
          type: boolean
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
      required:
        - tag
        - key
      title: message_card_date_picker
      type: object
    message_card_div:
      properties:
        division:
          allOf:
            - $ref: '#/components/schemas/message_card_division_type'
          nullable: true
          type: object
          x-omitempty: true
        fields:
          items:
            $ref: '#/components/schemas/message_card_text'
          maxItems: 1024
          type: array
        link:
          allOf:
            - $ref: '#/components/schemas/message_card_link'
          nullable: true
          type: object
          x-omitempty: true
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
      required:
        - tag
        - fields
      title: message_card_div
      type: object
    message_card_division_type:
      enum:
        - middle
        - flow_left
      title: message_card_division_type
      type: string
      x-enum:
        - middle
        - flow_left
    message_card_dropdown:
      properties:
        name:
          allOf:
            - $ref: '#/components/schemas/message_text'
          type: object
        operations:
          items:
            allOf:
              - $ref: '#/components/schemas/message_card_dropdown_operation'
            nullable: true
            type: object
          maxItems: 1024
          type: array
          x-omitempty: true
        required:
          type: boolean
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
      required:
        - tag
        - name
      title: message_card_dropdown
      type: object
    message_card_dropdown_operation:
      properties:
        href:
          allOf:
            - $ref: '#/components/schemas/message_card_link_attr'
          nullable: true
          type: object
          x-omitempty: true
        key:
          maxLength: 1024
          type: string
        mark:
          allOf:
            - $ref: '#/components/schemas/message_card_image_content'
          nullable: true
          type: object
          x-omitempty: true
        modal:
          allOf:
            - $ref: '#/components/schemas/message_card_modal'
          nullable: true
          type: object
          x-omitempty: true
        name:
          allOf:
            - $ref: '#/components/schemas/message_text'
          type: object
      required:
        - key
        - name
      title: message_card_dropdown_operation
      type: object
    message_card_element:
      properties:
        action:
          allOf:
            - $ref: '#/components/schemas/message_card_action'
          nullable: true
          type: object
          x-omitempty: true
        carousel:
          allOf:
            - $ref: '#/components/schemas/message_card_carousel'
          nullable: true
          type: object
          x-omitempty: true
        div:
          allOf:
            - $ref: '#/components/schemas/message_card_div'
          nullable: true
          type: object
          x-omitempty: true
        hr:
          allOf:
            - $ref: '#/components/schemas/message_card_hr'
          nullable: true
          type: object
          x-omitempty: true
        image:
          allOf:
            - $ref: '#/components/schemas/message_card_image'
          nullable: true
          type: object
          x-omitempty: true
        medium_note:
          allOf:
            - $ref: '#/components/schemas/message_card_medium_note'
          nullable: true
          type: object
          x-omitempty: true
        note:
          allOf:
            - $ref: '#/components/schemas/message_card_note'
          nullable: true
          type: object
          x-omitempty: true
        text:
          allOf:
            - $ref: '#/components/schemas/message_card_text'
          nullable: true
          type: object
          x-omitempty: true
        text_action:
          allOf:
            - $ref: '#/components/schemas/message_card_text_action'
          nullable: true
          type: object
          x-omitempty: true
        video:
          allOf:
            - $ref: '#/components/schemas/message_card_video'
          nullable: true
          type: object
          x-omitempty: true
      title: message_card_element
      type: object
    message_card_hr:
      properties:
        style:
          allOf:
            - $ref: '#/components/schemas/message_card_hr_style'
          type: object
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
      required:
        - tag
        - style
      title: message_card_hr
      type: object
    message_card_hr_style:
      enum:
        - solid
        - dashed
      type: string
      x-enum:
        - solid
        - dashed
    message_card_i18n_type:
      enum:
        - zh-CN
        - zh-TW
        - en-US
        - th-TH
        - ja-JP
        - zh-HK
        - es-MX
        - pt-BR
        - de-DE
      type: string
      x-enum:
        - zh_cn
        - zh_tw
        - en_us
        - th_th
        - ja_jp
        - zh_hk
        - es_MX
        - pt_BR
        - de_DE
    message_card_icon:
      properties:
        storage_key:
          maxLength: 1024
          type: string
          x-omitempty: true
        tag:
          maxLength: 1024
          type: string
        token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - tag
      title: message_card_icon
      type: object
    message_card_image:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/message_card_image_content'
          type: object
        link:
          allOf:
            - $ref: '#/components/schemas/message_card_link'
          nullable: true
          type: object
          x-omitempty: true
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
      required:
        - tag
        - content
      title: message_card_image
      type: object
    message_card_image_content:
      allOf:
        - $ref: '#/components/schemas/message_card_image_style'
      properties:
        storage_key:
          maxLength: 1024
          type: string
      required:
        - storage_key
      title: message_card_image_content
      type: object
    message_card_image_style:
      properties:
        alt:
          allOf:
            - $ref: '#/components/schemas/message_text'
          nullable: true
          type: object
          x-omitempty: true
        corner_radius:
          maxLength: 1024
          type: string
          x-omitempty: true
        margin:
          maxLength: 1024
          type: string
          x-omitempty: true
        preview:
          nullable: true
          type: boolean
          x-omitempty: true
        scale_type:
          allOf:
            - $ref: '#/components/schemas/message_card_image_style_scale_type'
          type: object
          x-omitempty: true
        size:
          maxLength: 1024
          type: string
          x-omitempty: true
        transparent:
          type: boolean
          x-omitempty: true
      title: message_card_image_style
      type: object
    message_card_image_style_scale_type:
      enum:
        - crop_top
        - crop_center
        - fit_horizontal
      title: message_card_image_style_scale_type
      type: string
      x-enum:
        - crop_top
        - crop_center
        - fit_horizontal
    message_card_input:
      properties:
        config:
          allOf:
            - $ref: '#/components/schemas/message_card_action_config'
          nullable: true
          type: object
          x-omitempty: true
        content:
          allOf:
            - $ref: '#/components/schemas/message_card_action_content'
          nullable: true
          type: object
          x-omitempty: true
        key:
          maxLength: 1024
          type: string
        required:
          type: boolean
        size:
          format: int32
          type: integer
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
      required:
        - tag
        - key
        - size
      title: message_card_input
      type: object
    message_card_item:
      properties:
        elements:
          items:
            $ref: '#/components/schemas/message_card_element'
          maxItems: 20
          type: array
        header:
          allOf:
            - $ref: '#/components/schemas/message_card_item_header'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - elements
      title: message_card_item
      type: object
    message_card_item_attr:
      properties:
        key:
          $ref: '#/components/schemas/message_card_i18n_type'
        value:
          $ref: '#/components/schemas/message_card_item'
      required:
        - key
        - value
      title: message_card_item_attr
      type: object
    message_card_item_header:
      properties:
        link:
          allOf:
            - $ref: '#/components/schemas/message_card_link'
          nullable: true
          type: object
          x-omitempty: true
        subtitle:
          allOf:
            - $ref: '#/components/schemas/message_card_text'
          type: object
          x-omitempty: true
        template:
          maxLength: 1024
          type: string
          x-omitempty: true
        title:
          allOf:
            - $ref: '#/components/schemas/message_card_text'
          type: object
      required:
        - title
      title: message_card_item_header
      type: object
    message_card_link:
      properties:
        android_url:
          maxLength: 1024
          type: string
        harmony_url:
          maxLength: 1024
          type: string
        ios_url:
          maxLength: 1024
          type: string
        pc_url:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
        web_url:
          maxLength: 1024
          type: string
      required:
        - url
      title: message_card_link
      type: object
    message_card_link_attr:
      properties:
        key:
          maxLength: 1024
          type: string
        value:
          $ref: '#/components/schemas/message_card_link'
      required:
        - key
        - value
      title: message_card_link_attr
      type: object
    message_card_medium_note:
      properties:
        image:
          allOf:
            - $ref: '#/components/schemas/message_card_image_content'
          type: object
        link:
          allOf:
            - $ref: '#/components/schemas/message_card_link'
          nullable: true
          type: object
          x-omitempty: true
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
        text:
          allOf:
            - $ref: '#/components/schemas/message_text'
          type: object
      required:
        - tag
        - text
        - image
      title: message_card_medium_note
      type: object
    message_card_modal:
      properties:
        content:
          items:
            $ref: '#/components/schemas/message_card_textarea'
          maxItems: 1024
          type: array
        footer:
          allOf:
            - $ref: '#/components/schemas/message_card_modal_footer'
          nullable: true
          type: object
          x-omitempty: true
        header:
          maxLength: 1024
          type: string
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
      required:
        - tag
        - header
        - content
      title: message_card_modal
      type: object
    message_card_modal_footer:
      properties:
        cancel:
          allOf:
            - $ref: '#/components/schemas/message_text'
          nullable: true
          type: object
        confirm:
          allOf:
            - $ref: '#/components/schemas/message_text'
          nullable: true
          type: object
      required:
        - confirm
        - cancel
      title: message_card_modal_footer
      type: object
    message_card_note:
      properties:
        elements:
          items:
            $ref: '#/components/schemas/message_card_element'
          maxItems: 20
          minItems: 1
          type: array
        link:
          allOf:
            - $ref: '#/components/schemas/message_card_link'
          nullable: true
          type: object
          x-omitempty: true
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
      required:
        - tag
        - elements
      title: message_card_note
      type: object
    message_card_processing_state:
      enum:
        - unprocessed
        - processing
        - processed
      title: message_card_processing_state
      type: string
      x-enum:
        - unprocessed
        - processing
        - processed
    message_card_selection:
      properties:
        config:
          allOf:
            - $ref: '#/components/schemas/message_card_action_config'
          nullable: true
          type: object
          x-omitempty: true
        content:
          allOf:
            - $ref: '#/components/schemas/message_card_action_content'
          nullable: true
          type: object
          x-omitempty: true
        key:
          maxLength: 1024
          type: string
        options:
          items:
            $ref: '#/components/schemas/message_card_action_option'
          maxItems: 1024
          minItems: 1
          type: array
        required:
          type: boolean
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
      required:
        - tag
        - key
        - options
      title: message_card_selection
      type: object
    message_card_tag_type:
      enum:
        - text
        - div
        - img
        - carousel
        - video
        - medium_note
        - note
        - hr
        - action
        - button
        - modal
        - textarea
        - selection
        - date_picker
        - input
        - dropdown
        - text_action
      title: message_card_tag_type
      type: string
      x-enum:
        - text
        - div
        - img
        - carousel
        - video
        - medium_note
        - note
        - hr
        - action
        - button
        - modal
        - textarea
        - selection
        - date_picker
        - input
        - dropdown
        - text_action
    message_card_text:
      properties:
        href:
          items:
            $ref: '#/components/schemas/message_card_link_attr'
          maxItems: 1024
          type: array
          x-omitempty: true
        link:
          allOf:
            - $ref: '#/components/schemas/message_card_link'
          nullable: true
          type: object
          x-omitempty: true
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
        text:
          allOf:
            - $ref: '#/components/schemas/message_text'
          type: object
      required:
        - tag
        - text
      title: message_card_text
      type: object
    message_card_text_action:
      properties:
        action:
          allOf:
            - $ref: '#/components/schemas/message_card_action_element'
          type: object
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
        text:
          allOf:
            - $ref: '#/components/schemas/message_card_text'
          type: object
      required:
        - tag
        - text
        - action
      title: message_card_text_action
      type: object
    message_card_textarea:
      properties:
        name:
          maxLength: 1024
          type: string
        placeholder:
          maxLength: 1024
          type: string
        prompt:
          maxLength: 1024
          type: string
        size:
          format: int32
          type: integer
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/message_card_textarea_type'
          type: object
          x-omitempty: true
      required:
        - tag
        - name
        - size
        - placeholder
      title: message_card_textarea
      type: object
    message_card_textarea_type:
      enum:
        - input_box
        - prompt_box
      title: message_card_textarea_type
      type: string
      x-enum:
        - input_box
        - prompt_box
    message_card_video:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/message_card_video_content'
          type: object
        tag:
          allOf:
            - $ref: '#/components/schemas/message_card_tag_type'
          type: object
      required:
        - tag
        - content
      title: message_card_video
      type: object
    message_card_video_content:
      properties:
        cover_storage_key:
          maxLength: 1024
          type: string
        storage_key:
          maxLength: 1024
          type: string
      required:
        - storage_key
        - cover_storage_key
      title: message_card_video_content
      type: object
    message_card_width_mode:
      enum:
        - compact
        - fill
      title: message_card_width_mode
      type: string
      x-enum:
        - compact
        - fill
    message_cloud_file:
      properties:
        id:
          maxLength: 1024
          type: string
        link_id:
          maxLength: 1024
          type: string
        link_url:
          maxLength: 1024
          type: string
      required:
        - id
        - link_url
        - link_id
      title: message_cloud_file
      type: object
    message_content:
      properties:
        audio:
          allOf:
            - $ref: '#/components/schemas/message_audio'
          nullable: true
          type: object
        calendar:
          allOf:
            - $ref: '#/components/schemas/message_calendar'
          nullable: true
          type: object
        card:
          allOf:
            - $ref: '#/components/schemas/message_card'
          nullable: true
          type: object
        file:
          allOf:
            - $ref: '#/components/schemas/message_file'
          nullable: true
          type: object
        image:
          allOf:
            - $ref: '#/components/schemas/message_image'
          nullable: true
          type: object
        location:
          allOf:
            - $ref: '#/components/schemas/message_location'
          nullable: true
          type: object
        meeting:
          allOf:
            - $ref: '#/components/schemas/message_meeting'
          nullable: true
          type: object
        merge_forward:
          allOf:
            - $ref: '#/components/schemas/message_merge_forward'
          nullable: true
          type: object
        rich_text:
          allOf:
            - $ref: '#/components/schemas/message_rich_text'
          nullable: true
          type: object
        share_user:
          allOf:
            - $ref: '#/components/schemas/message_share_user'
          nullable: true
          type: object
        sticker:
          allOf:
            - $ref: '#/components/schemas/message_sticker'
          nullable: true
          type: object
        text:
          allOf:
            - $ref: '#/components/schemas/message_text'
          nullable: true
          type: object
        video:
          allOf:
            - $ref: '#/components/schemas/message_video'
          nullable: true
          type: object
        vote:
          allOf:
            - $ref: '#/components/schemas/message_vote'
          nullable: true
          type: object
      title: message_content
      type: object
    message_content_response:
      properties:
        delta:
          maxLength: 1024
          type: string
        full:
          maxLength: 1024
          type: string
        reason:
          maxLength: 1024
          type: string
        recommend:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        title:
          maxLength: 1024
          type: string
        type:
          maxLength: 1024
          type: string
      required:
        - type
        - delta
        - reason
      type: object
    message_data_response:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/message_content_response'
          type: object
        id:
          maxLength: 1024
          type: string
        parent_id:
          maxLength: 1024
          type: string
      required:
        - id
        - parent_id
        - content
      type: object
    message_detail_links:
      properties:
        android_url:
          maxLength: 1024
          type: string
          x-omitempty: true
        ios_url:
          maxLength: 1024
          type: string
          x-omitempty: true
        pc_url:
          maxLength: 1024
          type: string
          x-omitempty: true
      title: message_detail_links
      type: object
    message_file:
      properties:
        cloud:
          allOf:
            - $ref: '#/components/schemas/message_cloud_file'
          nullable: true
          type: object
        local:
          allOf:
            - $ref: '#/components/schemas/message_local_file'
          nullable: true
          type: object
        p2p:
          allOf:
            - $ref: '#/components/schemas/message_p2p_file'
          nullable: true
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/message_file_type'
          type: object
      required:
        - type
      title: message_file
      type: object
    message_file_p2p_status:
      enum:
        - setup
        - pending
        - sending
        - closed
      title: message_file_p2p_status
      type: string
      x-enum:
        - setup
        - pending
        - sending
        - closed
    message_file_type:
      enum:
        - local
        - cloud
        - p2p
      title: message_file_type
      type: string
      x-enum:
        - local
        - cloud
        - p2p
    message_image:
      properties:
        height:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        size:
          format: int64
          type: integer
        storage_key:
          maxLength: 1024
          type: string
        thumbnail_storage_key:
          maxLength: 1024
          type: string
        thumbnail_type:
          maxLength: 1024
          type: string
        type:
          maxLength: 1024
          type: string
        width:
          format: int64
          type: integer
      required:
        - storage_key
        - type
        - width
        - height
        - size
        - name
      title: message_image
      type: object
    message_local_file:
      properties:
        name:
          maxLength: 1024
          type: string
        size:
          format: int64
          type: integer
        storage_key:
          maxLength: 1024
          type: string
      required:
        - storage_key
        - size
        - name
      title: message_local_file
      type: object
    message_location:
      properties:
        address:
          maxLength: 1024
          type: string
        latitude:
          format: double
          type: number
        longitude:
          format: double
          type: number
        storage_key:
          maxLength: 1024
          type: string
        title:
          maxLength: 1024
          type: string
      required:
        - storage_key
        - title
        - address
        - latitude
        - longitude
      title: message_location
      type: object
    message_meeting:
      properties:
        creator:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        end_date_time:
          format: int64
          type: integer
        invitees:
          items:
            $ref: '#/components/schemas/identity'
          maxItems: 1024
          type: array
        join_code:
          maxLength: 1024
          type: string
        join_url:
          maxLength: 1024
          type: string
        meeting_id:
          maxLength: 1024
          type: string
        participants:
          items:
            $ref: '#/components/schemas/identity'
          maxItems: 1024
          type: array
        start_date_time:
          format: int64
          type: integer
        user_status:
          allOf:
            - $ref: '#/components/schemas/message_meeting_user_status'
          type: object
          x-omitempty: true
      required:
        - creator
        - meeting_id
        - start_date_time
        - end_date_time
      title: message_meeting
      type: object
    message_meeting_user_status:
      enum:
        - unjoined
        - joined
        - kicked
        - quit
        - leave
        - refuse
        - busyness
      type: string
      x-enum:
        - unjoined
        - joined
        - kicked
        - quit
        - leave
        - refuse
        - busyness
    message_mention:
      properties:
        id:
          maxLength: 1024
          type: string
        identity:
          allOf:
            - $ref: '#/components/schemas/identity'
          nullable: true
          type: object
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/message_mention_type'
          type: object
      required:
        - id
        - type
      title: message_mention
      type: object
    message_mention_type:
      enum:
        - all
        - user
      title: message_mention_type
      type: string
      x-enum:
        - all
        - user
    message_merge_forward:
      properties:
        end_time:
          format: int64
          type: integer
        msg_id_list:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          minItems: 1
          type: array
        msg_previews:
          items:
            $ref: '#/components/schemas/message_merge_forward_preview'
          maxItems: 100
          minItems: 1
          type: array
        start_time:
          format: int64
          type: integer
        title:
          maxLength: 1024
          type: string
      required:
        - title
        - msg_id_list
        - start_time
        - end_time
        - msg_previews
      title: message_merge_forward
      type: object
    message_merge_forward_preview:
      properties:
        ctime:
          format: int64
          type: integer
        msg_id:
          maxLength: 1024
          type: string
        sender_id:
          allOf:
            - $ref: '#/components/schemas/im_identity'
          type: object
        summary:
          maxLength: 1024
          type: string
      required:
        - msg_id
        - sender_id
        - ctime
        - summary
      title: message_merge_forward_preview
      type: object
    message_p2p_file:
      properties:
        ext_attrs:
          items:
            $ref: '#/components/schemas/extended_attribute'
          maxItems: 1024
          type: array
        from:
          allOf:
            - $ref: '#/components/schemas/message_p2p_file_user_device'
          type: object
        name:
          maxLength: 1024
          type: string
        size:
          format: int64
          type: integer
        ssid:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/message_file_p2p_status'
          type: object
        to:
          allOf:
            - $ref: '#/components/schemas/message_p2p_file_user_device'
          type: object
      required:
        - ssid
        - size
        - name
        - from
        - to
        - status
      title: message_p2p_file
      type: object
    message_p2p_file_user_device:
      properties:
        device_id:
          maxLength: 1024
          type: string
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - user_id
        - device_id
      title: message_p2p_file_user_device
      type: object
    message_receiver:
      properties:
        partner_id:
          maxLength: 1024
          type: string
          x-omitempty: true
        receiver_id:
          maxLength: 1024
          minLength: 1
          type: string
          x-tags:
            - ex:user_id
        type:
          allOf:
            - $ref: '#/components/schemas/message_receiver_type'
          type: object
      required:
        - receiver_id
        - type
      title: message_receiver
      type: object
    message_receiver_type:
      enum:
        - chat
        - user
        - enterprise_partner_user
      type: string
      x-enum:
        - chat
        - user
        - enterprise_partner_user
    message_rich_text:
      properties:
        elements:
          items:
            $ref: '#/components/schemas/message_rich_text_element'
          maxItems: 1024
          minItems: 1
          type: array
      required:
        - elements
      title: message_rich_text
      type: object
    message_rich_text_doc_content:
      properties:
        file:
          allOf:
            - $ref: '#/components/schemas/message_cloud_file'
          type: object
        text:
          maxLength: 1024
          type: string
      required:
        - text
        - file
      title: message_rich_text_doc_content
      type: object
    message_rich_text_element:
      properties:
        alt_text:
          maxLength: 1024
          type: string
        doc_content:
          allOf:
            - $ref: '#/components/schemas/message_rich_text_doc_content'
          nullable: true
          type: object
        elements:
          items:
            $ref: '#/components/schemas/message_rich_text_element'
          maxItems: 1024
          type: array
        image_content:
          allOf:
            - $ref: '#/components/schemas/message_image'
          nullable: true
          type: object
        indent:
          format: int64
          type: integer
        index:
          format: int64
          type: integer
        link_content:
          allOf:
            - $ref: '#/components/schemas/message_rich_text_link_content'
          nullable: true
          type: object
        mention_content:
          allOf:
            - $ref: '#/components/schemas/message_rich_text_mention_content'
          nullable: true
          type: object
        style_text_content:
          allOf:
            - $ref: '#/components/schemas/message_rich_text_style_content'
          nullable: true
          type: object
        text_content:
          allOf:
            - $ref: '#/components/schemas/message_text'
          nullable: true
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/message_rich_text_element_type'
          type: object
      required:
        - type
        - indent
        - index
        - alt_text
      title: message_rich_text_element
      type: object
    message_rich_text_element_style:
      properties:
        bold:
          type: boolean
        color:
          maxLength: 1024
          type: string
        italic:
          type: boolean
      required:
        - bold
        - italic
        - color
      title: message_rich_text_element_style
      type: object
    message_rich_text_element_type:
      enum:
        - ol
        - ul
        - nl
        - text
        - emoji
        - custom_emoji
        - doc
        - mention
        - image
        - link
      title: message_rich_text_element_type
      type: string
      x-enum:
        - ol
        - ul
        - nl
        - text
        - emoji
        - custom_emoji
        - doc
        - mention
        - image
        - link
    message_rich_text_link_content:
      properties:
        text:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
      required:
        - url
        - text
      title: message_rich_text_link_content
      type: object
    message_rich_text_mention_content:
      properties:
        identity:
          allOf:
            - $ref: '#/components/schemas/identity'
          nullable: true
          type: object
        text:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/message_mention_type'
          type: object
      required:
        - type
        - text
      title: message_rich_text_mention_content
      type: object
    message_rich_text_style_content:
      properties:
        style:
          allOf:
            - $ref: '#/components/schemas/message_rich_text_element_style'
          type: object
        text:
          maxLength: 1024
          type: string
      required:
        - text
        - style
      title: message_rich_text_style_content
      type: object
    message_share_user:
      properties:
        user:
          allOf:
            - $ref: '#/components/schemas/identity'
          nullable: true
          type: object
      title: message_share_user
      type: object
    message_sticker:
      properties:
        builtin:
          allOf:
            - $ref: '#/components/schemas/message_builtin_sticker'
          nullable: true
          type: object
        image:
          allOf:
            - $ref: '#/components/schemas/message_image'
          nullable: true
          type: object
      title: message_sticker
      type: object
    message_summary_item:
      properties:
        key:
          maxLength: 1024
          type: string
        value:
          maxLength: 1024
          type: string
      required:
        - key
        - value
      title: message_summary_item
      type: object
    message_template_id:
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 10
        - 11
        - 12
        - 13
        - 14
        - 15
      title: message_template_id
      type: integer
      x-enum:
        - pending_approval
        - transfer_task
        - transfer_to_admin
        - admin_transfer
        - urge_task
        - cc_notify
        - cc_approved_notify
        - approved_notify
        - rejected_notify
        - revoked_notify
        - returned_notify
        - terminated_notify
        - deleted_notify
        - task_approved_notify
        - comment_notify
    message_text:
      allOf:
        - $ref: '#/components/schemas/message_text_style'
      properties:
        content:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/message_text_type'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - content
      title: message_text
      type: object
    message_text_style:
      properties:
        icon:
          allOf:
            - $ref: '#/components/schemas/message_card_icon'
          nullable: true
          type: object
          x-omitempty: true
        text_align:
          allOf:
            - $ref: '#/components/schemas/message_text_style_text_align'
          type: object
          x-omitempty: true
        text_size:
          allOf:
            - $ref: '#/components/schemas/message_text_style_text_size'
          type: object
          x-omitempty: true
      title: message_text_style
      type: object
    message_text_style_text_align:
      enum:
        - left
        - center
        - right
      title: message_text_style_text_align
      type: string
      x-enum:
        - left
        - center
        - right
    message_text_style_text_size:
      enum:
        - xxxx-large
        - xxx-large
        - xx-large
        - x-large
        - large
        - medium
        - small
        - x-small
      title: message_text_style_text_size
      type: string
      x-enum:
        - xxxx-large
        - xxx-large
        - xx-large
        - x-large
        - large
        - medium
        - small
        - x-small
    message_text_type:
      enum:
        - plain
        - markdown
      type: string
      x-enum:
        - plain
        - markdown
    message_type:
      enum:
        - text
        - rich_text
        - image
        - file
        - sticker
        - audio
        - video
        - location
        - merge_forward
        - card
        - meeting
        - calendar
        - share_user
        - vote
      type: string
      x-enum:
        - text
        - rich_text
        - image
        - file
        - sticker
        - audio
        - video
        - location
        - merge_forward
        - card
        - meeting
        - calendar
        - share_user
        - vote
    message_video:
      properties:
        media:
          allOf:
            - $ref: '#/components/schemas/message_video_media'
          type: object
        storage_key:
          maxLength: 1024
          type: string
      required:
        - storage_key
        - media
      title: message_video
      type: object
    message_video_media:
      properties:
        codec:
          allOf:
            - $ref: '#/components/schemas/message_video_media_codec'
          type: object
        cover_storage_key:
          maxLength: 1024
          type: string
        duration:
          format: int64
          type: integer
        format:
          allOf:
            - $ref: '#/components/schemas/message_video_media_format'
          type: object
        height:
          format: int64
          type: integer
        size:
          format: int64
          type: integer
        width:
          format: int64
          type: integer
      required:
        - format
        - codec
        - size
        - duration
        - width
        - height
        - cover_storage_key
      type: object
    message_video_media_codec:
      enum:
        - h.264
      type: string
      x-enum:
        - h264
    message_video_media_format:
      enum:
        - mp4
      type: string
      x-enum:
        - mp4
    message_vote:
      properties:
        options:
          items:
            maxLength: 1024
            type: string
          maxItems: 20
          minItems: 1
          type: array
        topic:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          minItems: 1
          type: array
      required:
        - topic
        - options
      title: message_vote
      type: object
    migrate_mailbox_result:
      properties:
        email_address:
          maxLength: 1024
          type: string
        task_id:
          maxLength: 1024
          type: string
        user_id:
          maxLength: 1024
          type: string
      required:
        - email_address
        - user_id
        - task_id
      type: object
    minute:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/minute_content'
          type: object
        id:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/minute_status'
          type: object
        view_url:
          maxLength: 1024
          type: string
      required:
        - id
        - status
        - view_url
      title: 会议纪要响应体
      type: object
    minute_chapter_item:
      properties:
        content:
          maxLength: 1024
          type: string
        end_time:
          format: int64
          type: integer
        start_time:
          format: int64
          type: integer
        title:
          maxLength: 1024
          type: string
      required:
        - title
        - content
        - start_time
        - end_time
      title: 会议纪要章节
      type: object
    minute_chapters:
      properties:
        items:
          items:
            $ref: '#/components/schemas/minute_chapter_item'
          maxItems: 1024
          type: array
        status:
          allOf:
            - $ref: '#/components/schemas/minute_content_status'
          type: object
      required:
        - status
        - items
      title: 会议纪要章节信息
      type: object
    minute_content:
      properties:
        chapters:
          allOf:
            - $ref: '#/components/schemas/minute_chapters'
          type: object
        summary:
          allOf:
            - $ref: '#/components/schemas/minute_summary'
          type: object
      title: 获取会议纪要AI内容
      type: object
    minute_content_status:
      enum:
        - running
        - failed
        - success
      title: 会议纪要内容任务状态
      type: string
      x-enum:
        - running
        - failed
        - success
    minute_status:
      enum:
        - running
        - failed
        - success
      title: 会议纪要状态
      type: string
      x-enum:
        - running
        - failed
        - success
    minute_summary:
      properties:
        content:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/minute_content_status'
          type: object
      required:
        - content
        - status
      title: 会议纪要总结
      type: object
    multi_pages:
      properties:
        attachments:
          items:
            $ref: '#/components/schemas/pxf_attachment'
          maxItems: 1024
          type: array
        data_describe_type:
          allOf:
            - $ref: '#/components/schemas/pxf_data_describe_type'
          type: object
        data_version:
          maxLength: 1024
          type: string
        doc_name:
          maxLength: 1024
          type: string
        root_node:
          allOf:
            - $ref: '#/components/schemas/pxf_page_root_node'
          type: object
      required:
        - data_describe_type
        - data_version
        - doc_name
        - root_node
      type: object
    multipages_gen_slides_req_body:
      properties:
        gen_mode:
          format: int
          type: integer
        multi_pages:
          allOf:
            - $ref: '#/components/schemas/multi_pages'
          type: object
        pptx_params:
          allOf:
            - $ref: '#/components/schemas/pptx_params'
          type: object
        theme_params:
          allOf:
            - $ref: '#/components/schemas/theme_params'
          type: object
      required:
        - theme_params
        - pptx_params
        - multi_pages
      type: object
    multipart_store_part_response:
      properties:
        part_number:
          format: int64
          type: integer
        store_response:
          items:
            $ref: '#/components/schemas/multipart_store_response_result'
          maxItems: 1024
          type: array
      required:
        - part_number
        - store_response
      type: object
    multipart_store_response_result:
      properties:
        name:
          maxLength: 1024
          type: string
        value:
          maxLength: 1024
          type: string
      required:
        - name
        - value
      type: object
    node:
      properties:
        blocks:
          items:
            $ref: '#/components/schemas/block'
          maxItems: 1024
          type: array
        children:
          items:
            $ref: '#/components/schemas/node'
          maxItems: 1024
          type: array
        outline_level:
          format: int
          maximum: 10
          minimum: 1
          type: integer
      required:
        - outline_level
        - blocks
        - children
      type: object
    normalize_dept_chat_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    notify_task_data:
      properties:
        content_extraction:
          allOf:
            - $ref: '#/components/schemas/content_extraction_data'
          nullable: true
          type: object
          x-omitempty: true
        file_parse:
          allOf:
            - $ref: '#/components/schemas/file_parse_data'
          nullable: true
          type: object
          x-omitempty: true
        summarize:
          allOf:
            - $ref: '#/components/schemas/summarize_data'
          nullable: true
          type: object
          x-omitempty: true
        table_extraction:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
      type: object
    object_error_detail:
      properties:
        err_code:
          format: int64
          type: integer
        err_msg:
          maxLength: 1024
          type: string
        object_id:
          maxLength: 1024
          type: string
      required:
        - object_id
        - err_code
        - err_msg
      type: object
    on_name_conflict:
      enum:
        - fail
        - rename
        - overwrite
        - replace
      type: string
      x-enum:
        - fail
        - rename
        - overwrite
        - replace
    open_drive_link_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    open_file_link_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/link'
      required:
        - data
      type: object
    open_link_req_body:
      properties:
        opts:
          allOf:
            - $ref: '#/components/schemas/link_opts'
          nullable: true
          type: object
        role_id:
          maxLength: 1024
          type: string
        scope:
          allOf:
            - $ref: '#/components/schemas/link_scope'
          type: object
      required:
        - scope
        - role_id
      type: object
    opendocs_files_edit_get_file_link_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/opendocs_files_get_file_link_resp'
      required:
        - data
      type: object
    opendocs_files_get_file_link_resp:
      properties:
        link:
          maxLength: 1024
          type: string
          x-escape: false
      required:
        - link
      type: object
    opendocs_files_preview_get_file_link_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/opendocs_files_get_file_link_resp'
      required:
        - data
      type: object
    operate_task_content_extraction_params:
      properties:
        extract_intents:
          items:
            $ref: '#/components/schemas/operate_task_extract_intents'
          maxItems: 100
          type: array
      required:
        - extract_intents
      type: object
    operate_task_extract_intents:
      properties:
        key:
          maxLength: 128
          minLength: 1
          type: string
        name:
          maxLength: 128
          minLength: 1
          type: string
        rule:
          maxLength: 1024
          type: string
      required:
        - name
        - key
        - rule
      type: object
    operate_task_file_info:
      properties:
        drive_id:
          maxLength: 64
          minLength: 1
          type: string
        file_id:
          maxLength: 64
          minLength: 1
          type: string
      required:
        - drive_id
        - file_id
      type: object
    operate_task_file_parse_params:
      properties:
        format:
          maxLength: 1024
          type: string
        include_elements:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
      required:
        - format
      type: object
    operate_task_status_enum:
      enum:
        - pending
        - running
        - success
        - failed
      type: string
      x-enum:
        - pending
        - running
        - success
        - failed
    operate_task_summarize_params:
      properties:
        summarize_type:
          allOf:
            - $ref: '#/components/schemas/summarize_type_enum'
          type: object
        temperature:
          format: double
          type: number
      required:
        - summarize_type
        - temperature
      type: object
    operate_task_type_enum:
      enum:
        - table_extraction
        - summarize
        - content_extraction
        - file_parse
      type: string
      x-enum:
        - table_extraction
        - summarize
        - content_extraction
        - file_parse
    order:
      enum:
        - desc
        - asc
      type: string
      x-enum:
        - desc
        - asc
    order_type:
      enum:
        - renewal
        - purchase
      type: string
      x-enum:
        - renewal
        - purchase
    org_dimension:
      properties:
        ctime:
          format: int64
          type: integer
        desc:
          maxLength: 255
          type: string
          x-escape: false
          x-omitempty: true
        id:
          maxLength: 1024
          type: string
          x-type: int64
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 255
          minLength: 1
          type: string
          x-escape: false
        visibility_objs:
          items:
            $ref: '#/components/schemas/org_dimension_visibility_object'
          maxItems: 1000
          type: array
          x-omitempty: true
        visibility_type:
          allOf:
            - $ref: '#/components/schemas/org_dimension_visibility_type'
          nullable: true
          type: object
      required:
        - id
        - name
        - ctime
        - mtime
      type: object
    org_dimension_dept:
      properties:
        abs_path:
          maxLength: 1024
          type: string
          x-escape: false
        ctime:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        id_path:
          maxLength: 1024
          type: string
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 255
          minLength: 1
          type: string
          x-escape: false
      required:
        - name
        - id
        - id_path
        - abs_path
        - ctime
        - mtime
      type: object
    org_dimension_dept_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/org_dimension_dept'
          maxItems: 128
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
          x-omitempty: true
      required:
        - items
        - next_page_token
      type: object
    org_dimension_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/org_dimension'
          maxItems: 100
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
          x-omitempty: true
      required:
        - items
        - next_page_token
      type: object
    org_dimension_visibility_object:
      properties:
        abs_path:
          maxLength: 2048
          type: string
        id:
          maxLength: 1024
          type: string
          x-type: int64
        name:
          maxLength: 255
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/visibility_object_type'
          type: object
      required:
        - id
        - type
      type: object
    org_dimension_visibility_type:
      enum:
        - nobody
        - all
        - dimension
        - specify
      type: string
      x-enum:
        - nobody
        - all
        - dimension
        - specify
    org_display_item_type:
      enum:
        - user
        - dept
      title: 通讯录对象类型
      type: string
      x-enum:
        - user
        - dept
    origin_documents_comment:
      allOf:
        - $ref: '#/components/schemas/documents_comment'
      properties:
        sub_comments:
          allOf:
            - $ref: '#/components/schemas/reply_documents_comment'
          type: object
          x-omitempty: true
      type: object
    outline_generate_mode:
      enum:
        - 2
        - 3
        - 4
      type: integer
      x-enum:
        - original_preserve
        - smart_optimize
        - full_recompose
    page_prop:
      properties:
        dpi:
          format: int
          type: integer
        offset_angle:
          format: double
          type: number
        rotate:
          $ref: '#/components/schemas/rotate_type'
        size:
          allOf:
            - $ref: '#/components/schemas/size'
          type: object
      type: object
    page_text_params:
      properties:
        input:
          maxLength: 1024
          type: string
        language:
          maxLength: 1024
          type: string
        layout_id:
          format: int
          type: integer
        slide_count:
          format: int
          type: integer
        switch_thinking:
          type: boolean
        web_search:
          type: boolean
      required:
        - input
        - language
        - slide_count
      type: object
    para:
      properties:
        prop:
          allOf:
            - $ref: '#/components/schemas/para_prop'
          type: object
        runs:
          items:
            $ref: '#/components/schemas/run'
          maxItems: 1024
          type: array
      required:
        - runs
      type: object
    para_alignment:
      enum:
        - left
        - center
        - right
        - justify
        - distribute
      type: string
      x-enum:
        - left
        - center
        - right
        - justify
        - distribute
    para_prop:
      properties:
        alignment:
          allOf:
            - $ref: '#/components/schemas/para_alignment'
          type: object
        def_run_prop:
          allOf:
            - $ref: '#/components/schemas/run_prop'
          type: object
        list_string:
          maxLength: 1024
          type: string
        outline_level:
          format: int
          maximum: 10
          minimum: 1
          type: integer
      type: object
    partner:
      properties:
        company_id:
          maxLength: 128
          minLength: 1
          type: string
        company_logo:
          maxLength: 255
          minLength: 1
          type: string
        company_name:
          maxLength: 128
          minLength: 1
          type: string
        company_status:
          allOf:
            - $ref: '#/components/schemas/company_status'
          type: object
        id:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - company_id
        - company_name
        - company_status
        - company_logo
        - id
      type: object
    partner_dept:
      properties:
        company_id:
          maxLength: 128
          minLength: 1
          type: string
        dept_abs_path:
          maxLength: 2048
          minLength: 1
          type: string
        dept_id:
          maxLength: 128
          minLength: 1
          type: string
        dept_name:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - dept_id
        - company_id
        - dept_name
      type: object
    partner_source:
      enum:
        - tenant
        - default
      type: string
      x-enum:
        - tenant
        - default
    partner_user:
      properties:
        company_id:
          maxLength: 128
          minLength: 1
          type: string
        user_avatar:
          maxLength: 128
          minLength: 1
          type: string
        user_depts:
          items:
            $ref: '#/components/schemas/partner_dept'
          maxItems: 100
          type: array
        user_id:
          maxLength: 128
          minLength: 1
          type: string
        user_name:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - user_id
        - company_id
        - user_name
        - user_avatar
      type: object
    path_segment:
      properties:
        file_id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - file_id
        - name
      title: 文件路径段
      type: object
    permission_bits:
      properties:
        comment:
          type: boolean
        copy:
          type: boolean
        copy_content:
          type: boolean
        delete:
          type: boolean
        download:
          type: boolean
        history:
          type: boolean
          x-tags:
            - public
        list:
          type: boolean
        move:
          type: boolean
        new_empty:
          type: boolean
        perm_ctl:
          type: boolean
        preview:
          type: boolean
        print:
          type: boolean
        rename:
          type: boolean
        saveas:
          type: boolean
          x-tags:
            - public
        secret:
          type: boolean
          x-tags:
            - public
        share:
          type: boolean
        update:
          type: boolean
        upload:
          type: boolean
      type: object
    permission_entity:
      properties:
        id:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/permission_entity_type'
          type: object
      required:
        - id
        - type
      type: object
    permission_entity_info:
      properties:
        entity:
          $ref: '#/components/schemas/permission_entity'
        permission_type:
          allOf:
            - $ref: '#/components/schemas/contact_permission_type'
          type: object
      required:
        - entity
        - permission_type
      type: object
    permission_entity_type:
      enum:
        - user
        - dept
        - group
      type: string
      x-enum:
        - user
        - dept
        - group
    permission_item:
      properties:
        id:
          maxLength: 1024
          type: string
        role_id:
          maxLength: 1024
          type: string
        role_name:
          maxLength: 1024
          type: string
        subject_attr:
          $ref: '#/components/schemas/subject_attr'
        subject_avatar:
          maxLength: 1024
          type: string
          x-omitempty: true
        subject_id:
          maxLength: 1024
          type: string
        subject_name:
          maxLength: 1024
          type: string
        subject_type:
          allOf:
            - $ref: '#/components/schemas/subject_type'
          type: object
      required:
        - id
        - subject_type
        - subject_id
        - subject_name
        - role_id
        - role_name
      type: object
    permission_setting:
      properties:
        key:
          $ref: '#/components/schemas/enum_permission_setting'
        value:
          maxLength: 1024
          type: string
      required:
        - key
        - value
      type: object
    permission_type:
      enum:
        - delegated
        - app_role
      type: string
      x-enum:
        - delegated
        - app_role
    post_ai_table_assistant_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_post_ai_table_assistant_resp'
      required:
        - data
      type: object
    post_ai_table_intent_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_post_ai_table_intent_resp'
      required:
        - data
      type: object
    post_audit_logs_req_body:
      properties:
        what:
          allOf:
            - $ref: '#/components/schemas/create_audit_what'
          type: object
        when:
          allOf:
            - $ref: '#/components/schemas/audit_when'
          type: object
        where:
          allOf:
            - $ref: '#/components/schemas/create_audit_where'
          type: object
        who:
          allOf:
            - $ref: '#/components/schemas/create_audit_who'
          type: object
      required:
        - when
        - where
        - who
        - what
      type: object
    post_audit_logs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    post_comments_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/documents_comment'
      required:
        - data
      type: object
    post_comments_delete_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    post_comments_update_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/documents_comment'
      required:
        - data
      type: object
    post_doc_operate_tasks_create_req_body:
      properties:
        content_extraction_params:
          allOf:
            - $ref: '#/components/schemas/operate_task_content_extraction_params'
          nullable: true
          type: object
          x-omitempty: true
        file_parse_params:
          allOf:
            - $ref: '#/components/schemas/operate_task_file_parse_params'
          nullable: true
          type: object
          x-omitempty: true
        files:
          items:
            $ref: '#/components/schemas/operate_task_file_info'
          maxItems: 100
          minItems: 1
          type: array
        operation:
          allOf:
            - $ref: '#/components/schemas/operate_task_type_enum'
          type: object
        summarize_params:
          allOf:
            - $ref: '#/components/schemas/operate_task_summarize_params'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - operation
        - files
      type: object
    post_doc_operate_tasks_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_post_doc_operate_tasks_create_resp'
      required:
        - data
      type: object
    post_drive_file_operate_req_body:
      properties:
        hash_type:
          allOf:
            - $ref: '#/components/schemas/drive_file_hash_type_enum'
          nullable: true
          type: object
        hash_value:
          maxLength: 1024
          nullable: true
          type: string
        name:
          maxLength: 1024
          minLength: 1
          nullable: true
          type: string
        operate_type:
          allOf:
            - $ref: '#/components/schemas/drive_file_operate_type_enum'
          type: object
      required:
        - operate_type
      type: object
    post_drive_file_operate_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    post_drive_toggle_req_body:
      properties:
        operate_type:
          allOf:
            - $ref: '#/components/schemas/drive_toggle_operate_type_enum'
          type: object
      required:
        - operate_type
      type: object
    post_drive_toggle_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    post_gen_outline_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/gen_outline_resp'
      required:
        - data
      type: object
    post_gen_slides_req_body:
      properties:
        filter_slide_types:
          items:
            $ref: '#/components/schemas/slides_type_enum'
          maxItems: 1024
          type: array
        gen_image_source:
          allOf:
            - $ref: '#/components/schemas/post_gen_slides_req_body_gen_image_source_enum'
          type: object
        outline:
          maxLength: 65535
          minLength: 1
          type: string
        theme_id:
          maxLength: 64
          minLength: 1
          type: string
        use_document_images:
          type: boolean
      required:
        - outline
        - gen_image_source
        - theme_id
        - filter_slide_types
      type: object
    post_gen_slides_req_body_gen_image_source_enum:
      enum:
        - gallery
        - ai
      type: string
      x-enum:
        - gallery
        - ai
    post_gen_slides_resp:
      properties:
        pptx_data:
          $ref: '#/components/schemas/post_gen_slides_resp_pptx_data'
        type:
          maxLength: 1024
          type: string
      required:
        - type
        - pptx_data
      type: object
    post_gen_slides_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/post_gen_slides_resp'
      required:
        - data
      type: object
    post_gen_slides_resp_pptx_data:
      properties:
        file_url:
          maxLength: 1024
          type: string
        sequence_num:
          format: int
          type: integer
        slide_index:
          format: int
          type: integer
        slide_type:
          $ref: '#/components/schemas/slides_type_enum'
        stream_status:
          maxLength: 1024
          type: string
        thumbnail_url:
          maxLength: 1024
          type: string
        total:
          format: int
          type: integer
      required:
        - file_url
        - thumbnail_url
        - slide_index
        - slide_type
        - total
        - sequence_num
        - stream_status
      type: object
    post_permission_settings_req_body:
      properties:
        settings:
          items:
            $ref: '#/components/schemas/permission_setting'
          maxItems: 10
          minItems: 1
          type: array
      required:
        - settings
      type: object
    post_permission_settings_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    post_qa_drive_file_qa_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_post_qa_resp_data'
      required:
        - data
      type: object
    post_qa_drives_qa_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_post_qa_resp_data'
      required:
        - data
      type: object
    post_template_new_file_req_body:
      properties:
        dst_drive_id:
          maxLength: 1024
          type: string
          x-type: int64
        dst_parent_id:
          maxLength: 1024
          type: string
          x-type: int64
      required:
        - dst_parent_id
        - dst_drive_id
      type: object
    post_template_new_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file'
      required:
        - data
      type: object
    post_theme_tpl_list_req_body:
      properties:
        limit:
          format: int64
          nullable: true
          type: integer
        offset:
          format: int64
          nullable: true
          type: integer
        type:
          maxLength: 1024
          type: string
      required:
        - type
      type: object
    post_theme_tpl_list_resp:
      properties:
        theme_list:
          items:
            $ref: '#/components/schemas/post_theme_tpl_list_resp_theme_list'
          maxItems: 1024
          type: array
      required:
        - theme_list
      type: object
    post_theme_tpl_list_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/post_theme_tpl_list_resp'
      required:
        - data
      type: object
    post_theme_tpl_list_resp_theme_list:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        style_tag:
          maxLength: 1024
          type: string
        theme_infos:
          items:
            $ref: '#/components/schemas/post_theme_tpl_list_resp_theme_list_data'
          maxItems: 1024
          type: array
      required:
        - id
        - name
        - style_tag
        - theme_infos
      type: object
    post_theme_tpl_list_resp_theme_list_data:
      properties:
        image_url:
          maxLength: 1024
          type: string
        type:
          format: int
          type: integer
      required:
        - image_url
        - type
      type: object
    pptx_params:
      properties:
        disable_gen_file:
          type: boolean
        disable_gen_thumb:
          type: boolean
        disable_generate_pic:
          type: boolean
        enable_transition:
          type: boolean
        filter_slide_types:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        generate_index:
          items:
            format: int
            type: integer
          maxItems: 1024
          type: array
        generate_language:
          maxLength: 1024
          type: string
        generate_state:
          maxLength: 1024
          type: string
        generate_state_with_fullpage:
          type: boolean
        get_generating_pic_slide:
          type: boolean
        get_theme_font:
          type: boolean
        merge_slides:
          type: boolean
        slides_count:
          format: int
          type: integer
        standard_template_key:
          maxLength: 1024
          type: string
      required:
        - slides_count
        - standard_template_key
      type: object
    pptx_response_data:
      properties:
        file_url:
          maxLength: 1024
          type: string
        generate_state:
          maxLength: 1024
          type: string
        outlines_pages:
          format: int
          type: integer
        ppt_pages:
          format: int
          type: integer
        slide_index:
          format: int
          type: integer
        slide_type:
          maxLength: 1024
          type: string
        task_id:
          maxLength: 1024
          type: string
        thumb_url:
          maxLength: 1024
          type: string
        total:
          format: int
          type: integer
      required:
        - slide_index
      type: object
    privilege_function_task:
      properties:
        file_urls:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        id:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/privilege_function_task_status'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/privilege_function_task_type'
          type: object
      required:
        - id
        - type
        - status
      type: object
    privilege_function_task_ocr_file_type:
      enum:
        - image
        - document
        - archive
      type: string
      x-enum:
        - image
        - document
        - archive
    privilege_function_task_ocr_opts:
      properties:
        file_type:
          allOf:
            - $ref: '#/components/schemas/privilege_function_task_ocr_file_type'
          type: object
      type: object
    privilege_function_task_status:
      enum:
        - done
        - processing
        - error
      type: string
      x-enum:
        - done
        - processing
        - error
    privilege_function_task_type:
      enum:
        - ocr
        - doc_compare
      type: string
      x-enum:
        - ocr
        - doc_compare
    privileges:
      properties:
        privileges:
          $ref: '#/components/schemas/map_string_privilege'
      type: object
    profile_file:
      properties:
        file_symbol:
          maxLength: 1024
          type: string
        file_type:
          maxLength: 1024
          type: string
      type: object
    public_mailbox:
      properties:
        email_address:
          maxLength: 128
          minLength: 1
          type: string
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 128
          minLength: 1
          type: string
        owner_id:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - id
        - name
        - email_address
        - owner_id
      type: object
    public_mailbox_alias:
      properties:
        aliases:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 1024
          type: array
        primary:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - aliases
        - primary
      type: object
    public_mailbox_member:
      properties:
        member_id:
          maxLength: 1024
          type: string
        name:
          maxLength: 128
          minLength: 1
          type: string
        object_id:
          maxLength: 1024
          type: string
        object_type:
          allOf:
            - $ref: '#/components/schemas/enum_public_mailbox_object_type'
          type: object
        permission:
          allOf:
            - $ref: '#/components/schemas/enum_public_mailbox_permission_type'
          type: object
      required:
        - member_id
        - object_id
        - object_type
        - name
        - permission
      type: object
    pxf_attachment:
      properties:
        attachment_format:
          allOf:
            - $ref: '#/components/schemas/pxf_attachment_format'
          type: object
        attachment_id:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
      required:
        - attachment_id
        - attachment_format
        - url
      type: object
    pxf_attachment_format:
      enum:
        - af_pic
        - af_kso_table_clip_bin
        - af_kso_table_clip_html
        - af_kso_chart_clip_bin
        - af_pptx
      type: string
      x-enum:
        - af_pic
        - af_kso_table_clip_bin
        - af_kso_table_clip_html
        - af_kso_chart_clip_bin
        - af_pptx
    pxf_data_describe_type:
      enum:
        - dt_multi_page
        - dt_page
        - dt_diagram
      type: string
      x-enum:
        - dt_multi_page
        - dt_page
        - dt_diagram
    pxf_diagram_type:
      enum:
        - dt_seq
        - dt_stp
        - dt_cir
        - dt_pyr
        - dt_mat
        - dt_dis
        - dt_hie
        - dt_cst
      type: string
      x-enum:
        - dt_seq
        - dt_stp
        - dt_cir
        - dt_pyr
        - dt_mat
        - dt_dis
        - dt_hie
        - dt_cst
    pxf_layout_node:
      properties:
        attachment_id:
          maxLength: 1024
          type: string
        children:
          items:
            $ref: '#/components/schemas/pxf_layout_node'
          maxItems: 1024
          type: array
        diagram_type:
          allOf:
            - $ref: '#/components/schemas/pxf_diagram_type'
          type: object
        node_type:
          allOf:
            - $ref: '#/components/schemas/pxf_node_type'
          type: object
        text:
          maxLength: 1024
          type: string
      required:
        - node_type
      type: object
    pxf_media:
      properties:
        id:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
      required:
        - id
        - url
      type: object
    pxf_node:
      properties:
        attachment_id:
          maxLength: 1024
          type: string
        auto_generate_picture:
          type: boolean
        children:
          items:
            $ref: '#/components/schemas/pxf_node'
          maxItems: 1024
          type: array
        components:
          items:
            $ref: '#/components/schemas/pxf_node_component'
          maxItems: 1024
          type: array
        diagram_type:
          allOf:
            - $ref: '#/components/schemas/pxf_diagram_type'
          type: object
        height:
          format: int64
          type: integer
        node_type:
          allOf:
            - $ref: '#/components/schemas/pxf_node_type'
          type: object
        num:
          format: double
          type: number
        page_type:
          allOf:
            - $ref: '#/components/schemas/pxf_page_type'
          type: object
        shape_guid:
          maxLength: 1024
          type: string
        text:
          maxLength: 1024
          type: string
        width:
          format: int64
          type: integer
      required:
        - node_type
        - children
        - components
      type: object
    pxf_node_component:
      properties:
        media_id:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/pxf_node_component_type'
          type: object
      required:
        - type
        - media_id
      type: object
    pxf_node_component_type:
      enum:
        - image
        - table
      type: string
      x-enum:
        - image
        - table
    pxf_node_type:
      enum:
        - nt_multi_page
        - nt_page
        - nt_span
        - nt_diagram
        - nt_diagram_item
        - nt_title
        - nt_subtitle
        - nt_author
        - nt_date
        - nt_section_num
        - nt_text
        - nt_item_num
        - nt_numeric
        - nt_year
        - nt_company
        - nt_contact
        - nt_picture
        - nt_icon
        - nt_chart
        - nt_table
      type: string
      x-enum:
        - nt_multi_page
        - nt_page
        - nt_span
        - nt_diagram
        - nt_diagram_item
        - nt_title
        - nt_subtitle
        - nt_author
        - nt_date
        - nt_section_num
        - nt_text
        - nt_item_num
        - nt_numeric
        - nt_year
        - nt_company
        - nt_contact
        - nt_picture
        - nt_icon
        - nt_chart
        - nt_table
    pxf_page_root_node:
      properties:
        children:
          allOf:
            - $ref: '#/components/schemas/pxf_layout_node'
          type: object
        node_type:
          allOf:
            - $ref: '#/components/schemas/pxf_node_type'
          type: object
      required:
        - node_type
        - children
      type: object
    pxf_page_type:
      enum:
        - pt_title
        - pt_contents
        - pt_section_title
        - pt_text
        - pt_end
      type: string
      x-enum:
        - pt_title
        - pt_contents
        - pt_section_title
        - pt_text
        - pt_end
    pxf_root:
      properties:
        data_describe_type:
          allOf:
            - $ref: '#/components/schemas/pxf_data_describe_type'
          type: object
        data_version:
          maxLength: 1024
          type: string
        doc_name:
          maxLength: 1024
          type: string
        medias:
          items:
            $ref: '#/components/schemas/pxf_media'
          maxItems: 1024
          type: array
        root_node:
          allOf:
            - $ref: '#/components/schemas/pxf_node'
          type: object
      required:
        - data_describe_type
        - data_version
        - doc_name
        - root_node
      type: object
    qa_add_segment:
      properties:
        content:
          maxLength: 1024
          type: string
        content_id:
          maxLength: 1024
          type: string
      required:
        - content_id
        - content
      type: object
    qa_history:
      properties:
        input:
          maxLength: 65535
          type: string
          x-omitempty: true
        intent:
          maxLength: 1024
          type: string
          x-omitempty: true
        output:
          maxLength: 65535
          type: string
          x-omitempty: true
      type: object
    query_privilege_function_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/privilege_function_task'
      required:
        - data
      type: object
    query_shared_link_detail_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_query_shared_link_detail_resp'
      required:
        - data
      type: object
    query_shared_link_status_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dbsheet_query_shared_link_status_resp'
      required:
        - data
      type: object
    quota:
      properties:
        allocate_to:
          maxLength: 1024
          type: string
        allocate_type:
          allOf:
            - $ref: '#/components/schemas/allocate_type'
          type: object
        part:
          allOf:
            - $ref: '#/components/schemas/allocate_part'
          type: object
        total:
          format: int64
          type: integer
        used:
          format: int64
          type: integer
      required:
        - allocate_to
        - allocate_type
        - part
        - total
      title: 配额详情
      type: object
    quota_alloc_req_body:
      properties:
        alloc:
          items:
            $ref: '#/components/schemas/quota'
          maxItems: 1024
          type: array
      required:
        - alloc
      title: 空间配额请求体
      type: object
    quota_alloc_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    quota_detail_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/quota'
      required:
        - data
      type: object
    rag_file_data:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        file_id:
          maxLength: 1024
          type: string
        file_name:
          maxLength: 1024
          type: string
      required:
        - drive_id
        - file_id
        - file_name
      type: object
    rapid_upload_proof:
      properties:
        code:
          maxLength: 1024
          type: string
        token:
          maxLength: 1024
          type: string
      required:
        - code
        - token
      type: object
      x-tags:
        - public
    rapid_upload_req_body:
      properties:
        display_size:
          format: int64
          type: integer
          x-tags:
            - public
        file_id:
          maxLength: 1024
          type: string
          x-tags:
            - public
        hashes:
          items:
            $ref: '#/components/schemas/hash'
          maxItems: 1024
          type: array
        name:
          maxLength: 240
          minLength: 1
          type: string
          x-escape: false
        on_name_conflict:
          allOf:
            - $ref: '#/components/schemas/on_name_conflict'
          type: object
        parent_path:
          items:
            maxLength: 1024
            type: string
          maxItems: 10
          minItems: 1
          type: array
        proof:
          allOf:
            - $ref: '#/components/schemas/rapid_upload_proof'
          type: object
          x-tags:
            - public
        size:
          format: int64
          type: integer
      required:
        - size
        - hashes
      type: object
    rapid_upload_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file'
      required:
        - data
      type: object
    rec_theme:
      properties:
        position:
          maxLength: 1024
          type: string
        theme_limit:
          format: int
          type: integer
      required:
        - theme_limit
        - position
      type: object
    recall_message_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    recommend_v7_post_recommend_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/aiopen_post_ai_recommend_question_resp'
      required:
        - data
      type: object
    recording_chapter_item:
      properties:
        content:
          maxLength: 1024
          type: string
        end_time:
          format: int64
          type: integer
        start_time:
          format: int64
          type: integer
        title:
          maxLength: 1024
          type: string
      required:
        - title
        - content
        - start_time
        - end_time
      type: object
    recording_media:
      properties:
        download_url:
          maxLength: 1024
          type: string
      required:
        - download_url
      type: object
    recover_dimission_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    rectangle:
      properties:
        x1:
          format: int
          type: integer
        x2:
          format: int
          type: integer
        y1:
          format: int
          type: integer
        y2:
          format: int
          type: integer
      required:
        - x1
        - y1
        - x2
        - y2
      type: object
    recurrence:
      properties:
        by_day:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        by_month:
          items:
            format: int
            maximum: 12
            minimum: 1
            type: integer
          maxItems: 1024
          type: array
        by_month_day:
          items:
            format: int
            type: integer
          maxItems: 1024
          type: array
        count:
          format: int
          nullable: true
          type: integer
        exdate:
          items:
            $ref: '#/components/schemas/calendar_time'
          maxItems: 1024
          type: array
        freq:
          $ref: '#/components/schemas/recurrence_freq'
        interval:
          format: int
          maximum: 100
          minimum: 0
          type: integer
          x-doc-tip:
            - 表示每隔多少个基本时间单位重复一次，例如freq=WEEKLY，interval=2表示每两周重复一次
        until_date:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          nullable: true
          type: object
      required:
        - freq
        - interval
      title: 重复规则
      type: object
    recurrence_freq:
      enum:
        - YEARLY
        - MONTHLY
        - WEEKLY
        - DAILY
        - LUNAR_YEARLY
      title: 间隔单位，指定重复的基本时间单位
      type: string
      x-enum:
        - yearly
        - monthly
        - weekly
        - daily
        - lunar_yearly
    recv_file:
      properties:
        file:
          $ref: '#/components/schemas/file'
        recv_time:
          format: int64
          type: integer
      required:
        - recv_time
        - file
      title: 我收到的文件信息
      type: object
    reference:
      properties:
        id:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/reference_type'
          type: object
      required:
        - id
        - type
      type: object
    reference_type:
      enum:
        - run
        - block
        - cell
      type: string
      x-enum:
        - run
        - block
        - cell
    reject_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    release_meeting_room_req_body:
      properties:
        event_id:
          maxLength: 1024
          type: string
        release_type:
          $ref: '#/components/schemas/meeting_room_booking_release_type'
        which_day_time:
          format: int64
          type: integer
          x-number-unit: ms
      required:
        - event_id
        - which_day_time
        - release_type
      type: object
    release_meeting_room_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    remind_todo_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    remove_personal_todo_task_members_req_body:
      properties:
        members:
          items:
            maxLength: 100
            minLength: 1
            type: string
          maxItems: 1024
          type: array
      required:
        - members
      type: object
    remove_personal_todo_task_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    remove_workbench_favorite_app_req_body:
      properties:
        app_id:
          maxLength: 1024
          type: string
      required:
        - app_id
      type: object
    remove_workbench_favorite_app_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    rename_file_req_body:
      properties:
        dst_name:
          maxLength: 240
          minLength: 1
          type: string
          x-escape: false
      required:
        - dst_name
      type: object
    rename_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file'
      required:
        - data
      type: object
    reply_documents_comment:
      properties:
        items:
          items:
            $ref: '#/components/schemas/documents_comment'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        total:
          format: int64
          type: integer
      required:
        - total
        - items
        - next_page_token
      type: object
    reply_message_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/send_reply_message_resp_data'
      required:
        - data
      type: object
    request_upload_data:
      properties:
        store_request:
          allOf:
            - $ref: '#/components/schemas/store_request'
          type: object
        upload_id:
          maxLength: 1024
          type: string
      required:
        - upload_id
        - store_request
      type: object
    request_upload_req_body:
      properties:
        file_id:
          maxLength: 1024
          type: string
        hashes:
          items:
            $ref: '#/components/schemas/hash'
          maxItems: 1024
          type: array
        internal:
          type: boolean
        name:
          maxLength: 240
          minLength: 1
          type: string
          x-escape: false
        on_name_conflict:
          allOf:
            - $ref: '#/components/schemas/on_name_conflict'
          type: object
        parent_path:
          items:
            maxLength: 1024
            type: string
          maxItems: 10
          minItems: 1
          type: array
        size:
          format: int64
          type: integer
        storage_base_domain:
          maxLength: 1024
          type: string
          x-tags:
            - public
        upload_scene:
          allOf:
            - $ref: '#/components/schemas/enum_upload_scene'
          type: object
      required:
        - size
      type: object
    request_upload_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/request_upload_data'
      required:
        - data
      type: object
    respond_event_mod_type:
      enum:
        - normal
        - one
        - all
      type: string
      x-enum:
        - normal
        - one
        - all
    respond_event_req_body:
      properties:
        mod_type:
          $ref: '#/components/schemas/respond_event_mod_type'
        response_status:
          $ref: '#/components/schemas/respond_event_status'
        which_day_time:
          format: uint64
          type: integer
          x-number-unit: ms
      required:
        - which_day_time
        - response_status
        - mod_type
      type: object
    respond_event_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    respond_event_status:
      enum:
        - accepted
        - declined
        - tentative
      type: string
      x-enum:
        - accepted
        - declined
        - tentative
    restore_deleted_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file'
      required:
        - data
      type: object
    restore_group_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    revert_version_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/version'
      required:
        - data
      type: object
    revision_show_mode:
      enum:
        - default
        - original
        - final
      type: string
      x-enum:
        - default
        - original
        - final
    revoke_approval_instance_req_body:
      properties:
        operator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      title: revoke_approval_instance_req_body
      type: object
    revoke_approval_instance_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    role:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        permission_bits:
          allOf:
            - $ref: '#/components/schemas/permission_bits'
          nullable: true
          type: object
        permissions:
          allOf:
            - $ref: '#/components/schemas/permission_bits'
          nullable: true
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/file_role_type'
          type: object
      required:
        - id
        - permissions
        - permission_bits
        - name
        - type
      type: object
    role_type:
      enum:
        - super-admin
        - admin
        - normal
        - sysadmin
        - super-sysadmin
        - audadmin
        - super-audadmin
        - secadmin
        - super-secadmin
      type: string
      x-enum:
        - super_Admin
        - admin
        - normal
        - sysadmin
        - super_sysadmin
        - audadmin
        - super_audadmin
        - secadmin
        - super_secadmin
    roles:
      properties:
        items:
          items:
            $ref: '#/components/schemas/role'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    rollback_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    rotate_type:
      enum:
        - 0
        - 90
        - 180
        - 270
      type: integer
      x-enum:
        - rotate0
        - rotate90
        - rotate180
        - rotate270
    rule_scan_result:
      properties:
        hit_result:
          allOf:
            - $ref: '#/components/schemas/hit_result'
          type: object
        rule_name:
          maxLength: 1024
          type: string
      required:
        - rule_name
        - hit_result
      type: object
    run:
      properties:
        id:
          maxLength: 1024
          type: string
        prop:
          allOf:
            - $ref: '#/components/schemas/run_prop'
          type: object
        text:
          maxLength: 1024
          type: string
      type: object
    run_prop:
      properties:
        bold:
          type: boolean
        color:
          maxLength: 1024
          type: string
        font_ascii:
          maxLength: 1024
          type: string
        font_east_asia:
          maxLength: 1024
          type: string
        size:
          format: double
          type: number
      type: object
    scan_file_areas:
      properties:
        excel:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        pdf:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        ppt:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        txt:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        word:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        zip:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      type: object
    scan_text_match:
      properties:
        or:
          items:
            $ref: '#/components/schemas/scan_text_match_condition_group'
          maxItems: 1024
          type: array
      required:
        - or
      type: object
    scan_text_match_condition:
      properties:
        keywords:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        min_hit_times:
          format: int
          type: integer
        ref_sensitive_wordlibs:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        regexp:
          maxLength: 1024
          type: string
        type:
          maxLength: 1024
          type: string
      required:
        - type
        - min_hit_times
      type: object
    scan_text_match_condition_group:
      properties:
        and:
          items:
            $ref: '#/components/schemas/scan_text_match_condition'
          maxItems: 1024
          type: array
      required:
        - and
      type: object
    scanrule:
      properties:
        dialect:
          maxLength: 1024
          type: string
        extra:
          allOf:
            - $ref: '#/components/schemas/map_string_string'
          type: object
        file_areas:
          allOf:
            - $ref: '#/components/schemas/scan_file_areas'
          type: object
        file_format_detect:
          type: boolean
        hit_time_deduplicate:
          type: boolean
        name:
          maxLength: 1024
          type: string
        namespace:
          maxLength: 1024
          type: string
        scan_char_num:
          format: int
          type: integer
        state:
          allOf:
            - $ref: '#/components/schemas/scanrule_state'
          type: object
        text_match:
          allOf:
            - $ref: '#/components/schemas/scan_text_match'
          type: object
        whitelist_wordlib:
          maxLength: 1024
          type: string
        word_split_optimize:
          type: boolean
      required:
        - namespace
        - name
        - dialect
      type: object
    scanrule_state:
      properties:
        create_time:
          format: int64
          type: integer
        modify_time:
          format: int64
          type: integer
        version:
          format: int64
          type: integer
      required:
        - create_time
        - modify_time
        - version
      type: object
    scanrules_delete_req_body:
      properties:
        name:
          maxLength: 1024
          type: string
        namespace:
          maxLength: 1024
          type: string
      required:
        - namespace
        - name
      type: object
    scanrules_delete_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    scanrules_save_req_body:
      properties:
        dialect:
          maxLength: 1024
          type: string
        extra:
          allOf:
            - $ref: '#/components/schemas/map_string_string'
          type: object
        file_areas:
          allOf:
            - $ref: '#/components/schemas/scan_file_areas'
          type: object
        file_format_detect:
          type: boolean
        hit_time_deduplicate:
          type: boolean
        name:
          maxLength: 64
          type: string
        namespace:
          maxLength: 32
          type: string
        scan_char_num:
          format: int
          type: integer
        text_match:
          allOf:
            - $ref: '#/components/schemas/scan_text_match'
          type: object
        whitelist_wordlib:
          maxLength: 1024
          type: string
        word_split_optimize:
          type: boolean
      required:
        - namespace
        - name
        - dialect
      type: object
    scanrules_save_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    scanrules_search_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/scanrules_search_result'
      required:
        - data
      type: object
    scanrules_search_result:
      properties:
        list:
          items:
            $ref: '#/components/schemas/scanrule'
          maxItems: 1024
          type: array
        total:
          format: int
          type: integer
      required:
        - total
        - list
      type: object
    scantasks_sync_req_body:
      properties:
        namespace:
          maxLength: 1024
          type: string
        rule_names:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          type: array
        targets:
          items:
            $ref: '#/components/schemas/scantasks_target'
          maxItems: 100
          type: array
        with_detail:
          type: boolean
      required:
        - namespace
        - targets
        - rule_names
      type: object
    scantasks_sync_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/scantasks_sync_result'
      required:
        - data
      type: object
    scantasks_sync_result:
      properties:
        rule_results:
          items:
            $ref: '#/components/schemas/rule_scan_result'
          maxItems: 1024
          type: array
      required:
        - rule_results
      type: object
    scantasks_target:
      properties:
        file_url:
          maxLength: 1024
          type: string
        plaintext:
          maxLength: 100000
          minLength: 1
          type: string
        type:
          maxLength: 1024
          type: string
      required:
        - type
      type: object
    scheme_colors:
      properties:
        background_type:
          format: int
          type: integer
        theme_colors:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      type: object
    search_chatmsg_data:
      properties:
        max_size_of_chat:
          format: int64
          type: integer
        max_size_of_msg:
          format: int64
          type: integer
      title: search_chatmsg_data
      type: object
    search_data_response:
      properties:
        favicon:
          maxLength: 1024
          type: string
        time_desc:
          maxLength: 1024
          type: string
        title:
          maxLength: 1024
          type: string
        web_url:
          maxLength: 1024
          type: string
      required:
        - title
        - time_desc
        - favicon
        - web_url
      type: object
    search_dept_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/dept_list_with_highlight'
      required:
        - data
      type: object
    search_dept_source:
      enum:
        - company_dept
        - enterprise_partner
      title: search_dept_source
      type: string
      x-enum:
        - company_dept
        - enterprise_partner
    search_doclib_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/doclib_search_list'
      required:
        - data
      type: object
    search_email_data:
      properties:
        max_size:
          format: int64
          type: integer
      title: search_email_data
      type: object
    search_events_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/event'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    search_events_req_body:
      properties:
        keyword:
          maxLength: 100
          type: string
        page_size:
          format: int
          maximum: 500
          minimum: 1
          type: integer
        page_token:
          maxLength: 1024
          type: string
      required:
        - keyword
      type: object
    search_events_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/search_events_data'
      required:
        - data
      type: object
    search_file_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/search_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
        - next_page_token
      type: object
    search_files_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/search_file_data'
      required:
        - data
      type: object
    search_filter:
      enum:
        - unread
        - flagged
      type: string
      x-enum:
        - unread
        - flagged
    search_group_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/search_group_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
        - next_page_token
      title: search_group_data
      type: object
    search_group_item:
      allOf:
        - $ref: '#/components/schemas/group'
      properties:
        highlights:
          allOf:
            - $ref: '#/components/schemas/map_string_array_string'
          type: object
      required:
        - highlights
      title: search_group_item
      type: object
    search_group_member_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/search_group_member_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
        - next_page_token
      title: search_group_member_data
      type: object
    search_group_member_item:
      allOf:
        - $ref: '#/components/schemas/group_member'
      properties:
        highlights:
          allOf:
            - $ref: '#/components/schemas/map_string_array_string'
          type: object
      required:
        - highlights
      title: search_group_member_item
      type: object
    search_group_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/search_group_member_data'
      required:
        - data
      type: object
    search_groups_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/search_group_data'
      required:
        - data
      type: object
    search_item:
      properties:
        file:
          allOf:
            - $ref: '#/components/schemas/file'
          type: object
        file_src:
          allOf:
            - $ref: '#/components/schemas/file_source'
          nullable: true
          type: object
          x-omitempty: true
        highlights:
          allOf:
            - $ref: '#/components/schemas/map_string_array_string'
          type: object
        otime:
          format: int64
          type: integer
          x-tags:
            - public
      required:
        - file
        - highlights
      type: object
    search_mail_groups_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_group_list'
      required:
        - data
      type: object
    search_mailboxes_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mailbox_list'
      required:
        - data
      type: object
    search_meeting_rooms_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/meeting_room'
          maxItems: 1024
          type: array
      required:
        - items
      type: object
    search_meeting_rooms_req_body:
      properties:
        keyword:
          maxLength: 1024
          type: string
      required:
        - keyword
      type: object
    search_meeting_rooms_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/search_meeting_rooms_data'
      required:
        - data
      type: object
    search_user_field:
      enum:
        - email
        - phone
        - user_name
        - login_name
      title: search_user_field
      type: string
      x-enum:
        - email
        - phone
        - user_name
        - login_name
    search_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/user_list_with_highlight'
      required:
        - data
      type: object
    search_user_source:
      enum:
        - company_user
        - enterprise_partner
      title: search_user_source
      type: string
      x-enum:
        - company_user
        - enterprise_partner
    select_option_item:
      properties:
        checked:
          type: boolean
        color:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
        - color
        - checked
      type: object
    send_approval_message_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/workflow_message_send_resp'
      required:
        - data
      type: object
    send_cloud_file_chat_message_req_body:
      properties:
        file:
          allOf:
            - $ref: '#/components/schemas/message_cloud_file'
          type: object
      required:
        - file
      title: send_cloud_file_chat_message_req_body
      type: object
    send_cloud_file_chat_message_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/send_cloud_file_chat_message_resp_data'
      required:
        - data
      type: object
    send_cloud_file_chat_message_resp_data:
      properties:
        message_id:
          maxLength: 1024
          type: string
      required:
        - message_id
      title: send_cloud_file_chat_message_resp_data
      type: object
    send_mail_message_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    send_reply_message_req_body:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/message_content'
          nullable: true
          type: object
        mentions:
          items:
            $ref: '#/components/schemas/message_mention'
          maxItems: 1024
          type: array
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/message_type'
          type: object
      required:
        - content
        - type
      type: object
    send_reply_message_resp_data:
      properties:
        chat_id:
          maxLength: 1024
          type: string
        content:
          allOf:
            - $ref: '#/components/schemas/message_content'
          nullable: true
          type: object
        mentions:
          items:
            $ref: '#/components/schemas/message_mention'
          maxItems: 1024
          type: array
        message_id:
          maxLength: 1024
          type: string
        quote_msg_id:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/message_type'
          type: object
      required:
        - message_id
        - chat_id
        - type
        - quote_msg_id
        - content
      title: send_reply_message_resp_data
      type: object
    service_principal:
      properties:
        app_id:
          maxLength: 1024
          type: string
        company_id:
          maxLength: 1024
          type: string
        ctime:
          format: int64
          type: integer
        description:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        logo:
          maxLength: 1024
          type: string
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/service_principal_status'
          type: object
      required:
        - id
        - app_id
        - company_id
        - name
        - description
        - logo
        - status
        - ctime
        - mtime
      title: 服务主体
      type: object
    service_principal_status:
      enum:
        - active
        - disabled
        - deleted
      title: 服务主体状态
      type: string
      x-enum:
        - active
        - disabled
        - deleted
    set_application_badge_req_body:
      properties:
        badges:
          items:
            allOf:
              - $ref: '#/components/schemas/application_badge'
            nullable: true
            type: object
          maxItems: 1024
          type: array
      required:
        - badges
      type: object
    set_application_badge_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    set_meeting_room_disable_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_disable'
      required:
        - data
      type: object
    setting_usage_tips:
      properties:
        app:
          allOf:
            - $ref: '#/components/schemas/usage_tips_app'
          type: object
        config:
          allOf:
            - $ref: '#/components/schemas/usage_tips_config'
          type: object
        enable:
          type: boolean
      required:
        - app
        - config
        - enable
      title: setting_usage_tips
      type: object
    sheets_auto_filter_condition:
      properties:
        operator:
          allOf:
            - $ref: '#/components/schemas/sheets_filter_operator'
          type: object
        param1:
          allOf:
            - $ref: '#/components/schemas/sheets_filter_condition_param'
          type: object
        param2:
          allOf:
            - $ref: '#/components/schemas/sheets_filter_condition_param'
          type: object
      type: object
    sheets_autofilter_info:
      properties:
        col:
          format: int32
          type: integer
        condition:
          allOf:
            - $ref: '#/components/schemas/sheets_auto_filter_condition'
          type: object
      required:
        - col
        - condition
      type: object
    sheets_cell_data:
      properties:
        cell_text:
          maxLength: 1024
          type: string
        col_from:
          format: int32
          type: integer
        col_to:
          format: int32
          type: integer
        is_cell_pic:
          type: boolean
        num_format:
          maxLength: 1024
          type: string
        original_cell_value:
          maxLength: 1024
          type: string
        pic_content:
          maxLength: 1024
          type: string
        pic_data:
          maxLength: 1024
          type: string
        row_from:
          format: int32
          type: integer
        row_to:
          format: int32
          type: integer
        sha1:
          maxLength: 1024
          type: string
        tag:
          maxLength: 1024
          type: string
      required:
        - cell_text
        - col_from
        - col_to
        - is_cell_pic
        - num_format
        - original_cell_value
        - pic_data
        - sha1
        - row_from
        - row_to
        - tag
        - pic_content
      type: object
    sheets_cell_operation_type:
      enum:
        - cell_operation_type_formula
        - cell_operation_type_picture
        - cell_operation_type_format
        - cell_operation_type_merge
      type: string
      x-enum:
        - cell_operation_type_formula
        - cell_operation_type_picture
        - cell_operation_type_format
        - cell_operation_type_merge
    sheets_cell_pic_info:
      properties:
        height:
          format: int32
          type: integer
        pic_content:
          maxLength: 1024
          type: string
        tag:
          allOf:
            - $ref: '#/components/schemas/sheets_sheet_pic_type'
          type: object
        width:
          format: int32
          type: integer
      required:
        - tag
        - width
        - height
        - pic_content
      type: object
    sheets_color:
      properties:
        tint:
          format: int32
          type: integer
        type:
          format: int32
          type: integer
        value:
          format: int64
          type: integer
      required:
        - tint
        - type
        - value
      type: object
    sheets_copy_work_sheet_req_body:
      properties:
        copy_first_sheet:
          type: boolean
      type: object
    sheets_copy_work_sheet_resp:
      properties:
        sheet_id:
          format: int64
          type: integer
      type: object
    sheets_copy_worksheet_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/sheets_copy_work_sheet_resp'
      required:
        - data
      type: object
    sheets_create_data_validation_req_body:
      properties:
        args:
          allOf:
            - $ref: '#/components/schemas/sheets_data_validation_args'
          type: object
        field_type:
          maxLength: 1024
          type: string
        range:
          allOf:
            - $ref: '#/components/schemas/sheets_range'
          type: object
      required:
        - range
        - args
        - field_type
      type: object
    sheets_create_data_validation_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_create_filter_req_body:
      properties:
        expand_filter_range:
          type: boolean
        range:
          allOf:
            - $ref: '#/components/schemas/sheets_range'
          type: object
      required:
        - range
        - expand_filter_range
      type: object
    sheets_create_filter_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_create_protection_range_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_create_protection_ranges_req_body:
      properties:
        sheets_protection_infos:
          items:
            $ref: '#/components/schemas/sheets_sheets_protection_info'
          maxItems: 1024
          type: array
      required:
        - sheets_protection_infos
      type: object
    sheets_create_row_req_body:
      properties:
        range_data:
          items:
            $ref: '#/components/schemas/sheets_range_data'
          maxItems: 1024
          type: array
      type: object
    sheets_create_row_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_create_sheet_position:
      properties:
        after_sheet_id:
          format: int64
          type: integer
        before_sheet_id:
          format: int64
          type: integer
        end:
          type: boolean
      type: object
    sheets_create_work_sheet_req_body:
      properties:
        col_width:
          format: float
          type: number
        name:
          maxLength: 1024
          type: string
        position:
          allOf:
            - $ref: '#/components/schemas/sheets_create_sheet_position'
          type: object
      required:
        - position
      type: object
    sheets_create_work_sheet_resp:
      properties:
        sheet_id:
          format: int64
          type: integer
      required:
        - sheet_id
      type: object
    sheets_create_worksheet_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/sheets_create_work_sheet_resp'
      required:
        - data
      type: object
    sheets_data_validation_args:
      properties:
        list_items:
          items:
            $ref: '#/components/schemas/sheets_list_item'
          maxItems: 1024
          type: array
        validation_error_text:
          maxLength: 1024
          type: string
        validation_error_title:
          maxLength: 1024
          type: string
      required:
        - validation_error_text
        - validation_error_title
        - list_items
      type: object
    sheets_data_validation_info:
      properties:
        col_from:
          format: int32
          type: integer
        col_to:
          format: int32
          type: integer
        row_from:
          format: int32
          type: integer
        row_to:
          format: int32
          type: integer
        validation_error_text:
          maxLength: 1024
          type: string
        validation_error_title:
          maxLength: 1024
          type: string
        value_str:
          maxLength: 1024
          type: string
      required:
        - col_from
        - col_to
        - row_from
        - row_to
        - validation_error_text
        - validation_error_title
        - value_str
      type: object
    sheets_del_ranges:
      properties:
        id:
          maxLength: 1024
          type: string
      required:
        - id
      type: object
    sheets_del_sheets_protection_info:
      properties:
        delete_protection_ranges:
          items:
            $ref: '#/components/schemas/sheets_del_ranges'
          maxItems: 1024
          type: array
        worksheet_id:
          format: int64
          type: integer
      required:
        - worksheet_id
        - delete_protection_ranges
      type: object
    sheets_delete_data_validation_req_body:
      properties:
        range:
          allOf:
            - $ref: '#/components/schemas/sheets_range'
          type: object
      required:
        - range
      type: object
    sheets_delete_data_validation_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_delete_filter_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_delete_protection_range_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_delete_protection_ranges_req_body:
      properties:
        sheets_protection_infos:
          items:
            $ref: '#/components/schemas/sheets_del_sheets_protection_info'
          maxItems: 1024
          type: array
      required:
        - sheets_protection_infos
      type: object
    sheets_delete_range_data_req_body:
      properties:
        range_data:
          items:
            $ref: '#/components/schemas/sheets_range'
          maxItems: 1024
          type: array
        shift_type:
          allOf:
            - $ref: '#/components/schemas/sheets_shift_type'
          type: object
      required:
        - range_data
      type: object
    sheets_delete_range_data_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_delete_work_sheet_req_body:
      properties:
        worksheet_ids:
          items:
            format: int64
            type: integer
          maxItems: 1024
          type: array
      type: object
    sheets_delete_worksheet_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_duplicates:
      properties:
        col:
          items:
            format: int32
            type: integer
          maxItems: 1024
          type: array
      required:
        - col
      type: object
    sheets_fill:
      properties:
        back:
          allOf:
            - $ref: '#/components/schemas/sheets_color'
          type: object
        fore:
          allOf:
            - $ref: '#/components/schemas/sheets_color'
          type: object
        type:
          format: int32
          type: integer
      required:
        - type
        - back
        - fore
      type: object
    sheets_filter:
      properties:
        condition:
          items:
            $ref: '#/components/schemas/sheets_filter_condition'
          maxItems: 1024
          type: array
        duplicates:
          allOf:
            - $ref: '#/components/schemas/sheets_duplicates'
          type: object
        search:
          items:
            $ref: '#/components/schemas/sheets_search_condition'
          maxItems: 1024
          type: array
      required:
        - condition
        - search
        - duplicates
      type: object
    sheets_filter_condition:
      properties:
        col:
          format: int32
          type: integer
        info:
          items:
            $ref: '#/components/schemas/sheets_filter_info'
          maxItems: 1024
          type: array
        mode:
          allOf:
            - $ref: '#/components/schemas/sheets_filter_mode'
          type: object
      required:
        - col
        - info
        - mode
      type: object
    sheets_filter_condition_param:
      properties:
        custom_type:
          allOf:
            - $ref: '#/components/schemas/sheets_filter_custom_type'
          type: object
        val:
          maxLength: 1024
          type: string
      required:
        - custom_type
        - val
      type: object
    sheets_filter_custom_type:
      enum:
        - filter_custom_type_greater
        - filter_custom_type_greater_equ
        - filter_custom_type_less
        - filter_custom_type_less_equ
        - filter_custom_type_equals
        - filter_custom_type_not_equ
        - filter_custom_type_begin_with
        - filter_custom_type_end_with
        - filter_custom_type_contains
        - filter_custom_type_not_contains
      type: string
      x-enum:
        - filter_custom_type_greater
        - filter_custom_type_greater_equ
        - filter_custom_type_less
        - filter_custom_type_less_equ
        - filter_custom_type_equals
        - filter_custom_type_not_equ
        - filter_custom_type_begin_with
        - filter_custom_type_end_with
        - filter_custom_type_contains
        - filter_custom_type_not_contains
    sheets_filter_info:
      properties:
        value:
          maxLength: 1024
          type: string
      required:
        - value
      type: object
    sheets_filter_mode:
      enum:
        - filter_mode_and
        - filter_mode_or
      type: string
      x-enum:
        - filter_mode_and
        - filter_mode_or
    sheets_filter_operator:
      enum:
        - filter_operator_and
        - filter_operator_or
      type: string
      x-enum:
        - filter_operator_and
        - filter_operator_or
    sheets_find_cell_req_body:
      properties:
        filter:
          allOf:
            - $ref: '#/components/schemas/sheets_filter'
          type: object
        ignore_hidden_cell:
          type: boolean
        option_cols:
          items:
            format: int32
            type: integer
          maxItems: 1024
          type: array
        page:
          allOf:
            - $ref: '#/components/schemas/sheets_page'
          type: object
        range:
          allOf:
            - $ref: '#/components/schemas/sheets_range'
          type: object
        show_total:
          type: boolean
      required:
        - range
        - filter
      type: object
    sheets_find_cell_resp:
      properties:
        merge_range_data:
          items:
            $ref: '#/components/schemas/sheets_cell_data'
          maxItems: 1024
          type: array
        option_col:
          items:
            $ref: '#/components/schemas/sheets_option_column'
          maxItems: 1024
          type: array
        range_data:
          items:
            $ref: '#/components/schemas/sheets_cell_data'
          maxItems: 1024
          type: array
        result_type:
          format: int32
          type: integer
        total:
          format: int32
          type: integer
      required:
        - merge_range_data
        - range_data
        - option_col
        - result_type
        - total
      type: object
    sheets_find_cell_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/sheets_find_cell_resp'
      required:
        - data
      type: object
    sheets_font:
      properties:
        bls:
          type: boolean
        char_set:
          format: int32
          type: integer
        color:
          allOf:
            - $ref: '#/components/schemas/sheets_color'
          type: object
        dy_height:
          format: int32
          type: integer
        italic:
          type: boolean
        name:
          maxLength: 1024
          type: string
        sss:
          format: int32
          type: integer
        strikeout:
          type: boolean
        theme_font:
          format: int32
          type: integer
        uls:
          format: int32
          type: integer
      type: object
    sheets_get_data_validation_resp:
      properties:
        infos:
          items:
            $ref: '#/components/schemas/sheets_data_validation_info'
          maxItems: 1024
          type: array
      required:
        - infos
      type: object
    sheets_get_data_validation_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/sheets_get_data_validation_resp'
      required:
        - data
      type: object
    sheets_get_filter_resp:
      properties:
        autofilter_infos:
          items:
            $ref: '#/components/schemas/sheets_autofilter_info'
          maxItems: 1024
          type: array
      required:
        - autofilter_infos
      type: object
    sheets_get_filter_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/sheets_get_filter_resp'
      required:
        - data
      type: object
    sheets_get_protection_ranges_resp:
      properties:
        protection_infos:
          items:
            $ref: '#/components/schemas/sheets_protection_info_group'
          maxItems: 1024
          type: array
      required:
        - protection_infos
      type: object
    sheets_get_protection_ranges_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/sheets_get_protection_ranges_resp'
      required:
        - data
      type: object
    sheets_get_range_data_resp:
      properties:
        range_data:
          items:
            $ref: '#/components/schemas/sheets_cell_data'
          maxItems: 1024
          type: array
      required:
        - range_data
      type: object
    sheets_get_range_data_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/sheets_get_range_data_resp'
      required:
        - data
      type: object
    sheets_get_regional_permission_resp:
      properties:
        permission:
          maxLength: 1024
          type: string
      required:
        - permission
      type: object
    sheets_get_regional_permission_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/sheets_get_regional_permission_resp'
      required:
        - data
      type: object
    sheets_get_work_sheets_resp:
      properties:
        sheets:
          items:
            $ref: '#/components/schemas/sheets_sheet_info'
          maxItems: 1024
          type: array
      required:
        - sheets
      type: object
    sheets_get_worksheets_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/sheets_get_work_sheets_resp'
      required:
        - data
      type: object
    sheets_list_item:
      properties:
        value:
          maxLength: 1024
          type: string
      required:
        - value
      type: object
    sheets_merge_type:
      enum:
        - merge_type_center
        - merge_type_content
        - merge_type_same
        - merge_type_columns
      type: string
      x-enum:
        - merge_type_center
        - merge_type_content
        - merge_type_same
        - merge_type_columns
    sheets_option_column:
      properties:
        col:
          format: int32
          type: integer
        texts:
          items:
            $ref: '#/components/schemas/sheets_option_text'
          maxItems: 1024
          type: array
      required:
        - col
        - texts
      type: object
    sheets_option_text:
      properties:
        count:
          format: int32
          type: integer
        origin:
          maxLength: 1024
          type: string
        text:
          maxLength: 1024
          type: string
      required:
        - count
        - text
        - origin
      type: object
    sheets_others_access_permission:
      enum:
        - others_access_permission_invisible
        - others_access_permission_visible
        - others_access_permission_editable
      type: string
      x-enum:
        - others_access_permission_invisible
        - others_access_permission_visible
        - others_access_permission_editable
    sheets_page:
      properties:
        page:
          format: int32
          type: integer
        page_size:
          format: int32
          type: integer
      required:
        - page_size
        - page
      type: object
    sheets_protection_info:
      properties:
        others_access_permission:
          allOf:
            - $ref: '#/components/schemas/sheets_others_access_permission'
          type: object
        protection_ranges:
          items:
            $ref: '#/components/schemas/sheets_protection_range'
          maxItems: 1024
          type: array
        protection_user_data:
          items:
            $ref: '#/components/schemas/sheets_protection_user_data'
          maxItems: 1024
          type: array
        range_creator_id:
          maxLength: 1024
          type: string
      required:
        - range_creator_id
        - protection_ranges
        - others_access_permission
        - protection_user_data
      type: object
    sheets_protection_info_group:
      properties:
        master_id:
          maxLength: 1024
          type: string
        other_user_permission:
          allOf:
            - $ref: '#/components/schemas/sheets_user_access_permission'
          type: object
        protection_info:
          items:
            $ref: '#/components/schemas/sheets_protection_info_item'
          maxItems: 1024
          type: array
      required:
        - protection_info
        - master_id
        - other_user_permission
      type: object
    sheets_protection_info_item:
      properties:
        id:
          maxLength: 1024
          type: string
        others_access_permission:
          allOf:
            - $ref: '#/components/schemas/sheets_others_access_permission'
          type: object
        protection_ranges:
          items:
            $ref: '#/components/schemas/sheets_range'
          maxItems: 1024
          type: array
        protection_user_data:
          items:
            $ref: '#/components/schemas/sheets_protection_user_data'
          maxItems: 1024
          type: array
        range_creator_id:
          maxLength: 1024
          type: string
      required:
        - id
        - protection_ranges
        - others_access_permission
        - range_creator_id
        - protection_user_data
      type: object
    sheets_protection_range:
      properties:
        column_from:
          format: int32
          type: integer
        column_to:
          format: int32
          type: integer
        row_from:
          format: int32
          type: integer
        row_to:
          format: int32
          type: integer
      required:
        - row_from
        - row_to
        - column_from
        - column_to
      type: object
    sheets_protection_user_data:
      properties:
        access_permission:
          allOf:
            - $ref: '#/components/schemas/sheets_user_access_permission'
          type: object
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
        - access_permission
      type: object
    sheets_range:
      properties:
        col_from:
          format: int32
          type: integer
        col_to:
          format: int32
          type: integer
        row_from:
          format: int32
          type: integer
        row_to:
          format: int32
          type: integer
      required:
        - row_from
        - row_to
        - col_from
        - col_to
      type: object
    sheets_range_data:
      properties:
        cell_pic_info:
          allOf:
            - $ref: '#/components/schemas/sheets_cell_pic_info'
          type: object
        col:
          format: int32
          type: integer
        formula:
          maxLength: 1024
          type: string
        op_type:
          allOf:
            - $ref: '#/components/schemas/sheets_cell_operation_type'
          type: object
      required:
        - op_type
      type: object
    sheets_search_condition:
      properties:
        col:
          format: int32
          type: integer
        value:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - col
        - value
      type: object
    sheets_sheet_info:
      properties:
        active_area:
          allOf:
            - $ref: '#/components/schemas/sheets_range'
          type: object
        empty:
          type: boolean
        hidden:
          type: boolean
        index:
          format: int32
          type: integer
        max_col:
          format: int32
          type: integer
        max_row:
          format: int32
          type: integer
        name:
          maxLength: 1024
          type: string
        resource_type:
          maxLength: 1024
          type: string
        sheet_id:
          format: int64
          type: integer
      required:
        - sheet_id
        - name
        - index
        - resource_type
        - hidden
        - empty
        - max_row
        - max_col
        - active_area
      type: object
    sheets_sheet_move_type:
      enum:
        - sheet_move_type_before
        - sheet_move_type_after
      type: string
      x-enum:
        - sheet_move_type_before
        - sheet_move_type_after
    sheets_sheet_pic_type:
      enum:
        - sheet_pic_type_local
        - sheet_pic_type_attachment
        - sheet_pic_type_url
      type: string
      x-enum:
        - sheet_pic_type_local
        - sheet_pic_type_attachment
        - sheet_pic_type_url
    sheets_sheets_protection_info:
      properties:
        master_id:
          maxLength: 1024
          type: string
        other_user_permission:
          allOf:
            - $ref: '#/components/schemas/sheets_user_access_permission'
          type: object
        protection_infos:
          items:
            $ref: '#/components/schemas/sheets_protection_info'
          maxItems: 1024
          type: array
        worksheet_id:
          format: int64
          type: integer
      required:
        - worksheet_id
        - master_id
        - other_user_permission
        - protection_infos
      type: object
    sheets_shift_type:
      enum:
        - shift_up
        - shift_left
      type: string
      x-enum:
        - shift_up
        - shift_left
    sheets_update_data_validation_req_body:
      properties:
        args:
          allOf:
            - $ref: '#/components/schemas/sheets_data_validation_args'
          type: object
        field_type:
          maxLength: 1024
          type: string
        range:
          allOf:
            - $ref: '#/components/schemas/sheets_range'
          type: object
      required:
        - range
        - args
        - field_type
      type: object
    sheets_update_data_validation_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_update_filter_req_body:
      properties:
        col:
          format: int32
          type: integer
        condition:
          allOf:
            - $ref: '#/components/schemas/sheets_auto_filter_condition'
          type: object
      required:
        - col
        - condition
      type: object
    sheets_update_filter_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_update_protection_info:
      properties:
        id:
          maxLength: 1024
          type: string
        others_access_permission:
          allOf:
            - $ref: '#/components/schemas/sheets_others_access_permission'
          type: object
        protection_ranges:
          items:
            $ref: '#/components/schemas/sheets_protection_range'
          maxItems: 1024
          type: array
        protection_user_data:
          items:
            $ref: '#/components/schemas/sheets_protection_user_data'
          maxItems: 1024
          type: array
      required:
        - protection_ranges
        - others_access_permission
        - protection_user_data
        - id
      type: object
    sheets_update_protection_range_auto_filter_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_update_protection_range_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_update_protection_ranges_auto_filter_req_body:
      properties:
        auto_filter:
          type: boolean
      required:
        - auto_filter
      type: object
    sheets_update_protection_ranges_req_body:
      properties:
        sheets_protection_infos:
          items:
            $ref: '#/components/schemas/sheets_update_sheets_protection_info'
          maxItems: 1024
          type: array
      required:
        - sheets_protection_infos
      type: object
    sheets_update_range_data:
      properties:
        cell_pic_info:
          allOf:
            - $ref: '#/components/schemas/sheets_cell_pic_info'
          type: object
        col_from:
          format: int32
          type: integer
        col_to:
          format: int32
          type: integer
        formula:
          maxLength: 1024
          type: string
        merge_type:
          allOf:
            - $ref: '#/components/schemas/sheets_merge_type'
          type: object
        op_type:
          allOf:
            - $ref: '#/components/schemas/sheets_cell_operation_type'
          type: object
        row_from:
          format: int32
          type: integer
        row_to:
          format: int32
          type: integer
        xf:
          allOf:
            - $ref: '#/components/schemas/sheets_xf'
          type: object
      required:
        - op_type
        - row_from
        - row_to
        - col_from
        - col_to
      type: object
    sheets_update_range_data_req_body:
      properties:
        range_data:
          items:
            $ref: '#/components/schemas/sheets_update_range_data'
          maxItems: 1024
          type: array
      required:
        - range_data
      type: object
    sheets_update_range_data_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_update_sheets_protection_info:
      properties:
        other_user_permission:
          allOf:
            - $ref: '#/components/schemas/sheets_user_access_permission'
          type: object
        protection_infos:
          items:
            $ref: '#/components/schemas/sheets_update_protection_info'
          maxItems: 1024
          type: array
        worksheet_id:
          format: int64
          type: integer
      required:
        - worksheet_id
      type: object
    sheets_update_work_sheet_req_body:
      properties:
        move_sheet_id:
          format: int64
          type: integer
        move_type:
          allOf:
            - $ref: '#/components/schemas/sheets_sheet_move_type'
          type: object
        name:
          maxLength: 1024
          type: string
      type: object
    sheets_update_worksheet_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sheets_user_access_permission:
      enum:
        - user_access_permission_visible
        - user_access_permission_editable
      type: string
      x-enum:
        - user_access_permission_visible
        - user_access_permission_editable
    sheets_xf:
      properties:
        alc_h:
          format: int32
          type: integer
        alc_v:
          format: int32
          type: integer
        clr_bottom:
          allOf:
            - $ref: '#/components/schemas/sheets_color'
          type: object
        clr_diag_down:
          allOf:
            - $ref: '#/components/schemas/sheets_color'
          type: object
        clr_diag_up:
          allOf:
            - $ref: '#/components/schemas/sheets_color'
          type: object
        clr_inside_horz:
          allOf:
            - $ref: '#/components/schemas/sheets_color'
          type: object
        clr_inside_vert:
          allOf:
            - $ref: '#/components/schemas/sheets_color'
          type: object
        clr_left:
          allOf:
            - $ref: '#/components/schemas/sheets_color'
          type: object
        clr_right:
          allOf:
            - $ref: '#/components/schemas/sheets_color'
          type: object
        clr_top:
          allOf:
            - $ref: '#/components/schemas/sheets_color'
          type: object
        dg_bottom:
          format: int32
          type: integer
        dg_diag_down:
          format: int32
          type: integer
        dg_diag_up:
          format: int32
          type: integer
        dg_inside_horz:
          format: int32
          type: integer
        dg_inside_vert:
          format: int32
          type: integer
        dg_left:
          format: int32
          type: integer
        dg_right:
          format: int32
          type: integer
        dg_top:
          format: int32
          type: integer
        fill:
          allOf:
            - $ref: '#/components/schemas/sheets_fill'
          type: object
        font:
          allOf:
            - $ref: '#/components/schemas/sheets_font'
          type: object
        hidden:
          type: boolean
        indent:
          format: int32
          type: integer
        locked:
          type: boolean
        mask_cats:
          format: int32
          type: integer
        mask_cats_font:
          format: int32
          type: integer
        numfmt:
          maxLength: 1024
          type: string
        reading_order:
          format: int32
          type: integer
        shrink_to_fit:
          type: boolean
        trot:
          format: int32
          type: integer
        wrap:
          type: boolean
      type: object
    simulate_approval_instance:
      properties:
        pending_nodes:
          items:
            $ref: '#/components/schemas/approval_instance_pending_node'
          maxItems: 1024
          type: array
      required:
        - pending_nodes
      title: simulate_approval_instance
      type: object
    simulate_approval_instance_req_body:
      properties:
        approval_define_id:
          maxLength: 1024
          type: string
        contents:
          items:
            $ref: '#/components/schemas/approval_instance_content'
          maxItems: 1024
          type: array
        creator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        custom_form:
          maxLength: 1024
          type: string
          x-omitempty: true
        dept_id:
          maxLength: 1024
          type: string
          x-omitempty: true
          x-tags:
            - ex:dept_id
      required:
        - creator
        - approval_define_id
        - contents
      title: simulate_approval_instance_req_body
      type: object
    simulate_approval_instance_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/simulate_approval_instance'
      required:
        - data
      type: object
    size:
      properties:
        height:
          format: int
          type: integer
        width:
          format: int
          type: integer
      required:
        - width
        - height
      type: object
    slides_tpl_list_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/tpl_list_result'
      required:
        - data
      type: object
    slides_type_enum:
      enum:
        - title
        - content
        - menu
        - section
        - end
        - none
      type: string
      x-enum:
        - title
        - content
        - menu
        - section
        - end
        - none
    space_member_role:
      enum:
        - readonly
        - normal
        - admin
        - owner
      type: string
      x-enum:
        - readonly
        - normal
        - admin
        - owner
    space_member_type:
      enum:
        - normal
      type: string
      x-enum:
        - normal
    sse_aippt_generate_slides_from_pxf_v2_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/sse_slide_result'
      required:
        - data
      type: object
    sse_slide_result:
      properties:
        message:
          allOf:
            - $ref: '#/components/schemas/generate_slide_result_body'
          type: object
      required:
        - message
      type: object
    star_item:
      properties:
        ctime:
          format: int64
          type: integer
        drive:
          allOf:
            - $ref: '#/components/schemas/drive'
          nullable: true
          type: object
          x-omitempty: true
        file:
          allOf:
            - $ref: '#/components/schemas/file'
          nullable: true
          type: object
          x-omitempty: true
        file_src:
          allOf:
            - $ref: '#/components/schemas/file_source'
          nullable: true
          type: object
          x-omitempty: true
        object_type:
          allOf:
            - $ref: '#/components/schemas/label_object_type'
          type: object
      required:
        - object_type
        - ctime
      type: object
    store_order:
      properties:
        actual_fee:
          format: int64
          type: integer
        company_id:
          maxLength: 1024
          type: string
        created_at:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        operator:
          allOf:
            - $ref: '#/components/schemas/store_order_operator'
          type: object
        origin_fee:
          format: int64
          type: integer
        payments:
          items:
            $ref: '#/components/schemas/store_order_payment'
          maxItems: 1024
          type: array
        remark:
          maxLength: 1024
          type: string
        state:
          allOf:
            - $ref: '#/components/schemas/store_order_state'
          type: object
        sub_orders:
          items:
            $ref: '#/components/schemas/store_sub_order'
          maxItems: 1024
          type: array
      required:
        - id
        - company_id
        - state
        - operator
        - origin_fee
        - actual_fee
        - created_at
        - remark
        - payments
        - sub_orders
      title: store_order
      type: object
    store_order_activation:
      properties:
        code:
          maxLength: 1024
          type: string
        usage_url:
          maxLength: 1024
          type: string
      required:
        - code
        - usage_url
      type: object
    store_order_delivery:
      properties:
        notify_email:
          maxLength: 100
          type: string
        notify_phone:
          maxLength: 100
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/enum_store_order_delivery_type'
          type: object
      required:
        - type
      type: object
    store_order_entitlement:
      properties:
        expire_at:
          format: int64
          type: integer
        key:
          maxLength: 128
          minLength: 1
          type: string
        start_at:
          format: int64
          type: integer
        total:
          format: int64
          type: integer
      required:
        - key
        - total
        - start_at
        - expire_at
      type: object
    store_order_entity:
      properties:
        id:
          maxLength: 128
          minLength: 1
          type: string
        name:
          maxLength: 100
          minLength: 1
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/enum_entity_type'
          type: object
      type: object
    store_order_operator:
      properties:
        user_id:
          maxLength: 1024
          type: string
        user_name:
          maxLength: 1024
          type: string
      required:
        - user_id
        - user_name
      type: object
    store_order_partner:
      properties:
        level2_dealer:
          maxLength: 100
          type: string
        name:
          maxLength: 100
          type: string
      type: object
    store_order_payment:
      properties:
        actual_fee:
          format: int64
          type: integer
        paid_at:
          format: int64
          type: integer
        state:
          allOf:
            - $ref: '#/components/schemas/store_order_payment_state'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/store_order_payment_type'
          type: object
      required:
        - state
        - type
        - paid_at
        - actual_fee
      title: store_order_payment
      type: object
    store_order_payment_state:
      enum:
        - finish
        - refund
      type: string
      x-enum:
        - finish
        - refund
    store_order_payment_type:
      enum:
        - wechat
        - alipay
        - offline
        - remit
        - coupon
      type: string
      x-enum:
        - wechat
        - alipay
        - offline
        - remit
        - coupon
    store_order_state:
      enum:
        - waiting
        - cancel
        - review
        - paid
        - refund
      type: string
      x-enum:
        - waiting
        - cancel
        - review
        - paid
        - refund
    store_order_type:
      enum:
        - purchase
        - renewal
        - alone
      type: string
      x-enum:
        - purchase
        - renewal
        - alone
    store_order_utm:
      properties:
        campaign:
          maxLength: 100
          type: string
        content:
          maxLength: 100
          type: string
        crm_opp_id:
          maxLength: 100
          type: string
        medium:
          maxLength: 100
          type: string
        source:
          allOf:
            - $ref: '#/components/schemas/enum_store_order_source'
          type: object
        term:
          maxLength: 100
          type: string
      required:
        - source
      type: object
    store_product_type:
      enum:
        - service_package
        - privilege_package
        - sku
      type: string
      x-enum:
        - service_package
        - privilege_package
        - sku
    store_renewal_order_type:
      enum:
        - renew
        - upgrade
        - addmember
        - decreasemember
      type: string
      x-enum:
        - renew
        - upgrade
        - addmember
        - decreasemember
    store_request:
      properties:
        method:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
      required:
        - method
        - url
      type: object
    store_sub_order:
      properties:
        actual_fee:
          format: int64
          type: integer
        amount:
          format: int64
          type: integer
        amount_in_effect:
          format: int64
          type: integer
        expire_at:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        order_type:
          allOf:
            - $ref: '#/components/schemas/store_order_type'
          type: object
        origin_fee:
          format: int64
          type: integer
        product_type:
          allOf:
            - $ref: '#/components/schemas/store_product_type'
          type: object
        renewal_order_type:
          items:
            $ref: '#/components/schemas/store_renewal_order_type'
          maxItems: 1024
          type: array
        sku_desc:
          maxLength: 1024
          type: string
        sku_id:
          maxLength: 1024
          type: string
        spu_id:
          maxLength: 1024
          type: string
        start_at:
          format: int64
          type: integer
        term_in_day:
          format: int64
          type: integer
      required:
        - id
        - product_type
        - spu_id
        - sku_id
        - sku_desc
        - order_type
        - origin_fee
        - actual_fee
        - start_at
        - expire_at
        - term_in_day
        - amount
        - amount_in_effect
      title: store_sub_order
      type: object
    store_sub_order_bind:
      properties:
        entity_id:
          maxLength: 1024
          type: string
      type: object
    subject:
      properties:
        subject_attr:
          allOf:
            - $ref: '#/components/schemas/subject_attr'
          type: object
        subject_id:
          maxLength: 1024
          type: string
        subject_type:
          allOf:
            - $ref: '#/components/schemas/subject_type'
          type: object
      required:
        - subject_type
        - subject_id
      type: object
    subject_attr:
      oneOf:
        - $ref: '#/components/schemas/subject_attr_group'
        - $ref: '#/components/schemas/subject_attr_dept'
    subject_attr_dept:
      properties:
        company_id:
          maxLength: 1024
          type: string
      type: object
    subject_attr_group:
      properties:
        member_tag:
          maxLength: 1024
          type: string
      type: object
    subject_type:
      enum:
        - company
        - dept
        - group
        - user
        - device
      type: string
      x-enum:
        - company
        - dept
        - group
        - user
        - device
    subscription_account_item:
      properties:
        avatar:
          maxLength: 1024
          type: string
        created_by:
          allOf:
            - $ref: '#/components/schemas/subscription_user'
          nullable: true
          type: object
        ctime:
          format: int64
          type: integer
          x-number-unit: ns
        description:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        mtime:
          format: int64
          type: integer
          x-number-unit: ns
        name:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/subscription_account_type'
          type: object
      required:
        - id
        - type
        - name
        - description
        - avatar
        - created_by
        - ctime
        - mtime
      type: object
    subscription_account_type:
      enum:
        - subscription
        - broadcast
      type: string
      x-enum:
        - subscription
        - broadcast
    subscription_collection:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
      type: object
    subscription_content_item:
      properties:
        collections:
          items:
            allOf:
              - $ref: '#/components/schemas/subscription_collection'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        cover:
          maxLength: 1024
          type: string
        created_by:
          allOf:
            - $ref: '#/components/schemas/subscription_user'
          nullable: true
          type: object
        ctime:
          format: int64
          type: integer
          x-number-unit: ns
        id:
          maxLength: 1024
          type: string
        like_count:
          format: int64
          type: integer
        link:
          allOf:
            - $ref: '#/components/schemas/subscription_content_link'
          type: object
        mtime:
          format: int64
          type: integer
          x-number-unit: ns
        publish_time:
          format: int64
          type: integer
          x-number-unit: ns
        read_count:
          format: int64
          type: integer
        title:
          maxLength: 1024
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/subscription_content_type'
          type: object
        version:
          maxLength: 1024
          type: string
      required:
        - id
        - version
        - type
        - title
        - cover
        - created_by
        - link
        - publish_time
        - read_count
        - like_count
        - collections
        - ctime
        - mtime
      type: object
    subscription_content_link:
      properties:
        public_url:
          maxLength: 1024
          type: string
        url:
          maxLength: 1024
          type: string
      required:
        - url
        - public_url
      type: object
    subscription_content_type:
      enum:
        - image_text
        - message
      type: string
      x-enum:
        - image_text
        - message
    subscription_order_type:
      enum:
        - asc
        - desc
      type: string
      x-enum:
        - asc
        - desc
    subscription_store_download:
      properties:
        url:
          maxLength: 1024
          type: string
      required:
        - url
      type: object
    subscription_user:
      properties:
        company_id:
          maxLength: 1024
          type: string
          x-tags:
            - mix:company_id
        id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
            - mix:user_id
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
        - company_id
      type: object
    summarize_data:
      properties:
        doc_sum:
          maxLength: 1024
          type: string
      required:
        - doc_sum
      type: object
    summarize_type_enum:
      enum:
        - simplesum
        - complexsum
      type: string
      x-enum:
        - simplesum
        - complexsum
    supported_service:
      enum:
        - email
      type: string
      x-enum:
        - email
    sync_chat_finish_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sync_chat_members_req_body:
      properties:
        members:
          items:
            $ref: '#/components/schemas/sync_member'
          maxItems: 3000
          minItems: 1
          type: array
      required:
        - members
      title: sync_chat_members_req_body
      type: object
    sync_chat_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    sync_chat_messages_req_body:
      properties:
        messages:
          items:
            $ref: '#/components/schemas/sync_message_req_body'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - messages
      title: sync_chat_messages_req_body
      type: object
    sync_chat_messages_resp_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/biz_uuid_to_message_id'
          maxItems: 1024
          type: array
      required:
        - items
      title: sync_chat_messages_resp_data
      type: object
    sync_chat_req_body:
      properties:
        chat_id:
          maxLength: 1024
          type: string
          x-omitempty: true
        creator:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
          x-omitempty: true
        ctime:
          format: int64
          type: integer
          x-omitempty: true
        name:
          maxLength: 50
          type: string
          x-omitempty: true
        p2p_members:
          items:
            $ref: '#/components/schemas/identity'
          maxItems: 1024
          type: array
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/chat_type'
          type: object
      required:
        - type
      title: sync_chat_req_body
      type: object
    sync_chat_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/sync_chat_resp_data'
      required:
        - data
      type: object
    sync_chat_resp_data:
      properties:
        chat_id:
          maxLength: 1024
          type: string
      required:
        - chat_id
      title: sync_chat_resp_data
      type: object
    sync_chats_messages_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/sync_chat_messages_resp_data'
      required:
        - data
      type: object
    sync_member:
      properties:
        ctime:
          format: int64
          type: integer
          x-omitempty: true
        member:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        role:
          allOf:
            - $ref: '#/components/schemas/chat_member_role_type'
          type: object
          x-omitempty: true
      required:
        - member
      title: sync_member
      type: object
    sync_message_req_body:
      properties:
        biz_uuid:
          maxLength: 32
          minLength: 1
          type: string
        content:
          allOf:
            - $ref: '#/components/schemas/message_content'
          nullable: true
          type: object
        ctime:
          format: int64
          type: integer
        ext_attrs:
          items:
            $ref: '#/components/schemas/extended_attribute'
          maxItems: 1024
          type: array
          x-omitempty: true
        mentions:
          items:
            $ref: '#/components/schemas/message_mention'
          maxItems: 1024
          type: array
        quote_msg_id:
          maxLength: 1024
          type: string
          x-omitempty: true
        sender:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/message_type'
          type: object
      required:
        - type
        - content
        - sender
        - ctime
        - biz_uuid
      title: sync_message_req_body
      type: object
    table:
      properties:
        rows:
          items:
            $ref: '#/components/schemas/table_row'
          maxItems: 1024
          type: array
      type: object
    table_cell:
      properties:
        blocks:
          items:
            $ref: '#/components/schemas/block'
          maxItems: 1024
          type: array
        col_span:
          format: int
          type: integer
        id:
          maxLength: 1024
          type: string
        row_span:
          format: int
          type: integer
      required:
        - blocks
      type: object
    table_row:
      properties:
        cells:
          items:
            $ref: '#/components/schemas/table_cell'
          maxItems: 1024
          type: array
      required:
        - cells
      title: table_row
      type: object
    tag:
      properties:
        name:
          maxLength: 1024
          type: string
        value:
          maxLength: 1024
          type: string
      required:
        - name
        - value
      type: object
    task:
      properties:
        task_id:
          maxLength: 1024
          type: string
      required:
        - task_id
      type: object
    task_data:
      properties:
        task_id:
          maxLength: 1024
          type: string
      required:
        - task_id
      type: object
    task_progress:
      properties:
        done:
          format: int64
          type: integer
        failed:
          format: int64
          type: integer
        status:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - total
        - done
        - failed
        - status
      type: object
    template_standard:
      properties:
        bg_pic_file_id:
          maxLength: 1024
          type: string
        bg_pic_upload_id:
          maxLength: 1024
          type: string
        cover_pic_file_id:
          maxLength: 1024
          type: string
        cover_pic_upload_id:
          maxLength: 1024
          type: string
        logo_file_id:
          maxLength: 1024
          type: string
        logo_pos_type:
          format: int
          type: integer
        logo_upload_id:
          maxLength: 1024
          type: string
        scheme_colors:
          allOf:
            - $ref: '#/components/schemas/scheme_colors'
          type: object
        slide_count_limit:
          format: int
          type: integer
        standard_template_key:
          maxLength: 1024
          type: string
        tag_template_key:
          maxLength: 1024
          type: string
        type_index_pairs_array:
          items:
            $ref: '#/components/schemas/type_index_pair'
          maxItems: 1024
          type: array
      required:
        - slide_count_limit
      type: object
    text_req_body:
      properties:
        text:
          maxLength: 65536
          minLength: 1
          type: string
      required:
        - text
      type: object
    textbox:
      properties:
        blocks:
          items:
            $ref: '#/components/schemas/block'
          maxItems: 1024
          type: array
      required:
        - blocks
      title: textbox
      type: object
    theme_filter:
      properties:
        color_tags:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        filter_color_tags:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        filter_common_tags:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        filter_scene_tags:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        filter_style_tags:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        scene_tags:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        style_tags:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        template_type:
          format: int
          type: integer
      type: object
    theme_items:
      properties:
        theme_id:
          maxLength: 1024
          type: string
        theme_name:
          maxLength: 1024
          type: string
        thumb_urls:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - theme_id
        - theme_name
        - thumb_urls
      type: object
    theme_params:
      properties:
        designated_theme:
          allOf:
            - $ref: '#/components/schemas/designated_theme'
          type: object
        rec_theme:
          allOf:
            - $ref: '#/components/schemas/rec_theme'
          type: object
      type: object
    theme_req_body:
      properties:
        theme:
          maxLength: 65536
          minLength: 1
          type: string
      required:
        - theme
      type: object
    time_type:
      enum:
        - ctime
        - mtime
        - otime
        - stime
      type: string
      x-enum:
        - ctime
        - mtime
        - otime
        - stime
    timeoff_event:
      properties:
        description:
          maxLength: 2000
          type: string
        end_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          type: object
        start_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          type: object
        timeoff_event_id:
          maxLength: 1024
          type: string
        title:
          maxLength: 1200
          type: string
      required:
        - timeoff_event_id
        - start_time
        - end_time
        - title
        - description
      type: object
    timeoff_type:
      enum:
        - business_trip
        - annual_leave
        - time_off
        - external_visit
      type: string
      x-enum:
        - business_trip
        - annual_leave
        - time_off
        - external_visit
    title_info:
      properties:
        id:
          maxLength: 128
          minLength: 1
          type: string
        name:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - id
        - name
      type: object
    title_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/title_info'
          maxItems: 1000
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
        - next_page_token
      type: object
    title_mode:
      enum:
        - general
        - multidept
      type: string
      x-enum:
        - general
        - multidept
    todo_category:
      properties:
        children:
          items:
            allOf:
              - $ref: '#/components/schemas/todo_category'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 40
          minLength: 1
          type: string
        parent_id:
          maxLength: 1024
          type: string
        sort_priority:
          maxLength: 1024
          type: string
      required:
        - id
        - name
      title: todo_category
      type: object
    todo_category_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/todo_category'
          maxItems: 1000
          type: array
        total:
          format: int64
          nullable: true
          type: integer
      required:
        - items
      title: todo_category_list
      type: object
    todo_notify_config:
      properties:
        reminders:
          items:
            $ref: '#/components/schemas/todo_task_reminds'
          maxItems: 1024
          type: array
        switch:
          type: boolean
      title: todo_notify_config
      type: object
    todo_personal_task:
      properties:
        all_finished_status:
          allOf:
            - $ref: '#/components/schemas/todo_task_status'
          type: object
        biz_source:
          maxLength: 1024
          type: string
        create_time:
          format: int64
          type: integer
        creator:
          allOf:
            - $ref: '#/components/schemas/todo_user'
          nullable: true
          type: object
        description:
          maxLength: 1024
          type: string
        due_time:
          format: int64
          type: integer
        executors:
          items:
            allOf:
              - $ref: '#/components/schemas/todo_user'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        ext_attrs:
          items:
            allOf:
              - $ref: '#/components/schemas/extended_attribute'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        finish_time:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        my_finished_status:
          allOf:
            - $ref: '#/components/schemas/todo_task_status'
          type: object
        notify_config:
          allOf:
            - $ref: '#/components/schemas/todo_notify_config'
          nullable: true
          type: object
        title:
          allOf:
            - $ref: '#/components/schemas/todo_task_title'
          type: object
      required:
        - id
        - title
        - all_finished_status
        - my_finished_status
        - create_time
        - biz_source
        - creator
      title: todo_personal_task
      type: object
    todo_personal_task_simple_info:
      properties:
        create_time:
          format: int64
          type: integer
        creator:
          maxLength: 1024
          type: string
        due_time:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        my_finished_status:
          allOf:
            - $ref: '#/components/schemas/todo_task_status'
          type: object
        title:
          allOf:
            - $ref: '#/components/schemas/todo_task_title'
          type: object
      required:
        - id
        - title
        - my_finished_status
        - create_time
        - due_time
        - creator
      title: todo_personal_task_simple_info
      type: object
    todo_task:
      properties:
        actions:
          items:
            allOf:
              - $ref: '#/components/schemas/todo_task_action'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        category_id:
          maxLength: 1024
          type: string
        create_time:
          format: int64
          type: integer
        creator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        description:
          maxLength: 500
          minLength: 1
          type: string
        display_time:
          format: int64
          type: integer
        due_time:
          format: int64
          type: integer
        executor:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        ext_attrs:
          items:
            allOf:
              - $ref: '#/components/schemas/extended_attribute'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        finish_time:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        link:
          allOf:
            - $ref: '#/components/schemas/todo_task_link'
          type: object
        notify_config:
          allOf:
            - $ref: '#/components/schemas/todo_notify_config'
          type: object
        priority:
          format: int64
          type: integer
        start_time:
          format: int64
          type: integer
        status:
          allOf:
            - $ref: '#/components/schemas/todo_task_status'
          nullable: true
          type: object
        tags:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        title:
          allOf:
            - $ref: '#/components/schemas/todo_task_title'
          type: object
      required:
        - id
        - title
        - description
        - create_time
        - due_time
        - display_time
        - finish_time
        - start_time
        - link
        - executor
        - creator
        - notify_config
        - actions
        - ext_attrs
      title: todo_task
      type: object
    todo_task_action:
      properties:
        key:
          maxLength: 1024
          type: string
        link:
          allOf:
            - $ref: '#/components/schemas/todo_task_link'
          type: object
        modal:
          allOf:
            - $ref: '#/components/schemas/todo_task_action_modal_config'
          type: object
        style:
          allOf:
            - $ref: '#/components/schemas/todo_task_action_style'
          type: object
        text:
          maxLength: 1024
          type: string
      required:
        - text
      title: todo_task_action
      type: object
    todo_task_action_modal_config:
      properties:
        desc:
          maxLength: 1024
          type: string
        required:
          type: boolean
        title:
          maxLength: 1024
          type: string
      required:
        - title
        - desc
      title: todo_task_action_modal_config
      type: object
    todo_task_action_style:
      enum:
        - normal
        - secondary
        - disable
      title: todo_task_action_style
      type: string
      x-enum:
        - normal
        - secondary
        - disable
    todo_task_data:
      properties:
        actions:
          items:
            allOf:
              - $ref: '#/components/schemas/todo_task_action'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        category_id:
          maxLength: 1024
          type: string
        create_time:
          format: int64
          type: integer
        creator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        description:
          maxLength: 500
          minLength: 1
          type: string
        display_time:
          format: int64
          type: integer
        due_time:
          format: int64
          type: integer
        executor:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        ext_attrs:
          items:
            allOf:
              - $ref: '#/components/schemas/extended_attribute'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        finish_time:
          format: int64
          type: integer
        is_read:
          type: boolean
        link:
          allOf:
            - $ref: '#/components/schemas/todo_task_link'
          type: object
        notify_config:
          allOf:
            - $ref: '#/components/schemas/todo_notify_config'
          nullable: true
          type: object
        priority:
          format: int64
          type: integer
        status:
          allOf:
            - $ref: '#/components/schemas/todo_task_status'
          nullable: true
          type: object
        tags:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        task_id:
          maxLength: 32
          type: string
        title:
          allOf:
            - $ref: '#/components/schemas/todo_task_title'
          type: object
      required:
        - title
        - executor
      title: todo_task_data
      type: object
    todo_task_link:
      properties:
        mobile_url:
          maxLength: 3000
          type: string
        pc_url:
          maxLength: 3000
          type: string
      required:
        - pc_url
        - mobile_url
      title: todo_task_link
      type: object
    todo_task_reminds:
      properties:
        before_due_time:
          format: int64
          type: integer
      title: todo_task_reminds
      type: object
    todo_task_status:
      enum:
        - todo
        - finish
      title: todo_task_status
      type: string
      x-enum:
        - todo
        - finish
    todo_task_status_action:
      enum:
        - finish
        - unfinish
        - finish_all
        - unfinish_all
      title: todo_task_status_action
      type: string
      x-enum:
        - finish
        - unfinish
        - finish_all
        - unfinish_all
    todo_task_time_range:
      properties:
        end_time:
          format: int64
          type: integer
          x-omitempty: true
        start_time:
          format: int64
          type: integer
          x-omitempty: true
      title: todo_task_time_range
      type: object
    todo_task_title:
      properties:
        prefix:
          maxLength: 20
          type: string
        subject:
          maxLength: 200
          type: string
      required:
        - subject
      title: todo_task_title
      type: object
    todo_user:
      properties:
        avatar:
          maxLength: 1024
          type: string
          x-omitempty: true
        company_id:
          maxLength: 1024
          type: string
          x-omitempty: true
          x-type: int64
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/todo_user_type'
          type: object
      required:
        - id
        - type
      title: 身份唯一标识
      type: object
    todo_user_type:
      enum:
        - user
      title: 身份类型
      type: string
      x-enum:
        - user
    tpl_list_req_body:
      properties:
        filter:
          allOf:
            - $ref: '#/components/schemas/filter'
          type: object
        limit:
          format: int
          type: integer
        mb_apps:
          items:
            format: int
            type: integer
          maxItems: 1024
          type: array
        offset:
          format: int
          type: integer
        position:
          maxLength: 1024
          type: string
        theme_filter:
          allOf:
            - $ref: '#/components/schemas/theme_filter'
          type: object
        theme_from:
          maxLength: 1024
          type: string
      required:
        - theme_from
        - position
        - mb_apps
      type: object
    tpl_list_result:
      properties:
        items:
          items:
            $ref: '#/components/schemas/theme_items'
          maxItems: 1024
          type: array
        offset:
          format: int
          type: integer
        total:
          format: int
          type: integer
      required:
        - total
        - offset
        - items
      type: object
    tracesource_gaowei_conf:
      properties:
        secret_key:
          maxLength: 1024
          type: string
        user_name:
          maxLength: 1024
          type: string
      required:
        - user_name
        - secret_key
      title: 暗水印厂商高维配置
      type: object
    tracesource_manufacturer_conf_data:
      properties:
        gaowei_conf:
          allOf:
            - $ref: '#/components/schemas/tracesource_gaowei_conf'
          type: object
      required:
        - gaowei_conf
      type: object
    tracesource_manufacturer_conf_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/tracesource_manufacturer_conf_data'
      required:
        - data
      type: object
    tracesource_object:
      properties:
        object_id:
          maxLength: 1024
          type: string
        watermark_uuids:
          items:
            $ref: '#/components/schemas/watermark_uuids'
          maxItems: 1024
          type: array
      required:
        - object_id
      title: 暗水印溯源对象信息
      type: object
    tracesource_objects_create_req_body:
      properties:
        watermark_types:
          items:
            format: int64
            type: integer
          maxItems: 10
          type: array
      type: object
    tracesource_objects_create_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/tracesource_object'
      required:
        - data
      type: object
    tracesource_policy:
      properties:
        configs:
          items:
            $ref: '#/components/schemas/tracesource_policy_config'
          maxItems: 1024
          type: array
      required:
        - configs
      title: 管理后台配置的溯源策略配置信息
      type: object
    tracesource_policy_config:
      properties:
        is_all_scope:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/tracesource_policy_item'
          maxItems: 1024
          type: array
        name:
          maxLength: 1024
          type: string
      required:
        - name
        - is_all_scope
      title: 溯源策略场景配置信息
      type: object
    tracesource_policy_get_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/tracesource_policy'
      required:
        - data
      type: object
    tracesource_policy_item:
      properties:
        extras:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - name
        - extras
      title: 策略溯源场景中，子场景配置信息
      type: object
    tracesource_watermark_uuids_get_data:
      properties:
        watermark_uuids:
          items:
            $ref: '#/components/schemas/watermark_uuids'
          maxItems: 1024
          type: array
      required:
        - watermark_uuids
      type: object
    tracesource_watermark_uuids_get_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/tracesource_watermark_uuids_get_data'
      required:
        - data
      type: object
    tracking_data_resp:
      properties:
        columns:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        rows:
          items:
            $ref: '#/components/schemas/tracking_data_row'
          maxItems: 1024
          type: array
      required:
        - columns
        - rows
      type: object
    tracking_data_row:
      properties:
        fields:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - fields
      type: object
    transcript_paragraph:
      properties:
        end_time:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        sentenses:
          items:
            $ref: '#/components/schemas/transcript_sentence'
          maxItems: 1024
          type: array
        speaker:
          allOf:
            - $ref: '#/components/schemas/transcript_speaker'
          type: object
        start_time:
          format: int64
          type: integer
      required:
        - id
        - start_time
        - end_time
        - sentenses
        - speaker
      type: object
    transcript_sentence:
      properties:
        end_time:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        start_time:
          format: int64
          type: integer
        text:
          maxLength: 1024
          type: string
      required:
        - id
        - start_time
        - end_time
        - text
      type: object
    transcript_speaker:
      properties:
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - name
      type: object
    transfer_file_owner_req_body:
      properties:
        account_id:
          maxLength: 32
          minLength: 1
          type: string
          x-tags:
            - 'ex: user_id'
      required:
        - account_id
      type: object
    transfer_file_owner_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/file'
      required:
        - data
      type: object
    transfer_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    type_index_pair:
      properties:
        index:
          format: int
          type: integer
        slide_type:
          maxLength: 1024
          type: string
      type: object
    unbind_exchange_account_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_app_approval_status_req_body:
      properties:
        reason:
          maxLength: 1024
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/app_approval_status'
          type: object
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        version:
          maxLength: 1024
          type: string
      required:
        - version
        - user_id
        - status
      type: object
    update_app_approval_status_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_app_badges_req_body:
      properties:
        badges:
          items:
            $ref: '#/components/schemas/app_badge'
          maxItems: 100
          type: array
      required:
        - badges
      type: object
    update_app_badges_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_approval_define_req_body:
      properties:
        form_defines:
          items:
            $ref: '#/components/schemas/approval_form_define'
          maxItems: 1024
          type: array
        icon:
          allOf:
            - $ref: '#/components/schemas/approval_define_icon_type'
          type: object
        name:
          maxLength: 50
          minLength: 1
          type: string
        operator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        process_define:
          allOf:
            - $ref: '#/components/schemas/approval_process_define'
          type: object
        visible_scopes:
          items:
            $ref: '#/components/schemas/approval_visible_scope'
          maxItems: 1024
          type: array
      required:
        - name
        - form_defines
        - process_define
      title: update_approval_define_req_body
      type: object
    update_approval_define_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_approval_define_visible_req_body:
      properties:
        operator:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        visible_scopes:
          items:
            $ref: '#/components/schemas/approval_visible_scope'
          maxItems: 1024
          type: array
      required:
        - visible_scopes
      title: update_approval_define_visible_req_body
      type: object
    update_approval_define_visible_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_approval_message_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/workflow_message_update_resp'
      required:
        - data
      type: object
    update_attendance_group_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_calendar_req_body:
      properties:
        summary:
          maxLength: 40
          minLength: 1
          nullable: true
          type: string
      type: object
    update_calendar_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_chat_message_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_chat_req_body:
      properties:
        avatar:
          maxLength: 255
          minLength: 1
          nullable: true
          type: string
        is_disable_all_send:
          nullable: true
          type: boolean
        is_enable_history_messages:
          nullable: true
          type: boolean
        is_enable_nickname:
          nullable: true
          type: boolean
        is_join_approve:
          nullable: true
          type: boolean
        is_owner_admin_add_bookmark:
          nullable: true
          type: boolean
        is_owner_admin_modify:
          nullable: true
          type: boolean
        name:
          maxLength: 50
          minLength: 1
          nullable: true
          type: string
        owner_id:
          maxLength: 1024
          nullable: true
          type: string
      title: update_chat_req_body
      type: object
    update_chat_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_company_dept_custom_attr:
      properties:
        id:
          maxLength: 20
          minLength: 1
          type: string
        name:
          maxLength: 255
          minLength: 1
          type: string
        options:
          items:
            $ref: '#/components/schemas/dept_attr_option'
          maxItems: 10
          type: array
      required:
        - id
      title: 更新部门自定义字段
      type: object
    update_company_dept_custom_attrs_req_body:
      properties:
        custom_attrs:
          items:
            $ref: '#/components/schemas/update_company_dept_custom_attr'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - custom_attrs
      type: object
    update_company_dept_custom_attrs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_company_user_custom_attr:
      properties:
        id:
          maxLength: 20
          minLength: 1
          type: string
        name:
          maxLength: 255
          minLength: 1
          type: string
        options:
          items:
            $ref: '#/components/schemas/user_attr_option'
          maxItems: 10
          type: array
      required:
        - name
        - options
      title: 更新自定义字段
      type: object
    update_company_user_custom_attrs_req_body:
      properties:
        custom_attrs:
          items:
            $ref: '#/components/schemas/update_company_user_custom_attr'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - custom_attrs
      type: object
    update_company_user_custom_attrs_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_dept_attr_value:
      properties:
        attr_id:
          maxLength: 20
          minLength: 1
          type: string
        option:
          maxLength: 255
          type: string
        relation_user:
          maxLength: 255
          minLength: 1
          type: string
          x-tags:
            - ex:user_id
        text:
          maxLength: 255
          type: string
      required:
        - attr_id
      title: 更新部门属性值
      type: object
    update_dept_attrs_item:
      properties:
        custom_attrs:
          items:
            $ref: '#/components/schemas/update_dept_attr_value'
          maxItems: 100
          minItems: 1
          type: array
        dept_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:dept_id
      required:
        - dept_id
        - custom_attrs
      title: 批量更新部门属性值项
      type: object
    update_dept_chat_req_body:
      properties:
        chat_id:
          maxLength: 1024
          type: string
        dept_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:dept_id
        owner_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - owner_id
      title: update_dept_chat_req_body
      type: object
    update_dept_req_body:
      properties:
        ex_dept_id:
          maxLength: 128
          minLength: 1
          nullable: true
          type: string
        leaders:
          items:
            $ref: '#/components/schemas/leader_item'
          maxItems: 5
          type: array
        name:
          maxLength: 128
          minLength: 1
          nullable: true
          type: string
        order:
          format: int64
          nullable: true
          type: integer
        parent_id:
          maxLength: 128
          minLength: 1
          nullable: true
          type: string
          x-tags:
            - ex:dept_id
        type:
          maxLength: 255
          minLength: 1
          nullable: true
          type: string
      type: object
    update_dept_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_developer_application_subject:
      properties:
        company_id:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
            - ex:dept_id
        type:
          allOf:
            - $ref: '#/components/schemas/developer_application_subject_type'
          type: object
      required:
        - id
        - type
      type: object
    update_doclib_req_body:
      properties:
        drive_id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          nullable: true
          type: string
      required:
        - drive_id
      type: object
    update_doclib_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_event_req_body:
      properties:
        attendee_ability:
          allOf:
            - $ref: '#/components/schemas/attendee_ability'
          nullable: true
          type: object
        calendar_id:
          maxLength: 1024
          nullable: true
          type: string
        description:
          maxLength: 2000
          nullable: true
          type: string
        end_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          nullable: true
          type: object
        free_busy_status:
          allOf:
            - $ref: '#/components/schemas/free_busy_status'
          nullable: true
          type: object
        is_notification:
          nullable: true
          type: boolean
        is_reinvition:
          nullable: true
          type: boolean
        locations:
          items:
            $ref: '#/components/schemas/calendar_location'
          maxItems: 1
          type: array
        mod_type:
          allOf:
            - $ref: '#/components/schemas/event_mod_type'
          nullable: true
          type: object
        online_meeting:
          allOf:
            - $ref: '#/components/schemas/calendar_online_meeting'
          nullable: true
          type: object
        recurrence:
          allOf:
            - $ref: '#/components/schemas/recurrence'
          nullable: true
          type: object
        reminders:
          items:
            $ref: '#/components/schemas/calendar_reminder'
          maxItems: 10
          type: array
        start_time:
          allOf:
            - $ref: '#/components/schemas/calendar_time'
          nullable: true
          type: object
        summary:
          maxLength: 1200
          nullable: true
          type: string
        visibility:
          allOf:
            - $ref: '#/components/schemas/event_visibility'
          nullable: true
          type: object
        which_day_time:
          format: uint64
          type: integer
          x-number-unit: ms
      type: object
    update_event_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/event'
      required:
        - data
      type: object
    update_file_req_body:
      properties:
        ext_attr:
          allOf:
            - $ref: '#/components/schemas/extended_attribute'
          type: object
      type: object
    update_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_group_member_role_req_body:
      properties:
        item_id:
          maxLength: 1024
          type: string
        item_type:
          allOf:
            - $ref: '#/components/schemas/group_member_type'
          nullable: true
          type: object
          x-omitempty: true
        role:
          allOf:
            - $ref: '#/components/schemas/group_member_role'
          type: object
      required:
        - role
        - item_id
      title: update_group_member_role_req_body
      type: object
    update_group_member_role_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_group_owner_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_group_req_body:
      properties:
        avatar:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        description:
          maxLength: 1024
          nullable: true
          type: string
          x-omitempty: true
        mail:
          maxLength: 255
          nullable: true
          type: string
          x-omitempty: true
        name:
          maxLength: 255
          minLength: 1
          nullable: true
          type: string
          x-omitempty: true
      title: update_group_req_body
      type: object
    update_group_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_group_settings_req_body:
      properties:
        link_period:
          format: int64
          nullable: true
          type: integer
        share_enable:
          nullable: true
          type: boolean
        share_need_approve:
          nullable: true
          type: boolean
        visibility_members:
          items:
            $ref: '#/components/schemas/update_group_visibility_member_item'
          maxItems: 20
          minItems: 1
          type: array
        visibility_type:
          allOf:
            - $ref: '#/components/schemas/group_visibility_type'
          nullable: true
          type: object
      title: update_group_settings_req_body
      type: object
    update_group_settings_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_group_visibility_member_item:
      properties:
        item_ids:
          items:
            maxLength: 1024
            minLength: 1
            type: string
          maxItems: 100
          type: array
        item_type:
          allOf:
            - $ref: '#/components/schemas/group_visibility_member_type'
          nullable: true
          type: object
          x-omitempty: true
      required:
        - item_ids
      title: update_group_visibility_member_item
      type: object
    update_link_req_body:
      properties:
        opts:
          allOf:
            - $ref: '#/components/schemas/link_opts'
          nullable: true
          type: object
        role_id:
          maxLength: 1024
          type: string
        scope:
          allOf:
            - $ref: '#/components/schemas/link_scope'
          nullable: true
          type: object
      type: object
    update_link_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_mail_contact_req_body:
      properties:
        contact_type:
          allOf:
            - $ref: '#/components/schemas/enum_contact_type'
          type: object
        department:
          maxLength: 1024
          type: string
        email_address:
          maxLength: 1024
          type: string
        job_title:
          maxLength: 1024
          type: string
        mobile_phone:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        organization:
          maxLength: 1024
          type: string
        remark:
          maxLength: 1024
          type: string
      type: object
    update_mail_contact_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_contact'
      required:
        - data
      type: object
    update_mail_group_req_body:
      properties:
        accepted_type:
          allOf:
            - $ref: '#/components/schemas/mail_group_accepted_type'
          type: object
        name:
          maxLength: 1024
          type: string
        owner_address:
          maxLength: 1024
          type: string
      type: object
    update_mail_group_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mail_group'
      required:
        - data
      type: object
    update_mailbox_req_body:
      properties:
        name:
          maxLength: 1024
          type: string
        owner_address:
          maxLength: 1024
          type: string
      type: object
    update_mailbox_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/mailbox'
      required:
        - data
      type: object
    update_meeting_reserve_req_body:
      properties:
        end_time:
          maxLength: 1024
          type: string
        meeting_settings:
          allOf:
            - $ref: '#/components/schemas/meeting_settings'
          type: object
        subject:
          maxLength: 1024
          type: string
      type: object
    update_meeting_reserve_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_meeting_room_booking_status_req_body:
      properties:
        status:
          $ref: '#/components/schemas/meeting_room_booking_update_status'
      required:
        - status
      type: object
    update_meeting_room_booking_status_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_meeting_room_level_req_body:
      properties:
        name:
          maxLength: 1024
          type: string
        parent_id:
          maxLength: 1024
          type: string
      required:
        - name
        - parent_id
      type: object
    update_meeting_room_level_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_room_level'
      required:
        - data
      type: object
    update_meeting_room_req_body:
      properties:
        capacity:
          format: int
          type: integer
        device_list:
          items:
            $ref: '#/components/schemas/meeting_room_device'
          maxItems: 100
          type: array
        level_id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        remark:
          maxLength: 100
          type: string
        tag_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 3
          type: array
      type: object
    update_meeting_room_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/meeting_room'
      required:
        - data
      type: object
    update_meeting_room_setting_req_body:
      properties:
        approval_setting:
          allOf:
            - $ref: '#/components/schemas/meeting_room_approval_setting'
          type: object
        booking_limit_setting:
          allOf:
            - $ref: '#/components/schemas/meeting_room_setting_limit'
          type: object
      type: object
    update_meeting_room_setting_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_meeting_room_tag_req_body:
      properties:
        color:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - name
        - color
      type: object
    update_meeting_room_tag_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_message_req_body:
      properties:
        content:
          allOf:
            - $ref: '#/components/schemas/message_content'
          nullable: true
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/message_type'
          type: object
      required:
        - type
        - content
      title: update_message_req_body
      type: object
    update_org_dimension_dept_req_body:
      properties:
        name:
          maxLength: 255
          minLength: 1
          nullable: true
          type: string
          x-omitempty: true
      type: object
    update_org_dimension_dept_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_org_dimension_member_req_body:
      properties:
        dept_ids:
          items:
            maxLength: 1024
            type: string
            x-type: int64
          maxItems: 128
          minItems: 1
          type: array
        titles:
          allOf:
            - $ref: '#/components/schemas/user_title_update'
          nullable: true
          type: object
      type: object
    update_org_dimension_member_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_org_dimension_req_body:
      properties:
        desc:
          maxLength: 255
          nullable: true
          type: string
          x-escape: false
          x-omitempty: true
        name:
          maxLength: 255
          minLength: 1
          nullable: true
          type: string
          x-escape: false
          x-omitempty: true
        visibility_objs:
          items:
            $ref: '#/components/schemas/org_dimension_visibility_object'
          maxItems: 1000
          type: array
          x-omitempty: true
        visibility_type:
          allOf:
            - $ref: '#/components/schemas/org_dimension_visibility_type'
          nullable: true
          type: object
          x-omitempty: true
      type: object
    update_org_dimension_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_public_mailbox_req_body:
      properties:
        name:
          maxLength: 50
          minLength: 1
          type: string
        owner_id:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - owner_id
      type: object
    update_public_mailbox_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/public_mailbox'
      required:
        - data
      type: object
    update_role_req_body:
      properties:
        name:
          maxLength: 1024
          nullable: true
          type: string
        permission_bits:
          allOf:
            - $ref: '#/components/schemas/permission_bits'
          nullable: true
          type: object
        permissions:
          allOf:
            - $ref: '#/components/schemas/permission_bits'
          nullable: true
          type: object
      type: object
    update_role_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_todo_category_req_body:
      properties:
        name:
          maxLength: 40
          minLength: 1
          type: string
        sort_priority:
          format: int
          nullable: true
          type: integer
      required:
        - name
      title: update_todo_category_req_body
      type: object
    update_todo_category_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_todo_personal_task_req_body:
      properties:
        description:
          maxLength: 500
          minLength: 1
          nullable: true
          type: string
          x-omitempty: true
        due_time:
          format: int64
          nullable: true
          type: integer
          x-omitempty: true
        ext_attrs:
          items:
            allOf:
              - $ref: '#/components/schemas/extended_attribute'
            nullable: true
            type: object
          maxItems: 1024
          type: array
          x-omitempty: true
        notify_config:
          allOf:
            - $ref: '#/components/schemas/todo_notify_config'
          nullable: true
          type: object
          x-omitempty: true
        title:
          allOf:
            - $ref: '#/components/schemas/todo_task_title'
          nullable: true
          type: object
          x-omitempty: true
      title: update_todo_personal_task_req_body
      type: object
    update_todo_personal_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_todo_personal_task_status_req_body:
      properties:
        action:
          allOf:
            - $ref: '#/components/schemas/todo_task_status_action'
          type: object
      required:
        - action
      title: update_todo_personal_task_status_req_body
      type: object
    update_todo_personal_task_status_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_todo_task_data:
      properties:
        actions:
          items:
            allOf:
              - $ref: '#/components/schemas/todo_task_action'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        category_id:
          maxLength: 1024
          nullable: true
          type: string
        description:
          maxLength: 500
          minLength: 1
          nullable: true
          type: string
        display_time:
          format: int64
          nullable: true
          type: integer
        due_time:
          format: int64
          nullable: true
          type: integer
        ext_attrs:
          items:
            allOf:
              - $ref: '#/components/schemas/extended_attribute'
            nullable: true
            type: object
          maxItems: 1024
          type: array
        finish_time:
          format: int64
          nullable: true
          type: integer
        is_read:
          nullable: true
          type: boolean
        link:
          allOf:
            - $ref: '#/components/schemas/todo_task_link'
          nullable: true
          type: object
        notify_config:
          allOf:
            - $ref: '#/components/schemas/todo_notify_config'
          nullable: true
          type: object
        priority:
          format: int64
          type: integer
        status:
          allOf:
            - $ref: '#/components/schemas/todo_task_status'
          nullable: true
          type: object
        tags:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
        title:
          allOf:
            - $ref: '#/components/schemas/todo_task_title'
          nullable: true
          type: object
      title: update_todo_task_data
      type: object
    update_todo_task_item:
      properties:
        data:
          allOf:
            - $ref: '#/components/schemas/update_todo_task_data'
          nullable: true
          type: object
        task_id:
          maxLength: 1024
          type: string
      required:
        - task_id
        - data
      type: object
    update_todo_task_req_body:
      allOf:
        - $ref: '#/components/schemas/update_todo_task_data'
      title: update_todo_task_req_body
    update_todo_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_user_attr_value:
      properties:
        attr_id:
          maxLength: 20
          minLength: 1
          type: string
        option:
          maxLength: 255
          type: string
        relation_depts:
          items:
            maxLength: 1024
            type: string
          maxItems: 128
          type: array
          x-tags:
            - ex:dept_id
        relation_user:
          maxLength: 255
          minLength: 1
          type: string
          x-tags:
            - ex:user_id
        text:
          maxLength: 255
          type: string
        url:
          allOf:
            - $ref: '#/components/schemas/user_attr_url'
          nullable: true
          type: object
      required:
        - attr_id
      type: object
    update_user_attrs_item:
      properties:
        custom_attrs:
          items:
            $ref: '#/components/schemas/update_user_attr_value'
          maxItems: 100
          minItems: 1
          type: array
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - user_id
        - custom_attrs
      type: object
    update_user_dept_info:
      properties:
        dept_ids:
          items:
            maxLength: 128
            type: string
          maxItems: 10
          type: array
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
        - dept_ids
      type: object
    update_user_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_version_req_body:
      properties:
        comment:
          maxLength: 20
          minLength: 1
          type: string
        ext_attrs:
          items:
            $ref: '#/components/schemas/extended_attribute'
          maxItems: 1024
          type: array
      type: object
    update_version_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/version'
      required:
        - data
      type: object
    update_visibility_rule_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_work_flow_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    update_workbench_block_req_body:
      properties:
        source:
          maxLength: 128
          minLength: 1
          type: string
        source_data:
          maxLength: 4096
          minLength: 1
          type: string
        user_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 100
          type: array
          x-tags:
            - ex:user_id
        version:
          maxLength: 1024
          type: string
      required:
        - version
      type: object
    update_workbench_block_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    urgent_message_req_body:
      properties:
        receivers:
          items:
            allOf:
              - $ref: '#/components/schemas/identity'
            nullable: true
            type: object
          maxItems: 1024
          type: array
      required:
        - receivers
      type: object
    urgent_message_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/urgent_message_resp_data'
      required:
        - data
      type: object
    urgent_message_resp_data:
      properties:
        invalid_receivers:
          items:
            allOf:
              - $ref: '#/components/schemas/identity'
            nullable: true
            type: object
          maxItems: 1024
          type: array
      type: object
    usage_tips_app:
      enum:
        - yundoc
        - woa
      title: usage_tips_app
      type: string
      x-enum:
        - yundoc
        - woa
    usage_tips_config:
      properties:
        icon:
          allOf:
            - $ref: '#/components/schemas/usage_tips_icon'
          type: object
        scenes:
          items:
            $ref: '#/components/schemas/usage_tips_scene'
          maxItems: 1024
          type: array
        style:
          allOf:
            - $ref: '#/components/schemas/usage_tips_style'
          type: object
        tips:
          allOf:
            - $ref: '#/components/schemas/usage_tips_multilang'
          type: object
      required:
        - tips
        - style
        - icon
        - scenes
      title: usage_tips_config
      type: object
    usage_tips_content:
      properties:
        content:
          maxLength: 1024
          type: string
        language:
          allOf:
            - $ref: '#/components/schemas/usage_tips_language'
          type: object
      required:
        - language
        - content
      title: usage_tips_content
      type: object
    usage_tips_icon:
      properties:
        image:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - image
        - name
      title: usage_tips_icon
      type: object
    usage_tips_language:
      enum:
        - en-US
        - ja-JP
        - th-TH
        - zh-CN
        - zh-TW
        - zh-HK
        - default
      title: usage_tips_language
      type: string
      x-enum:
        - en_US
        - ja_JP
        - th_TH
        - zh_CN
        - zh_TW
        - zh_HK
        - default
    usage_tips_multilang:
      properties:
        current_content:
          maxLength: 1024
          type: string
        translations:
          items:
            $ref: '#/components/schemas/usage_tips_content'
          maxItems: 1024
          type: array
      required:
        - current_content
        - translations
      title: usage_tips_multilang
      type: object
    usage_tips_scene:
      enum:
        - pc_all
        - pc_chat
        - mobile_all
        - web_all
        - h5_all
      title: usage_tips_scene
      type: string
      x-enum:
        - pc_all
        - pc_chat
        - mobile_all
        - web_all
        - h5_all
    usage_tips_style:
      properties:
        bg_color:
          maxLength: 1024
          type: string
        border_color:
          maxLength: 1024
          type: string
        icon_color:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        text_color:
          maxLength: 1024
          type: string
      required:
        - name
        - bg_color
        - text_color
        - border_color
        - icon_color
      title: usage_tips_style
      type: object
    user:
      properties:
        alias_name:
          maxLength: 128
          type: string
        avatar:
          maxLength: 256
          type: string
        biz_email:
          format: email
          maxLength: 128
          type: string
        city:
          maxLength: 128
          type: string
        country:
          maxLength: 128
          type: string
        ctime:
          format: int64
          type: integer
        depts:
          items:
            $ref: '#/components/schemas/user_dept_info'
          maxItems: 1024
          type: array
        email:
          format: email
          maxLength: 128
          type: string
        employee_id:
          maxLength: 32
          type: string
        ex_user_id:
          maxLength: 128
          minLength: 1
          type: string
        gender:
          allOf:
            - $ref: '#/components/schemas/gender'
          type: object
        id:
          maxLength: 128
          minLength: 1
          type: string
        login_name:
          maxLength: 36
          type: string
        mtime:
          format: int64
          type: integer
        phone:
          format: phone
          maxLength: 32
          type: string
        role:
          allOf:
            - $ref: '#/components/schemas/role_type'
          type: object
        status:
          allOf:
            - $ref: '#/components/schemas/user_status'
          type: object
        telephone:
          maxLength: 32
          type: string
        title:
          maxLength: 128
          type: string
        user_name:
          maxLength: 128
          minLength: 1
          type: string
        work_place:
          maxLength: 128
          type: string
      required:
        - user_name
        - alias_name
        - role
      title: 用户
      type: object
    user_attr_option:
      properties:
        key:
          maxLength: 100
          minLength: 1
          type: string
        name:
          maxLength: 100
          minLength: 1
          type: string
      required:
        - key
        - name
      title: 可选项用户自定义属性
      type: object
    user_attr_url:
      properties:
        link:
          maxLength: 255
          minLength: 1
          type: string
          x-escape: false
        title:
          maxLength: 30
          minLength: 1
          type: string
          x-escape: false
      required:
        - title
        - link
      type: object
    user_attr_value:
      properties:
        attr_id:
          maxLength: 20
          minLength: 1
          type: string
        attr_name:
          maxLength: 255
          type: string
        attr_value_type:
          maxLength: 255
          type: string
        option:
          maxLength: 255
          type: string
        relation_depts:
          items:
            maxLength: 1024
            type: string
          maxItems: 128
          type: array
          x-tags:
            - ex:dept_id
        relation_user:
          maxLength: 255
          minLength: 1
          type: string
          x-tags:
            - ex:user_id
        text:
          maxLength: 255
          type: string
        url:
          allOf:
            - $ref: '#/components/schemas/user_attr_url'
          nullable: true
          type: object
      required:
        - attr_id
      type: object
    user_attr_value_type:
      enum:
        - text
        - relation_user
        - relation_depts
        - option
        - url
      type: string
      x-enum:
        - text
        - relation_user
        - relation_depts
        - option
        - url
    user_change_record:
      properties:
        change_time:
          format: int64
          minimum: 1
          type: integer
        change_type:
          allOf:
            - $ref: '#/components/schemas/change_type'
          type: object
        id:
          maxLength: 128
          minLength: 1
          type: string
        user_id:
          maxLength: 255
          minLength: 1
          type: string
      required:
        - id
        - user_id
        - change_type
        - change_time
      title: 用户变更记录
      type: object
    user_change_record_list:
      properties:
        items:
          items:
            $ref: '#/components/schemas/user_change_record'
          maxItems: 1000
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
        - next_page_token
      type: object
    user_compact:
      properties:
        avatar:
          maxLength: 1024
          type: string
        city:
          maxLength: 128
          type: string
        country:
          maxLength: 128
          type: string
        def_dept_id:
          maxLength: 128
          type: string
        email:
          maxLength: 1024
          type: string
        employee_id:
          maxLength: 100
          type: string
        employer:
          maxLength: 100
          type: string
        employment_status:
          maxLength: 32
          type: string
        employment_type:
          maxLength: 32
          type: string
        gender:
          allOf:
            - $ref: '#/components/schemas/gender'
          nullable: true
          type: object
        id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        leader_id:
          maxLength: 128
          type: string
          x-tags:
            - ex:user_id
        phone:
          maxLength: 1024
          type: string
        role:
          allOf:
            - $ref: '#/components/schemas/role_type'
          type: object
        status:
          allOf:
            - $ref: '#/components/schemas/user_status'
          type: object
        telephone:
          maxLength: 32
          type: string
        title:
          maxLength: 128
          type: string
        titles:
          allOf:
            - $ref: '#/components/schemas/user_title'
          type: object
        user_name:
          maxLength: 1024
          type: string
        work_place:
          maxLength: 128
          type: string
      required:
        - id
        - user_name
        - gender
        - role
      title: user_compact
      type: object
    user_compact_for_group:
      properties:
        avatar:
          maxLength: 1024
          type: string
        company_id:
          maxLength: 1024
          type: string
          x-type: int64
        id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
          x-type: int64
        status:
          allOf:
            - $ref: '#/components/schemas/user_status'
          type: object
        user_name:
          maxLength: 1024
          type: string
      required:
        - id
        - company_id
        - user_name
        - status
      title: user_compact_for_group
      type: object
    user_compact_with_dept:
      allOf:
        - $ref: '#/components/schemas/user_compact_for_group'
      properties:
        depts:
          items:
            $ref: '#/components/schemas/dept_compact'
          maxItems: 1024
          type: array
      title: user_compact_with_dept
      type: object
    user_create_req_body:
      properties:
        avatar:
          maxLength: 255
          nullable: true
          type: string
        city:
          maxLength: 128
          nullable: true
          type: string
        country:
          maxLength: 128
          nullable: true
          type: string
        def_dept_id:
          maxLength: 128
          nullable: true
          type: string
          x-tags:
            - public
        dept_ids:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 10
          minItems: 1
          type: array
          x-tags:
            - ex:dept_id
        email:
          format: email
          maxLength: 128
          nullable: true
          type: string
        employee_id:
          maxLength: 32
          nullable: true
          type: string
        employer:
          maxLength: 100
          nullable: true
          type: string
        employment_status:
          maxLength: 128
          type: string
        employment_type:
          maxLength: 128
          nullable: true
          type: string
        ex_user_id:
          maxLength: 128
          nullable: true
          type: string
        gender:
          allOf:
            - $ref: '#/components/schemas/gender'
          nullable: true
          type: object
        leader_id:
          maxLength: 128
          nullable: true
          type: string
          x-tags:
            - ex:user_id
        login_name:
          maxLength: 128
          minLength: 1
          nullable: true
          type: string
        phone:
          format: phone
          maxLength: 32
          nullable: true
          type: string
        telephone:
          maxLength: 32
          nullable: true
          type: string
        title:
          maxLength: 128
          nullable: true
          type: string
        titles:
          allOf:
            - $ref: '#/components/schemas/user_title_create'
          nullable: true
          type: object
        user_name:
          maxLength: 128
          minLength: 1
          type: string
        work_place:
          maxLength: 128
          nullable: true
          type: string
      required:
        - user_name
        - dept_ids
      title: 用户创建信息
      type: object
    user_current_id:
      properties:
        company_id:
          maxLength: 1024
          type: string
        user_id:
          maxLength: 1024
          type: string
      required:
        - user_id
        - company_id
      title: user_current_id
      type: object
    user_dept_info:
      properties:
        abs_path:
          maxLength: 1024
          type: string
        dept_id:
          maxLength: 20
          minLength: 1
          type: string
          x-tags:
            - ex:dept_id
        is_leader:
          type: boolean
        name:
          maxLength: 128
          minLength: 1
          type: string
        order:
          format: int64
          type: integer
      required:
        - dept_id
        - name
      type: object
    user_dept_info_complex:
      properties:
        abs_path:
          maxLength: 1024
          type: string
        id:
          maxLength: 20
          minLength: 1
          type: string
          x-tags:
            - ex:dept_id
        is_def_dept:
          nullable: true
          type: boolean
        is_leader:
          type: boolean
        name:
          maxLength: 128
          minLength: 1
          type: string
        order:
          format: int64
          type: integer
      required:
        - id
        - name
      type: object
    user_item_compact:
      properties:
        avatar:
          maxLength: 256
          type: string
        ctime:
          format: int64
          type: integer
        email:
          format: email
          maxLength: 128
          type: string
        employment_status:
          maxLength: 128
          type: string
        employment_type:
          maxLength: 128
          type: string
        ex_user_id:
          maxLength: 128
          type: string
        id:
          maxLength: 128
          minLength: 1
          type: string
        leader_id:
          maxLength: 128
          type: string
          x-tags:
            - ex:user_id
        login_name:
          maxLength: 128
          type: string
        phone:
          format: phone
          maxLength: 32
          type: string
        role:
          allOf:
            - $ref: '#/components/schemas/role_type'
          type: object
        status:
          allOf:
            - $ref: '#/components/schemas/user_status'
          type: object
        title:
          maxLength: 128
          type: string
        user_name:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - user_name
        - role
      type: object
    user_item_compact_with_dept:
      properties:
        avatar:
          maxLength: 256
          type: string
        ctime:
          format: int64
          type: integer
        depts:
          items:
            $ref: '#/components/schemas/dept_item_compact'
          maxItems: 1024
          type: array
        email:
          format: email
          maxLength: 128
          type: string
        ex_user_id:
          maxLength: 128
          type: string
        id:
          maxLength: 128
          minLength: 1
          type: string
        login_name:
          maxLength: 128
          type: string
        phone:
          format: phone
          maxLength: 32
          type: string
        role:
          allOf:
            - $ref: '#/components/schemas/role_type'
          type: object
        status:
          allOf:
            - $ref: '#/components/schemas/user_status'
          type: object
        title:
          maxLength: 128
          type: string
        user_name:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - user_name
        - role
      type: object
    user_item_with_dept:
      properties:
        city:
          maxLength: 128
          type: string
        country:
          maxLength: 128
          type: string
        ctime:
          format: int64
          type: integer
        def_dept_id:
          maxLength: 128
          type: string
        depts:
          items:
            $ref: '#/components/schemas/user_dept_info_complex'
          maxItems: 1024
          type: array
        email:
          format: email
          maxLength: 128
          type: string
        employee_id:
          maxLength: 32
          type: string
        employer:
          maxLength: 100
          type: string
        employment_status:
          maxLength: 128
          type: string
        employment_type:
          maxLength: 128
          type: string
        ex_user_id:
          maxLength: 128
          type: string
        gender:
          allOf:
            - $ref: '#/components/schemas/gender'
          nullable: true
          type: object
        id:
          maxLength: 128
          minLength: 1
          type: string
        leader_id:
          maxLength: 128
          type: string
          x-tags:
            - ex:user_id
        login_name:
          maxLength: 128
          type: string
        phone:
          format: phone
          maxLength: 32
          type: string
        role:
          allOf:
            - $ref: '#/components/schemas/role_type'
          type: object
        status:
          allOf:
            - $ref: '#/components/schemas/user_status'
          type: object
        telephone:
          maxLength: 32
          type: string
        title:
          maxLength: 128
          type: string
        titles:
          allOf:
            - $ref: '#/components/schemas/user_title'
          type: object
        type:
          allOf:
            - $ref: '#/components/schemas/user_type'
          nullable: true
          type: object
          x-omitempty: true
        type_v2:
          allOf:
            - $ref: '#/components/schemas/user_type_v2'
          nullable: true
          type: object
          x-omitempty: true
        user_name:
          maxLength: 128
          minLength: 1
          type: string
        work_place:
          maxLength: 128
          type: string
      required:
        - user_name
        - role
      type: object
    user_list_with_highlight:
      properties:
        items:
          items:
            $ref: '#/components/schemas/user_with_highlight'
          maxItems: 1000
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-tags:
            - public
        total:
          format: int64
          nullable: true
          type: integer
      required:
        - items
        - next_page_token
      type: object
    user_mailbox_alias_rsp_body:
      properties:
        aliases:
          items:
            maxLength: 128
            minLength: 1
            type: string
          maxItems: 5
          type: array
        primary:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - primary
        - aliases
      type: object
    user_order:
      properties:
        dept_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:dept_id
        order:
          format: int64
          type: integer
        user_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
      required:
        - user_id
        - dept_id
        - order
      type: object
    user_scope_v2:
      enum:
        - company_user
        - enterprise_partner
      title: user_scope_v2
      type: string
      x-enum:
        - company_user
        - enterprise_partner
    user_status:
      enum:
        - active
        - notactive
        - disabled
        - dimission
      title: 用户状态(正常、未激活、禁用、离职)
      type: string
      x-enum:
        - active
        - notactive
        - disabled
        - dimission
    user_title:
      properties:
        mode:
          allOf:
            - $ref: '#/components/schemas/title_mode'
          type: object
        title_list:
          items:
            $ref: '#/components/schemas/user_title_list_item'
          maxItems: 1024
          type: array
      required:
        - mode
        - title_list
      type: object
    user_title_create:
      properties:
        mode:
          allOf:
            - $ref: '#/components/schemas/title_mode'
          type: object
        title_list:
          items:
            $ref: '#/components/schemas/user_title_create_list_item'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - mode
        - title_list
      type: object
    user_title_create_list_item:
      properties:
        dept_id:
          maxLength: 128
          nullable: true
          type: string
          x-tags:
            - ex:dept_id
        title_id:
          maxLength: 128
          type: string
      required:
        - title_id
      type: object
    user_title_list_item:
      properties:
        dept:
          allOf:
            - $ref: '#/components/schemas/dept_item_compact'
          type: object
        id:
          maxLength: 128
          minLength: 1
          type: string
        name:
          maxLength: 128
          minLength: 1
          type: string
      required:
        - id
        - name
      type: object
    user_title_update:
      properties:
        mode:
          allOf:
            - $ref: '#/components/schemas/title_mode'
          type: object
        title_list:
          items:
            $ref: '#/components/schemas/user_title_create_list_item'
          maxItems: 100
          type: array
      required:
        - mode
        - title_list
      type: object
    user_type:
      enum:
        - company_user
        - external_contact
      type: string
      x-enum:
        - company_user
        - external_contact
    user_type_v2:
      enum:
        - company_member
        - external_guest
      type: string
      x-enum:
        - company_member
        - external_guest
    user_update_req_body:
      properties:
        avatar:
          maxLength: 255
          nullable: true
          type: string
        city:
          maxLength: 128
          nullable: true
          type: string
        country:
          maxLength: 128
          nullable: true
          type: string
        def_dept_id:
          maxLength: 128
          nullable: true
          type: string
        email:
          format: email
          maxLength: 128
          nullable: true
          type: string
        employee_id:
          maxLength: 32
          nullable: true
          type: string
        employment_status:
          maxLength: 128
          nullable: true
          type: string
        employment_type:
          maxLength: 128
          nullable: true
          type: string
        ex_user_id:
          maxLength: 128
          nullable: true
          type: string
        gender:
          allOf:
            - $ref: '#/components/schemas/gender'
          nullable: true
          type: object
        leader_id:
          maxLength: 128
          nullable: true
          type: string
          x-tags:
            - ex:dept_id
        phone:
          format: phone
          maxLength: 32
          nullable: true
          type: string
        telephone:
          maxLength: 32
          nullable: true
          type: string
        title:
          maxLength: 128
          nullable: true
          type: string
        titles:
          allOf:
            - $ref: '#/components/schemas/user_title_update'
          nullable: true
          type: object
        user_name:
          maxLength: 128
          minLength: 1
          nullable: true
          type: string
        work_place:
          maxLength: 128
          nullable: true
          type: string
      title: 更新用户请求体
      type: object
    user_with_highlight:
      allOf:
        - $ref: '#/components/schemas/user'
      properties:
        def_dept_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:dept_id
        def_dept_name:
          maxLength: 255
          type: string
        high_light:
          allOf:
            - $ref: '#/components/schemas/map_string_array_string'
          type: object
      required:
        - high_light
      title: user_with_highlight
      type: object
    version:
      properties:
        comment:
          maxLength: 1024
          type: string
          x-omitempty: true
        created_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        ctime:
          format: int64
          type: integer
        ext_attrs:
          items:
            $ref: '#/components/schemas/extended_attribute'
          maxItems: 1024
          type: array
          x-omitempty: true
        file_id:
          maxLength: 1024
          type: string
        hash:
          allOf:
            - $ref: '#/components/schemas/hash'
          nullable: true
          type: object
        id:
          maxLength: 1024
          type: string
        modified_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        mtime:
          format: int64
          type: integer
        size:
          format: int64
          type: integer
        version:
          format: int
          type: integer
      required:
        - id
        - file_id
        - created_by
        - modified_by
        - size
        - version
        - ctime
        - mtime
        - hash
      type: object
    version_list_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/version'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
          x-omitempty: true
      required:
        - items
        - next_page_token
      type: object
    visibility_object:
      properties:
        abs_path:
          maxLength: 2048
          type: string
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 255
          type: string
        type:
          allOf:
            - $ref: '#/components/schemas/visibility_object_type'
          type: object
      required:
        - id
        - type
      title: visibility_object
      type: object
    visibility_object_type:
      enum:
        - user
        - dept
        - group
      title: visibility_object_type
      type: string
      x-enum:
        - user
        - dept
        - group
    visibility_rule:
      allOf:
        - $ref: '#/components/schemas/edit_visibility_rule_req_body'
      properties:
        ctime:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
          x-type: int64
        mtime:
          format: int64
          type: integer
      required:
        - id
        - ctime
        - mtime
      title: visibility_rule
      type: object
    visibility_rule_type:
      enum:
        - visible
        - invisible
      title: visibility_rule_type
      type: string
      x-enum:
        - visible
        - invisible
    visibility_rules:
      properties:
        rules:
          items:
            $ref: '#/components/schemas/visibility_rule'
          maxItems: 20
          type: array
        total:
          format: int64
          minimum: 0
          type: integer
      required:
        - rules
        - total
      title: visibility_rules
      type: object
    watermark_uuids:
      properties:
        uuid:
          maxLength: 1024
          type: string
        watermark_type:
          format: int64
          type: integer
      required:
        - watermark_type
        - uuid
      title: 暗水印溯源标识
      type: object
    wiki_batch_create_space_members_data:
      properties:
        add_user_count:
          format: int64
          type: integer
      required:
        - add_user_count
      type: object
    wiki_batch_create_space_members_req_body:
      properties:
        items:
          items:
            $ref: '#/components/schemas/batch_create_space_member_item'
          maxItems: 20
          minItems: 1
          type: array
        with_success_and_failure_list:
          type: boolean
      required:
        - items
      type: object
    wiki_batch_create_space_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/wiki_batch_create_space_members_data'
      required:
        - data
      type: object
    wiki_batch_delete_space_members_req_body:
      properties:
        items:
          items:
            $ref: '#/components/schemas/batch_delete_space_member_item'
          maxItems: 20
          minItems: 1
          type: array
      required:
        - items
      type: object
    wiki_batch_delete_space_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    wiki_batch_move_space_files_req_body:
      properties:
        dst_parent_id:
          maxLength: 1024
          type: string
        dst_space_id:
          maxLength: 1024
          type: string
        file_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - file_ids
        - dst_parent_id
        - dst_space_id
      type: object
    wiki_move_space_file_req_body:
      properties:
        file_id:
          maxLength: 1024
          type: string
        dst_space_id:
          maxLength: 1024
          type: string
        dst_parent_id:
          maxLength: 1024
          type: string
      required:
        - file_id
        - dst_space_id
        - dst_parent_id
      type: object
    wiki_batch_move_space_files_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/wiki_task'
      required:
        - data
      type: object
    wiki_create_space_file_req_body:
      properties:
        file_id:
          maxLength: 240
          minLength: 1
          type: string
        file_type:
          $ref: '#/components/schemas/enum_file_type'
        name:
          maxLength: 240
          minLength: 1
          type: string
          x-escape: false
      required:
        - name
        - file_type
      type: object
    wiki_create_space_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/wiki_space_file'
      required:
        - data
      type: object
    wiki_create_space_req_body:
      properties:
        desc:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - name
        - desc
      type: object
    wiki_create_space_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/wiki_space'
      required:
        - data
      type: object
    wiki_get_space_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/wiki_space_file'
      required:
        - data
      type: object
    wiki_get_space_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/wiki_space'
      required:
        - data
      type: object
    wiki_get_task_data:
      properties:
        done:
          format: int64
          type: integer
        failed:
          format: int64
          type: integer
        status:
          allOf:
            - $ref: '#/components/schemas/wiki_task_status_enum'
          type: object
        total:
          format: int64
          type: integer
      required:
        - total
        - done
        - failed
        - status
      type: object
    wiki_get_task_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/wiki_get_task_data'
      required:
        - data
      type: object
    wiki_list_space_file_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/wiki_space_file'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    wiki_list_space_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/wiki_list_space_file_data'
      required:
        - data
      type: object
    wiki_list_space_members_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/wiki_space_member'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    wiki_list_space_members_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/wiki_list_space_members_data'
      required:
        - data
      type: object
    wiki_list_spaces_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/wiki_space'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
      required:
        - items
      type: object
    wiki_list_spaces_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/wiki_list_spaces_data'
      required:
        - data
      type: object
    wiki_rename_space_file_req_body:
      properties:
        name:
          maxLength: 240
          minLength: 1
          type: string
          x-escape: false
      required:
        - name
      type: object
    wiki_rename_space_file_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    wiki_search_highlight_item:
      properties:
        key:
          maxLength: 1024
          type: string
        values:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          type: array
      required:
        - key
        - values
      type: object
    wiki_search_space_file_item:
      properties:
        file:
          allOf:
            - $ref: '#/components/schemas/wiki_space_file'
          type: object
        highlights:
          items:
            $ref: '#/components/schemas/wiki_search_highlight_item'
          maxItems: 1024
          type: array
      required:
        - file
        - highlights
      type: object
    wiki_search_space_files_data:
      properties:
        items:
          items:
            $ref: '#/components/schemas/wiki_search_space_file_item'
          maxItems: 1024
          type: array
        next_page_token:
          maxLength: 1024
          type: string
        total:
          format: int64
          type: integer
      required:
        - items
      type: object
    wiki_search_space_files_req_body:
      properties:
        keyword:
          maxLength: 1024
          type: string
        page_size:
          format: int64
          type: integer
        page_token:
          maxLength: 1024
          type: string
        space_ids:
          items:
            maxLength: 1024
            type: string
          maxItems: 1024
          minItems: 1
          type: array
        with_total:
          type: boolean
      required:
        - keyword
        - space_ids
      type: object
    wiki_search_space_files_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/wiki_search_space_files_data'
      required:
        - data
      type: object
    wiki_space:
      properties:
        company_id:
          maxLength: 128
          minLength: 1
          type: string
        desc:
          maxLength: 1024
          type: string
        id:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - id
        - name
        - desc
        - company_id
      type: object
    wiki_space_file:
      properties:
        created_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        ctime:
          format: int64
          type: integer
        id:
          maxLength: 1024
          type: string
        link_id:
          maxLength: 1024
          type: string
        modified_by:
          allOf:
            - $ref: '#/components/schemas/identity'
          type: object
        mtime:
          format: int64
          type: integer
        name:
          maxLength: 1024
          type: string
        origin_file_id:
          maxLength: 1024
          type: string
        origin_file_link_id:
          maxLength: 1024
          type: string
        parent_id:
          maxLength: 1024
          type: string
        size:
          format: int64
          type: integer
        type:
          allOf:
            - $ref: '#/components/schemas/enum_file_type'
          type: object
      required:
        - id
        - parent_id
        - created_by
        - modified_by
        - type
        - name
        - link_id
        - ctime
        - mtime
        - size
      type: object
    wiki_space_member:
      properties:
        ctime:
          format: int64
          type: integer
        item_id:
          maxLength: 1024
          type: string
        item_type:
          allOf:
            - $ref: '#/components/schemas/space_member_type'
          type: object
        mtime:
          format: int64
          type: integer
        role:
          allOf:
            - $ref: '#/components/schemas/space_member_role'
          type: object
      required:
        - item_type
        - item_id
        - role
        - ctime
        - mtime
      type: object
    wiki_task:
      properties:
        task_id:
          maxLength: 1024
          type: string
      required:
        - task_id
      type: object
    wiki_task_status_enum:
      enum:
        - pending
        - running
        - success
        - failed
      type: string
      x-enum:
        - pending
        - running
        - success
        - failed
    wiki_update_space_setting_req_body:
      properties:
        desc:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
      required:
        - name
        - desc
      type: object
    wiki_update_space_setting_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/wiki_space'
      required:
        - data
      type: object
    wordlib:
      properties:
        dialect:
          maxLength: 1024
          type: string
        enabled:
          type: boolean
        extra:
          allOf:
            - $ref: '#/components/schemas/map_string_string'
          type: object
        match_type:
          maxLength: 1024
          type: string
        name:
          maxLength: 1024
          type: string
        namespace:
          maxLength: 1024
          type: string
        state:
          allOf:
            - $ref: '#/components/schemas/wordlib_state'
          type: object
        word_list:
          items:
            $ref: '#/components/schemas/wordlibs_word'
          maxItems: 100000
          type: array
      required:
        - namespace
        - name
        - dialect
        - enabled
        - word_list
      type: object
    wordlib_state:
      properties:
        create_time:
          format: int64
          type: integer
        modify_time:
          format: int64
          type: integer
        version:
          format: int64
          type: integer
      required:
        - create_time
        - modify_time
        - version
      type: object
    wordlibs_delete_req_body:
      properties:
        name:
          maxLength: 1024
          type: string
        namespace:
          maxLength: 1024
          type: string
      required:
        - namespace
        - name
      type: object
    wordlibs_delete_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    wordlibs_save_req_body:
      properties:
        dialect:
          maxLength: 1024
          type: string
        enabled:
          type: boolean
        extra:
          allOf:
            - $ref: '#/components/schemas/map_string_string'
          type: object
        match_type:
          maxLength: 1024
          type: string
        name:
          maxLength: 64
          type: string
        namespace:
          maxLength: 32
          type: string
        word_list:
          items:
            $ref: '#/components/schemas/wordlibs_word'
          maxItems: 100000
          type: array
      required:
        - namespace
        - name
        - dialect
        - enabled
        - word_list
      type: object
    wordlibs_save_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      type: object
    wordlibs_search_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/wordlibs_search_result'
      required:
        - data
      type: object
    wordlibs_search_result:
      properties:
        list:
          items:
            $ref: '#/components/schemas/wordlib'
          maxItems: 1024
          type: array
        total:
          format: int
          type: integer
      required:
        - total
        - list
      type: object
    wordlibs_word:
      properties:
        value:
          maxLength: 1024
          type: string
      required:
        - value
      type: object
    workbench_favorite_apps_item:
      allOf:
        - $ref: '#/components/schemas/application'
      properties:
        category:
          items:
            $ref: '#/components/schemas/application_category'
          maxItems: 1024
          type: array
        i18n:
          items:
            $ref: '#/components/schemas/application_i18n'
          maxItems: 1024
          type: array
        settings:
          items:
            $ref: '#/components/schemas/app_setting'
          maxItems: 1024
          type: array
        type:
          allOf:
            - $ref: '#/components/schemas/app_mode'
          type: object
      required:
        - type
        - i18n
        - settings
        - category
      type: object
    workbook_range:
      properties:
        colFrom:
          format: int
          type: integer
        colTo:
          format: int
          type: integer
        rowFrom:
          format: int
          type: integer
        rowTo:
          format: int
          type: integer
        sheetFrom:
          format: int
          type: integer
        sheetTo:
          format: int
          type: integer
      required:
        - sheetFrom
        - sheetTo
        - rowFrom
        - rowTo
        - colFrom
        - colTo
      type: object
    workflow_identity:
      properties:
        avatar:
          maxLength: 1024
          type: string
          x-omitempty: true
        company_id:
          maxLength: 1024
          type: string
          x-omitempty: true
        id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        name:
          maxLength: 1024
          type: string
          x-omitempty: true
        type:
          allOf:
            - $ref: '#/components/schemas/identity_type'
          type: object
      required:
        - type
        - id
      title: 身份唯一标识
      type: object
    workflow_message_send_req_body:
      properties:
        action_context:
          maxLength: 1024
          type: string
          x-omitempty: true
        approval_title:
          maxLength: 1024
          type: string
        button_config:
          allOf:
            - $ref: '#/components/schemas/message_button_config'
          nullable: true
          type: object
          x-omitempty: true
        cc_id:
          maxLength: 1024
          type: string
          x-omitempty: true
        comment:
          maxLength: 1024
          type: string
          x-omitempty: true
        detail_links:
          allOf:
            - $ref: '#/components/schemas/message_detail_links'
          nullable: true
          type: object
          x-omitempty: true
        initiation_time:
          format: int64
          type: integer
          x-omitempty: true
        instance_id:
          maxLength: 1024
          type: string
        operator_id:
          maxLength: 1024
          type: string
          x-omitempty: true
          x-tags:
            - ex:user_id
        origin_user_id:
          maxLength: 1024
          type: string
          x-omitempty: true
          x-tags:
            - ex:user_id
        receiver_id:
          maxLength: 1024
          type: string
          x-tags:
            - ex:user_id
        summaries:
          items:
            $ref: '#/components/schemas/message_summary_item'
          maxItems: 1024
          type: array
          x-omitempty: true
        task_id:
          maxLength: 1024
          type: string
          x-omitempty: true
        template_id:
          allOf:
            - $ref: '#/components/schemas/message_template_id'
          type: object
        title_user_id:
          maxLength: 1024
          type: string
          x-omitempty: true
          x-tags:
            - ex:user_id
      required:
        - template_id
        - instance_id
        - receiver_id
        - approval_title
      title: workflow_message_send_req_body
      type: object
    workflow_message_send_resp:
      properties:
        message_id:
          maxLength: 1024
          type: string
      required:
        - message_id
      title: workflow_message_send_resp
      type: object
    workflow_message_update_req_body:
      properties:
        action_type:
          allOf:
            - $ref: '#/components/schemas/message_action_type'
          type: object
        detail_links:
          allOf:
            - $ref: '#/components/schemas/message_detail_links'
          type: object
        message_id:
          maxLength: 1024
          type: string
        summaries:
          items:
            $ref: '#/components/schemas/message_summary_item'
          maxItems: 1024
          type: array
      required:
        - message_id
        - action_type
        - summaries
        - detail_links
      title: workflow_message_update_req_body
      type: object
    workflow_message_update_resp:
      properties:
        message_id:
          maxLength: 1024
          type: string
      required:
        - message_id
      title: workflow_message_update_resp
      type: object
    wps_agent_resp_body:
      allOf:
        - $ref: '#/components/schemas/error'
      properties:
        data:
          $ref: '#/components/schemas/agent_chat_stream_resp'
      required:
        - data
      type: object
  securitySchemes:
    app:
      flows:
        clientCredentials:
          scopes:
            kso.accountsync.sync: 账号同步
            kso.aidocs.readwrite: 查询和管理智能文档库
            kso.aidocs_extract.readwrite: 提取智能文档库数据
            kso.aiopen.readwrite: AI 开放能力
            kso.aiopen_aigc_compose.readwrite: 0卡版AI帮我写开放能力
            kso.aiopen_aigc_correct.readwrite: 0卡版AI帮我改开放能力
            kso.aiopen_compat.readwrite: 0卡版历史兼容接口开放能力
            kso.aiopen_drive_file.readwrite: 0卡版空间文件管理开放能力
            kso.aiopen_file_parse_compat.readwrite: 文档AI中台-文件解析历史兼容接口
            kso.aiopen_insights_qa.readwrite: 0卡版AI问答开放能力
            kso.aiopen_resource_file.readwrite: 0卡版AI资源文件开放能力
            kso.aiopen_session.readwrite: 0卡版AI会话开放能力
            kso.aippt.read: 查询AIPPT资源
            kso.aippt.readwrite: AIPPT资源使用及生成
            kso.airpage.read: 查询智能文档
            kso.airpage.readwrite: 管理智能文档
            kso.airsheet.read: 查询智能表格
            kso.airsheet.readwrite: 查询和管理智能表格
            kso.announce.read: 查询公告
            kso.app.read: 查询应用信息
            kso.app_admin.read: 查询应用管理信息
            kso.app_badge.readwrite: 查询和管理应用角标
            kso.app_config_chat.read: 查询应用配置信息
            kso.app_config_chat.readwrite: 查询和管理应用配置信息
            kso.app_subject.readwrite: 范围查询和管理应用可用范围
            kso.app_sync.readwrite: 应用同步管理
            kso.app_version.read: 查询应用详情
            kso.app_version.readwrite: 查询和管理应用版本信息
            kso.appfile.copy.readwrite: 应用身份跨身份复制
            kso.appfile.cps.readwrite: 应用身份格式处理能力
            kso.appfile.exec_script.readwrite: 应用身份文件指令执行
            kso.appfile.import.readwrite: 应用身份导入文件
            kso.appfile.pdf_cps.readwrite: PDF转换
            kso.appfile.readwrite: 应用身份管理文档
            kso.appfiles.copy.readwrite: 应用身份跨身份复制
            kso.appfiles.cps.readwrite: 应用身份格式处理能力
            kso.appfiles.drive.read: 应用身份查询驱动盘
            kso.appfiles.drive.readwrite: 应用身份管理驱动盘
            kso.appfiles.exec_script.readwrite: 应用身份文件指令执行
            kso.appfiles.import.readwrite: 应用身份导入文件
            kso.appfiles.pdf_cps.readwrite: 应用文档PDF转换
            kso.appfiles.readwrite: 应用身份管理文档
            kso.apps.read: 读取应用信息权限
            kso.apps.readwrite: 修改应用信息权限
            kso.attendance_approval_record.readwrite: 管理假勤审批记录
            kso.attendance_group.read: 查询考勤组
            kso.attendance_group.readwrite: 查询和管理考勤组
            kso.attendance_punch_record.read: 查询打卡记录信息
            kso.audit_log.read: 查询企业日志信息
            kso.audit_log.readwrite: 查询和管理企业日志信息
            kso.auth.context.read: 查询认证上下文
            kso.auth.context.readwrite: 写入认证上下文
            kso.auth.mfa.readwrite: 多因素认证配置
            kso.automation.read: 查询自动化流程
            kso.automation.readwrite: 查询和管理自动化流程
            kso.calendar.read: 查询日历
            kso.calendar.readwrite: 查询和管理日历
            kso.calendar_events.read: 查询日程信息
            kso.calendar_events.readwrite: 查询和管理日程信息
            kso.chat.read: 查询会话
            kso.chat.readwrite: 查询和管理会话
            kso.chat_audit.read: 审计-会话读权限
            kso.chat_audit.readwrite: 审计-会话读写权限
            kso.chat_bookmark.read: 查询会话书签
            kso.chat_bookmark.readwrite: 查询和管理会话书签
            kso.chat_dept.readwrite: 查询和管理部门群
            kso.chat_message.read: 查询会话消息
            kso.chat_message.readwrite: 查询和管理会话消息
            kso.chat_message_audit.read: 审计-会话消息读权限
            kso.chat_message_audit.readwrite: 审计-会话消息读写权限
            kso.chat_message_sync.readwrite: 同步-会话消息同步读写权限
            kso.chat_sync.readwrite: 同步-会话同步读写权限
            kso.co_comment.read: 查询协作文档的评论信息
            kso.co_comment.readwrite: 查询和管理协作文档的评论信息
            kso.company_cerification.read: 查询企业认证信息
            kso.confidential_docs.read: 查询商密集文档的内容/信息
            kso.confidential_docs.readwrite: 商密文档的读写
            kso.confidential_docs.update: 更新商密文档的内容/信息
            kso.confidential_docs_access_rights.read: 查询商密文档的知悉范围（访问权限）
            kso.confidential_docs_access_rights.write: 更新商密集文档的知悉范围（访问权限）
            kso.console_settings.read: 查询企业管理后台配置
            kso.contact.dimission_user.read: 查询离职用户信息
            kso.contact.read: 查询通讯录信息
            kso.contact.readwrite: 查询和管理通讯录信息
            kso.contact_org_dimension.readwrite: 查询和管理多维组织信息
            kso.coop_files.readwrite: 协作文件管理能力
            kso.cv.readcreate: 查询和创建转换任务
            kso.dbsheet.read: 查询多维表格
            kso.dbsheet.readwrite: 查询和管理多维表格
            kso.deleted_file.read: 查询回收站
            kso.deleted_file.readwrite: 查询和管理回收站
            kso.dept_custom_attr.readwrite: 查询和管理部门自定义字段
            kso.dept_stats.read: 查询部门统计数据
            kso.devhub_app.readwrite: 智能体应用管理
            kso.devhub_chat.readwrite: 智能体对话管理
            kso.devhub_session.readwrite: 智能体会话管理
            kso.device.read: 查询用户设备信息
            kso.device.readwrite: 查询和管理用户登录设备信息
            kso.devicemgmt.read: 查询设备信息
            kso.devicemgmt.readwrite: 查询和管理设备信息
            kso.doclib.read: 查询文档库
            kso.doclib.readwrite: 查询和管理文档库
            kso.doclib_settings.readwrite: 查询和管理团队设置
            kso.docqa.readwrite: 查询和管理文档问答
            kso.documents.readwrite: 文档管理能力
            kso.drive.read: 云文档
            kso.drive.readwrite: 管理驱动盘
            kso.encrypted_docs.read: 查询安全文档文档的内容/信息
            kso.encrypted_docs.readwrite: 管理安全文档的内容/信息
            kso.encrypted_docs_access_rights.read: 查询安全文档的授权范围
            kso.encrypted_docs_access_rights.readwrite: 管理安全文档的授权范围
            kso.et.read: 查询电子表格
            kso.et.readwrite: 查询和管理电子表格
            kso.event_egress_ip.read: 查询事件出网IP地址
            kso.file.read: 查询文件
            kso.file.readwrite: 查询和管理文件
            kso.file.search: 搜索文件
            kso.file_classification_labels.batch_read: 批量查询分类分级信息
            kso.file_classification_labels.read: 查询分类分级信息
            kso.file_classification_labels.write: 修改分类分级信息
            kso.file_link.readwrite: 查询和管理文件分享
            kso.file_permission.readwrite: 查询和管理文件权限
            kso.file_softlink.readwrite: 软链生成和解析
            kso.file_version.read: 查询文档版本
            kso.file_version.readwrite: 查询和管理文档版本
            kso.filetransfer.readwrite: 文件跨网摆渡
            kso.generator_slide.readwrite: 查询和管理pptx生成
            kso.group.read: 查询用户组
            kso.group.readwrite: 查询和管理用户组
            kso.internal.saas_open_billing.readwrite: 开放平台计费
            kso.kdocs_template.readwrite: 查询和管理模板库文件
            kso.kmwiki_file.readwrite: 查询和管理知识库文档信息
            kso.low_code_app.read: 查询WPS低代码应用数据
            kso.low_code_app.readwrite: 查询和管理WPS低代码应用数据
            kso.mail_archive.read: 查询邮箱归档
            kso.mail_archive.readwrite: 查询和管理邮箱归档
            kso.mail_contact.read: 查询邮箱联系人
            kso.mail_contact.readwrite: 查询和管理邮箱联系人
            kso.mail_group.read: 查询邮件组信息
            kso.mail_group.readwrite: 查询和管理邮件组
            kso.mail_migration.read: 查询邮箱搬家
            kso.mail_migration.readwrite: 查询和管理邮箱搬家
            kso.mailbox.read: 查询邮箱信息
            kso.mailbox.readwrite: 查询和管理邮箱信息
            kso.mcp.readwrite: MCP开放能力
            kso.mcp_dbsheet.readwrite: MCP多维表格管理
            kso.mcp_message.readwrite: MCP协作消息与会话管理
            kso.meeting.read: 查询会议
            kso.meeting.readwrite: 查询和管理会议
            kso.meeting_alert.read: 查询会议告警
            kso.meeting_asr.read: 查询会议语音转写
            kso.meeting_asr.readwrite: 查询和管理会议语音转写
            kso.meeting_data.read: 查询会议数据
            kso.meeting_export.read: 查询会议导出
            kso.meeting_minutes.read: 查询纪要
            kso.meeting_minutes.readwrite: 查询和管理纪要
            kso.meeting_minutes_content.read: 查询会议纪要内容信息
            kso.meeting_recording.read: 查询会议录制信息
            kso.meeting_recording_content.read: 查询会议录制内容信息
            kso.meeting_report.read: 查询会议报告
            kso.meeting_reserve.read: 查询会议预约
            kso.meeting_reserve.readwrite: 查询和管理会议预约
            kso.meeting_rooms.read: 查询会议室
            kso.meeting_rooms.readwrite: 查询和管理会议室
            kso.opendocs_files_edit.readwrite: 获取中台编辑链接
            kso.opendocs_files_preview.readwrite: 获取中台预览链接
            kso.privilege.read: 获取权益信息
            kso.privilege_functions_task.read: 查询企业权益任务
            kso.privilege_functions_task.readwrite: 查询和管理企业权益任务
            kso.public_mailbox.read: 查询公共邮箱
            kso.public_mailbox.readwrite: 查询和管理公共邮箱
            kso.scanrule.read: 查询扫描规则
            kso.scanrule.write: 写入扫描规则
            kso.scantask.write: 写入扫描任务
            kso.secret_label_file.read: 查询密级标签
            kso.secret_label_file.write: 设置文件密级标签
            kso.setting_medal.read: 企业勋章只读权限
            kso.sheets.read: 查询传统表格
            kso.sheets.readwrite: 查询和管理传统表格
            kso.space_quota.readwrite: 查询和管理企业空间配额
            kso.storage_configuration.read: 查询存储配置信息
            kso.store_allocation.read: 查询企业权益
            kso.store_allocation.read.all: 查询租户下的所有商城权益
            kso.store_allocation.read.ownedby: 查询该应用权限下的商城权益
            kso.store_allocation.readwrite: 查询和管理企业权益
            kso.store_allocation.readwrite.all: 查询和管理租户下的所有商城权益
            kso.store_allocation.readwrite.ownedby: 查询和管理该应用权限下的商城权益
            kso.store_entitlement.read.all: 允许应用查询该应用下的所有商品授权信息
            kso.store_order.read.all: 查询租户下的所有商城订单
            kso.store_order.read.ownedby: 查询该应用权限下的商城订单
            kso.store_order.readwrite: 创建商城订单
            kso.store_order.readwrite.all: 查询和管理租户下的所有商城订单
            kso.store_order.readwrite.ownedby: 查询和管理该应用权限下的商城订单
            kso.subscription_account.read: 获取订阅号账号信息
            kso.subscription_content.read: 获取订阅号内容信息
            kso.sys_settings.read: 获取系统后台配置
            kso.task.read: 查询待办任务
            kso.task.readwrite: 查询和管理待办任务
            kso.title.read: 查询职务信息
            kso.title.readwrite: 查询和管理职务
            kso.tracking_data.read: 查询埋点数据
            kso.user_custom_attr.readwrite: 查询和管理用户自定义字段
            kso.user_mailbox.read: 查询用户邮箱信息
            kso.user_mailbox.readwrite: 查询和管理用户邮箱信息
            kso.user_session.readwrite: 用户会话读写权限
            kso.wordlib.read: 查询词库
            kso.wordlib.write: 写入词库
            kso.workbench_block.readwrite: 查询和管理工作台小组件数据
            kso.workflow_approval_define.read: 查询审批定义
            kso.workflow_approval_define.readwrite: 查询和管理审批定义
            kso.workflow_approval_instance.read: 查询审批实例
            kso.workflow_approval_instance.readwrite: 查询和管理审批实例
            kso.workflow_approval_task.readwrite: 查询和管理审批任务
            test.abc.abc: test
          tokenUrl: https://openapi.wps.cn/oauth2/token
      type: oauth2
    delegated:
      flows:
        authorizationCode:
          authorizationUrl: https://openapi.wps.cn/oauth2/auth
          scopes:
            kso.agent.readwrite: 365Agent能力
            kso.aidocs.readwrite: 查询和管理智能文档库
            kso.aidocs_extract.readwrite: 提取智能文档库数据
            kso.airpage.read: 查询智能文档
            kso.airpage.readwrite: 管理智能文档
            kso.airsheet.read: 查询智能表格
            kso.airsheet.readwrite: 查询和管理智能表格
            kso.announce.read: 查询公告
            kso.app.read: 查询应用信息
            kso.app.readwrite: 管理应用信息
            kso.apps.read: 读取应用信息权限
            kso.apps.readwrite: 修改应用信息权限
            kso.automation.read: 查询自动化流程
            kso.automation.readwrite: 查询和管理自动化流程
            kso.calendar.read: 查询日历
            kso.calendar.readwrite: 查询和管理日历
            kso.calendar_events.read: 查询日程信息
            kso.calendar_events.readwrite: 查询和管理日程信息
            kso.chat.read: 查询会话
            kso.chat.readwrite: 查询和管理会话
            kso.chat_bookmark.readwrite: 查询和管理会话书签
            kso.company_cerification.read: 查询企业认证信息
            kso.component.agentspace_chat: Agentspace智能问答组件
            kso.console_settings.read: 查询企业管理后台配置
            kso.contact.read: 查询通讯录信息
            kso.contact.readwrite: 查询和管理通讯录信息
            kso.contact_org_dimension.readwrite: 查询和管理多维组织信息
            kso.contact_partner.read: 查询关联组织
            kso.coop_files.readwrite: 协助文档管理能力
            kso.dbsheet.read: 查询多维表格
            kso.dbsheet.readwrite: 查询和管理多维表格
            kso.deleted_file.read: 查询回收站
            kso.deleted_file.readwrite: 查询和管理回收站
            kso.devhub_app.readwrite: 智能体应用管理
            kso.devhub_chat.readwrite: 智能体对话管理
            kso.devhub_session.readwrite: 智能体会话管理
            kso.device.readwrite: 查询和管理用户登录设备信息
            kso.devicemgmt.read: 查询设备信息
            kso.devicemgmt.readwrite: 查询和管理设备信息
            kso.doclib.read: 查询文档库
            kso.doclib.readwrite: 查询和管理文档库
            kso.doclib_settings.readwrite: 查询和管理团队设置
            kso.docqa.readwrite: 查询和管理文档问答
            kso.documents.readwrite: 通用文档管理能力
            kso.drive.read: 云文档
            kso.drive.readwrite: 管理驱动盘
            kso.drive_role.readwrite: 查询和管理文件权限角色
            kso.et.read: 查询电子表格
            kso.et.readwrite: 查询和管理电子表格
            kso.file.read: 查询文件
            kso.file.readwrite: 查询和管理文件
            kso.file.search: 搜索文件
            kso.file_link.readwrite: 查询和管理文件分享
            kso.file_permission.read: 查询文件权限
            kso.file_permission.readwrite: 查询和管理文件权限
            kso.file_search.readwrite: 搜索文件
            kso.file_version.read: 查询文档版本
            kso.file_version.readwrite: 查询和管理文档版本
            kso.format_conversion.readwrite: 查询和管理格式转换
            kso.generator_slide.readwrite: 查询和管理pptx生成
            kso.group.read: 查询用户组
            kso.group.readwrite: 查询和管理用户组
            kso.kmwiki_file.read: 查询知识库文档信息
            kso.kmwiki_file.readwrite: 查询和管理知识库文档信息
            kso.kmwiki_square.read: 查询知识库广场信息
            kso.mail.read: 查询邮件
            kso.mail.readwrite: 查询和管理邮件
            kso.mail_group.read: 查询企业邮箱邮件组
            kso.mail_group.readwrite: 查询和管理企业邮箱邮件组
            kso.mailbox.read: 查询企业邮箱
            kso.mailbox.readwrite: 查询和管理企业邮箱
            kso.mcp.readwrite: MCP开放能力
            kso.mcp_airpage.readwrite: MCP智能文档管理
            kso.mcp_calendar.readwrite: MCP日程管理
            kso.mcp_dbsheet.readwrite: MCP多维表格管理
            kso.mcp_mail.readwrite: MCP邮箱管理
            kso.mcp_meeting.readwrite: MCP会议管理
            kso.mcp_message.readwrite: MCP协作消息与会话管理
            kso.mcp_scenario.readwrite: MCP场景化服务管理
            kso.mcp_todo.readwrite: MCP个人待办管理
            kso.mcp_yundoc.readwrite: MCP云文档管理
            kso.meeting.read: 查询会议
            kso.meeting.readwrite: 查询和管理会议
            kso.meeting_data.read: 查询会议数据
            kso.meeting_export.read: 查询会议导出
            kso.meeting_minutes.read: 查询会议纪要信息
            kso.meeting_minutes.readwrite: 查询和管理会议纪要
            kso.meeting_minutes_content.read: 查询会议纪要内容信息
            kso.meeting_recording.read: 查询会议录制信息
            kso.meeting_recording.readwrite: 查询和管理会议录制信息
            kso.meeting_recording_content.read: 查询会议录制内容信息
            kso.meeting_reserve.read: 查询会议预约
            kso.meeting_reserve.readwrite: 查询和管理会议预约
            kso.opendocs_files_edit.readwrite: 获取中台编辑链接
            kso.opendocs_files_preview.readwrite: 获取中台预览链接
            kso.privilege_functions_task.read: 查询企业权益任务
            kso.privilege_functions_task.readwrite: 查询和管理企业权益任务
            kso.secret_label_file.read: 查询密级标签
            kso.secret_label_file.write: 设置文件密级标签
            kso.setting_screen.read: 企业开屏封面只读权限
            kso.sheets.read: 查询传统表格
            kso.sheets.readwrite: 查询和管理传统表格
            kso.storage_configuration.read: 查询存储配置信息
            kso.sys_settings.read: 获取系统后台配置
            kso.task.read: 查询待办任务
            kso.task.readwrite: 查询和管理待办任务
            kso.tracesource_object.create: 创建溯源对象
            kso.tracesource_object.read: 查询溯源对象
            kso.tracesource_policy.read: 查询溯源策略配置
            kso.user_base.read: 查询用户基础信息
            kso.user_current_id.read: 查询用户ID信息
            kso.wiki.readwrite: 查询和管理知识库
            kso.workflow_approval_define.read: 查询审批定义
            kso.workflow_approval_define.readwrite: 查询和管理审批定义
            kso.workflow_approval_instance.read: 查询审批实例
            kso.workflow_approval_instance.readwrite: 查询和管理审批实例
            kso.workflow_approval_task.readwrite: 查询和管理审批任务
            test.abc.abc: test
          tokenUrl: https://openapi.wps.cn/oauth2/token
      type: oauth2
info:
  title: Kingsoft Office Open APIs
  version: v7
openapi: 3.0.0
paths:
  /v7/access/admin/check_permission:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/check_admin_permission_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/check_admin_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
  /v7/access/admin/permissions/{permission}/users:
    get:
      parameters:
        - in: path
          name: permission
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_admins_by_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
  /v7/access/admin/scope:
    get:
      parameters:
        - in: query
          name: user_id
          required: true
          schema:
            format: int64
            type: integer
          x-tags:
            - ex:user_id
        - in: query
          name: permissions
          required: true
          schema:
            items:
              maxLength: 128
              minLength: 1
              type: string
            maxItems: 10
            minItems: 1
            type: array
        - in: query
          name: scope_type
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_admin_scope_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.read
  /v7/aidocs/contract_extract:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aidocs_contract_extract_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aidocs_contract_extract_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aidocs/doclib/switch:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aidocs_upgrade_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/doclib_aidocs_switch_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aidocs/doclib/switch/status:
    get:
      parameters:
        - in: query
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/doclib_switch_status_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aidocs/doclib_list:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: roles
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: filter_status
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_aidocs_list_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aidocs/drive/{drive_id}/file/{parent_id}/upload:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: parent_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/aidocs_file_upload_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aidocs_file_upload_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aidocs/extract/commit:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/extract_commit_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/extract_commit_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs_extract.readwrite
  /v7/aidocs/extract/res:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/extract_res_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/extract_res_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs_extract.readwrite
  /v7/aidocs/file_id_convert:
    get:
      parameters:
        - in: query
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: group_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aidocs_file_id_convert_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aidocs/in_store/async:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aidocs_in_store_async_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aidocs_in_store_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aidocs/in_store/status:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aidocs_in_store_status_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aidocs_in_store_status_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aidocs/parse_content/cache:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aidocs_parse_content_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aidocs_parse_content_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aidocs/recall_file:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aidocs_recall_file_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aidocs_recall_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aidocs/recall_rank:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aidocs_recall_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aidocs_recall_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aidocs/register_callback:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aidocs_register_callback_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aidocs_register_callback_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aidocs/space/{drive_id}:
    delete:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aidocs_space_delete_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_aidocs_space_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aidocs/space/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aidocs_space_create_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_aidocs_space_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aidocs/spaces:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: classify
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_aidocs_spaces_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/aiopen/ai_gateway_logs/search:
    get:
      parameters:
        - in: query
          name: start_time
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: end_time
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: company_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: session_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: offset
          required: true
          schema:
            format: uint64
            type: integer
        - in: query
          name: limit
          required: true
          schema:
            format: uint64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_ai_gateway_logs_search_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen.readwrite
  /v7/aiopen/ai_recommend_question:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_post_ai_recommend_question_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/recommend_v7_post_recommend_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_compat.readwrite
  /v7/aiopen/ai_table_assistant:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_post_ai_table_assistant_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_ai_table_assistant_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_compat.readwrite
  /v7/aiopen/ai_table_intent:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_post_ai_table_intent_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_ai_table_intent_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_compat.readwrite
  /v7/aiopen/aigc/compose:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_aigc_compose_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/deep_chapter:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_aigc_compose_deep_chapter_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_deep_chapter_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/libraries:
    get:
      parameters:
        - in: query
          name: function_code
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
        - in: query
          name: type
          required: true
          schema:
            $ref: '#/components/schemas/aiopen_enum_aigc_compose_library_type'
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 200
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_libraries_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/libraries/{library_id}/delete:
    post:
      parameters:
        - in: path
          name: library_id
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_library_delete_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/libraries/{library_id}/files:
    get:
      parameters:
        - in: path
          name: library_id
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
        - in: query
          name: type
          schema:
            allOf:
              - $ref: '#/components/schemas/aiopen_enum_aigc_compose_library_type'
            nullable: true
            type: object
        - in: query
          name: status
          schema:
            allOf:
              - $ref: '#/components/schemas/aiopen_enum_aigc_file_parse_status'
            nullable: true
            type: object
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 200
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_library_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/libraries/{library_id}/files/{file_id}:
    get:
      parameters:
        - in: path
          name: library_id
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
        - in: query
          name: type
          schema:
            allOf:
              - $ref: '#/components/schemas/aiopen_enum_aigc_compose_library_type'
            nullable: true
            type: object
        - in: query
          name: source
          schema:
            allOf:
              - $ref: '#/components/schemas/aiopen_file_enum_source'
            nullable: true
            type: object
        - in: query
          name: drive_id
          schema:
            maxLength: 64
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_library_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/libraries/{library_id}/files/{file_id}/delete:
    post:
      parameters:
        - in: path
          name: library_id
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_aigc_compose_library_file_delete_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_library_file_delete_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/libraries/{library_id}/files/{file_id}/retry:
    post:
      parameters:
        - in: path
          name: library_id
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_aigc_compose_library_file_retry_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_library_file_retry_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/libraries/{library_id}/files/create:
    post:
      parameters:
        - in: path
          name: library_id
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_aigc_compose_library_files_create_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_library_files_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/libraries/{library_id}/parses/{parse_id}/update:
    post:
      parameters:
        - in: path
          name: library_id
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
        - in: path
          name: parse_id
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_aigc_compose_library_parse_update_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_library_parses_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/libraries/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_aigc_compose_libraries_create_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_libraries_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/ref_files/async_parse:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_parse_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_async_parse_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/ref_files/extract_assets:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_extract_assets_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_extract_assets_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/ref_files/parse:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_parse_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_parse_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/ref_files/search:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_search_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_search_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/compose/ref_files/status/batch_get:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_status_batch_get_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_compose_ref_files_status_batch_get_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_compose.readwrite
  /v7/aiopen/aigc/correct:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_aigc_correct_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_aigc_correct_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_aigc_correct.readwrite
  /v7/aiopen/chunks/search:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/get_chunks_search_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_chunks_search_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_drive_file.readwrite
  /v7/aiopen/doc_operate_tasks/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/post_doc_operate_tasks_create_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_doc_operate_tasks_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_compat.readwrite
            - kso.aiopen_file_parse_compat.readwrite
  /v7/aiopen/doc_operate_tasks/search:
    get:
      parameters:
        - in: query
          name: task_ids
          required: true
          schema:
            items:
              maxLength: 64
              minLength: 1
              type: string
            maxItems: 100
            minItems: 1
            type: array
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_doc_operate_tasks_search_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_compat.readwrite
            - kso.aiopen_file_parse_compat.readwrite
  /v7/aiopen/doc_operate_tasks/search/{task_id}:
    get:
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_doc_operate_task_search_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_compat.readwrite
            - kso.aiopen_file_parse_compat.readwrite
  /v7/aiopen/drives/{drive_id}/files/{file_id}/operate:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/post_drive_file_operate_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_drive_file_operate_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_drive_file.readwrite
  /v7/aiopen/drives/{drive_id}/files/{file_id}/qa:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_post_qa_drive_file_qa_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_qa_drive_file_qa_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_compat.readwrite
  /v7/aiopen/drives/{drive_id}/files/{file_id}/status:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_drive_file_status_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_compat.readwrite
  /v7/aiopen/drives/{drive_id}/files/status:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/get_drive_files_status_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_drive_files_status_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_drive_file.readwrite
  /v7/aiopen/drives/{drive_id}/toggle:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/post_drive_toggle_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_drive_toggle_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_drive_file.readwrite
  /v7/aiopen/drives/{drive_id}/toggle_details/search:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
        - in: query
          name: fail_page_size
          schema:
            format: uint
            type: integer
        - in: query
          name: fail_page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_drive_toggle_details_search_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_drive_file.readwrite
  /v7/aiopen/drives/qa:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_post_qa_drives_qa_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_qa_drives_qa_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_compat.readwrite
  /v7/aiopen/files/search:
    get:
      parameters:
        - in: query
          name: drive_ids
          required: true
          schema:
            items:
              maxLength: 64
              minLength: 1
              type: string
            maxItems: 100
            minItems: 1
            type: array
        - in: query
          name: keyword
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: creator_id
          schema:
            maxLength: 64
            minLength: 1
            type: string
        - in: query
          name: type
          schema:
            allOf:
              - $ref: '#/components/schemas/files_search_type_enum'
            nullable: true
            type: object
        - in: query
          name: file_exts
          schema:
            items:
              maxLength: 32
              minLength: 1
              type: string
            maxItems: 40
            type: array
        - in: query
          name: time_type
          schema:
            allOf:
              - $ref: '#/components/schemas/files_search_time_type_enum'
            nullable: true
            type: object
        - in: query
          name: start_time
          schema:
            format: int64
            nullable: true
            type: integer
        - in: query
          name: end_time
          schema:
            format: int64
            nullable: true
            type: integer
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: order
          schema:
            allOf:
              - $ref: '#/components/schemas/files_search_order_enum'
            nullable: true
            type: object
        - in: query
          name: order_type
          schema:
            allOf:
              - $ref: '#/components/schemas/files_search_order_type_enum'
            nullable: true
            type: object
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_files_search_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_drive_file.readwrite
  /v7/aiopen/resource/files/commit_upload:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_resource_files_commit_upload_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_resource_files_commit_upload_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_resource_file.readwrite
  /v7/aiopen/resource/files/request_upload:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_resource_files_request_upload_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_resource_files_request_upload_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_resource_file.readwrite
  /v7/aiopen/semantic_keywords/search:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/get_semantic_keywords_search_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_semantic_keywords_search_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_drive_file.readwrite
  /v7/aiopen/sessions:
    get:
      parameters:
        - in: query
          name: user_id
          schema:
            maxLength: 64
            minLength: 1
            type: string
        - in: query
          name: session_codes
          schema:
            items:
              maxLength: 255
              minLength: 1
              type: string
            maxItems: 100
            type: array
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 255
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_session_get_session_list_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_session.readwrite
  /v7/aiopen/sessions/{session_id}/close:
    post:
      parameters:
        - in: path
          name: session_id
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_session_post_session_close_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_session.readwrite
  /v7/aiopen/sessions/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_session_create_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_session_post_session_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_session.readwrite
  /v7/aiopen/sessions/messages/batch_get:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aiopen_session_messages_batch_get_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/aiopen_session_get_session_messages_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen_session.readwrite
  /v7/aiopen/slides/generator/gen_outline:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/gen_outline_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_gen_outline_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen.readwrite
  /v7/aiopen/slides/generator/gen_slides:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/post_gen_slides_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_gen_slides_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen.readwrite
  /v7/aiopen/slides/theme_tpl/list:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/post_theme_tpl_list_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_theme_tpl_list_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aiopen.readwrite
  /v7/aippt/gen_slides_from_multipages:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/multipages_gen_slides_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/aippt_multipages_gen_slide_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aippt.readwrite
  /v7/aippt/gen_tpl_from_ppt:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/gen_tpl_from_ppt_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gen_tpl_from_ppt_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aippt.readwrite
  /v7/aippt/generate_slides_from_pxf_v2:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/gen_slides_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/aippt_generate_slides_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aippt.readwrite
  /v7/aippt/theme_tpl/list:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/tpl_list_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/slides_tpl_list_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aippt.read
  /v7/airpage/{file_id}:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_base_info_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
            - kso.airpage.read
          delegated:
            - kso.airpage.readwrite
            - kso.airpage.read
  /v7/airpage/{file_id}/anchor_attachment_replace:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airpage_attachment_anchor_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_anchor_attachments_replace_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
  /v7/airpage/{file_id}/blocks:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airpage_airpage_block_query_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_blocks_get_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
            - kso.airpage.read
          delegated:
            - kso.airpage.readwrite
            - kso.airpage.read
  /v7/airpage/{file_id}/blocks/batch_delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airpage_airpage_block_batch_delete_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_blocks_batch_delete_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
  /v7/airpage/{file_id}/blocks/batch_get:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airpage_airpage_block_list_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_blocks_batch_get_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
            - kso.airpage.read
          delegated:
            - kso.airpage.readwrite
            - kso.airpage.read
  /v7/airpage/{file_id}/blocks/batch_update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airpage_airpage_block_batch_update_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_blocks_batch_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
  /v7/airpage/{file_id}/blocks/convert:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airpage_airpage_block_convert_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_blocks_convert_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
  /v7/airpage/{file_id}/blocks/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airpage_airpage_block_create_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_blocks_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
  /v7/airpage/{file_id}/blocks/delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airpage_airpage_block_delete_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_blocks_delete_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
  /v7/airpage/{file_id}/blocks/update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airpage_airpage_block_update_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_blocks_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
  /v7/airpage/{file_id}/export_task/query:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airpage_export_task_query_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_export_task_query_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
            - kso.airpage.read
          delegated:
            - kso.airpage.readwrite
            - kso.airpage.read
  /v7/airpage/{file_id}/export_to_docx:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airpage_export_to_docx_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_export_to_docx_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
            - kso.airpage.read
          delegated:
            - kso.airpage.readwrite
            - kso.airpage.read
  /v7/airpage/{file_id}/export_to_json:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_export_to_json_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
            - kso.airpage.read
          delegated:
            - kso.airpage.readwrite
            - kso.airpage.read
            - kso.mcp_airpage.readwrite
  /v7/airpage/{file_id}/export_to_pdf:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airpage_export_to_pdf_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_export_to_pdf_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
            - kso.airpage.read
          delegated:
            - kso.airpage.readwrite
            - kso.airpage.read
  /v7/airpage/{file_id}/import_json_data:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airpage_importer_text_type_by_json_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_import_texts_type_json_data_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
            - kso.mcp_airpage.readwrite
  /v7/airpage/files:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airpage_airpage_create_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
  /v7/airsheet/{file_id}/worksheets:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_get_worksheets_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
            - kso.airsheet.read
          delegated:
            - kso.airsheet.readwrite
            - kso.airsheet.read
    post:
      operationId: airsheet_create_worksheet
      parameters:
        - description: 文件ID
          in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airsheet_create_work_sheet_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_create_worksheet_resp_body'
          description: "200"
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
      summary: 创建工作表
      tags:
        - 【智能表格】
  /v7/airsheet/{file_id}/worksheets/{worksheet_id}/data_validations:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: col_from
          required: true
          schema:
            format: int32
            type: integer
        - in: query
          name: col_to
          required: true
          schema:
            format: int32
            type: integer
        - in: query
          name: row_from
          required: true
          schema:
            format: int32
            type: integer
        - in: query
          name: row_to
          required: true
          schema:
            format: int32
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_get_data_validation_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
            - kso.airsheet.read
          delegated:
            - kso.airsheet.readwrite
            - kso.airsheet.read
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airsheet_create_data_validation_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_create_data_validation_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/airsheet/{file_id}/worksheets/{worksheet_id}/data_validations/batch_delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airsheet_delete_data_validation_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_delete_data_validation_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/airsheet/{file_id}/worksheets/{worksheet_id}/data_validations/batch_update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airsheet_update_data_validation_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_update_data_validation_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/airsheet/{file_id}/worksheets/{worksheet_id}/filters:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_get_filter_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airsheet_create_filter_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_create_filter_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/airsheet/{file_id}/worksheets/{worksheet_id}/filters/delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_delete_filter_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/airsheet/{file_id}/worksheets/{worksheet_id}/filters/update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airsheet_update_filter_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_update_filter_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/airsheet/{file_id}/worksheets/{worksheet_id}/protection_ranges:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_get_protection_ranges_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
            - kso.airsheet.read
          delegated:
            - kso.airsheet.readwrite
            - kso.airsheet.read
  /v7/airsheet/{file_id}/worksheets/{worksheet_id}/range_data:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: row_from
          required: true
          schema:
            type: integer
        - in: query
          name: row_to
          required: true
          schema:
            type: integer
        - in: query
          name: col_from
          required: true
          schema:
            type: integer
        - in: query
          name: col_to
          required: true
          schema:
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_get_range_data_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
            - kso.airsheet.read
          delegated:
            - kso.airsheet.readwrite
            - kso.airsheet.read
  /v7/airsheet/{file_id}/worksheets/{worksheet_id}/range_data/batch_delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airsheet_delete_range_data_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_delete_range_data_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/airsheet/{file_id}/worksheets/{worksheet_id}/range_data/batch_update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airsheet_update_range_data_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_update_range_data_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/airsheet/{file_id}/worksheets/{worksheet_id}/range_data/find:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airsheet_find_cell_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_find_cell_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
            - kso.airsheet.read
          delegated:
            - kso.airsheet.readwrite
            - kso.airsheet.read
  /v7/airsheet/{file_id}/worksheets/{worksheet_id}/rows:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airsheet_create_row_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_create_row_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/airsheet/files:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/airsheet_create_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/announce/announces:
    get:
      parameters:
        - in: query
          name: is_top
          schema:
            type: boolean
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_announces_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.announce.read
          delegated:
            - kso.announce.read
  /v7/announce/announces/{announce_id}:
    get:
      parameters:
        - in: path
          name: announce_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_announce_detail_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.announce.read
          delegated:
            - kso.announce.read
  /v7/announce/announces/{announce_id}/download:
    get:
      parameters:
        - in: path
          name: announce_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: store_key
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_hash
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_announce_cover_url_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.announce.read
          delegated:
            - kso.announce.read
  /v7/announce/announces/{announce_id}/visibilities:
    get:
      parameters:
        - in: path
          name: announce_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_announce_visibilities_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.announce.read
  /v7/app_badges/batch_set:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/set_application_badge_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/set_application_badge_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_badge.readwrite
  /v7/applications:
    get:
      parameters:
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_applications_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.app.read
  /v7/apps/{app_id}/configs/chat:
    get:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app_config_chat_get_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_config_chat.read
  /v7/apps/{app_id}/configs/chat/update:
    post:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/app_config_chat_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app_config_chat_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_config_chat.readwrite
  /v7/asr_tasks/{task_id}:
    get:
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_asr_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_asr.read
  /v7/asr_tasks/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_asr_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_asr_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_asr.readwrite
  /v7/attendance/approval_records/delete:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_attendance_approval_records_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_attendance_approval_records_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.attendance_approval_record.readwrite
  /v7/attendance/approval_records/import:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/import_attendance_approval_records_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/import_attendance_approval_records_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.attendance_approval_record.readwrite
  /v7/attendance/groups:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int
            maximum: 50
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/attendance_group_list_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.attendance_group.read
  /v7/attendance/groups/{group_id}:
    get:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/attendance_group_detail_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.attendance_group.read
  /v7/attendance/groups/{group_id}/delete:
    post:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/attendance_group_delete_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_attendance_group_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.attendance_group.readwrite
  /v7/attendance/groups/{group_id}/update:
    post:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/attendance_group_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_attendance_group_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.attendance_group.readwrite
  /v7/attendance/groups/create:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/attendance_group_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_attendance_group_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.attendance_group.readwrite
  /v7/attendance/punches/batch_get:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_get_attendance_punches_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_get_attendance_punches_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.attendance_punch_record.read
  /v7/audit/chats:
    get:
      parameters:
        - in: query
          name: user_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_audit_chats_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_audit.read
            - kso.chat_audit.readwrite
  /v7/audit/chats/{chat_id}/delete:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_audit.readwrite
  /v7/audit/chats/{chat_id}/members:
    get:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_audit_chats_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_audit.read
            - kso.chat_audit.readwrite
  /v7/audit/chats/{chat_id}/messages:
    get:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: start_time
          schema:
            format: int64
            type: integer
        - in: query
          name: end_time
          schema:
            format: int64
            type: integer
        - in: query
          name: order
          schema:
            $ref: '#/components/schemas/order'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_audit_chats_messages_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message_audit.read
            - kso.chat_message_audit.readwrite
  /v7/audit/chats/{chat_id}/messages/{message_id}/delete:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: message_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message_audit.readwrite
  /v7/audit/chats/{chat_id}/messages/batch_get:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/audit_chats_messages_batch_get_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/audit_chats_messages_batch_get_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message_audit.read
            - kso.chat_message_audit.readwrite
  /v7/audit/chats/batch_get:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/audit_chats_batch_get_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/audit_chats_batch_get_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_audit.read
            - kso.chat_audit.readwrite
  /v7/audit_categories:
    get:
      parameters:
        - in: query
          name: parent_op_key
          schema:
            maxLength: 255
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_audit_categories_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.audit_log.read
  /v7/audit_categories/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_audit_category_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_audit_category_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.audit_log.readwrite
  /v7/audit_logs:
    get:
      parameters:
        - in: query
          name: type
          required: true
          schema:
            $ref: '#/components/schemas/audit_log_type'
        - in: query
          name: operator_ids
          schema:
            items:
              maxLength: 20
              minLength: 1
              type: string
              x-type: int64
            maxItems: 20
            type: array
        - in: query
          name: op_time_scope
          required: true
          schema:
            items:
              format: int64
              type: integer
            maxItems: 2
            minItems: 2
            type: array
        - in: query
          name: op_keys
          schema:
            items:
              maxLength: 1024
              minLength: 1
              type: string
            maxItems: 100
            minItems: 1
            type: array
        - in: query
          name: source
          schema:
            $ref: '#/components/schemas/audit_source'
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: group_id
          schema:
            maxLength: 20
            minLength: 1
            type: string
            x-type: '*int64'
        - in: query
          name: file_name
          schema:
            maxLength: 255
            minLength: 1
            type: string
        - in: query
          name: drive_ids
          schema:
            items:
              maxLength: 20
              minLength: 1
              type: string
              x-type: int64
            maxItems: 100
            minItems: 1
            type: array
        - in: query
          name: success
          schema:
            nullable: true
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_audit_logs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.audit_log.read
            - kso.audit_log.readwrite
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/post_audit_logs_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_audit_logs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.audit_log.readwrite
  /v7/automation/{file_id}/workflows:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: type
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_work_flows_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.automation.readwrite
            - kso.automation.read
          delegated:
            - kso.automation.readwrite
            - kso.automation.read
  /v7/automation/{file_id}/workflows/{workflow_id}/status:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: workflow_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/automation_update_work_flow_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_work_flow_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.automation.readwrite
          delegated:
            - kso.automation.readwrite
  /v7/calendar_exchange_binds/{exchange_binding_id}:
    get:
      parameters:
        - in: path
          name: exchange_binding_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_exchange_account_binding_info_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.calendar.read
            - kso.calendar.readwrite
  /v7/calendar_exchange_binds/{exchange_binding_id}/delete:
    post:
      parameters:
        - in: path
          name: exchange_binding_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/unbind_exchange_account_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.calendar.readwrite
  /v7/calendar_exchange_binds/create:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/exchange_binding_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bind_exchange_account_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.calendar.readwrite
  /v7/calendars:
    get:
      parameters:
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            default: 20
            format: int
            maximum: 20
            minimum: 1
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_calendars_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar.read
            - kso.calendar.readwrite
          delegated:
            - kso.calendar.read
            - kso.calendar.readwrite
  /v7/calendars/{calendar_id}:
    get:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_calendar_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar.read
            - kso.calendar.readwrite
          delegated:
            - kso.calendar.read
            - kso.calendar.readwrite
  /v7/calendars/{calendar_id}/delete:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_calendar_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar.readwrite
          delegated:
            - kso.calendar.readwrite
  /v7/calendars/{calendar_id}/event_instances:
    get:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: start_time
          schema:
            format: datetime
            maxLength: 1024
            type: string
        - in: query
          name: end_time
          schema:
            format: datetime
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_event_instances_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/events:
    get:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: start_time
          schema:
            format: datetime
            maxLength: 1024
            type: string
        - in: query
          name: end_time
          schema:
            format: datetime
            maxLength: 1024
            type: string
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            default: 30
            format: int
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: with_cancelled
          schema:
            type: boolean
        - in: query
          name: sync_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: anchor_time
          schema:
            format: datetime
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_events_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/events/{event_id}:
    get:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_event_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/events/{event_id}/attendee_groups/{group_id}/members:
    get:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            format: int
            maximum: 100
            minimum: 1
            type: integer
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_event_attendee_group_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/events/{event_id}/attendees:
    get:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            default: 100
            format: int
            maximum: 100
            minimum: 1
            type: integer
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_event_attendees_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/events/{event_id}/attendees/batch_create:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_create_event_attendee_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_create_event_attendee_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/events/{event_id}/attendees/batch_delete:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_event_attendee_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_event_attendee_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/events/{event_id}/create_chat:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_calendar_event_chat_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.calendar_events.readwrite
  /v7/calendars/{calendar_id}/events/{event_id}/delete:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_event_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_event_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/events/{event_id}/event_instances:
    get:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: start_time
          schema:
            format: datetime
            maxLength: 1024
            type: string
        - in: query
          name: end_time
          schema:
            format: datetime
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/event_instances_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/events/{event_id}/meeting_minutes/create:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_event_meeting_minutes_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/events/{event_id}/meeting_rooms:
    get:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_event_meeting_rooms_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
  /v7/calendars/{calendar_id}/events/{event_id}/meeting_rooms/batch_create:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_create_event_meeting_room_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_create_event_meeting_room_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.readwrite
  /v7/calendars/{calendar_id}/events/{event_id}/meeting_rooms/batch_delete:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_event_meeting_room_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_event_meeting_room_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.readwrite
  /v7/calendars/{calendar_id}/events/{event_id}/respond:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/respond_event_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/respond_event_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/events/{event_id}/update:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_event_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_event_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/events/batch_create:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_create_base_event_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_create_base_event_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/events/create:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_event_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_event_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/events/search:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/search_events_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/search_events_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/calendars/{calendar_id}/permissions:
    get:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            format: int
            maximum: 20
            minimum: 1
            type: integer
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_calendar_permissions_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar.read
            - kso.calendar.readwrite
          delegated:
            - kso.calendar.read
            - kso.calendar.readwrite
  /v7/calendars/{calendar_id}/permissions/{calendar_permission_id}/delete:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: calendar_permission_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_calendar_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar.readwrite
          delegated:
            - kso.calendar.readwrite
  /v7/calendars/{calendar_id}/permissions/batch_create:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_create_calendar_permissions_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_create_calendar_permissions_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar.readwrite
          delegated:
            - kso.calendar.readwrite
  /v7/calendars/{calendar_id}/permissions/create:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/calendar_permission_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_calendar_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar.readwrite
          delegated:
            - kso.calendar.readwrite
  /v7/calendars/{calendar_id}/subscribe:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/calendar_subscribe_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar.readwrite
          delegated:
            - kso.calendar.readwrite
  /v7/calendars/{calendar_id}/unsubscribe:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/calendar_unsubscribe_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar.readwrite
          delegated:
            - kso.calendar.readwrite
  /v7/calendars/{calendar_id}/update:
    post:
      parameters:
        - in: path
          name: calendar_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_calendar_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_calendar_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar.readwrite
          delegated:
            - kso.calendar.readwrite
  /v7/calendars/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_calendar_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_calendar_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar.readwrite
          delegated:
            - kso.calendar.readwrite
  /v7/calendars/primary:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_primary_calendar_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar.read
            - kso.calendar.readwrite
          delegated:
            - kso.calendar.read
            - kso.calendar.readwrite
  /v7/calendars/primary/batch_get:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_get_primary_calendars_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_get_primary_calendars_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar.read
            - kso.calendar.readwrite
          delegated:
            - kso.calendar.read
            - kso.calendar.readwrite
  /v7/calendars/primary/timeoff_events/{timeoff_event_id}/delete:
    post:
      parameters:
        - in: path
          name: timeoff_event_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_timeoff_event_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_timeoff_event_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.readwrite
  /v7/calendars/primary/timeoff_events/create:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_timeoff_event_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_timeoff_event_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.readwrite
  /v7/chats:
    get:
      parameters:
        - in: query
          name: page_size
          required: true
          schema:
            default: 100
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_chat_list_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat.readwrite
            - kso.chat.read
            - kso.mcp_message.readwrite
  /v7/chats/{chat_id}:
    get:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_group_ext_attrs
          schema:
            type: boolean
        - in: query
          name: with_ext_attrs
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_chat_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat.readwrite
            - kso.chat.read
            - kso.mcp_message.readwrite
  /v7/chats/{chat_id}/bookmarks:
    get:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chat_bookmarks_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_bookmark.readwrite
            - kso.chat_bookmark.read
      x-rate-limit: 单个应用限制50QPS
  /v7/chats/{chat_id}/bookmarks/batch_create:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_create_chat_bookmark_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_create_chat_bookmarks_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_bookmark.readwrite
          delegated:
            - kso.chat_bookmark.readwrite
      x-rate-limit: 单个应用限制50QPS
  /v7/chats/{chat_id}/bookmarks/batch_delete:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_chat_bookmark_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_chat_bookmarks_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_bookmark.readwrite
          delegated:
            - kso.chat_bookmark.readwrite
      x-rate-limit: 单个应用限制50QPS
  /v7/chats/{chat_id}/delete:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_chat_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat.readwrite
            - kso.mcp_message.readwrite
  /v7/chats/{chat_id}/members:
    get:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            default: 100
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: status
          required: true
          schema:
            $ref: '#/components/schemas/list_chat_members_status'
        - in: query
          name: type
          schema:
            $ref: '#/components/schemas/chat_member_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_chat_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat.readwrite
            - kso.chat.read
            - kso.mcp_message.readwrite
  /v7/chats/{chat_id}/members/batch_create:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_create_chat_member_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_create_chat_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat.readwrite
            - kso.mcp_message.readwrite
  /v7/chats/{chat_id}/members/batch_delete:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_chat_member_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_chat_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat.readwrite
            - kso.mcp_message.readwrite
  /v7/chats/{chat_id}/members/is_in_chat:
    get:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/is_member_in_chat_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat.read
            - kso.chat.readwrite
          delegated:
            - kso.chat.read
            - kso.chat.readwrite
  /v7/chats/{chat_id}/messages:
    get:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: start_time
          schema:
            format: int64
            minimum: 0
            type: integer
        - in: query
          name: end_time
          schema:
            format: int64
            minimum: 0
            type: integer
        - in: query
          name: page_size
          schema:
            default: 100
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: order
          schema:
            $ref: '#/components/schemas/order'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chats_messages_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message.readwrite
            - kso.chat_message.read
            - kso.mcp_message.readwrite
  /v7/chats/{chat_id}/messages/{message_id}:
    get:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: message_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message.readwrite
            - kso.chat_message.read
            - kso.mcp_message.readwrite
  /v7/chats/{chat_id}/messages/{message_id}/reply:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: message_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/send_reply_message_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/reply_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message.readwrite
  /v7/chats/{chat_id}/messages/{message_id}/resources/{storage_key}/download:
    get:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: message_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: storage_key
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: file_name
          schema:
            maxLength: 100
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chat_resources_download_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message.readwrite
  /v7/chats/{chat_id}/messages/{message_id}/urgent_app:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: message_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/urgent_message_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/urgent_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message.readwrite
  /v7/chats/{chat_id}/messages/send_cloud_file:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/send_cloud_file_chat_message_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/send_cloud_file_chat_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message.readwrite
  /v7/chats/{chat_id}/share_link:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chat_share_link_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat.readwrite
            - kso.chat.read
  /v7/chats/{chat_id}/update:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_chat_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_chat_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat.readwrite
            - kso.mcp_message.readwrite
  /v7/chats/batch_get:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_get_chat_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_get_chat_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat.readwrite
            - kso.chat.read
  /v7/chats/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_chat_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_chat_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat.readwrite
            - kso.mcp_message.readwrite
  /v7/chats/create_dept_chat:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_dept_chat_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_dept_chat_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_dept.readwrite
  /v7/chats/get_p2p_chat:
    get:
      parameters:
        - in: query
          name: user_id
          required: true
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_chat_by_userid_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message.readwrite
            - kso.chat_message.read
            - kso.mcp_message.readwrite
  /v7/chats/normalize_dept_chat:
    post:
      parameters:
        - in: query
          name: dept_id
          required: true
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:dept_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/normalize_dept_chat_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_dept.readwrite
  /v7/chats/resources/upload:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/chats_resource_upload_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chats_resources_upload_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message.readwrite
  /v7/chats/unread_count:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chats_unread_count_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.chat.readwrite
            - kso.chat.read
  /v7/chats/update_dept_chat:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_dept_chat_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dept_chat_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_dept.readwrite
  /v7/co/files/{co_file_id}/comments:
    get:
      parameters:
        - in: path
          name: co_file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: review_status
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_file_comments_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.co_comment.readwrite
            - kso.co_comment.read
  /v7/companies/current:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_company_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
          delegated:
            - kso.contact.read
  /v7/companies/dept_custom_attrs/batch_create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_company_dept_custom_attrs_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_company_dept_custom_attrs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dept_custom_attr.readwrite
  /v7/companies/dept_custom_attrs/batch_delete:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_company_dept_custom_attrs_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_company_dept_custom_attrs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dept_custom_attr.readwrite
  /v7/companies/dept_custom_attrs/batch_read:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_company_dept_custom_attrs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dept_custom_attr.readwrite
  /v7/companies/dept_custom_attrs/batch_update:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_company_dept_custom_attrs_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_company_dept_custom_attrs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dept_custom_attr.readwrite
  /v7/companies/user_custom_attrs/batch_create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_company_user_custom_attrs_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_company_user_custom_attrs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.user_custom_attr.readwrite
  /v7/companies/user_custom_attrs/batch_delete:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_company_user_custom_attrs_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_company_user_custom_attrs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.user_custom_attr.readwrite
  /v7/companies/user_custom_attrs/batch_read:
    get:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_company_user_custom_attrs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.user_custom_attr.readwrite
  /v7/companies/user_custom_attrs/batch_update:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_company_user_custom_attrs_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_company_user_custom_attrs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.user_custom_attr.readwrite
  /v7/confidential_docs/{root_guid}/access_rights:
    get:
      parameters:
        - in: path
          name: root_guid
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/confidential_docs_access_rights_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.confidential_docs_access_rights.read
  /v7/confidential_docs/{root_guid}/access_rights/update:
    post:
      parameters:
        - in: path
          name: root_guid
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: user_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/confidential_docs_access_rights_update_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/confidential_docs_access_rights_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.confidential_docs_access_rights.write
  /v7/confidential_docs/{root_guid}/user_access_rights:
    get:
      parameters:
        - in: path
          name: root_guid
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: user_id
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/confidential_docs_user_access_rights_get_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.confidential_docs_access_rights.read
  /v7/confidential_docs/decrypt:
    post:
      parameters:
        - in: query
          name: user_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/confidential_docs_decrypt_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/confidential_docs_decrypt_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.confidential_docs.read
  /v7/confidential_docs/encrypt:
    post:
      parameters:
        - in: query
          name: user_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/confidential_docs_encrypt_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/confidential_docs_encrypt_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.confidential_docs.readwrite
  /v7/confidential_docs/info:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/confidential_docs_info_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/confidential_docs_info_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.confidential_docs.read
  /v7/confidential_docs/info/histories:
    get:
      parameters:
        - in: query
          name: history_guids
          required: true
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: user_id
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/confidential_docs_info_histories_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.confidential_docs.read
      x-middlewares:
        - parse_headers
  /v7/confidential_docs/saveas:
    post:
      parameters:
        - in: query
          name: user_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/confidential_docs_saveas_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/confidential_docs_saveas_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.confidential_docs.readwrite
      x-middlewares:
        - parse_headers
  /v7/confidential_docs/update:
    post:
      parameters:
        - in: query
          name: user_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/confidential_docs_update_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/confidential_docs_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.confidential_docs.update
  /v7/console_settings/org_display:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_org_display_settings_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.console_settings.read
          delegated:
            - kso.console_settings.read
  /v7/console_settings/usage_tips:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/get_usage_tips_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_usage_tips_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.console_settings.read
  /v7/contacts/permissions_scope:
    get:
      parameters:
        - in: query
          name: scopes
          required: true
          schema:
            items:
              $ref: '#/components/schemas/contact_permissions_scope'
            maxItems: 3
            minItems: 1
            type: array
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_contact_permissions_scope_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/contacts/permissions_scope/entities:
    get:
      parameters:
        - in: query
          name: scopes
          required: true
          schema:
            items:
              $ref: '#/components/schemas/contact_permissions_scope'
            maxItems: 3
            minItems: 1
            type: array
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_contact_permissions_scope_entities_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/contacts/visibility/rules:
    get:
      parameters:
        - in: query
          name: offset
          schema:
            format: int64
            minimum: 0
            type: integer
        - in: query
          name: limit
          schema:
            format: int64
            maximum: 20
            minimum: 1
            type: integer
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_visibility_rules_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/edit_visibility_rule_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/add_visibility_rule_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/contacts/visibility/rules/{rule_id}:
    post:
      parameters:
        - in: path
          name: rule_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/edit_visibility_rule_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_visibility_rule_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/contacts/visibility/rules/batch_delete:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_visibility_rules_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_visibility_rules_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/coop/airpage/{file_id}/async_to_tasks/{task_id}/query:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_export_task_query_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
            - kso.airpage.read
  /v7/coop/airpage/{file_id}/attachments/upload:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_airpage_upload_attachment_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_import_attachments_type_data_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
  /v7/coop/airpage/{file_id}/export_to_docx/async_tasks/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_export_to_docx_task_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
            - kso.airpage.read
  /v7/coop/airpage/{file_id}/export_to_image/async_tasks/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_export_to_image_task_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
            - kso.airpage.read
  /v7/coop/airpage/{file_id}/export_to_pdf/async_tasks/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_export_to_pdf_task_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
            - kso.airpage.read
  /v7/coop/airpage/{file_id}/import_data:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_airpage_importer_text_type_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airpage_import_texts_type_data_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airpage.readwrite
          delegated:
            - kso.airpage.readwrite
  /v7/coop/airsheet/{file_id}/import:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_airsheet_import_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_import_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/coop/airsheet/{file_id}/protection_ranges/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_airsheet_create_protection_ranges_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_create_protection_range_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/coop/airsheet/{file_id}/sheets:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_get_sheets_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
            - kso.airsheet.read
          delegated:
            - kso.airsheet.readwrite
            - kso.airsheet.read
  /v7/coop/airsheet/{file_id}/worksheet/{worksheet_id}/rows/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_airsheet_create_row_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_create_row_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/coop/airsheet/{file_id}/worksheets/{worksheet_id}/copy:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_airsheet_copy_work_sheet_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_copy_worksheet_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/coop/airsheet/{file_id}/worksheets/{worksheet_id}/update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_airsheet_update_work_sheet_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_update_worksheet_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/coop/airsheet/{file_id}/worksheets/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_airsheet_create_work_sheet_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_create_worksheet_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/coop/airsheet/{file_id}/worksheets/delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_airsheet_delete_work_sheet_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/airsheet_delete_worksheet_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.airsheet.readwrite
          delegated:
            - kso.airsheet.readwrite
  /v7/coop/dbsheet/{file_id}/attachments/{attachment_id}:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: attachment_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: type
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_get_attachment_info_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/coop/dbsheet/{file_id}/attachments/upload:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_upload_attachment_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_upload_attachment_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/content_permissions:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_get_content_permissions_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/coop/dbsheet/{file_id}/content_permissions/async_tasks/{task_id}/query:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: task_type
          required: true
          schema:
            $ref: '#/components/schemas/coop_dbsheet_task_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_query_content_permission_task_progress_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/coop/dbsheet/{file_id}/content_permissions/batch_add/async_tasks/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_create_content_perm_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_add_content_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/content_permissions/batch_modify/async_tasks/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_modify_content_perm_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_modify_content_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/content_permissions/delete/async_tasks/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_delete_content_perm_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_delete_content_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/content_permissions/subjects:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: cloud_permission_id
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: permission_type
          required: true
          schema:
            $ref: '#/components/schemas/coop_protobuf_permission_type'
        - in: query
          name: alias_name
          schema:
            $ref: '#/components/schemas/coop_protobuf_permission_alias_name'
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_get_content_permission_subjects_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/coop/dbsheet/{file_id}/content_permissions/subjects/batch_add:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_add_subjects_to_permission_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_add_subjects_to_content_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/content_permissions/subjects/batch_change:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_change_subjects_to_permission_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_change_subjects_to_content_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/content_permissions/subjects/batch_remove:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_remove_subjects_from_permission_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_remove_subjects_from_content_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/hooks:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_detail
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_list_hook_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/hooks/{hook_id}/delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: hook_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_cancel_hook_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/hooks/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_create_hook_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_hook_sheet_add_record_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/schema:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_get_schema_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
            - kso.mcp_dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
            - kso.mcp_dbsheet.readwrite
            - kso.mcp_yundoc.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_delete_sheet_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/fields:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_create_fields_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_create_fields_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/fields/delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_delete_fields_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_delete_fields_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/fields/update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_update_fields_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_update_fields_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/records:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_list_all_records_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_list_all_records_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
            - kso.mcp_dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
            - kso.mcp_dbsheet.readwrite
            - kso.mcp_yundoc.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/records/{record_id}:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: record_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: prefer_id
          schema:
            type: boolean
        - in: query
          name: show_fields_info
          schema:
            type: boolean
        - in: query
          name: show_record_extra_info
          schema:
            type: boolean
        - in: query
          name: text_value
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_retrieve_record_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/records/batch_delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_delete_record_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_delete_record_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/records/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_create_record_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_create_record_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.mcp_dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
            - kso.mcp_dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/records/list_by_page:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_list_records_by_page_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_list_records_by_page_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/records/parents/{parent_id}/children:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: parent_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_list_children_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/records/parents/{parent_id}/children/batch_bind:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: parent_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_bind_records_parent_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_bind_parent_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/records/parents/{parent_id}/children/batch_unbind:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: parent_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_unbind_records_parent_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_unbind_parent_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/records/parents/disable:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_disable_parent_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/records/parents/enable:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_enable_parent_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/records/parents/status:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_parent_status_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/records/search:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_retrieve_records_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_retrieve_records_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/records/update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_update_record_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_update_record_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.mcp_dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
            - kso.mcp_dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_update_sheet_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_update_sheet_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.mcp_dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
            - kso.mcp_dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/views:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_create_view_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_create_view_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/views/{view_id}/delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: view_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_delete_view_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/{sheet_id}/views/{view_id}/update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: view_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_update_view_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_update_view_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/{file_id}/sheets/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_create_sheet_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_create_sheet_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.mcp_dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
            - kso.mcp_dbsheet.readwrite
  /v7/coop/dbsheet/id/demix:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_demix_id_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_demix_id_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/dbsheet/id/mix:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_dbsheet_mix_id_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_mix_id_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/coop/et/{file_id}/users/{user_id}/regional_permission:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/et_get_regional_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.et.readwrite
            - kso.et.read
          delegated:
            - kso.et.readwrite
            - kso.et.read
  /v7/coop/files/{file_id}/attachments/{attachment_id}:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: attachment_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/files_attachments_info_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.coop_files.readwrite
          delegated:
            - kso.coop_files.readwrite
  /v7/coop/files/{file_id}/attachments/batch_get:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_files_attachments_batch_get_attachment_infos_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/files_attachments_batch_get_infos_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.coop_files.readwrite
          delegated:
            - kso.coop_files.readwrite
  /v7/coop/files/{file_id}/attachments/thumbnails/batch_get:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_files_attachments_batch_get_attachment_thumbnails_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/files_attachments_batch_get_thumbnails_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.coop_files.readwrite
          delegated:
            - kso.coop_files.readwrite
  /v7/coop/files/{file_id}/attachments/upload:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_files_attachments_upload_file_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/files_attachments_upload_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.coop_files.readwrite
          delegated:
            - kso.coop_files.readwrite
  /v7/coop/files/{file_id}/attachments/upload/address:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_files_attachments_get_upload_address_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/files_attachments_get_upload_address_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.coop_files.readwrite
          delegated:
            - kso.coop_files.readwrite
  /v7/coop/files/{file_id}/attachments/upload/complete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_files_attachments_upload_complete_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/files_attachments_upload_complete_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.coop_files.readwrite
          delegated:
            - kso.coop_files.readwrite
  /v7/coop/files/{file_id}/rollback:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/coop_files_rollback_file_rollback_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.coop_files.readwrite
          delegated:
            - kso.coop_files.readwrite
  /v7/create_workbench_favorite_app:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_workbench_favorite_app_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_workbench_favorite_app_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.app.readwrite
  /v7/dbsheet/{file_id}/dashboards:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_list_dashboards_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/dbsheet/{file_id}/dashboards/{dashboard_id}/copy:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: dashboard_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dbsheet_copy_dashboard_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_copy_dashboard_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/dbsheet/{file_id}/export/async_tasks/{task_type}/query:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: path
          name: task_type
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: query
          name: task_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_query_async_export_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/dbsheet/{file_id}/export/async_tasks/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dbsheet_create_async_export_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_create_async_export_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/dbsheet/{file_id}/sheets/{sheet_id}/forms/{view_id}/fields:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: view_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_list_form_fields_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/dbsheet/{file_id}/sheets/{sheet_id}/forms/{view_id}/fields/{field_id}/update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: view_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: field_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dbsheet_update_form_field_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_update_form_field_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/dbsheet/{file_id}/sheets/{sheet_id}/forms/{view_id}/meta:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: view_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_get_form_meta_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: view_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dbsheet_update_form_meta_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_update_form_meta_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/dbsheet/{file_id}/sheets/{sheet_id}/views:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_list_views_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/dbsheet/{file_id}/sheets/{sheet_id}/views/{view_id}:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: view_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_get_view_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/dbsheet/{file_id}/sheets/{sheet_id}/views/{view_id}/sharedlinks/{share_id}:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: view_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: share_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/query_shared_link_detail_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/dbsheet/{file_id}/sheets/{sheet_id}/views/{view_id}/sharedlinks/{share_id}/close:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: view_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: share_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dbsheet_close_shared_link_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_close_shared_link_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/dbsheet/{file_id}/sheets/{sheet_id}/views/{view_id}/sharedlinks/{share_id}/settings:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: view_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: share_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_get_sharedlink_settings_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: view_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: share_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dbsheet_set_shared_link_settings_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_set_sharedlink_settings_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/dbsheet/{file_id}/sheets/{sheet_id}/views/{view_id}/sharedlinks/{share_id}/update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: view_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: share_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dbsheet_update_shared_link_permission_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_update_shared_link_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/dbsheet/{file_id}/sheets/{sheet_id}/views/{view_id}/sharedlinks/open:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: view_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dbsheet_open_shared_link_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_open_shared_link_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/dbsheet/{file_id}/sheets/{sheet_id}/views/{view_id}/sharedlinks/status:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: sheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: path
          name: view_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: view_type
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/query_shared_link_status_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
          delegated:
            - kso.dbsheet.readwrite
            - kso.dbsheet.read
  /v7/dbsheet/{file_id}/sheets/batch_create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dbsheet_batch_create_sheets_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_batch_create_sheets_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/dbsheet/{file_id}/sheets/batch_delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dbsheet_batch_delete_sheets_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dbsheet_batch_delete_sheets_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dbsheet.readwrite
          delegated:
            - kso.dbsheet.readwrite
  /v7/deleted_files:
    get:
      parameters:
        - in: query
          name: drive_id
          schema:
            maxLength: 1024
            type: string
            x-type: int64
        - in: query
          name: with_ext_attrs
          schema:
            type: boolean
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_drive
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_deleted_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.deleted_file.read
          delegated:
            - kso.deleted_file.read
  /v7/deleted_files/{file_id}/delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_deleted_file_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_deleted_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.deleted_file.readwrite
          delegated:
            - kso.deleted_file.readwrite
  /v7/deleted_files/{file_id}/meta:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_ext_attrs
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_deleted_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.deleted_file.read
          delegated:
            - kso.deleted_file.read
  /v7/deleted_files/{file_id}/restore:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restore_deleted_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.deleted_file.readwrite
          delegated:
            - kso.deleted_file.readwrite
  /v7/deleted_files/batch_delete:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_deleted_file_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_deleted_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.deleted_file.readwrite
          delegated:
            - kso.deleted_file.readwrite
  /v7/deleted_files/batch_restore:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_restore_deleted_files_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_restore_deleted_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.deleted_file.readwrite
          delegated:
            - kso.deleted_file.readwrite
  /v7/deleted_files/clear:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/clear_deleted_files_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/clear_deleted_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.deleted_file.readwrite
          delegated:
            - kso.deleted_file.readwrite
  /v7/depts/{dept_id}:
    get:
      parameters:
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:dept_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_dept_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/depts/{dept_id}/children:
    get:
      parameters:
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: with_permission
          schema:
            type: boolean
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_dept_children_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
          delegated:
            - kso.contact.read
  /v7/depts/{dept_id}/delete:
    post:
      parameters:
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:dept_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_dept_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/depts/{dept_id}/members:
    get:
      parameters:
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:dept_id
        - in: query
          name: recursive
          schema:
            type: boolean
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: with_user_detail
          schema:
            type: boolean
        - in: query
          name: status
          required: true
          schema:
            items:
              $ref: '#/components/schemas/user_status'
            maxItems: 3
            minItems: 1
            type: array
        - in: query
          name: with_dept_detail
          schema:
            type: boolean
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_dept_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
          delegated:
            - kso.contact.read
  /v7/depts/{dept_id}/members/{user_id}/create:
    post:
      parameters:
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:dept_id
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_dept_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/depts/{dept_id}/members/{user_id}/delete:
    post:
      parameters:
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:dept_id
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_dept_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/depts/{dept_id}/members/batch_read:
    post:
      parameters:
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/get_dept_member_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_dept_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/depts/{dept_id}/parents:
    get:
      parameters:
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_depts_parent_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.read
  /v7/depts/{dept_id}/update:
    post:
      parameters:
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:dept_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_dept_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_dept_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/depts/batch_delete:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_dept_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_dept_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/depts/batch_read:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_read_dept_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_read_dept_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
          delegated:
            - kso.contact.read
  /v7/depts/by_ex_dept_ids:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_read_depts_by_ex_dept_ids_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_read_depts_by_ex_dept_ids_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/depts/changes:
    get:
      parameters:
        - in: query
          name: last_change_time
          required: true
          schema:
            format: int64
            minimum: 0
            type: integer
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_dept_changes_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/depts/create:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_dept_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_dept_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/depts/custom_attrs/batch_read:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_read_dept_custom_attrs_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_read_dept_custom_attrs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dept_custom_attr.readwrite
  /v7/depts/custom_attrs/batch_update:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_update_dept_custom_attrs_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_update_dept_custom_attrs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.dept_custom_attr.readwrite
  /v7/depts/root:
    get:
      parameters:
        - in: query
          name: with_permission
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_root_dept_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
          delegated:
            - kso.contact.read
  /v7/depts/search:
    get:
      parameters:
        - in: query
          name: keyword
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: search_source
          schema:
            items:
              $ref: '#/components/schemas/search_dept_source'
            maxItems: 2
            type: array
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/search_dept_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.contact.read
  /v7/developer/app_admins:
    get:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_app_admins_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_admin.read
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/app_admins/{user_id}/check:
    get:
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/check_app_admins_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_admin.read
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/app_badges/batch_update:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_app_badges_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_app_badges_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.apps.readwrite
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/applications/current:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_current_application_resp_body'
        default:
          $ref: '#/components/responses/error'
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/applications/current/members:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_current_application_developer_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/applications/current/subjects:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: type
          schema:
            items:
              $ref: '#/components/schemas/developer_application_subject_type'
            maxItems: 7
            type: array
        - in: query
          name: is_blacklist
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_current_application_subjects_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_version.read
            - kso.app.read
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps:
    get:
      parameters:
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: lang
          schema:
            $ref: '#/components/schemas/app_i18n_key'
        - in: query
          name: status
          schema:
            $ref: '#/components/schemas/app_status'
        - in: query
          name: type
          required: true
          schema:
            $ref: '#/components/schemas/app_mode'
        - in: query
          name: approval_status
          schema:
            $ref: '#/components/schemas/app_approval_status'
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_app_list_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_version.read
            - kso.app_version.readwrite
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}:
    get:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: lang
          schema:
            $ref: '#/components/schemas/app_i18n_key'
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_app_detail_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_version.read
            - kso.app_version.readwrite
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}/change_owner:
    post:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/app_change_owner_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app_change_owner_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.apps.readwrite
          delegated:
            - kso.apps.readwrite
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}/contacts_range:
    get:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 50
            minimum: 1
            type: integer
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_app_contacts_range_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_version.read
            - kso.app_version.readwrite
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}/contacts_range_apply:
    get:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: version
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_app_contacts_range_apply_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_version.read
            - kso.app_version.readwrite
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}/disable:
    post:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/disable_app_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.apps.readwrite
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}/enable:
    post:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/enable_app_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.apps.readwrite
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}/members:
    get:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_app_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.apps.read
          delegated:
            - kso.apps.read
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}/members/batch_update:
    post:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_update_app_members_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_update_app_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.apps.readwrite
          delegated:
            - kso.apps.readwrite
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}/subjects/batch_add:
    post:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_operate_app_subjects_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_add_app_subjects_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_subject.readwrite
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}/subjects/batch_remove:
    post:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_operate_app_subjects_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_remove_app_subjects_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_subject.readwrite
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}/subjects/batch_update:
    post:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_update_app_subjects_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_update_app_subjects_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_subject.readwrite
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}/subjects/check_white_black_list:
    post:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/check_white_black_list_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/check_subjects_white_black_list_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.apps.read
            - kso.apps.readwrite
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}/update_approval_status:
    post:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_app_approval_status_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_app_approval_status_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_version.readwrite
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}/versions:
    get:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: with_details
          schema:
            type: boolean
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_app_versions_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_version.read
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/{app_id}/versions/{version}:
    get:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: version
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_app_version_details_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_version.read
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/apps/batch_get:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/apps_batch_get_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apps_batch_get_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.apps.read
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/get_app_admin_scope:
    get:
      parameters:
        - in: query
          name: user_id
          required: true
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_app_admin_scope_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.app_admin.read
      x-regions:
        - cn
        - ap
        - eur
  /v7/developer/visible_apps:
    get:
      parameters:
        - in: query
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: type
          required: true
          schema:
            $ref: '#/components/schemas/iam_subject_check_type'
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 50
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_visible_apps_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.apps.read
      x-regions:
        - cn
        - ap
        - eur
  /v7/devhub/apps/{app_id}/chats/cancel:
    post:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/devhub_app_chat_cancel_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/devhub_app_chat_cancel_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.devhub_chat.readwrite
  /v7/devhub/apps/{app_id}/chats/create:
    post:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/devhub_app_chat_create_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/devhub_app_chat_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.devhub_chat.readwrite
  /v7/devhub/apps/{app_id}/detail:
    get:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/devhub_app_detail_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.devhub_app.readwrite
  /v7/devhub/apps/{app_id}/sessions/create:
    post:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/devhub_app_session_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.devhub_session.readwrite
  /v7/devhub/apps/{app_id}/sessions/messages:
    get:
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: session_id
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            '[]':
              schema:
                $ref: '#/components/schemas/devhub_app_session_messages_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.devhub_session.readwrite
  /v7/doclib/{drive_id}/invite_url:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_doclib_invite_url_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.doclib.readwrite
  /v7/doclib/create:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_doclib_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_doclib_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.doclib.readwrite
          delegated:
            - kso.doclib.readwrite
  /v7/doclib/delete:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_doclib_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_doclib_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.doclib.readwrite
          delegated:
            - kso.doclib.readwrite
  /v7/doclib/files/{file_id}/inherit:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_file_inherit_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_link.readwrite
          delegated:
            - kso.file_link.readwrite
  /v7/doclib/meta:
    get:
      parameters:
        - in: query
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_doclib_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.doclib.readwrite
          delegated:
            - kso.doclib.readwrite
            - kso.doclib.read
  /v7/doclib/search:
    get:
      parameters:
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: company_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: keyword
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: group_type
          schema:
            allOf:
              - $ref: '#/components/schemas/group_type'
            nullable: true
            type: object
        - in: query
          name: group_source
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: with_total
          schema:
            nullable: true
            type: boolean
          x-tags:
            - public
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/search_doclib_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.doclib.readwrite
            - kso.doclib.read
          delegated:
            - kso.doclib.readwrite
            - kso.doclib.read
  /v7/doclib/settings:
    get:
      parameters:
        - in: query
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
            x-type: int64
        - in: query
          name: group_id
          schema:
            maxLength: 1024
            minLength: 1
            type: string
            x-type: int64
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_doclib_settings_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.doclib_settings.readwrite
          delegated:
            - kso.doclib_settings.readwrite
  /v7/doclib/update:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_doclib_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_doclib_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.doclib.readwrite
          delegated:
            - kso.doclib.readwrite
  /v7/doclibs:
    get:
      parameters:
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: user_role
          schema:
            items:
              $ref: '#/components/schemas/group_member_role'
            maxItems: 4
            type: array
          x-tags:
            - public
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_doclibs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.doclib.readwrite
          delegated:
            - kso.doclib.readwrite
            - kso.doclib.read
  /v7/docqa/insight/recall/rank:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/docqa_insight_recall_rank_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/docqa_insight_recall_rank_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.docqa.readwrite
            - kso.aidocs.readwrite
          delegated:
            - kso.docqa.readwrite
            - kso.aidocs.readwrite
  /v7/docqa/insight/switch:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/docqa_insight_switch_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/docqa_insight_switch_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.docqa.readwrite
  /v7/docqa/instore/recall/rank:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/docqa_instore_recall_rank_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/docqa_instore_recall_rank_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.docqa.readwrite
            - kso.aidocs.readwrite
          delegated:
            - kso.docqa.readwrite
            - kso.aidocs.readwrite
  /v7/docqa/instore/switch:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/docqa_instore_switch_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/docqa_instore_switch_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.docqa.readwrite
            - kso.aidocs.readwrite
  /v7/docqa/instore/switch/status:
    get:
      parameters:
        - in: query
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/docqa_instore_switch_status_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.docqa.readwrite
            - kso.aidocs.readwrite
  /v7/documents/{file_id}/attachments/batch_get:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/documents_attachments_batch_get_attachment_infos_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/documents_attachments_batch_get_infos_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.documents.readwrite
          delegated:
            - kso.documents.readwrite
  /v7/documents/{file_id}/attachments/upload:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/documents_attachments_upload_file_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/documents_attachments_upload_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.documents.readwrite
          delegated:
            - kso.documents.readwrite
  /v7/documents/{file_id}/attachments/upload/address:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/documents_attachments_get_upload_address_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/documents_attachments_get_upload_address_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.documents.readwrite
          delegated:
            - kso.documents.readwrite
  /v7/documents/{file_id}/attachments/upload/complete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/documents_attachments_upload_complete_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/documents_attachments_upload_complete_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.documents.readwrite
          delegated:
            - kso.documents.readwrite
  /v7/documents/{file_id}/comments/{comment_id}/delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: comment_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_comments_delete_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.documents.readwrite
          delegated:
            - kso.documents.readwrite
  /v7/documents/{file_id}/comments/{comment_id}/update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: comment_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/documents_comment_update_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_comments_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.documents.readwrite
          delegated:
            - kso.documents.readwrite
  /v7/documents/{file_id}/comments/{origin_id}/list:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: origin_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_documents_comment_list_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.documents.readwrite
          delegated:
            - kso.documents.readwrite
  /v7/documents/{file_id}/comments/create:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/documents_comment_create_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_comments_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.documents.readwrite
          delegated:
            - kso.documents.readwrite
  /v7/documents/{file_id}/exports:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/documents_exports_create_export_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/documents_exports_create_export_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.documents.readwrite
          delegated:
            - kso.documents.readwrite
  /v7/documents/{file_id}/exports/{export_task_id}:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: export_task_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/documents_exports_get_export_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.documents.readwrite
          delegated:
            - kso.documents.readwrite
  /v7/documents/{file_id}/likes:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/documents_likes_list_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.documents.readwrite
          delegated:
            - kso.documents.readwrite
  /v7/documents/folder_latest/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/latest_folder_create_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_latest_folder_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.documents.readwrite
          delegated:
            - kso.documents.readwrite
  /v7/documents/folder_latest/list:
    get:
      parameters:
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 50
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_latest_folders_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.documents.readwrite
          delegated:
            - kso.documents.readwrite
  /v7/domains:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/domains_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.mailbox.read
  /v7/drive_freq/items:
    get:
      parameters:
        - in: query
          name: with_permission
          schema:
            type: boolean
        - in: query
          name: with_link
          schema:
            type: boolean
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 20
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_freq_items_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.file.read
          delegated:
            - kso.file.readwrite
  /v7/drive_label/items/batch_get:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_get_label_item_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_get_label_items_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drive_labels/{label_id}/objects/batch_add:
    post:
      parameters:
        - in: path
          name: label_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/drive_label_batch_add_objects_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_add_drive_label_objects_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drive_labels/{label_id}/objects/batch_remove:
    post:
      parameters:
        - in: path
          name: label_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/drive_label_batch_remove_objects_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_remove_drive_label_objects_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drive_latest/items:
    get:
      parameters:
        - in: query
          name: with_permission
          schema:
            type: boolean
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: include_exts
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_latest_items_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.file.read
          delegated:
            - kso.file.readwrite
  /v7/drive_star/items:
    get:
      parameters:
        - in: query
          name: with_permission
          schema:
            type: boolean
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: include_exts
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_star_items_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.file.read
          delegated:
            - kso.file.readwrite
  /v7/drive_tasks/{task_id}/meta:
    get:
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.file.read
          delegated:
            - kso.file.readwrite
  /v7/drives:
    get:
      parameters:
        - in: query
          name: allotee_type
          required: true
          schema:
            $ref: '#/components/schemas/enum_allotee_type'
        - in: query
          name: allotee_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_ext_attrs
          schema:
            type: boolean
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: sources
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_drives_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.drive.readwrite
          delegated:
            - kso.drive.readwrite
            - kso.mcp_yundoc.readwrite
            - kso.mcp_airpage.readwrite
  /v7/drives/{drive_id}/close_link:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/close_drive_link_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/close_drive_link_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.drive.readwrite
          delegated:
            - kso.drive.readwrite
      x-tags:
        - public
  /v7/drives/{drive_id}/files/{file_id}/close_link:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/close_file_link_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/close_file_link_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_link.readwrite
          delegated:
            - kso.file_link.readwrite
  /v7/drives/{drive_id}/files/{file_id}/content:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: format
          schema:
            $ref: '#/components/schemas/file_dst_format'
        - in: query
          name: include_elements
          schema:
            items:
              $ref: '#/components/schemas/include_element'
            maxItems: 1024
            type: array
        - in: query
          name: mode
          schema:
            $ref: '#/components/schemas/file_api_mode'
          x-tags:
            - public
        - in: query
          name: task_id
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - public
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_file_content_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.file.read
          delegated:
            - kso.file.readwrite
            - kso.mcp_yundoc.readwrite
            - kso.mcp_airpage.readwrite
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_file_content_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_file_content_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.file.read
          delegated:
            - kso.file.readwrite
      x-tags:
        - public
  /v7/drives/{drive_id}/files/{file_id}/delete:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.appfile.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/files/{file_id}/download:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_hash
          schema:
            type: boolean
        - in: query
          name: internal
          schema:
            type: boolean
        - in: query
          name: storage_base_domain
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - public
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/download_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.file.read
            - kso.appfile.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/files/{file_id}/meta:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_permission
          schema:
            type: boolean
        - in: query
          name: with_ext_attrs
          schema:
            type: boolean
        - in: query
          name: with_drive
          schema:
            type: boolean
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_file_directly_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.file.read
            - kso.appfile.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/files/{file_id}/open_link:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/open_link_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/open_file_link_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_link.readwrite
          delegated:
            - kso.file_link.readwrite
            - kso.mcp_yundoc.readwrite
  /v7/drives/{drive_id}/files/{file_id}/path:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_file_path_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.file.read
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/files/{file_id}/permissions:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: subject_type
          schema:
            allOf:
              - $ref: '#/components/schemas/subject_type'
            nullable: true
            type: object
        - in: query
          name: subject_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_file_permissions_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.file_permission.readwrite
  /v7/drives/{drive_id}/files/{file_id}/permissions/{permission_id}/delete:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: permission_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_permission_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_file_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.file_permission.readwrite
  /v7/drives/{drive_id}/files/{file_id}/permissions/acl:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: user_ids
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_file_acls_by_user_ids_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.file_permission.readwrite
  /v7/drives/{drive_id}/files/{file_id}/permissions/batch_create:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_create_file_permission_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_create_file_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_permission.readwrite
          delegated:
            - kso.file_permission.readwrite
            - kso.mcp_yundoc.readwrite
  /v7/drives/{drive_id}/files/{file_id}/permissions/batch_delete:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_file_permissions_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_file_permissions_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_permission.readwrite
          delegated:
            - kso.file_permission.readwrite
            - kso.mcp_yundoc.readwrite
  /v7/drives/{drive_id}/files/{file_id}/permissions/batch_update:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_update_file_permission_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_update_file_permissions_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_permission.readwrite
          delegated:
            - kso.file_permission.readwrite
  /v7/drives/{drive_id}/files/{file_id}/permissions/create:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_file_permission_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_file_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.file_permission.readwrite
  /v7/drives/{drive_id}/files/{file_id}/rename:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/rename_file_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rename_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/files/{file_id}/save_as:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/file_save_as_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/file_save_as_resp_body'
        default:
          $ref: '#/components/responses/error'
  /v7/drives/{drive_id}/files/{file_id}/transfer_owner:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/transfer_file_owner_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/transfer_file_owner_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/files/{file_id}/update:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_file_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/files/{file_id}/versions:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_comment
          schema:
            nullable: true
            type: boolean
        - in: query
          name: with_ext_attrs
          schema:
            nullable: true
            type: boolean
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_versions_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_version.readwrite
            - kso.file_version.read
          delegated:
            - kso.file_version.readwrite
  /v7/drives/{drive_id}/files/{file_id}/versions/{version_num}/download:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: version_num
          required: true
          schema:
            format: int
            type: integer
        - in: query
          name: with_hash
          schema:
            type: boolean
        - in: query
          name: internal
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/download_version_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_version.readwrite
            - kso.file_version.read
          delegated:
            - kso.file_version.readwrite
  /v7/drives/{drive_id}/files/{file_id}/versions/{version_num}/meta:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: version_num
          required: true
          schema:
            format: int
            type: integer
        - in: query
          name: with_ext_attrs
          schema:
            nullable: true
            type: boolean
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_version_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_version.readwrite
            - kso.file_version.read
          delegated:
            - kso.file_version.readwrite
  /v7/drives/{drive_id}/files/{file_id}/versions/{version_num}/revert:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: version_num
          required: true
          schema:
            format: int
            type: integer
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/revert_version_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_version.readwrite
          delegated:
            - kso.file_version.readwrite
  /v7/drives/{drive_id}/files/{file_id}/versions/{version_num}/update:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: version_num
          required: true
          schema:
            format: int
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_version_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_version_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_version.readwrite
          delegated:
            - kso.file_version.readwrite
  /v7/drives/{drive_id}/files/{parent_id}/check_name:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
        - in: path
          name: parent_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/check_file_name_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/check_file_name_resp_body'
        default:
          $ref: '#/components/responses/error'
  /v7/drives/{drive_id}/files/{parent_id}/children:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: parent_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_permission
          schema:
            type: boolean
        - in: query
          name: with_ext_attrs
          schema:
            type: boolean
        - in: query
          name: filter_exts
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: filter_type
          schema:
            allOf:
              - $ref: '#/components/schemas/enum_file_type'
            nullable: true
            type: object
          x-tags:
            - public
        - in: query
          name: order
          schema:
            $ref: '#/components/schemas/enum_order'
        - in: query
          name: order_by
          schema:
            $ref: '#/components/schemas/enum_order_by'
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.file.read
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/files/{parent_id}/commit_upload:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: parent_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/commit_upload_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/commit_upload_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/files/{parent_id}/create:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: parent_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_file_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
          delegated:
            - kso.file.readwrite
            - kso.mcp_yundoc.readwrite
            - kso.mcp_airpage.readwrite
  /v7/drives/{drive_id}/files/{parent_id}/create_multipart_upload_task:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
        - in: path
          name: parent_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_multipart_upload_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_multipart_upload_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.appfile.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/files/{parent_id}/rapid_upload:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
        - in: path
          name: parent_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/rapid_upload_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rapid_upload_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/files/{parent_id}/request_upload:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: parent_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_upload_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/request_upload_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/files/batch_copy:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_copy_files_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_copy_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/files/batch_delete:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/files/batch_download:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
        - in: query
          name: file_ids
          required: true
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_download_resp_body'
        default:
          $ref: '#/components/responses/error'
  /v7/drives/{drive_id}/files/batch_move:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_move_files_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_move_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
          delegated:
            - kso.file.readwrite
  /v7/drives/{drive_id}/meta:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_ext_attrs
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_drive_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.drive.readwrite
          delegated:
            - kso.drive.readwrite
  /v7/drives/{drive_id}/open_link:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/open_link_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/open_drive_link_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.drive.readwrite
          delegated:
            - kso.drive.readwrite
      x-tags:
        - public
  /v7/drives/{drive_id}/permissions/batch_create:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_create_drive_permission_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_create_drive_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_permission.readwrite
          delegated:
            - kso.file_permission.readwrite
      x-tags:
        - public
  /v7/drives/{drive_id}/permissions/batch_delete:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_drive_permission_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_drive_permissions_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_permission.readwrite
          delegated:
            - kso.file_permission.readwrite
      x-tags:
        - public
  /v7/drives/{drive_id}/roles:
    get:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_roles_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_permission.readwrite
          delegated:
            - kso.file_permission.readwrite
            - kso.mcp_yundoc.readwrite
  /v7/drives/{drive_id}/roles/{role_id}/delete:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: role_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_role_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_role_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_permission.readwrite
          delegated:
            - kso.file_permission.readwrite
  /v7/drives/{drive_id}/roles/{role_id}/update:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: role_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_role_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_role_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_permission.readwrite
          delegated:
            - kso.file_permission.readwrite
  /v7/drives/{drive_id}/roles/create:
    post:
      parameters:
        - in: path
          name: drive_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_role_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_role_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_permission.readwrite
          delegated:
            - kso.file_permission.readwrite
  /v7/drives/authorized:
    get:
      parameters:
        - in: query
          name: with_ext_attrs
          schema:
            type: boolean
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_authorized_drives_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.drive.readwrite
          delegated:
            - kso.drive.readwrite
  /v7/drives/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_drive_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_drive_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.drive.readwrite
          delegated:
            - kso.drive.readwrite
  /v7/ecisaccountsync/full/sync:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/account_full_sync_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/account_full_sync_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.accountsync.sync
  /v7/ecisaccountsync/increment/sync:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/account_increment_sync_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/account_increment_sync_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.accountsync.sync
  /v7/encrypted_docs/{guid}/access_rights:
    get:
      parameters:
        - in: path
          name: guid
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/encrypted_docs_access_rights_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.encrypted_docs_access_rights.read
  /v7/encrypted_docs/{guid}/access_rights/update:
    post:
      parameters:
        - in: path
          name: guid
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/encrypted_docs_access_rights_update_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/encrypted_docs_access_rights_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.encrypted_docs_access_rights.readwrite
  /v7/encrypted_docs/{guid}/user_access_rights:
    get:
      parameters:
        - in: path
          name: guid
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: operator_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/encrypted_docs_user_access_rights_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.encrypted_docs_access_rights.read
  /v7/encrypted_docs/decrypt:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/encrypted_docs_decrypt_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/encrypted_docs_decrypt_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.encrypted_docs.readwrite
  /v7/encrypted_docs/encrypt:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/encrypted_docs_encrypt_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/encrypted_docs_encrypt_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.encrypted_docs.readwrite
  /v7/encrypted_docs/info:
    get:
      parameters:
        - in: query
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/encrypted_docs_info_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.encrypted_docs.read
  /v7/encrypted_docs/tickets/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/encrypted_docs_tickets_create_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/encrypted_docs_tickets_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.encrypted_docs.readwrite
  /v7/encrypted_docs/tickets/decrypt:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/encrypted_docs_tickets_decrypt_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/encrypted_docs_tickets_decrypt_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.encrypted_docs.readwrite
  /v7/encrypted_docs/tickets/update:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/encrypted_docs_tickets_update_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/encrypted_docs_tickets_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.encrypted_docs.readwrite
  /v7/encrypted_docs/update:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/encrypted_docs_update_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/encrypted_docs_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.encrypted_docs.readwrite
  /v7/event/egress_ip:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_events_egress_ip_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.event_egress_ip.read
  /v7/file_classification_labels/{label_id}/attach:
    post:
      parameters:
        - in: path
          name: label_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/file_classification_labels_attach_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/file_classification_labels_attach_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_classification_labels.write
  /v7/file_classification_labels/{label_id}/check_attached:
    get:
      parameters:
        - in: path
          name: label_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: file_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/file_classification_labels_check_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_classification_labels.read
  /v7/file_classification_labels/{label_id}/detach:
    post:
      parameters:
        - in: path
          name: label_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/file_classification_labels_detach_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/file_classification_labels_detach_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_classification_labels.write
  /v7/file_classification_labels/approval_info:
    get:
      parameters:
        - in: query
          name: temp_auth_code
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/file_classification_label_approval_info_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_classification_labels.read
  /v7/file_classification_labels/batch_get:
    get:
      parameters:
        - in: query
          name: company_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: query
          name: file_ids
          required: true
          schema:
            items:
              maxLength: 1024
              minLength: 1
              type: string
            maxItems: 100
            minItems: 1
            type: array
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/file_classification_labels_batch_get_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_classification_labels.batch_read
  /v7/files/{file_id}/meta:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_permission
          schema:
            type: boolean
        - in: query
          name: with_ext_attrs
          schema:
            type: boolean
        - in: query
          name: with_drive
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_file_directly_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.file.read
          delegated:
            - kso.file.readwrite
            - kso.mcp_yundoc.readwrite
            - kso.mcp_airpage.readwrite
  /v7/files/{file_id}/permission_settings:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: keys
          required: true
          schema:
            items:
              $ref: '#/components/schemas/enum_permission_setting'
            maxItems: 10
            minItems: 1
            type: array
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_permission_settings_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_permission.readwrite
          delegated:
            - kso.file_permission.readwrite
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/post_permission_settings_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_permission_settings_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_permission.readwrite
          delegated:
            - kso.file_permission.readwrite
  /v7/files/{file_id}/permissions/approve:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/approve_file_permission_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/approve_file_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_permission.readwrite
          delegated:
            - kso.file_permission.readwrite
  /v7/files/ai_search/query_drive_status:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ai_search_query_drive_status_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ai_search_query_drive_status_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.search
          delegated:
            - kso.file_search.readwrite
  /v7/files/batch_get:
    get:
      parameters:
        - in: query
          name: file_ids
          required: true
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 50
            minItems: 1
            type: array
        - in: query
          name: with_permission
          schema:
            type: boolean
        - in: query
          name: with_ext_attrs
          schema:
            type: boolean
        - in: query
          name: with_drive
          schema:
            type: boolean
        - in: query
          name: mode
          schema:
            $ref: '#/components/schemas/batch_return_mode'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_get_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.file.read
          delegated:
            - kso.file.readwrite
  /v7/files/search:
    get:
      parameters:
        - in: query
          name: keyword
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: type
          required: true
          schema:
            $ref: '#/components/schemas/file_search_type'
        - in: query
          name: file_type
          schema:
            $ref: '#/components/schemas/enum_file_type'
        - in: query
          name: file_exts
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: drive_ids
          schema:
            items:
              maxLength: 1024
              type: string
              x-type: int64
            maxItems: 1024
            type: array
        - in: query
          name: parent_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: creator_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
          x-tags:
            - ex:user_id
        - in: query
          name: modifier_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
          x-tags:
            - public
        - in: query
          name: sharer_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
          x-tags:
            - public
        - in: query
          name: receiver_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
          x-tags:
            - public
        - in: query
          name: time_type
          schema:
            $ref: '#/components/schemas/time_type'
        - in: query
          name: start_time
          schema:
            format: int64
            type: integer
        - in: query
          name: end_time
          schema:
            format: int64
            type: integer
        - in: query
          name: with_permission
          schema:
            type: boolean
        - in: query
          name: with_link
          schema:
            type: boolean
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: channels
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: device_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: exclude_channels
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: exclude_file_exts
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: filter_user_id
          schema:
            format: int64
            type: integer
        - in: query
          name: file_ext_groups
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: with_folder
          schema:
            type: boolean
        - in: query
          name: with_drive
          schema:
            type: boolean
        - in: query
          name: order
          schema:
            $ref: '#/components/schemas/enum_order'
        - in: query
          name: order_by
          schema:
            $ref: '#/components/schemas/file_search_enum_order_by'
        - in: query
          name: scope
          schema:
            items:
              $ref: '#/components/schemas/file_search_enum_scope'
            maxItems: 1024
            type: array
          x-tags:
            - public
        - in: query
          name: search_operator_name
          schema:
            type: boolean
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/search_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.search
          delegated:
            - kso.file_search.readwrite
            - kso.mcp_yundoc.readwrite
            - kso.mcp_airpage.readwrite
  /v7/filetransfer/drives/update:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ft_drives_update_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_drives_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/fail_type/add:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ft_transfer_fail_type_custom_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_transfer_fail_type_custom_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/file/batch_delete:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ft_batch_delete_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_batch_delete_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/file/download:
    get:
      parameters:
        - in: query
          name: account_id
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
        - in: query
          name: account_type
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
        - in: query
          name: file_id
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
        - in: query
          name: internal
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_download_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/file/encrypt/jwks:
    post:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_encrypt_jwks_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/file/preview:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ft_file_preview_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_file_preview_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/file/status/update:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ft_status_update_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_status_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/file/upload:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ft_upload_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_upload_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/file/upload/commit:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ft_upload_commit_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_upload_commit_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/file/upload/from/cloud:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ft_file_from_cloud_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/file_from_cloud_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/file/upload/init:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ft_upload_init_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_upload_init_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/file/upload/sign:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ft_upload_sign_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_upload_sign_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/task/approval/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ft_transfer_approval_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_transfer_approval_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/task/commit:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ft_task_commit_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_task_commit_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/task/create:
    post:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_task_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/task/status/batch_update:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ft_status_batch_update_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_status_batch_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/transfer/percent:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ft_percent_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_percent_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/filetransfer/user/transfers:
    get:
      parameters:
        - in: query
          name: account_id
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
        - in: query
          name: account_type
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
        - in: query
          name: box
          required: true
          schema:
            maxLength: 32
            minLength: 1
            type: string
        - in: query
          name: status
          schema:
            format: int64
            type: integer
        - in: query
          name: task_id
          schema:
            maxLength: 32
            minLength: 1
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: parent_id
          schema:
            maxLength: 32
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ft_user_transfers_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.filetransfer.readwrite
  /v7/free_busy_list:
    get:
      parameters:
        - in: query
          name: start_time
          required: true
          schema:
            format: datetime
            maxLength: 1024
            type: string
        - in: query
          name: end_time
          required: true
          schema:
            format: datetime
            maxLength: 1024
            type: string
        - in: query
          name: user_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 50
            minItems: 1
            type: array
        - in: query
          name: room_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 50
            minItems: 1
            type: array
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_free_busy_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
          delegated:
            - kso.calendar_events.read
            - kso.calendar_events.readwrite
            - kso.mcp_calendar.readwrite
            - kso.mcp_scenario.readwrite
  /v7/get_workbench_favorite_apps:
    get:
      parameters:
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_workbench_favorite_apps_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.app.read
  /v7/groups:
    get:
      parameters:
        - in: query
          name: source
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: type
          schema:
            items:
              $ref: '#/components/schemas/group_type'
            maxItems: 5
            type: array
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            type: string
        - in: query
          name: status
          schema:
            items:
              $ref: '#/components/schemas/group_status'
            maxItems: 2
            type: array
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: dept_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 100
            type: array
        - in: query
          name: exclude_dept_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 100
            type: array
        - in: query
          name: user_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: joined
          schema:
            type: boolean
        - in: query
          name: user_role
          schema:
            items:
              $ref: '#/components/schemas/group_member_role'
            maxItems: 4
            type: array
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_groups_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
            - kso.group.read
          delegated:
            - kso.group.readwrite
            - kso.group.read
  /v7/groups/{group_id}:
    get:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: query
          name: with_member_total
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_group_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
            - kso.group.read
          delegated:
            - kso.group.readwrite
            - kso.group.read
  /v7/groups/{group_id}/check_in_group:
    get:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
            x-type: int64
        - in: query
          name: user_id
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/check_in_group_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.group.readwrite
            - kso.group.read
  /v7/groups/{group_id}/delete:
    post:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_group_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_group_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
          delegated:
            - kso.group.readwrite
  /v7/groups/{group_id}/members:
    get:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: roles
          schema:
            items:
              $ref: '#/components/schemas/group_member_role'
            maxItems: 4
            type: array
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: with_user_info
          schema:
            type: boolean
        - in: query
          name: with_dept_info
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_group_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
            - kso.group.read
          delegated:
            - kso.group.readwrite
            - kso.group.read
  /v7/groups/{group_id}/members/batch_create:
    post:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_create_group_member_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_create_group_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
          delegated:
            - kso.group.readwrite
  /v7/groups/{group_id}/members/batch_delete:
    post:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_group_member_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_group_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
          delegated:
            - kso.group.readwrite
  /v7/groups/{group_id}/members/batch_read:
    post:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_read_group_member_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_read_group_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
            - kso.group.read
          delegated:
            - kso.group.readwrite
            - kso.group.read
  /v7/groups/{group_id}/members/create:
    post:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_group_member_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_group_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
          delegated:
            - kso.group.readwrite
  /v7/groups/{group_id}/members/delete:
    post:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_group_member_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_group_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
          delegated:
            - kso.group.readwrite
  /v7/groups/{group_id}/members/read:
    get:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: query
          name: item_type
          schema:
            allOf:
              - $ref: '#/components/schemas/group_member_type'
            nullable: true
            type: object
        - in: query
          name: item_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_user_info
          schema:
            type: boolean
        - in: query
          name: with_dept_info
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_group_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
            - kso.group.read
          delegated:
            - kso.group.readwrite
            - kso.group.read
  /v7/groups/{group_id}/members/search:
    get:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: query
          name: keyword
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/search_group_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
            - kso.group.read
          delegated:
            - kso.group.readwrite
            - kso.group.read
  /v7/groups/{group_id}/members/update_role:
    post:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_group_member_role_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_group_member_role_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
          delegated:
            - kso.group.readwrite
  /v7/groups/{group_id}/restore:
    post:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restore_group_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
          delegated:
            - kso.group.readwrite
  /v7/groups/{group_id}/settings:
    get:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_group_settings_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
            - kso.group.read
          delegated:
            - kso.group.readwrite
            - kso.group.read
    post:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_group_settings_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_group_settings_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
          delegated:
            - kso.group.readwrite
  /v7/groups/{group_id}/update:
    post:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_group_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_group_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
          delegated:
            - kso.group.readwrite
  /v7/groups/{group_id}/update_owner:
    post:
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/group_update_owner_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_group_owner_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
          delegated:
            - kso.group.readwrite
  /v7/groups/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_group_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_group_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.group.readwrite
          delegated:
            - kso.group.readwrite
  /v7/groups/search:
    get:
      parameters:
        - in: query
          name: keyword
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: source
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/search_groups_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.group.readwrite
            - kso.group.read
  /v7/kdocs/templates/{template_id}/new_file:
    post:
      parameters:
        - in: path
          name: template_id
          required: true
          schema:
            maxLength: 1024
            type: string
            x-type: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/post_template_new_file_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_template_new_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.kdocs_template.readwrite
  /v7/links/{link_id}/meta:
    get:
      parameters:
        - in: path
          name: link_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_link_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_link.readwrite
          delegated:
            - kso.file_link.readwrite
  /v7/links/{link_id}/update:
    post:
      parameters:
        - in: path
          name: link_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_link_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_link_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_link.readwrite
          delegated:
            - kso.file_link.readwrite
  /v7/links/recv:
    get:
      parameters:
        - in: query
          name: with_permission
          schema:
            type: boolean
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: order_by
          schema:
            allOf:
              - $ref: '#/components/schemas/enum_order_by'
            nullable: true
            type: object
        - in: query
          name: order
          schema:
            allOf:
              - $ref: '#/components/schemas/enum_order'
            nullable: true
            type: object
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_recv_links_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_link.readwrite
          delegated:
            - kso.file_link.readwrite
  /v7/links/send:
    get:
      parameters:
        - in: query
          name: with_permission
          schema:
            type: boolean
        - in: query
          name: with_drive
          schema:
            type: boolean
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: order_by
          schema:
            allOf:
              - $ref: '#/components/schemas/enum_order_by'
            nullable: true
            type: object
        - in: query
          name: order
          schema:
            allOf:
              - $ref: '#/components/schemas/enum_order'
            nullable: true
            type: object
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_send_links_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_link.readwrite
          delegated:
            - kso.file_link.readwrite
  /v7/links/settings:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_link_settings_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file_link.readwrite
          delegated:
            - kso.file_link.readwrite
  /v7/longtask/aippt/gen_tpl_from_ppt:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/gen_tpl_from_ppt_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/longtask_gen_tpl_from_ppt_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aippt.readwrite
  /v7/low_code_app/app_instance/{app_instance_id}/members:
    post:
      parameters:
        - in: path
          name: app_instance_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/get_low_code_app_members_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_low_code_app_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.low_code_app.read
            - kso.low_code_app.readwrite
  /v7/low_code_app/app_instance/{app_instance_id}/table/{table_id}/fields:
    get:
      parameters:
        - in: path
          name: app_instance_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: table_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_low_code_app_table_fields_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.low_code_app.read
            - kso.low_code_app.readwrite
  /v7/low_code_app/app_instance/{app_instance_id}/table/{table_id}/records/{record_id}:
    get:
      parameters:
        - in: path
          name: app_instance_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: table_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: record_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/low_code_app_table_single_record_search_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.low_code_app.read
            - kso.low_code_app.readwrite
  /v7/low_code_app/app_instance/{app_instance_id}/table/{table_id}/records/{record_id}/delete:
    post:
      parameters:
        - in: path
          name: app_instance_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: table_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: record_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/low_code_app_table_record_delete_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.low_code_app.readwrite
  /v7/low_code_app/app_instance/{app_instance_id}/table/{table_id}/records/{record_id}/update:
    post:
      parameters:
        - in: path
          name: app_instance_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: table_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: record_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/low_code_update_record_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/low_code_app_table_record_update_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.low_code_app.readwrite
  /v7/low_code_app/app_instance/{app_instance_id}/table/{table_id}/records/create:
    post:
      parameters:
        - in: path
          name: app_instance_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: table_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/low_code_app_create_record_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/low_code_app_table_record_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.low_code_app.readwrite
  /v7/low_code_app/app_instance/{app_instance_id}/table/{table_id}/records/search:
    post:
      parameters:
        - in: path
          name: app_instance_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: table_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/low_code_app_table_records_search_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/low_code_app_table_records_search_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.low_code_app.read
            - kso.low_code_app.readwrite
  /v7/low_code_app/app_instance/{app_instance_id}/tables:
    post:
      parameters:
        - in: path
          name: app_instance_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/get_low_code_app_tables_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_low_code_app_tables_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.low_code_app.read
            - kso.low_code_app.readwrite
  /v7/mail_archive/{archive_id}/download:
    get:
      parameters:
        - in: path
          name: archive_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/mail_archive_download_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_archive.read
            - kso.mail_archive.readwrite
  /v7/mail_archive/search:
    get:
      parameters:
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: from_archive_time
          schema:
            format: int64
            type: integer
        - in: query
          name: to_archive_time
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/mail_archive_list_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_archive.read
            - kso.mail_archive.readwrite
  /v7/mail_contacts:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: contact_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 50
            type: array
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_mail_contacts_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_contact.readwrite
            - kso.mail_contact.read
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_mail_contact_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_mail_contact_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_contact.readwrite
  /v7/mail_contacts/{id}/delete:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_mail_contact_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_contact.readwrite
  /v7/mail_contacts/{id}/members:
    get:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_public_mail_contacts_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_contact.readwrite
            - kso.mail_contact.read
  /v7/mail_contacts/{id}/members/batch_create:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_create_mail_contact_member_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_create_mail_contact_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_contact.readwrite
  /v7/mail_contacts/{id}/members/batch_delete:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_mail_contact_member_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_mail_contact_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_contact.readwrite
  /v7/mail_contacts/{id}/update:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_mail_contact_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_mail_contact_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_contact.readwrite
  /v7/mail_contacts/batch_create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_create_mail_contact_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_create_mail_contact_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_contact.readwrite
  /v7/mail_contacts/batch_delete:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_mail_contact_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_mail_contact_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_contact.readwrite
  /v7/mail_contacts/batch_update:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_update_mail_contact_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_update_mail_contact_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_contact.readwrite
  /v7/mail_groups:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_mail_group_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_mail_group_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_group.readwrite
  /v7/mail_groups/{mail_group_id}:
    get:
      parameters:
        - in: path
          name: mail_group_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_mail_group_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_group.readwrite
            - kso.mail_group.read
  /v7/mail_groups/{mail_group_id}/accepted_senders/batch_update:
    post:
      parameters:
        - in: path
          name: mail_group_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_update_mail_group_accepted_senders_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_update_mail_group_accepted_senders_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_group.readwrite
  /v7/mail_groups/{mail_group_id}/members/batch_update:
    post:
      parameters:
        - in: path
          name: mail_group_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_update_mail_group_members_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_update_mail_group_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_group.readwrite
  /v7/mail_groups/{mail_group_id}/update:
    post:
      parameters:
        - in: path
          name: mail_group_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_mail_group_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_mail_group_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_group.readwrite
  /v7/mail_groups/batch_delete:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_mail_groups_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_mail_groups_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_group.readwrite
  /v7/mail_groups/search:
    get:
      parameters:
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 50
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: owner_address
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/search_mail_groups_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_group.readwrite
            - kso.mail_group.read
  /v7/mail_messages/search:
    get:
      parameters:
        - in: query
          name: mailbox_ids
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: start_time
          schema:
            format: int64
            minimum: 1
            type: integer
        - in: query
          name: end_time
          schema:
            format: int64
            minimum: 2
            type: integer
        - in: query
          name: folders
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: exclude_folder_names
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: filter
          schema:
            items:
              $ref: '#/components/schemas/search_filter'
            maxItems: 1024
            type: array
        - in: query
          name: has_attachment
          schema:
            type: boolean
        - in: query
          name: category_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: from
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: to
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: subject
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: body
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: attachment
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: keyword
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 10
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: priority
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/advance_search_mail_messages_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.mail.readwrite
            - kso.mail.read
  /v7/mail_migrations/{migration_id}/tasks:
    get:
      parameters:
        - in: path
          name: migration_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: state
          schema:
            $ref: '#/components/schemas/enum_mail_migration_state'
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/mail_migration_list_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_migration.readwrite
            - kso.mail_migration.read
    post:
      parameters:
        - in: path
          name: migration_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/mail_migration_add_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/mail_migration_add_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_migration.readwrite
  /v7/mail_migrations/{migration_id}/tasks/{task_id}/start:
    post:
      parameters:
        - in: path
          name: migration_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/mail_migration_start_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/mail_migration_start_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_migration.readwrite
  /v7/mail_tasks/{task_id}:
    get:
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: type
          required: true
          schema:
            $ref: '#/components/schemas/enum_mail_task_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_mail_task_info_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.mail_contact.readwrite
            - kso.mail_contact.read
  /v7/mailboxes:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            default: 100
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_mailboxes_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.mailbox.read
  /v7/mailboxes/{mailbox_id}:
    get:
      parameters:
        - in: path
          name: mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_mailbox_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.mailbox.read
  /v7/mailboxes/{mailbox_id}/folders:
    get:
      parameters:
        - in: path
          name: mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            default: 10
            format: int64
            maximum: 50
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_mail_folders_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.mailbox.read
  /v7/mailboxes/{mailbox_id}/folders/{folder_id}/children:
    get:
      parameters:
        - in: path
          name: mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: folder_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            default: 50
            format: int64
            maximum: 50
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_mail_folder_children_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.mailbox.read
  /v7/mailboxes/{mailbox_id}/folders/{folder_id}/messages:
    get:
      parameters:
        - in: path
          name: mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: folder_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: start_time
          schema:
            format: int64
            minimum: 1
            type: integer
        - in: query
          name: end_time
          schema:
            format: int64
            minimum: 2
            type: integer
        - in: query
          name: filter
          schema:
            items:
              $ref: '#/components/schemas/search_filter'
            maxItems: 1024
            type: array
        - in: query
          name: page_size
          required: true
          schema:
            default: 10
            format: int64
            maximum: 10
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: thread_id
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_mail_messages_in_folder_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.mail.readwrite
            - kso.mail.read
  /v7/mailboxes/{mailbox_id}/folders/{folder_id}/messages/{message_id}:
    get:
      parameters:
        - in: path
          name: mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: folder_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: message_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_ocr_body
          schema:
            type: boolean
        - in: query
          name: with_importance_flag
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_mail_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.mail.readwrite
            - kso.mail.read
  /v7/mailboxes/{mailbox_id}/folders/{folder_id}/messages/import:
    post:
      parameters:
        - in: path
          name: mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: folder_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/import_mail_message_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/import_mail_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.mail.readwrite
  /v7/mailboxes/{mailbox_id}/members:
    get:
      parameters:
        - in: path
          name: mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 50
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_mailbox_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.mailbox.read
  /v7/mailboxes/{mailbox_id}/messages/{message_id}/send:
    post:
      parameters:
        - in: path
          name: mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: message_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/send_mail_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.mail.readwrite
  /v7/mailboxes/{mailbox_id}/messages/create:
    post:
      parameters:
        - in: path
          name: mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_mail_draft_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_mail_draft_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.mail.readwrite
  /v7/mailboxes/search:
    get:
      parameters:
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 50
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: owner_address
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/search_mailboxes_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.mailbox.read
  /v7/meeting_reserves/{meeting_reserve_id}:
    get:
      parameters:
        - in: path
          name: meeting_reserve_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_meeting_reserve_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_reserve.read
            - kso.meeting_reserve.readwrite
          delegated:
            - kso.meeting_reserve.read
            - kso.meeting_reserve.readwrite
  /v7/meeting_reserves/{meeting_reserve_id}/delete:
    post:
      parameters:
        - in: path
          name: meeting_reserve_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_meeting_reserve_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_reserve.readwrite
          delegated:
            - kso.meeting_reserve.readwrite
  /v7/meeting_reserves/{meeting_reserve_id}/get_active_meeting:
    get:
      parameters:
        - in: path
          name: meeting_reserve_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_active_meeting_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_reserve.read
            - kso.meeting_reserve.read
          delegated:
            - kso.meeting_reserve.read
            - kso.meeting_reserve.read
  /v7/meeting_reserves/{meeting_reserve_id}/update:
    post:
      parameters:
        - in: path
          name: meeting_reserve_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_meeting_reserve_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_meeting_reserve_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_reserve.readwrite
          delegated:
            - kso.meeting_reserve.readwrite
  /v7/meeting_reserves/create:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_meeting_reserve_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_meeting_reserve_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_reserve.readwrite
          delegated:
            - kso.meeting_reserve.readwrite
  /v7/meeting_room_banned_users:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int
            maximum: 50
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_meeting_room_banned_users_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.read
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_banned_users/create:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_meeting_room_banned_user_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_meeting_room_banned_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_banned_users/delete:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_meeting_room_banned_user_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_meeting_room_banned_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_bookings/{booking_id}/update_status:
    post:
      parameters:
        - in: path
          name: booking_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_meeting_room_booking_status_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_meeting_room_booking_status_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_bookings/batch_get:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_get_meeting_room_bookings_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_get_meeting_room_bookings_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.read
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_bookings/form_submissions/batch_get:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_get_meeting_room_booking_form_responses_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_get_meeting_room_booking_form_responses_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.read
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_levels:
    get:
      parameters:
        - in: query
          name: room_level_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            format: int
            maximum: 50
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_meeting_room_levels_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.read
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_levels/{room_level_id}:
    get:
      parameters:
        - in: path
          name: room_level_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_meeting_room_level_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.read
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_levels/{room_level_id}/delete:
    post:
      parameters:
        - in: path
          name: room_level_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_meeting_room_level_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_levels/{room_level_id}/update:
    post:
      parameters:
        - in: path
          name: room_level_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_meeting_room_level_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_meeting_room_level_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_levels/batch_get:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_get_meeting_room_levels_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_get_meeting_room_levels_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.read
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_levels/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_meeting_room_level_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_meeting_room_level_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_privileged_users:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int
            maximum: 50
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_meeting_room_privileged_users_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.read
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_privileged_users/create:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_meeting_room_privileged_user_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_meeting_room_privileged_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_privileged_users/delete:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_meeting_room_privileged_user_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_meeting_room_privileged_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_settings/{room_id}/update:
    post:
      parameters:
        - in: path
          name: room_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_meeting_room_setting_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_meeting_room_setting_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_settings/batch_get:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_get_meeting_room_setting_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_get_meeting_room_setting_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.read
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_tags:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_meeting_room_tags_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.read
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_tags/{tag_id}/delete:
    post:
      parameters:
        - in: path
          name: tag_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_meeting_room_tag_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_tags/{tag_id}/update:
    post:
      parameters:
        - in: path
          name: tag_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_meeting_room_tag_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_meeting_room_tag_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_room_tags/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_meeting_room_tag_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_meeting_room_tag_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_rooms:
    get:
      parameters:
        - in: query
          name: room_level_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            format: int
            maximum: 50
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_meeting_rooms_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.read
            - kso.meeting_rooms.readwrite
  /v7/meeting_rooms/{room_id}:
    get:
      parameters:
        - in: path
          name: room_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_meeting_room_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.read
            - kso.meeting_rooms.readwrite
  /v7/meeting_rooms/{room_id}/delete:
    post:
      parameters:
        - in: path
          name: room_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_meeting_room_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_rooms/{room_id}/disable:
    get:
      parameters:
        - in: path
          name: room_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_meeting_room_disable_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.read
            - kso.meeting_rooms.readwrite
    post:
      parameters:
        - in: path
          name: room_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/meeting_disable_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/set_meeting_room_disable_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_rooms/{room_id}/release:
    post:
      parameters:
        - in: path
          name: room_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/release_meeting_room_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/release_meeting_room_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_rooms/{room_id}/update:
    post:
      parameters:
        - in: path
          name: room_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_meeting_room_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_meeting_room_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_rooms/batch_get:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_get_meeting_rooms_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_get_meeting_rooms_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.read
            - kso.meeting_rooms.readwrite
  /v7/meeting_rooms/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_meeting_room_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_meeting_room_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.readwrite
  /v7/meeting_rooms/search:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/search_meeting_rooms_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/search_meeting_rooms_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_rooms.read
            - kso.meeting_rooms.readwrite
  /v7/meetings:
    get:
      parameters:
        - in: query
          name: join_code
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: start_time
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: end_time
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            format: int
            maximum: 50
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_meetings_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting.read
            - kso.meeting.readwrite
          delegated:
            - kso.meeting.read
            - kso.meeting.readwrite
            - kso.mcp_meeting.readwrite
            - kso.mcp_scenario.readwrite
  /v7/meetings/{meeting_id}:
    get:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_meeting_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting.read
            - kso.meeting.readwrite
          delegated:
            - kso.meeting.read
            - kso.meeting.readwrite
            - kso.mcp_meeting.readwrite
            - kso.mcp_scenario.readwrite
  /v7/meetings/{meeting_id}/end:
    post:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/end_meeting_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.meeting.readwrite
  /v7/meetings/{meeting_id}/minutes:
    get:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/meeting_get_minutes_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_minutes.read
            - kso.meeting_minutes.readwrite
          delegated:
            - kso.meeting_minutes.read
            - kso.mcp_meeting.readwrite
            - kso.mcp_scenario.readwrite
  /v7/meetings/{meeting_id}/minutes/{minute_id}/summary:
    get:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: minute_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_minute_summary_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_minutes_content.read
          delegated:
            - kso.meeting_minutes_content.read
            - kso.mcp_meeting.readwrite
            - kso.mcp_scenario.readwrite
  /v7/meetings/{meeting_id}/minutes/{minute_id}/transcript:
    get:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: minute_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_minute_transcript_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_minutes_content.read
          delegated:
            - kso.meeting_minutes_content.read
            - kso.mcp_meeting.readwrite
  /v7/meetings/{meeting_id}/participants:
    get:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            format: int
            maximum: 100
            type: integer
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/meeting_get_participants_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting.read
            - kso.meeting.readwrite
          delegated:
            - kso.meeting.read
            - kso.meeting.readwrite
            - kso.mcp_meeting.readwrite
  /v7/meetings/{meeting_id}/participants/invite:
    post:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/meeting_invite_participants_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/meeting_invite_participants_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.meeting.readwrite
  /v7/meetings/{meeting_id}/participants/remove:
    post:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/meeting_remove_participants_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/meeting_remove_participants_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting.readwrite
  /v7/meetings/{meeting_id}/recordings:
    get:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/meeting_get_recordings_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_recording.read
          delegated:
            - kso.meeting_recording.read
            - kso.meeting_recording.readwrite
  /v7/meetings/{meeting_id}/recordings/{recording_id}/chapters:
    get:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: recording_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_recording_chapters_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_recording_content.read
          delegated:
            - kso.meeting_recording_content.read
  /v7/meetings/{meeting_id}/recordings/{recording_id}/media:
    get:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: recording_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_recording_media_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_recording.read
          delegated:
            - kso.meeting_recording.read
            - kso.meeting_recording.readwrite
  /v7/meetings/{meeting_id}/recordings/{recording_id}/share:
    post:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: recording_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/meeting_share_recording_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/meeting_share_recording_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.meeting_recording.readwrite
  /v7/meetings/{meeting_id}/recordings/{recording_id}/summary:
    get:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: recording_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_recording_summary_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_recording_content.read
          delegated:
            - kso.meeting_recording_content.read
  /v7/meetings/{meeting_id}/recordings/{recording_id}/transcript:
    get:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: recording_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_recording_transcript_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_recording_content.read
          delegated:
            - kso.meeting_recording_content.read
  /v7/meetings/{meeting_id}/recordings/start:
    post:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/meeting_start_recording_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.meeting_recording.readwrite
  /v7/meetings/{meeting_id}/recordings/stop:
    post:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/meeting_stop_recording_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.meeting_recording.readwrite
  /v7/meetings/{meeting_id}/set_host:
    post:
      parameters:
        - in: path
          name: meeting_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/meeting_set_host_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/meeting_set_host_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting.readwrite
          delegated:
            - kso.meeting.readwrite
  /v7/messages/{message_id}/recall:
    post:
      parameters:
        - in: path
          name: message_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/recall_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message.readwrite
            - kso.mcp_message.readwrite
  /v7/messages/{message_id}/update:
    post:
      parameters:
        - in: path
          name: message_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_message_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_chat_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message.readwrite
            - kso.mcp_message.readwrite
  /v7/messages/batch_create:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_create_message_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_create_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message.readwrite
            - kso.mcp_message.readwrite
  /v7/messages/create:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_message_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message.readwrite
            - kso.mcp_message.readwrite
  /v7/messages/get_message_ids:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/get_message_ids_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_message_ids_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message.readwrite
            - kso.chat_message.read
  /v7/minutes/{minute_id}:
    get:
      parameters:
        - in: path
          name: minute_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_content
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_minute_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_minutes.read
            - kso.meeting_minutes.readwrite
  /v7/minutes/{minute_id}/delete:
    post:
      parameters:
        - in: path
          name: minute_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_minute_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_minutes.readwrite
  /v7/minutes/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_minute_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_minute_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.meeting_minutes.readwrite
  /v7/multipart_upload_tasks/{upload_id}/abort:
    post:
      parameters:
        - in: path
          name: upload_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/abort_multipart_upload_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.appfile.readwrite
          delegated:
            - kso.file.readwrite
  /v7/multipart_upload_tasks/{upload_id}/commit:
    post:
      parameters:
        - in: path
          name: upload_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/commit_multipart_upload_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/commit_multipart_upload_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.file.readwrite
            - kso.appfile.readwrite
          delegated:
            - kso.file.readwrite
  /v7/oauth2/qrcode_auth_code:
    get:
      parameters:
        - in: query
          name: login_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: client_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: redirect_uri
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: scope
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: state
          schema:
            maxLength: 1024
            type: string
      responses:
        "302":
          headers:
            Location:
              required: true
              schema:
                maxLength: 1024
                type: string
            Pragma:
              required: true
              schema:
                maxLength: 1024
                type: string
            Set-Cookie:
              required: true
              schema:
                maxLength: 1024
                type: string
        default:
          $ref: '#/components/responses/error'
  /v7/opendocs/files/{file_id}/edit/link:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
        - in: query
          name: type
          required: true
          schema:
            maxLength: 10
            minLength: 1
            type: string
          x-escape: false
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/opendocs_files_edit_get_file_link_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.opendocs_files_edit.readwrite
  /v7/opendocs/files/{file_id}/preview/link:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
        - in: query
          name: type
          required: true
          schema:
            maxLength: 10
            type: string
          x-escape: false
        - in: query
          name: preview_mode
          schema:
            maxLength: 30
            type: string
          x-escape: false
        - in: query
          name: wpsPreview
          schema:
            maxLength: 30
            type: string
          x-escape: false
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/opendocs_files_preview_get_file_link_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.opendocs_files_preview.readwrite
  /v7/org_dimensions:
    get:
      parameters:
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 20
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: with_visibility
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_org_dimensions_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact_org_dimension.readwrite
  /v7/org_dimensions/{org_dimension_id}/delete:
    post:
      parameters:
        - in: path
          name: org_dimension_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_org_dimension_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact_org_dimension.readwrite
  /v7/org_dimensions/{org_dimension_id}/depts/{dept_id}/children:
    post:
      parameters:
        - in: path
          name: org_dimension_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_org_dimension_dept_children_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact_org_dimension.readwrite
  /v7/org_dimensions/{org_dimension_id}/depts/{dept_id}/delete:
    post:
      parameters:
        - in: path
          name: org_dimension_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_org_dimension_dept_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact_org_dimension.readwrite
  /v7/org_dimensions/{org_dimension_id}/depts/{dept_id}/members/batch_create:
    post:
      parameters:
        - in: path
          name: org_dimension_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_add_org_dimension_dept_members_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_add_org_dimension_dept_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact_org_dimension.readwrite
  /v7/org_dimensions/{org_dimension_id}/depts/{dept_id}/members/batch_delete:
    post:
      parameters:
        - in: path
          name: org_dimension_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_org_dimension_dept_members_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_org_dimension_dept_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact_org_dimension.readwrite
  /v7/org_dimensions/{org_dimension_id}/depts/{dept_id}/update:
    post:
      parameters:
        - in: path
          name: org_dimension_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_org_dimension_dept_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_org_dimension_dept_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact_org_dimension.readwrite
  /v7/org_dimensions/{org_dimension_id}/depts/{parent_id}:
    post:
      parameters:
        - in: path
          name: org_dimension_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: parent_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_org_dimension_dept_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_org_dimension_dept_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact_org_dimension.readwrite
  /v7/org_dimensions/{org_dimension_id}/members/{user_id}/update:
    post:
      parameters:
        - in: path
          name: org_dimension_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_org_dimension_member_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_org_dimension_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact_org_dimension.readwrite
  /v7/org_dimensions/{org_dimension_id}/members/batch_read:
    post:
      parameters:
        - in: path
          name: org_dimension_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/get_org_dimension_members_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_org_dimension_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact_org_dimension.readwrite
  /v7/org_dimensions/{org_dimension_id}/update:
    post:
      parameters:
        - in: path
          name: org_dimension_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_org_dimension_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_org_dimension_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact_org_dimension.readwrite
  /v7/org_dimensions/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_org_dimension_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_org_dimension_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact_org_dimension.readwrite
  /v7/partners:
    get:
      parameters:
        - in: query
          name: source
          schema:
            items:
              $ref: '#/components/schemas/partner_source'
            maxItems: 1024
            type: array
          x-tags:
            - public
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_partners_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
          delegated:
            - kso.contact_partner.read
  /v7/partners/{partner_id}/depts/{dept_id}/children:
    get:
      parameters:
        - in: path
          name: partner_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:dept_id
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_partner_depts_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
          delegated:
            - kso.contact_partner.read
  /v7/partners/{partner_id}/depts/{dept_id}/members:
    get:
      parameters:
        - in: path
          name: partner_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: path
          name: dept_id
          required: true
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:dept_id
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_partner_dept_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
          delegated:
            - kso.contact_partner.read
  /v7/partners/by_partner_company_ids:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_read_partners_by_partner_company_ids_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_read_partners_by_partner_company_ids_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/privilege_functions/create_task:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_privilege_function_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_privilege_function_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.privilege_functions_task.readwrite
          delegated:
            - kso.privilege_functions_task.readwrite
  /v7/privilege_functions/query_task:
    get:
      parameters:
        - in: query
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/query_privilege_function_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.privilege_functions_task.readwrite
            - kso.privilege_functions_task.read
          delegated:
            - kso.privilege_functions_task.readwrite
            - kso.privilege_functions_task.read
  /v7/privileges:
    get:
      parameters:
        - in: query
          name: user_id
          required: true
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: query
          name: privilege_ids
          required: true
          schema:
            maxLength: 4096
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_privileges_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.privilege.read
  /v7/public_mailboxes:
    get:
      parameters:
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_public_mailboxes_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.public_mailbox.read
            - kso.public_mailbox.readwrite
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_public_mailbox_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_public_mailbox_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.public_mailbox.readwrite
  /v7/public_mailboxes/{public_mailbox_id}:
    get:
      parameters:
        - in: path
          name: public_mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_public_mailbox_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.public_mailbox.read
            - kso.public_mailbox.readwrite
  /v7/public_mailboxes/{public_mailbox_id}/aliases:
    get:
      parameters:
        - in: path
          name: public_mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_public_mailbox_aliases_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.public_mailbox.read
            - kso.public_mailbox.readwrite
    post:
      parameters:
        - in: path
          name: public_mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_public_mailbox_alias_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_public_mailbox_alias_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.public_mailbox.readwrite
  /v7/public_mailboxes/{public_mailbox_id}/delete:
    post:
      parameters:
        - in: path
          name: public_mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_public_mailbox_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.public_mailbox.readwrite
  /v7/public_mailboxes/{public_mailbox_id}/delete_alias:
    post:
      parameters:
        - in: path
          name: public_mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_public_mailbox_alias_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_public_mailbox_alias_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.public_mailbox.readwrite
  /v7/public_mailboxes/{public_mailbox_id}/members:
    get:
      parameters:
        - in: path
          name: public_mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_public_mailbox_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.public_mailbox.read
            - kso.public_mailbox.readwrite
  /v7/public_mailboxes/{public_mailbox_id}/members/{member_id}:
    get:
      parameters:
        - in: path
          name: public_mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: member_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_public_mailbox_member_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.public_mailbox.read
            - kso.public_mailbox.readwrite
  /v7/public_mailboxes/{public_mailbox_id}/members/batch_create:
    post:
      parameters:
        - in: path
          name: public_mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_add_public_mailbox_members_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_add_public_mailbox_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.public_mailbox.readwrite
  /v7/public_mailboxes/{public_mailbox_id}/members/batch_delete:
    post:
      parameters:
        - in: path
          name: public_mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_public_mailbox_members_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_public_mailbox_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.public_mailbox.readwrite
  /v7/public_mailboxes/{public_mailbox_id}/update:
    post:
      parameters:
        - in: path
          name: public_mailbox_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_public_mailbox_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_public_mailbox_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.public_mailbox.readwrite
  /v7/remove_workbench_favorite_app:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/remove_workbench_favorite_app_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/remove_workbench_favorite_app_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.app.readwrite
  /v7/scanrules/delete:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/scanrules_delete_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/scanrules_delete_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.scanrule.write
  /v7/scanrules/save:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/scanrules_save_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/scanrules_save_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.scanrule.write
  /v7/scanrules/search:
    get:
      parameters:
        - in: query
          name: namespace
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: name
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: limit
          schema:
            format: int64
            type: integer
        - in: query
          name: offset
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/scanrules_search_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.scanrule.read
  /v7/scantasks/sync:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/scantasks_sync_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/scantasks_sync_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.scantask.write
  /v7/second_deleted_files/{file_id}/delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_second_deleted_files_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_second_deleted_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.deleted_file.readwrite
          delegated:
            - kso.deleted_file.readwrite
  /v7/second_deleted_files/batch_delete:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_deleted_file_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_second_deleted_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.deleted_file.readwrite
          delegated:
            - kso.deleted_file.readwrite
  /v7/service_principals/current:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_current_service_principal_resp_body'
        default:
          $ref: '#/components/responses/error'
      x-regions:
        - cn
        - ap
        - eur
  /v7/sheets/{file_id}/protection_ranges:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_create_protection_ranges_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_create_protection_range_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/protection_ranges/batch_delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_delete_protection_ranges_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_delete_protection_range_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/protection_ranges/batch_update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_update_protection_ranges_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_update_protection_range_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/users/{user_id}/regional_permission:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_get_regional_permission_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
            - kso.sheets.read
          delegated:
            - kso.sheets.readwrite
            - kso.sheets.read
  /v7/sheets/{file_id}/worksheets:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_get_worksheets_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
            - kso.sheets.read
          delegated:
            - kso.sheets.readwrite
            - kso.sheets.read
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_create_work_sheet_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_create_worksheet_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/copy:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_copy_work_sheet_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_copy_worksheet_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/data_validations:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: col_from
          required: true
          schema:
            format: int32
            type: integer
        - in: query
          name: col_to
          required: true
          schema:
            format: int32
            type: integer
        - in: query
          name: row_from
          required: true
          schema:
            format: int32
            type: integer
        - in: query
          name: row_to
          required: true
          schema:
            format: int32
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_get_data_validation_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
            - kso.sheets.read
          delegated:
            - kso.sheets.readwrite
            - kso.sheets.read
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_create_data_validation_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_create_data_validation_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/data_validations/batch_delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_delete_data_validation_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_delete_data_validation_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/data_validations/batch_update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_update_data_validation_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_update_data_validation_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/filters:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_get_filter_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_create_filter_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_create_filter_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/filters/delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_delete_filter_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/filters/update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_update_filter_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_update_filter_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/protection_ranges:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_get_protection_ranges_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
            - kso.sheets.read
          delegated:
            - kso.sheets.readwrite
            - kso.sheets.read
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/protection_ranges/update_auto_filter:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_update_protection_ranges_auto_filter_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_update_protection_range_auto_filter_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/range_data:
    get:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
        - in: query
          name: row_from
          required: true
          schema:
            format: int32
            type: integer
        - in: query
          name: row_to
          required: true
          schema:
            format: int32
            type: integer
        - in: query
          name: col_from
          required: true
          schema:
            format: int32
            type: integer
        - in: query
          name: col_to
          required: true
          schema:
            format: int32
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_get_range_data_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
            - kso.sheets.read
          delegated:
            - kso.sheets.readwrite
            - kso.sheets.read
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/range_data/batch_delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int32
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_delete_range_data_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_delete_range_data_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/range_data/batch_update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_update_range_data_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_update_range_data_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/range_data/find:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_find_cell_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_find_cell_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
            - kso.sheets.read
          delegated:
            - kso.sheets.readwrite
            - kso.sheets.read
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/rows:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_create_row_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_create_row_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/worksheets/{worksheet_id}/update:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: worksheet_id
          required: true
          schema:
            format: int64
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_update_work_sheet_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_update_worksheet_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/sheets/{file_id}/worksheets/batch_delete:
    post:
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sheets_delete_work_sheet_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sheets_delete_worksheet_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.sheets.readwrite
          delegated:
            - kso.sheets.readwrite
  /v7/space/quota/alloc:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/quota_alloc_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/quota_alloc_resp_body'
        default:
          $ref: '#/components/responses/error'
  /v7/space/quota/detail:
    get:
      parameters:
        - in: query
          name: allocate_to
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: allocate_type
          required: true
          schema:
            $ref: '#/components/schemas/allocate_type'
        - in: query
          name: part
          required: true
          schema:
            $ref: '#/components/schemas/allocate_part'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/quota_detail_resp_body'
        default:
          $ref: '#/components/responses/error'
  /v7/sse/aidocs/in_store/chunk:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aidocs_in_store_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/aidocs_in_store_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.aidocs.readwrite
  /v7/sse/aidocs/search/gpt:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aidocs_search_gpt_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/aidocs_search_gpt_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aidocs.readwrite
          delegated:
            - kso.aidocs.readwrite
  /v7/sse/aippt/ainotes:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ainotes_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/aippt_ainotes_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aippt.readwrite
  /v7/sse/aippt/export_pxf_from_file:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/export_file_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/export_pxf_from_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aippt.readwrite
  /v7/sse/aippt/export_pxf_from_text:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/text_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/export_pxf_from_text_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aippt.readwrite
  /v7/sse/aippt/export_pxf_from_theme:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/theme_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/export_pxf_from_theme_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aippt.readwrite
  /v7/sse/aippt/gen_slides_from_multipages:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/multipages_gen_slides_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/aippt_multipages_gen_slide_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aippt.readwrite
  /v7/sse/aippt/generate_slides_from_pxf_v2:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/gen_slides_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/sse_aippt_generate_slides_from_pxf_v2_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aippt.readwrite
  /v7/sse/aippt/html2pptx:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/html2pptx_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/aippt_html2pptx_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aippt.readwrite
  /v7/sse/aippt/outline/contents:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/gen_ppt_content_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/aippt_generate_ppt_content_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.aippt.readwrite
  /v7/sse/docqa/insight/chat:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/docqa_insight_chat_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/docqa_insight_chat_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.docqa.readwrite
            - kso.aidocs.readwrite
          delegated:
            - kso.docqa.readwrite
            - kso.aidocs.readwrite
  /v7/sse/generator/generate_slides:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/generate_slides_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/generate_slides_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.generator_slide.readwrite
  /v7/sse/wps365agent/chat_stream:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/agent_chat_stream_req_body'
      responses:
        "200":
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/wps_agent_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.agent.readwrite
  /v7/store/allocations:
    get:
      parameters:
        - in: query
          name: offset
          schema:
            format: int64
            type: integer
        - in: query
          name: limit
          schema:
            format: int64
            type: integer
        - in: query
          name: entitlement_key
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
        - in: query
          name: entity_id
          schema:
            maxLength: 128
            minLength: 1
            type: string
        - in: query
          name: entity_type
          schema:
            $ref: '#/components/schemas/enum_entity_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_allocations_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.store_allocation.readwrite.all
            - kso.store_allocation.readwrite.ownedby
            - kso.store_allocation.read.all
            - kso.store_allocation.read.ownedby
  /v7/store/allocations/batch_create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_create_allocations_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_create_allocations_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.store_allocation.readwrite.all
            - kso.store_allocation.readwrite.ownedby
  /v7/store/allocations/batch_delete:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_allocations_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_allocations_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.store_allocation.readwrite.all
            - kso.store_allocation.readwrite.ownedby
  /v7/store/entitlements:
    get:
      parameters:
        - in: query
          name: entity_id
          schema:
            maxLength: 128
            type: string
        - in: query
          name: entity_type
          schema:
            maxLength: 20
            type: string
        - in: query
          name: entity_name
          schema:
            maxLength: 100
            type: string
        - in: query
          name: crm_opp_id
          schema:
            maxLength: 100
            type: string
        - in: query
          name: partner_name
          schema:
            maxLength: 100
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_entitlements_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.store_allocation.readwrite.all
            - kso.store_allocation.readwrite.ownedby
            - kso.store_allocation.read.all
            - kso.store_allocation.read.ownedby
            - kso.store_entitlement.read.all
  /v7/store/orders:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: status
          schema:
            $ref: '#/components/schemas/store_order_state'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_store_orders_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.store_order.readwrite.all
            - kso.store_order.readwrite.ownedby
            - kso.store_order.read.all
            - kso.store_order.read.ownedby
  /v7/store/orders/{order_id}:
    get:
      parameters:
        - in: path
          name: order_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_store_order_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.store_order.readwrite.all
            - kso.store_order.readwrite.ownedby
            - kso.store_order.read.all
            - kso.store_order.read.ownedby
  /v7/store/orders/calculate_fee:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/calculate_store_order_fee_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/calculate_store_order_fee_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.store_order.read.ownedby
  /v7/store/orders/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_store_order_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_store_order_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.store_order.readwrite
  /v7/subscription/accounts:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_subscription_accounts_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.subscription_account.read
  /v7/subscription/accounts/{account_id}/published_contents:
    get:
      parameters:
        - in: path
          name: account_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: is_only_public
          schema:
            type: boolean
        - in: query
          name: order
          schema:
            $ref: '#/components/schemas/subscription_order_type'
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_subscription_published_contents_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.subscription_content.read
  /v7/subscription/accounts/{account_id}/storages/{store_key}:
    get:
      parameters:
        - in: path
          name: account_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: store_key
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_subscription_account_storage_download_link_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.subscription_account.read
  /v7/subscription/contents/{content_id}/storages/{store_key}:
    get:
      parameters:
        - in: path
          name: content_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: store_key
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: version
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_subscription_content_storage_download_link_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.subscription_content.read
  /v7/sync/chats:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sync_chat_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sync_chat_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_sync.readwrite
  /v7/sync/chats/{chat_id}/finish:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sync_chat_finish_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_sync.readwrite
  /v7/sync/chats/{chat_id}/members:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sync_chat_members_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sync_chat_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_sync.readwrite
  /v7/sync/chats/{chat_id}/messages/batch_create:
    post:
      parameters:
        - in: path
          name: chat_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sync_chat_messages_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sync_chats_messages_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.chat_message_sync.readwrite
  /v7/titles:
    get:
      parameters:
        - in: query
          name: dept_ids
          schema:
            items:
              maxLength: 1024
              minLength: 1
              type: string
            maxItems: 100
            minItems: 1
            type: array
        - in: query
          name: page_size
          required: true
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
        - in: query
          name: with_unassociated
          schema:
            type: boolean
        - in: query
          name: with_total
          schema:
            type: boolean
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_titles_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.title.readwrite
            - kso.title.read
  /v7/titles/by_name:
    get:
      parameters:
        - in: query
          name: title_name
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_title_by_name_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.title.read
  /v7/titles/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_title_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_title_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.title.readwrite
  /v7/todo/categories:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_todo_categories_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.task.readwrite
            - kso.task.read
  /v7/todo/categories/{category_id}/delete:
    post:
      parameters:
        - in: path
          name: category_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_todo_category_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.task.readwrite
  /v7/todo/categories/{category_id}/update:
    post:
      parameters:
        - in: path
          name: category_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_todo_category_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_todo_category_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.task.readwrite
  /v7/todo/categories/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_todo_category_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_todo_category_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.task.readwrite
  /v7/todo/personal_tasks:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_todo_personal_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_todo_personal_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.task.readwrite
            - kso.mcp_todo.readwrite
  /v7/todo/personal_tasks/{task_id}:
    get:
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_todo_personal_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.task.readwrite
            - kso.task.read
            - kso.mcp_todo.readwrite
  /v7/todo/personal_tasks/{task_id}/add_members:
    post:
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/add_personal_todo_task_members_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/add_personal_todo_task_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.task.readwrite
            - kso.task.read
            - kso.mcp_todo.readwrite
  /v7/todo/personal_tasks/{task_id}/remove_members:
    post:
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/remove_personal_todo_task_members_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/remove_personal_todo_task_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.task.readwrite
            - kso.task.read
            - kso.mcp_todo.readwrite
  /v7/todo/personal_tasks/{task_id}/update:
    post:
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_todo_personal_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_todo_personal_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.task.readwrite
            - kso.mcp_todo.readwrite
  /v7/todo/personal_tasks/{task_id}/update_status:
    post:
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_todo_personal_task_status_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_todo_personal_task_status_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.task.readwrite
            - kso.mcp_todo.readwrite
  /v7/todo/personal_tasks/batch_delete:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_todo_personal_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_todo_personal_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.task.readwrite
            - kso.mcp_todo.readwrite
  /v7/todo/personal_tasks/batch_get:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_get_todo_personal_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_get_personal_todo_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.task.readwrite
            - kso.task.read
            - kso.mcp_todo.readwrite
  /v7/todo/personal_tasks/batch_get_simple:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_get_todo_personal_task_simple_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_get_personal_todo_simple_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.task.readwrite
            - kso.task.read
            - kso.mcp_todo.readwrite
  /v7/todo/tasks:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_todo_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_todo_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.task.readwrite
  /v7/todo/tasks/{task_id}:
    get:
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_todo_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.task.readwrite
            - kso.task.read
  /v7/todo/tasks/{task_id}/remind:
    post:
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/remind_todo_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.task.readwrite
  /v7/todo/tasks/{task_id}/update:
    post:
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_todo_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_todo_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.task.readwrite
  /v7/todo/tasks/batch_create:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_create_todo_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_create_todo_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.task.readwrite
  /v7/todo/tasks/batch_delete:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_todo_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_toto_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.task.readwrite
  /v7/todo/tasks/batch_get:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_get_todo_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_get_todo_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.task.readwrite
  /v7/todo/tasks/batch_update:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_update_todo_task_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_update_todo_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.task.readwrite
  /v7/tracesource/manufacturer/{manufacturer}/conf:
    get:
      parameters:
        - in: path
          name: manufacturer
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/tracesource_manufacturer_conf_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.tracesource_object.read
  /v7/tracesource/policies:
    get:
      parameters:
        - in: query
          name: scene
          required: true
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            minItems: 1
            type: array
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/tracesource_policy_get_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.tracesource_policy.read
  /v7/tracesource_objects/{tracesource_object_id}/watermark_uuids:
    get:
      parameters:
        - in: path
          name: tracesource_object_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/tracesource_watermark_uuids_get_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.tracesource_object.read
  /v7/tracesource_objects/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/tracesource_objects_create_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/tracesource_objects_create_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.tracesource_object.create
  /v7/tracking/apps/{app_name}/datas:
    get:
      parameters:
        - in: path
          name: app_name
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: query
          name: start_time
          required: true
          schema:
            format: int64
            minimum: 1
            type: integer
        - in: query
          name: end_time
          required: true
          schema:
            format: int64
            minimum: 1
            type: integer
        - in: query
          name: offset
          required: true
          schema:
            format: int64
            minimum: 0
            type: integer
        - in: query
          name: limit
          required: true
          schema:
            format: int64
            maximum: 10000
            minimum: 1
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_tracking_data_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.tracking_data.read
  /v7/user_mailboxes/{user_id}:
    get:
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_mailbox_by_user_id_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.user_mailbox.readwrite
            - kso.user_mailbox.read
  /v7/user_mailboxes/{user_id}/aliases:
    get:
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_member_mailbox_aliases_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.user_mailbox.readwrite
            - kso.user_mailbox.read
    post:
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_user_mailbox_alias_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_member_mailbox_alias_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.user_mailbox.readwrite
  /v7/user_mailboxes/{user_id}/create:
    post:
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_user_mailbox_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_member_mailbox_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.user_mailbox.readwrite
  /v7/user_mailboxes/{user_id}/delete:
    post:
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_member_mailbox_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.user_mailbox.readwrite
  /v7/user_mailboxes/{user_id}/delete_alias:
    post:
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_user_mailbox_alias_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_member_mailbox_alias_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.user_mailbox.readwrite
  /v7/users:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            default: 10
            format: int64
            maximum: 50
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: query
          name: with_dept
          schema:
            type: boolean
        - in: query
          name: status
          required: true
          schema:
            items:
              $ref: '#/components/schemas/user_status'
            maxItems: 3
            minItems: 1
            type: array
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_users_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/users/{user_id}:
    get:
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:user_id
        - in: query
          name: with_dept
          schema:
            type: boolean
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/users/{user_id}/delete:
    post:
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/users/{user_id}/depts:
    get:
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_user_depts_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/users/{user_id}/recover:
    post:
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/recover_dimission_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/users/{user_id}/update:
    post:
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            maxLength: 128
            minLength: 1
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/user_update_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/users/batch_delete:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_delete_user_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_delete_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/users/batch_disable:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_disable_user_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_disable_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/users/batch_enable:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_enable_user_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_enable_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/users/batch_logout:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_logout_user_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_logout_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/users/batch_read:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_read_user_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_read_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
          delegated:
            - kso.contact.read
  /v7/users/batch_read_dimission_users:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_read_dimission_user_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_read_dimission_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.dimission_user.read
  /v7/users/batch_update_dept:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_update_user_dept_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_update_user_dept_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/users/batch_update_order:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_update_user_dept_order_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_update_user_dept_order_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/users/by_emails:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/list_users_by_emails_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_users_by_emails_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/users/by_ex_user_ids:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/list_users_by_ex_user_ids_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_users_by_ex_user_ids_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/users/by_phones:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/list_users_by_phones_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_users_by_phones_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/users/changes:
    get:
      parameters:
        - in: query
          name: last_change_time
          required: true
          schema:
            format: int64
            minimum: 0
            type: integer
        - in: query
          name: page_size
          schema:
            format: int64
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_user_changes_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/users/count:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_user_count_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
            - kso.contact.read
  /v7/users/create:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/user_create_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.contact.readwrite
  /v7/users/current:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_current_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.user_base.read
  /v7/users/current_id:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_user_current_id_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.user_current_id.read
  /v7/users/custom_attrs/batch_read:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_read_user_custom_attrs_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_read_user_custom_attrs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.user_custom_attr.readwrite
  /v7/users/custom_attrs/batch_update:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batch_update_user_custom_attrs_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batch_update_user_custom_attrs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.user_custom_attr.readwrite
  /v7/users/search:
    get:
      parameters:
        - in: query
          name: keyword
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: query
          name: status
          schema:
            items:
              $ref: '#/components/schemas/user_status'
            maxItems: 4
            type: array
        - in: query
          name: search_field
          schema:
            items:
              $ref: '#/components/schemas/search_user_field'
            maxItems: 4
            type: array
        - in: query
          name: search_source
          schema:
            items:
              $ref: '#/components/schemas/search_user_source'
            maxItems: 2
            type: array
        - in: query
          name: search_source_v2
          schema:
            items:
              allOf:
                - $ref: '#/components/schemas/user_scope_v2'
              nullable: true
              type: object
            maxItems: 2
            type: array
        - in: query
          name: user_type
          schema:
            items:
              allOf:
                - $ref: '#/components/schemas/user_type_v2'
              nullable: true
              type: object
            maxItems: 2
            type: array
        - in: query
          name: page_size
          required: true
          schema:
            default: 20
            format: int64
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 256
            minLength: 1
            type: string
        - in: query
          name: with_total
          schema:
            type: boolean
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/search_user_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.contact.read
  /v7/wiki/search:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/wiki_search_space_files_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_search_space_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/spaces:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_list_spaces_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/spaces/{space_id}/files/{file_id}/children:
    get:
      parameters:
        - in: path
          name: space_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: filter_exts
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: filter_type
          schema:
            allOf:
              - $ref: '#/components/schemas/enum_file_type'
            nullable: true
            type: object
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_list_space_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/spaces/{space_id}/files/{file_id}/meta:
    get:
      parameters:
        - in: path
          name: space_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_get_space_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/spaces/{space_id}/files/{file_id}/rename:
    post:
      parameters:
        - in: path
          name: space_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: file_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/wiki_rename_space_file_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_rename_space_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/spaces/{space_id}/files/{parent_id}/create:
    post:
      parameters:
        - in: path
          name: space_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: path
          name: parent_id
          required: true
          schema:
            maxLength: 1024
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/wiki_create_space_file_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_create_space_file_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/spaces/{space_id}/files/batch_copy:
    post:
      parameters:
        - in: path
          name: space_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/wiki_batch_move_space_files_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_batch_move_space_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/spaces/{space_id}/files/batch_move:
    post:
      parameters:
        - in: path
          name: space_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/wiki_batch_move_space_files_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_batch_move_space_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/spaces/{space_id}/files/move:
    post:
      parameters:
        - in: path
          name: space_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/wiki_move_space_file_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_batch_move_space_files_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/spaces/{space_id}/members:
    get:
      parameters:
        - in: path
          name: space_id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: roles
          schema:
            items:
              $ref: '#/components/schemas/space_member_role'
            maxItems: 4
            type: array
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_list_space_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/spaces/{space_id}/members/batch_create:
    post:
      parameters:
        - in: path
          name: space_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/wiki_batch_create_space_members_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_batch_create_space_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/spaces/{space_id}/members/batch_delete:
    post:
      parameters:
        - in: path
          name: space_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/wiki_batch_delete_space_members_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_batch_delete_space_members_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/spaces/{space_id}/meta:
    get:
      parameters:
        - in: path
          name: space_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_get_space_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/spaces/{space_id}/settings:
    post:
      parameters:
        - in: path
          name: space_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/wiki_update_space_setting_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_update_space_setting_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/spaces/create:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/wiki_create_space_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_create_space_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wiki/tasks/{task_id}:
    get:
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            maxLength: 1024
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wiki_get_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.wiki.readwrite
  /v7/wordlibs/delete:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/wordlibs_delete_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wordlibs_delete_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.wordlib.write
  /v7/wordlibs/save:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/wordlibs_save_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wordlibs_save_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.wordlib.write
  /v7/wordlibs/search:
    get:
      parameters:
        - in: query
          name: namespace
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: name
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: with_word_list
          schema:
            type: boolean
        - in: query
          name: limit
          schema:
            format: int64
            type: integer
        - in: query
          name: offset
          schema:
            format: int64
            type: integer
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wordlibs_search_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.wordlib.read
  /v7/workbench_blocks/{block_id}/update_content:
    post:
      parameters:
        - in: path
          name: block_id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_workbench_block_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_workbench_block_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workbench_block.readwrite
  /v7/workflow/approval_defines:
    get:
      parameters:
        - in: query
          name: offset
          required: true
          schema:
            format: int64
            minimum: 0
            type: integer
        - in: query
          name: limit
          required: true
          schema:
            format: int64
            maximum: 200
            minimum: 0
            type: integer
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_approval_defines_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_define.readwrite
            - kso.workflow_approval_define.read
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_approval_define_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_approval_define_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_define.readwrite
  /v7/workflow/approval_defines/{id}:
    get:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: operator
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_approval_define_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_define.readwrite
            - kso.workflow_approval_define.read
          delegated:
            - kso.workflow_approval_define.readwrite
            - kso.workflow_approval_define.read
  /v7/workflow/approval_defines/{id}/custom:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/custom_approval_define_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/custom_approval_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_define.readwrite
  /v7/workflow/approval_defines/{id}/delete:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/delete_approval_define_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete_approval_define_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_define.readwrite
  /v7/workflow/approval_defines/{id}/settings:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/approval_define_settings_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/approval_settings_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_define.readwrite
  /v7/workflow/approval_defines/{id}/update:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_approval_define_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_approval_define_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_define.readwrite
  /v7/workflow/approval_defines/{id}/visible:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_approval_define_visible_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_approval_define_visible_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_define.readwrite
  /v7/workflow/approval_defines/batch_get:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 50
            minimum: 10
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: group_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: user_id
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: query
          name: get_range_type
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: name
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_user_visible_approval_defines_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_define.read
            - kso.workflow_approval_define.readwrite
  /v7/workflow/approval_defines/user_manage:
    get:
      parameters:
        - in: query
          name: cursor
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: page
          required: true
          schema:
            format: int64
            maximum: 30
            minimum: 0
            type: integer
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_user_manage_approval_defines_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - delegated:
            - kso.workflow_approval_define.readwrite
            - kso.workflow_approval_define.read
  /v7/workflow/approval_instances:
    get:
      parameters:
        - in: query
          name: instance_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 1024
            type: array
        - in: query
          name: promoter
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_approval_instances_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_instance.read
            - kso.workflow_approval_instance.readwrite
          delegated:
            - kso.workflow_approval_instance.read
            - kso.workflow_approval_instance.readwrite
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_approval_instance_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_approval_instance_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_instance.readwrite
  /v7/workflow/approval_instances/{id}:
    get:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: user_id
          required: true
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_approval_instance_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_instance.read
            - kso.workflow_approval_instance.readwrite
          delegated:
            - kso.workflow_approval_instance.read
            - kso.workflow_approval_instance.readwrite
  /v7/workflow/approval_instances/{id}/comment:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/comment_approval_instance_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/comment_approval_instance_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_instance.readwrite
  /v7/workflow/approval_instances/{id}/revoke:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/revoke_approval_instance_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/revoke_approval_instance_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_instance.readwrite
  /v7/workflow/approval_instances/batch_get:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 50
            minimum: 10
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: approval_define_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: instance_status
          schema:
            $ref: '#/components/schemas/approval_instance_status'
        - in: query
          name: time_from
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: time_to
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: promoter
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_approval_instances_brief_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_instance.read
            - kso.workflow_approval_instance.readwrite
          delegated:
            - kso.workflow_approval_instance.read
            - kso.workflow_approval_instance.readwrite
  /v7/workflow/approval_instances/batch_get_cc:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 50
            minimum: 10
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: approval_define_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: instance_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: time_from
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: time_to
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: cc_user
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: query
          name: read_status
          schema:
            $ref: '#/components/schemas/approval_read_status'
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_approval_ccs_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_instance.read
            - kso.workflow_approval_instance.readwrite
  /v7/workflow/approval_instances/batch_get_timeline:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 50
            minimum: 10
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: approval_define_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: instance_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: time_from
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: time_to
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: operator
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: query
          name: type
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_approval_timelines_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_instance.read
            - kso.workflow_approval_instance.readwrite
  /v7/workflow/approval_instances/simulation:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/simulate_approval_instance_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/simulate_approval_instance_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_instance.readwrite
  /v7/workflow/approval_tasks/{id}/add_sign:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/approval_task_add_sign_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/add_sign_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_task.readwrite
  /v7/workflow/approval_tasks/{id}/approve:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/approval_task_approve_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/approve_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_task.readwrite
          delegated:
            - kso.workflow_approval_task.readwrite
  /v7/workflow/approval_tasks/{id}/reject:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/approval_task_reject_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/reject_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_task.readwrite
          delegated:
            - kso.workflow_approval_task.readwrite
  /v7/workflow/approval_tasks/{id}/rollback:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/approval_task_rollback_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rollback_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_task.readwrite
          delegated:
            - kso.workflow_approval_task.readwrite
  /v7/workflow/approval_tasks/{id}/transfer:
    post:
      parameters:
        - in: path
          name: id
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/approval_task_transfer_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/transfer_task_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_task.readwrite
          delegated:
            - kso.workflow_approval_task.readwrite
  /v7/workflow/approval_tasks/batch_get:
    get:
      parameters:
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 50
            minimum: 10
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: approval_define_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: instance_id
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: time_from
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: time_to
          schema:
            maxLength: 1024
            type: string
        - in: query
          name: user_id
          schema:
            maxLength: 1024
            type: string
          x-tags:
            - ex:user_id
        - in: query
          name: task_status
          schema:
            $ref: '#/components/schemas/approval_task_status'
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_approval_tasks_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_task.readwrite
  /v7/workflow/external_defines:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_external_define_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_external_approval_define_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_define.readwrite
  /v7/workflow/external_defines/{define_code}:
    get:
      parameters:
        - in: path
          name: define_code
          required: true
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_external_approval_define_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_define.read
            - kso.workflow_approval_define.readwrite
  /v7/workflow/external_instances:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_external_instance_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/create_external_instance_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_instance.readwrite
  /v7/workflow/external_instances/diff:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/diff_external_instance_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/diff_external_instance_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_instance.readwrite
  /v7/workflow/external_tasks:
    get:
      parameters:
        - in: query
          name: define_codes
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 20
            type: array
        - in: query
          name: instance_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 20
            type: array
        - in: query
          name: user_ids
          schema:
            items:
              maxLength: 1024
              type: string
            maxItems: 20
            type: array
          x-tags:
            - ex:user_id
        - in: query
          name: status
          schema:
            $ref: '#/components/schemas/external_instance_task_status'
        - in: query
          name: page_size
          schema:
            format: int64
            maximum: 50
            minimum: 10
            type: integer
        - in: query
          name: page_token
          schema:
            maxLength: 1024
            type: string
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list_external_task_status_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_task.readwrite
  /v7/workflow/message/send:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/workflow_message_send_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/send_approval_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_instance.readwrite
  /v7/workflow/message/update:
    post:
      parameters:
        - in: header
          name: X-Kso-Id-Type
          schema:
            $ref: '#/components/schemas/id_type'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/workflow_message_update_req_body'
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_approval_message_resp_body'
        default:
          $ref: '#/components/responses/error'
      security:
        - app:
            - kso.workflow_approval_instance.readwrite
