import { Attr } from 'ts-framework' export class ServicePricingResponseDTO { id: string orgId: string serviceId: string fare: number promoFare: number promoLimit: number promoDuration: string commissionFlat: number commissionPercentage: number discountFlat: number discountPercentage: number federalTax: number stateTax: number scenario: string updatedAt: object createdAt: object } export class CreateServicePricingDTO { @Attr({ type: String }) orgId: string @Attr({ type: String }) serviceId: string @Attr({ type: Number, optional: true }) fare: number @Attr({ type: Number, optional: true }) promoFare: number @Attr({ type: Number, optional: true }) promoLimit: number @Attr({ type: String, optional: true }) promoDuration: string @Attr({ type: Number, optional: true }) commissionFlat: number @Attr({ type: Number, optional: true }) commissionPercentage: number @Attr({ type: Number, optional: true }) discountFlat: number @Attr({ type: Number, optional: true }) discountPercentage: number @Attr({ type: Number, optional: true }) federalTax: number @Attr({ type: Number, optional: true }) stateTax: number @Attr({ type: String, optional: true }) scenario: string } export class UpdateServicePricingDTO { @Attr({ type: String }) id: string @Attr({ type: String }) orgId: string @Attr({ type: String }) serviceId: string @Attr({ type: Number, optional: true }) fare: number @Attr({ type: Number, optional: true }) promoFare: number @Attr({ type: Number, optional: true }) promoLimit: number @Attr({ type: String, optional: true }) promoDuration: string @Attr({ type: Number, optional: true }) commissionFlat: number @Attr({ type: Number, optional: true }) commissionPercentage: number @Attr({ type: Number, optional: true }) discountFlat: number @Attr({ type: Number, optional: true }) discountPercentage: number @Attr({ type: Number, optional: true }) federalTax: number @Attr({ type: Number, optional: true }) stateTax: number @Attr({ type: String, optional: true }) scenario: string } export class FindServicePricingDTO { @Attr({ type: String }) orgId: string @Attr({ type: String }) serviceId: string } export class ApplyServicePricingDTO { @Attr({ type: Number }) providerPrice: number @Attr({ type: String }) orgId: string @Attr({ type: String }) serviceId: string @Attr({ type: String }) riderId: string }