Hey, I'm in the process of migrating to v0.11.0 fr...
# talk-kratos
r
Hey, I'm in the process of migrating to v0.11.0 from v0.10.0 and want to use the
code
method for the
verification
flow. It seems the the TS client (and potentially other clients based on the OpenAPI spec) may not type the verification body correctly? at https://github.com/ory/sdk/blob/master/clients/kratos/typescript/api.ts#L3126 should we instead have the following?
Copy code
export type UpdateVerificationFlowBody = UpdateVerificationFlowWithLinkMethod | UpdateVerificationFlowWithCodeMethodBody;
Would be the following in the spec Thanks for any pointers :)
I've looked further into this. Could it be that the API patch doesn't include this type here https://github.com/ory/kratos/blob/master/.schema/openapi/patches/selfservice.yaml#L79-L88?
I've opened an issue here https://github.com/ory/kratos/issues/2943 ❤️