diff --git a/src/typings/legalEntityManagement/attachment.ts b/src/typings/legalEntityManagement/attachment.ts index 3d81ff864..5e4bd931d 100644 --- a/src/typings/legalEntityManagement/attachment.ts +++ b/src/typings/legalEntityManagement/attachment.ts @@ -30,7 +30,7 @@ export class Attachment { */ "pageName"?: string; /** - * Specifies which side of the ID card is uploaded. * When `type` is **driversLicense** or **identityCard**, set this to **front** or **back**. * When omitted, we infer the page number based on the order of attachments. + * Specifies which side of the ID card is uploaded. * If the `type` is **driversLicense** or **identityCard**, you must set this to **front** or **back**. * For any other types, when this is omitted, we infer the page number based on the order of attachments. */ "pageType"?: string; diff --git a/src/typings/transferWebhooks/transferDataTracking.ts b/src/typings/transferWebhooks/transferDataTracking.ts index 5e520d893..336ee1789 100644 --- a/src/typings/transferWebhooks/transferDataTracking.ts +++ b/src/typings/transferWebhooks/transferDataTracking.ts @@ -30,12 +30,7 @@ export type TransferDataTracking = ConfirmationTrackingData | EstimationTracking */ export class TransferDataTrackingClass { - static readonly discriminator: string | undefined = "type"; - - static readonly mapping: {[index: string]: string} | undefined = { - "confirmation": "ConfirmationTrackingData", - "estimation": "EstimationTrackingData", - "internalReview": "InternalReviewTrackingData", - }; + static readonly discriminator: string = "type"; + static readonly mapping: {[index: string]: string} | undefined = undefined; }