/* Options: Date: 2026-09-10 05:46:37 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: InvoiceDynamicsAuditRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class InvoiceDynamicsTransactionResponse implements IConvertible { int? dynamics_log_id; String? action; String? note; double? logged_amount; String? document_number; String? customer_number; DateTime? logged_at; String? regis_invoice_reference; String? gp_source; bool? found_in_gp; int? gp_type; int? gp_status; String? batch_number; double? gp_amount; bool? is_open; bool? is_posted; bool? is_void; DateTime? document_date; DateTime? posting_date; InvoiceDynamicsTransactionResponse({this.dynamics_log_id,this.action,this.note,this.logged_amount,this.document_number,this.customer_number,this.logged_at,this.regis_invoice_reference,this.gp_source,this.found_in_gp,this.gp_type,this.gp_status,this.batch_number,this.gp_amount,this.is_open,this.is_posted,this.is_void,this.document_date,this.posting_date}); InvoiceDynamicsTransactionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { dynamics_log_id = json['dynamics_log_id']; action = json['action']; note = json['note']; logged_amount = JsonConverters.toDouble(json['logged_amount']); document_number = json['document_number']; customer_number = json['customer_number']; logged_at = JsonConverters.fromJson(json['logged_at'],'DateTime',context!); regis_invoice_reference = json['regis_invoice_reference']; gp_source = json['gp_source']; found_in_gp = json['found_in_gp']; gp_type = json['gp_type']; gp_status = json['gp_status']; batch_number = json['batch_number']; gp_amount = JsonConverters.toDouble(json['gp_amount']); is_open = json['is_open']; is_posted = json['is_posted']; is_void = json['is_void']; document_date = JsonConverters.fromJson(json['document_date'],'DateTime',context!); posting_date = JsonConverters.fromJson(json['posting_date'],'DateTime',context!); return this; } Map toJson() => { 'dynamics_log_id': dynamics_log_id, 'action': action, 'note': note, 'logged_amount': logged_amount, 'document_number': document_number, 'customer_number': customer_number, 'logged_at': JsonConverters.toJson(logged_at,'DateTime',context!), 'regis_invoice_reference': regis_invoice_reference, 'gp_source': gp_source, 'found_in_gp': found_in_gp, 'gp_type': gp_type, 'gp_status': gp_status, 'batch_number': batch_number, 'gp_amount': gp_amount, 'is_open': is_open, 'is_posted': is_posted, 'is_void': is_void, 'document_date': JsonConverters.toJson(document_date,'DateTime',context!), 'posting_date': JsonConverters.toJson(posting_date,'DateTime',context!) }; getTypeName() => "InvoiceDynamicsTransactionResponse"; TypeContext? context = _ctx; } class InvoiceEconnectLogResponse implements IConvertible { int? id; DateTime? timestamp; String? xml; String? response; InvoiceEconnectLogResponse({this.id,this.timestamp,this.xml,this.response}); InvoiceEconnectLogResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; timestamp = JsonConverters.fromJson(json['timestamp'],'DateTime',context!); xml = json['xml']; response = json['response']; return this; } Map toJson() => { 'id': id, 'timestamp': JsonConverters.toJson(timestamp,'DateTime',context!), 'xml': xml, 'response': response }; getTypeName() => "InvoiceEconnectLogResponse"; TypeContext? context = _ctx; } class InvoiceDynamicsAuditResponse implements IConvertible { int? invoice_id; String? invoice_uuid; String? reporting_term; DateTime? invoice_date; String? invoice_status; String? description; double? total_charges; double? total_credits; double? net; int? regent_id; String? student_uuid; String? student_name; String? initiator_name; bool? has_regis_invoice; String? reconciliation_type; String? dynamics_status; List? dynamics_transactions; List? econnect_logs; InvoiceDynamicsAuditResponse({this.invoice_id,this.invoice_uuid,this.reporting_term,this.invoice_date,this.invoice_status,this.description,this.total_charges,this.total_credits,this.net,this.regent_id,this.student_uuid,this.student_name,this.initiator_name,this.has_regis_invoice,this.reconciliation_type,this.dynamics_status,this.dynamics_transactions,this.econnect_logs}); InvoiceDynamicsAuditResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { invoice_id = json['invoice_id']; invoice_uuid = json['invoice_uuid']; reporting_term = json['reporting_term']; invoice_date = JsonConverters.fromJson(json['invoice_date'],'DateTime',context!); invoice_status = json['invoice_status']; description = json['description']; total_charges = JsonConverters.toDouble(json['total_charges']); total_credits = JsonConverters.toDouble(json['total_credits']); net = JsonConverters.toDouble(json['net']); regent_id = json['regent_id']; student_uuid = json['student_uuid']; student_name = json['student_name']; initiator_name = json['initiator_name']; has_regis_invoice = json['has_regis_invoice']; reconciliation_type = json['reconciliation_type']; dynamics_status = json['dynamics_status']; dynamics_transactions = JsonConverters.fromJson(json['dynamics_transactions'],'List',context!); econnect_logs = JsonConverters.fromJson(json['econnect_logs'],'List',context!); return this; } Map toJson() => { 'invoice_id': invoice_id, 'invoice_uuid': invoice_uuid, 'reporting_term': reporting_term, 'invoice_date': JsonConverters.toJson(invoice_date,'DateTime',context!), 'invoice_status': invoice_status, 'description': description, 'total_charges': total_charges, 'total_credits': total_credits, 'net': net, 'regent_id': regent_id, 'student_uuid': student_uuid, 'student_name': student_name, 'initiator_name': initiator_name, 'has_regis_invoice': has_regis_invoice, 'reconciliation_type': reconciliation_type, 'dynamics_status': dynamics_status, 'dynamics_transactions': JsonConverters.toJson(dynamics_transactions,'List',context!), 'econnect_logs': JsonConverters.toJson(econnect_logs,'List',context!) }; getTypeName() => "InvoiceDynamicsAuditResponse"; TypeContext? context = _ctx; } // @Route("/finance/invoice-dynamics-audit", "POST") class InvoiceDynamicsAuditRequest implements IReturn>, IConvertible, IPost { String? reporting_term; DateTime? from_date; DateTime? to_date; int? regent_id; String? invoice_status; String? dynamics_status; bool? include_logs; String? authorizing_uuid; InvoiceDynamicsAuditRequest({this.reporting_term,this.from_date,this.to_date,this.regent_id,this.invoice_status,this.dynamics_status,this.include_logs,this.authorizing_uuid}); InvoiceDynamicsAuditRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { reporting_term = json['reporting_term']; from_date = JsonConverters.fromJson(json['from_date'],'DateTime',context!); to_date = JsonConverters.fromJson(json['to_date'],'DateTime',context!); regent_id = json['regent_id']; invoice_status = json['invoice_status']; dynamics_status = json['dynamics_status']; include_logs = json['include_logs']; authorizing_uuid = json['authorizing_uuid']; return this; } Map toJson() => { 'reporting_term': reporting_term, 'from_date': JsonConverters.toJson(from_date,'DateTime',context!), 'to_date': JsonConverters.toJson(to_date,'DateTime',context!), 'regent_id': regent_id, 'invoice_status': invoice_status, 'dynamics_status': dynamics_status, 'include_logs': include_logs, 'authorizing_uuid': authorizing_uuid }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "InvoiceDynamicsAuditRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'InvoiceDynamicsTransactionResponse': TypeInfo(TypeOf.Class, create:() => InvoiceDynamicsTransactionResponse()), 'InvoiceEconnectLogResponse': TypeInfo(TypeOf.Class, create:() => InvoiceEconnectLogResponse()), 'InvoiceDynamicsAuditResponse': TypeInfo(TypeOf.Class, create:() => InvoiceDynamicsAuditResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'InvoiceDynamicsAuditRequest': TypeInfo(TypeOf.Class, create:() => InvoiceDynamicsAuditRequest()), });