/** * Pipedrive API v2 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface UpdateAdditionalDiscountRequestBody */ export interface UpdateAdditionalDiscountRequestBody { /** * The name of the discount. * @type {string} */ 'description'?: string; /** * The discount amount. Must be a positive number (excluding 0). * @type {number} */ 'amount'?: number; /** * Determines whether the discount is applied as a percentage or a fixed amount. * @type {string} */ 'type'?: UpdateAdditionalDiscountRequestBodyTypeConst; } export declare const UpdateAdditionalDiscountRequestBodyTypeConst: { readonly percentage: "percentage"; readonly amount: "amount"; }; export type UpdateAdditionalDiscountRequestBodyTypeConst = typeof UpdateAdditionalDiscountRequestBodyTypeConst[keyof typeof UpdateAdditionalDiscountRequestBodyTypeConst];