/* Options: Date: 2025-04-04 19:09:45 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateVossInvoiceConfigurations.* //ExcludeTypes: //DefaultImports: */ export enum IntermediaryPlacementEnum { None = 1, IncludeIn21StColumn = 2, IncludeIn7ThColumn = 3, } export enum AccrualCodeFormatEnum { Default = 1, Dutch = 2, } export enum UnitEnum { Day = 1, Month = 2, Year = 3, } // @DataContract(Name="TimeLengthRequestDto") export class TimeLengthRequestDto { // @DataMember(Name="unit", IsRequired=true) public unit: UnitEnum; // @DataMember(Name="value", IsRequired=true) public value: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract(Name="UpdateInvoiceConfigurationsRequest") export class UpdateInvoiceConfigurationsRequest { // @DataMember(Name="intermediaryPlacement", IsRequired=true) public intermediaryPlacement: IntermediaryPlacementEnum; // @DataMember(Name="accrualCodeFormat", IsRequired=true) public accrualCodeFormat: AccrualCodeFormatEnum; // @DataMember(Name="dateFormat", IsRequired=true) public dateFormat: string; // @DataMember(Name="delimiter", IsRequired=true) public delimiter: string; // @DataMember(Name="decimalSeparator", IsRequired=true) public decimalSeparator: string; // @DataMember(Name="orderCreatorCode", IsRequired=true) public orderCreatorCode: string; // @DataMember(Name="salesPersonId", IsRequired=true) public salesPersonId: string; // @DataMember(Name="salesDepartmentId", IsRequired=true) public salesDepartmentId: string; // @DataMember(Name="includeBillingPeriodDates") public includeBillingPeriodDates: boolean; // @DataMember(Name="trackInvoicePayments") public trackInvoicePayments: boolean; // @DataMember(Name="includeInvoicedCustomerDetails") public includeInvoicedCustomerDetails: boolean; // @DataMember(Name="billingPeriodTextFormat", IsRequired=true) public billingPeriodTextFormat: string; // @DataMember(Name="customerFooterText") public customerFooterText: string; // @DataMember(Name="addEmptyLineBeforeCustomerFooter") public addEmptyLineBeforeCustomerFooter: boolean; // @DataMember(Name="includeOnlyDefaultSalesPersonAndDepartment") public includeOnlyDefaultSalesPersonAndDepartment: boolean; // @DataMember(Name="includeSubscriptionCustomerDetailsIfPayedByAnotherCustomer") public includeSubscriptionCustomerDetailsIfPayedByAnotherCustomer: boolean; // @DataMember(Name="transactionGroup", IsRequired=true) public transactionGroup: string; // @DataMember(Name="invoiceArbitraryNumber", IsRequired=true) public invoiceArbitraryNumber: string; // @DataMember(Name="deliveryMethod", IsRequired=true) public deliveryMethod: string; // @DataMember(Name="deliveryConditions", IsRequired=true) public deliveryConditions: string; // @DataMember(Name="orderType", IsRequired=true) public orderType: string; // @DataMember(Name="invoiceStatus", IsRequired=true) public invoiceStatus: string; // @DataMember(Name="useProductGroupRevenueRecognition") public useProductGroupRevenueRecognition: boolean; // @DataMember(Name="productGroupLineExcludePrint", IsRequired=true) public productGroupLineExcludePrint: string; // @DataMember(Name="productGroupLineEditPreferences", IsRequired=true) public productGroupLineEditPreferences: string; // @DataMember(Name="productLineExcludePrint", IsRequired=true) public productLineExcludePrint: string; // @DataMember(Name="useDiscountedPrices") public useDiscountedPrices: boolean; // @DataMember(Name="terminateUnpaidSubscriptions") public terminateUnpaidSubscriptions: boolean; // @DataMember(Name="allowedUnpaidAmountLimit", EmitDefaultValue=false) public allowedUnpaidAmountLimit: number; // @DataMember(Name="allowedPaymentOverdue") public allowedPaymentOverdue: TimeLengthRequestDto; // @DataMember(Name="unpaidSubscriptionTerminationReasonId") public unpaidSubscriptionTerminationReasonId?: string; // @DataMember(Name="unpaidSubscriptionTerminationComment") public unpaidSubscriptionTerminationComment: string; // @DataMember(Name="creditInvoiceNumberReferenceTextFormat") public creditInvoiceNumberReferenceTextFormat: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/voss/invoiceConfigurations", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) export class UpdateVossInvoiceConfigurations extends UpdateInvoiceConfigurationsRequest { public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'UpdateVossInvoiceConfigurations'; } public getMethod() { return 'GET'; } public createResponse() {} }