/* Options: Date: 2024-12-29 02:49:07 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CRMTaxReceiptsRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class CRMTaxReceiptResponse { public regent_id: number; public donor_first_name: string; public donor_last_name: string; public guid: string; public title: string; public total_paid_amount: number; public total_receipt_amount: number; public is_annual: boolean; public year?: number; public has_document: boolean; public tax_receipt_send_method: string; public status: string; public tax_receipt_template_guid: string; public tax_receipt_template_name: string; public tax_receipt_email: string; public email_sent_date?: string; public email_sent_to: string; public gift_date?: string; public sent_date?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public errorCode: string; // @DataMember(Order=2) public message: string; // @DataMember(Order=3) public stackTrace: string; // @DataMember(Order=4) public errors: ResponseError[]; // @DataMember(Order=5) public meta: { [index: string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class CRMTaxReceiptsResponse { public responseStatus: ResponseStatus; public tax_receipts: CRMTaxReceiptResponse[]; public from_date?: string; public to_date?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/DynamicsCRM/TaxReceipts", "POST") // @Route("/DynamicsCRM/TaxReceipts/{regent_id}", "POST") export class CRMTaxReceiptsRequest implements IReturn { public regent_id?: number; public from_date?: string; public to_date?: string; public has_document: boolean; public year?: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CRMTaxReceiptsRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new CRMTaxReceiptsResponse(); } }