From ea4c7e575ba4cacb26bf0ba91cb7f2df2ce6fb00 Mon Sep 17 00:00:00 2001 From: Dominic Charley-Roy Date: Wed, 26 May 2021 14:15:50 -0400 Subject: [PATCH] Codegen for openapi e6f9d49 --- person.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/person.go b/person.go index bd593289f4..252137f4be 100644 --- a/person.go +++ b/person.go @@ -61,6 +61,21 @@ type DOBParams struct { Year *int64 `form:"year"` } +type DocumentsCompanyAuthorizationParams struct { + Files []*string `form:"files"` +} +type DocumentsPassportParams struct { + Files []*string `form:"files"` +} +type DocumentsVisaParams struct { + Files []*string `form:"files"` +} +type DocumentsParams struct { + CompanyAuthorization *DocumentsCompanyAuthorizationParams `form:"company_authorization"` + Passport *DocumentsPassportParams `form:"passport"` + Visa *DocumentsVisaParams `form:"visa"` +} + // RelationshipParams is used to set the relationship between an account and a person. type RelationshipParams struct { Director *bool `form:"director"` @@ -94,6 +109,7 @@ type PersonParams struct { AddressKana *AccountAddressParams `form:"address_kana"` AddressKanji *AccountAddressParams `form:"address_kanji"` DOB *DOBParams `form:"dob"` + Documents *DocumentsParams `form:"documents"` Email *string `form:"email"` FirstName *string `form:"first_name"` FirstNameKana *string `form:"first_name_kana"`