/* Options: Date: 2024-12-29 02:12:37 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: CRMPaymentsRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class CRMPaymentResponse { public regent_id: number; public contact_addressee: string; public donor_first_name: string; public donor_last_name: string; public donor_addressee: string; public donor_city: string; public donor_country: string; public donor_owner_full_name: string; public is_contact: boolean; public is_account: boolean; public soft_credit_regent_id?: number; public soft_credit_contact_addressee: string; public soft_credit_contact_first_name: string; public soft_credit_contact_last_name: string; public soft_credit_contact_spouse_is_main_contact: boolean; public soft_credit_contact_city: string; public soft_credit_contact_country: string; public soft_credit_contact_owner_full_name: string; public soft_credit_second_regent_id?: number; public soft_credit_second_contact_addressee: string; public soft_credit_second_contact_first_name: string; public soft_credit_second_contact_last_name: string; public soft_credit_second_contact_spouse_is_main_contact: boolean; public soft_credit_second_contact_city: string; public soft_credit_second_contact_country: string; public soft_credit_second_contact_owner_full_name: string; public spouse_is_main_contact: boolean; public import_id?: number; public donation_id: string; public payment_id: string; public guid: string; public name: string; public description: string; public appeal_code: string; public designation: string; public designation_description: string; public general_ledger_account_number: string; public campaign: string; public total_pledge_amount: number; public total_paid_amount: number; public amount: number; public canadian_amount: number; public payment_exchange_rate: number; public receipt_amount: number; public gift_exchange_rate?: number; public total_paid_canadian_amount?: number; public is_recurring: boolean; public is_complete: boolean; public is_parent_donation: boolean; public currency: string; public source: string; public channel: string; public receipting_organization: string; public type: string; public push_to_gp: boolean; public finance_entry_date?: string; public finance_id: string; public acknowledgment_sent: boolean; public send_acknowledgment: boolean; public acknowledgment_template_guid: string; public parent_guid: string; public anonymous: boolean; public gift_date?: string; public recurring_gift_start_date?: string; public recurring_gift_end_date?: string; public payment_date?: string; public tax_receipt: string; public tax_receipt_date_sent?: string; public cheque_number: string; public version_number: number; public added_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 CRMPaymentsResponse { public responseStatus: ResponseStatus; public payments: CRMPaymentResponse[]; public from_date?: string; public to_date?: string; public start_version_number?: number; public end_version_number?: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/DynamicsCRM/Payments", "POST") export class CRMPaymentsRequest implements IReturn { public from_date?: string; public to_date?: string; public regent_id?: number; public start_version_number?: number; public end_version_number?: number; public recurring_only: boolean; public completed_only: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CRMPaymentsRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new CRMPaymentsResponse(); } }