mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-23 02:28:45 +00:00
fix defaults in encrypted passport data
This commit is contained in:
parent
26fd5e51bf
commit
fb61a94c5e
@ -15,11 +15,11 @@ data class CommonPassport(
|
|||||||
@SerialName(dataField)
|
@SerialName(dataField)
|
||||||
override val data: EncryptedData,
|
override val data: EncryptedData,
|
||||||
@SerialName(frontSideField)
|
@SerialName(frontSideField)
|
||||||
override val frontSide: PassportFile?,
|
override val frontSide: PassportFile? = null,
|
||||||
@SerialName(selfieField)
|
@SerialName(selfieField)
|
||||||
override val selfie: PassportFile?,
|
override val selfie: PassportFile? = null,
|
||||||
@SerialName(translationField)
|
@SerialName(translationField)
|
||||||
override val translations: List<PassportFile>,
|
override val translations: List<PassportFile> = emptyList(),
|
||||||
@SerialName(hashField)
|
@SerialName(hashField)
|
||||||
@Serializable(Base64StringSerializer::class)
|
@Serializable(Base64StringSerializer::class)
|
||||||
override val hash: String
|
override val hash: String
|
||||||
@ -29,11 +29,11 @@ data class InternalPassport(
|
|||||||
@SerialName(dataField)
|
@SerialName(dataField)
|
||||||
override val data: EncryptedData,
|
override val data: EncryptedData,
|
||||||
@SerialName(frontSideField)
|
@SerialName(frontSideField)
|
||||||
override val frontSide: PassportFile?,
|
override val frontSide: PassportFile? = null,
|
||||||
@SerialName(selfieField)
|
@SerialName(selfieField)
|
||||||
override val selfie: PassportFile?,
|
override val selfie: PassportFile? = null,
|
||||||
@SerialName(translationField)
|
@SerialName(translationField)
|
||||||
override val translations: List<PassportFile>,
|
override val translations: List<PassportFile> = emptyList(),
|
||||||
@SerialName(hashField)
|
@SerialName(hashField)
|
||||||
@Serializable(Base64StringSerializer::class)
|
@Serializable(Base64StringSerializer::class)
|
||||||
override val hash: String
|
override val hash: String
|
||||||
|
@ -25,7 +25,7 @@ data class BankStatement(
|
|||||||
@SerialName(filesField)
|
@SerialName(filesField)
|
||||||
override val files: List<PassportFile>,
|
override val files: List<PassportFile>,
|
||||||
@SerialName(translationField)
|
@SerialName(translationField)
|
||||||
override val translations: List<PassportFile>,
|
override val translations: List<PassportFile> = emptyList(),
|
||||||
@SerialName(hashField)
|
@SerialName(hashField)
|
||||||
@Serializable(Base64StringSerializer::class)
|
@Serializable(Base64StringSerializer::class)
|
||||||
override val hash: String
|
override val hash: String
|
||||||
@ -35,7 +35,7 @@ data class RentalAgreement(
|
|||||||
@SerialName(filesField)
|
@SerialName(filesField)
|
||||||
override val files: List<PassportFile>,
|
override val files: List<PassportFile>,
|
||||||
@SerialName(translationField)
|
@SerialName(translationField)
|
||||||
override val translations: List<PassportFile>,
|
override val translations: List<PassportFile> = emptyList(),
|
||||||
@SerialName(hashField)
|
@SerialName(hashField)
|
||||||
@Serializable(Base64StringSerializer::class)
|
@Serializable(Base64StringSerializer::class)
|
||||||
override val hash: String
|
override val hash: String
|
||||||
@ -45,7 +45,7 @@ data class PassportRegistration(
|
|||||||
@SerialName(filesField)
|
@SerialName(filesField)
|
||||||
override val files: List<PassportFile>,
|
override val files: List<PassportFile>,
|
||||||
@SerialName(translationField)
|
@SerialName(translationField)
|
||||||
override val translations: List<PassportFile>,
|
override val translations: List<PassportFile> = emptyList(),
|
||||||
@SerialName(hashField)
|
@SerialName(hashField)
|
||||||
@Serializable(Base64StringSerializer::class)
|
@Serializable(Base64StringSerializer::class)
|
||||||
override val hash: String
|
override val hash: String
|
||||||
@ -55,7 +55,7 @@ data class TemporaryRegistration(
|
|||||||
@SerialName(filesField)
|
@SerialName(filesField)
|
||||||
override val files: List<PassportFile>,
|
override val files: List<PassportFile>,
|
||||||
@SerialName(translationField)
|
@SerialName(translationField)
|
||||||
override val translations: List<PassportFile>,
|
override val translations: List<PassportFile> = emptyList(),
|
||||||
@SerialName(hashField)
|
@SerialName(hashField)
|
||||||
@Serializable(Base64StringSerializer::class)
|
@Serializable(Base64StringSerializer::class)
|
||||||
override val hash: String
|
override val hash: String
|
||||||
|
@ -15,13 +15,13 @@ data class DriverLicense(
|
|||||||
@SerialName(dataField)
|
@SerialName(dataField)
|
||||||
override val data: EncryptedData,
|
override val data: EncryptedData,
|
||||||
@SerialName(frontSideField)
|
@SerialName(frontSideField)
|
||||||
override val frontSide: PassportFile?,
|
override val frontSide: PassportFile? = null,
|
||||||
@SerialName(reverseSideField)
|
@SerialName(reverseSideField)
|
||||||
override val reverseSide: PassportFile?,
|
override val reverseSide: PassportFile? = null,
|
||||||
@SerialName(selfieField)
|
@SerialName(selfieField)
|
||||||
override val selfie: PassportFile?,
|
override val selfie: PassportFile? = null,
|
||||||
@SerialName(translationField)
|
@SerialName(translationField)
|
||||||
override val translations: List<PassportFile>,
|
override val translations: List<PassportFile> = emptyList(),
|
||||||
@SerialName(hashField)
|
@SerialName(hashField)
|
||||||
@Serializable(Base64StringSerializer::class)
|
@Serializable(Base64StringSerializer::class)
|
||||||
override val hash: String
|
override val hash: String
|
||||||
@ -32,13 +32,13 @@ data class IdentityCard(
|
|||||||
@SerialName(dataField)
|
@SerialName(dataField)
|
||||||
override val data: EncryptedData,
|
override val data: EncryptedData,
|
||||||
@SerialName(frontSideField)
|
@SerialName(frontSideField)
|
||||||
override val frontSide: PassportFile?,
|
override val frontSide: PassportFile? = null,
|
||||||
@SerialName(reverseSideField)
|
@SerialName(reverseSideField)
|
||||||
override val reverseSide: PassportFile?,
|
override val reverseSide: PassportFile? = null,
|
||||||
@SerialName(selfieField)
|
@SerialName(selfieField)
|
||||||
override val selfie: PassportFile?,
|
override val selfie: PassportFile? = null,
|
||||||
@SerialName(translationField)
|
@SerialName(translationField)
|
||||||
override val translations: List<PassportFile>,
|
override val translations: List<PassportFile> = emptyList(),
|
||||||
@SerialName(hashField)
|
@SerialName(hashField)
|
||||||
@Serializable(Base64StringSerializer::class)
|
@Serializable(Base64StringSerializer::class)
|
||||||
override val hash: String
|
override val hash: String
|
||||||
|
Loading…
Reference in New Issue
Block a user