@otr-app/shared-backend-generated-client 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -0
- package/dist/otr-ts-client/.openapi-generator/VERSION +1 -0
- package/dist/otr-ts-client/.openapi-generator-ignore +23 -0
- package/dist/otr-ts-client/.swagger-codegen/VERSION +1 -0
- package/dist/otr-ts-client/api/ActionRequiredControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/AddressControllerApi.ts +80 -0
- package/dist/otr-ts-client/api/AlertNotificationControllerApi.ts +87 -0
- package/dist/otr-ts-client/api/AppEventsControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/AuthenticationControllerApi.ts +51 -0
- package/dist/otr-ts-client/api/AwsCredentialsControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/BlogWebhookControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/BranchLinkControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/CaseActionTimelineControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/CaseActionsControllerApi.ts +152 -0
- package/dist/otr-ts-client/api/CaseControllerApi.ts +894 -0
- package/dist/otr-ts-client/api/CaseCreationControllerApi.ts +89 -0
- package/dist/otr-ts-client/api/CaseFinancialsControllerApi.ts +296 -0
- package/dist/otr-ts-client/api/CasePaymentControllerApi.ts +560 -0
- package/dist/otr-ts-client/api/CasePaymentPlanControllerApi.ts +114 -0
- package/dist/otr-ts-client/api/CaseStatusControllerApi.ts +56 -0
- package/dist/otr-ts-client/api/CaseTransferControllerApi.ts +94 -0
- package/dist/otr-ts-client/api/CertificateControllerApi.ts +61 -0
- package/dist/otr-ts-client/api/CitationControllerApi.ts +476 -0
- package/dist/otr-ts-client/api/ConfigurationControllerApi.ts +51 -0
- package/dist/otr-ts-client/api/ConsoleListControllerApi.ts +348 -0
- package/dist/otr-ts-client/api/ConversationControllerApi.ts +176 -0
- package/dist/otr-ts-client/api/CountyControllerApi.ts +61 -0
- package/dist/otr-ts-client/api/CourtControllerApi.ts +337 -0
- package/dist/otr-ts-client/api/CrmControllerApi.ts +240 -0
- package/dist/otr-ts-client/api/CustomerLeadControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/CustomerReviewControllerApi.ts +66 -0
- package/dist/otr-ts-client/api/DashboardControllerApi.ts +290 -0
- package/dist/otr-ts-client/api/DirectMailControllerApi.ts +196 -0
- package/dist/otr-ts-client/api/DisputeControllerApi.ts +65 -0
- package/dist/otr-ts-client/api/DripControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/DripWebhooksControllerApi.ts +87 -0
- package/dist/otr-ts-client/api/EmailSubscriptionControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/FeedbackControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/FreshdeskTicketControllerApi.ts +101 -0
- package/dist/otr-ts-client/api/InsuranceCalculatorControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/InternalNotificationControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/LawfirmCaseDecisionControllerApi.ts +65 -0
- package/dist/otr-ts-client/api/LawfirmCasesControllerApi.ts +104 -0
- package/dist/otr-ts-client/api/LawfirmControllerApi.ts +600 -0
- package/dist/otr-ts-client/api/LawfirmDocumentControllerApi.ts +256 -0
- package/dist/otr-ts-client/api/LawfirmFeeCoverageControllerApi.ts +273 -0
- package/dist/otr-ts-client/api/LawfirmRatesControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/LawfirmTransactionsControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/LawyerControllerApi.ts +116 -0
- package/dist/otr-ts-client/api/LineItemControllerApi.ts +173 -0
- package/dist/otr-ts-client/api/NotesControllerApi.ts +123 -0
- package/dist/otr-ts-client/api/OnDemandRequestControllerApi.ts +65 -0
- package/dist/otr-ts-client/api/PhoneLeadsControllerApi.ts +87 -0
- package/dist/otr-ts-client/api/PushNotificationControllerApi.ts +222 -0
- package/dist/otr-ts-client/api/RefLinkControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/ReferralControllerApi.ts +252 -0
- package/dist/otr-ts-client/api/RefundEligibilityControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/RegistrationControllerApi.ts +94 -0
- package/dist/otr-ts-client/api/ReportingControllerApi.ts +168 -0
- package/dist/otr-ts-client/api/ScheduledTaskControllerApi.ts +94 -0
- package/dist/otr-ts-client/api/SnsListenerControllerApi.ts +87 -0
- package/dist/otr-ts-client/api/SocialLoginControllerApi.ts +65 -0
- package/dist/otr-ts-client/api/StripeCardControllerApi.ts +393 -0
- package/dist/otr-ts-client/api/StripeControllerApi.ts +254 -0
- package/dist/otr-ts-client/api/TicketReviewControllerApi.ts +123 -0
- package/dist/otr-ts-client/api/TrafficViolationControllerApi.ts +141 -0
- package/dist/otr-ts-client/api/UserControllerApi.ts +502 -0
- package/dist/otr-ts-client/api/UserProfileControllerApi.ts +288 -0
- package/dist/otr-ts-client/api/UserReferralControllerApi.ts +80 -0
- package/dist/otr-ts-client/api/UserSettingsControllerApi.ts +58 -0
- package/dist/otr-ts-client/api/UtilityControllerApi.ts +141 -0
- package/dist/otr-ts-client/api/ValidationControllerApi.ts +61 -0
- package/dist/otr-ts-client/api/ViolationPenaltyControllerApi.ts +157 -0
- package/dist/otr-ts-client/api/api.ts +131 -0
- package/dist/otr-ts-client/api.module.ts +71 -0
- package/dist/otr-ts-client/git_push.sh +58 -0
- package/dist/otr-ts-client/index.ts +2 -0
- package/dist/otr-ts-client/model/AccountLevelFee.ts +33 -0
- package/dist/otr-ts-client/model/AccountLevelFeeRequest.ts +18 -0
- package/dist/otr-ts-client/model/AccountLevelFeeResponse.ts +18 -0
- package/dist/otr-ts-client/model/AccountLevelFeeToSave.ts +31 -0
- package/dist/otr-ts-client/model/AddACHToStripeAccountRequest.ts +20 -0
- package/dist/otr-ts-client/model/AddActionToCaseRequest.ts +18 -0
- package/dist/otr-ts-client/model/AddActionToCaseResponse.ts +18 -0
- package/dist/otr-ts-client/model/AddCardToStripeAccountRequest.ts +20 -0
- package/dist/otr-ts-client/model/AddCardToStripeAccountResponse.ts +20 -0
- package/dist/otr-ts-client/model/AddCaseMessageResponse.ts +18 -0
- package/dist/otr-ts-client/model/AddCourtCoverageRequest.ts +20 -0
- package/dist/otr-ts-client/model/AddCourtRequest.ts +19 -0
- package/dist/otr-ts-client/model/AddExtraAccountRequest.ts +19 -0
- package/dist/otr-ts-client/model/AddNoteToPhoneLeadRequest.ts +34 -0
- package/dist/otr-ts-client/model/AddPenaltyRequest.ts +18 -0
- package/dist/otr-ts-client/model/AddViolationRequest.ts +32 -0
- package/dist/otr-ts-client/model/AddViolationsToCitationRequest.ts +18 -0
- package/dist/otr-ts-client/model/AddressDomain.ts +96 -0
- package/dist/otr-ts-client/model/Alert.ts +35 -0
- package/dist/otr-ts-client/model/AlertNotificationResponse.ts +19 -0
- package/dist/otr-ts-client/model/AppEventCreateRequest.ts +27 -0
- package/dist/otr-ts-client/model/AppearanceAttorneyDomain.ts +21 -0
- package/dist/otr-ts-client/model/AuthorizeChargeForCasePaymentRequest.ts +18 -0
- package/dist/otr-ts-client/model/AuthorizeChargeForCasePaymentResponse.ts +18 -0
- package/dist/otr-ts-client/model/AuthorizeChargeForCaseRequest.ts +19 -0
- package/dist/otr-ts-client/model/AuthorizeChargeForCaseResponse.ts +18 -0
- package/dist/otr-ts-client/model/AuthorizeChargeForInvoiceLineItemRequest.ts +18 -0
- package/dist/otr-ts-client/model/AuthorizeChargeLineItemResponse.ts +18 -0
- package/dist/otr-ts-client/model/AvailablePaymentPlan.ts +27 -0
- package/dist/otr-ts-client/model/AvailablePaymentPlanResponse.ts +18 -0
- package/dist/otr-ts-client/model/AwsCredentialsRequest.ts +23 -0
- package/dist/otr-ts-client/model/BlogDocument.ts +20 -0
- package/dist/otr-ts-client/model/BlogEvent.ts +21 -0
- package/dist/otr-ts-client/model/BlogMetadata.ts +20 -0
- package/dist/otr-ts-client/model/CancelCaseRequest.ts +54 -0
- package/dist/otr-ts-client/model/CancelCaseResponse.ts +28 -0
- package/dist/otr-ts-client/model/CaptureChargeFromCasePaymentRequest.ts +18 -0
- package/dist/otr-ts-client/model/CaseActionDomain.ts +33 -0
- package/dist/otr-ts-client/model/CaseAlert.ts +36 -0
- package/dist/otr-ts-client/model/CaseChargeDomain.ts +25 -0
- package/dist/otr-ts-client/model/CaseChargeResponsePojo.ts +19 -0
- package/dist/otr-ts-client/model/CaseCreationRequest.ts +20 -0
- package/dist/otr-ts-client/model/CaseDomain.ts +82 -0
- package/dist/otr-ts-client/model/CaseFinancialLineItemResponse.ts +19 -0
- package/dist/otr-ts-client/model/CaseFinancialsDomain.ts +46 -0
- package/dist/otr-ts-client/model/CaseFinancialsSummary.ts +33 -0
- package/dist/otr-ts-client/model/CaseFuturePayment.ts +20 -0
- package/dist/otr-ts-client/model/CaseLineItemDomain.ts +40 -0
- package/dist/otr-ts-client/model/CaseLineItemsSummary.ts +30 -0
- package/dist/otr-ts-client/model/CaseMessageDomain.ts +39 -0
- package/dist/otr-ts-client/model/CaseNotesDomain.ts +19 -0
- package/dist/otr-ts-client/model/CasePaymentDomain.ts +42 -0
- package/dist/otr-ts-client/model/CasePaymentPlanResponse.ts +34 -0
- package/dist/otr-ts-client/model/CaseStatusDetailsResponse.ts +59 -0
- package/dist/otr-ts-client/model/CaseStatusDomain.ts +65 -0
- package/dist/otr-ts-client/model/CaseSummaryDomain.ts +41 -0
- package/dist/otr-ts-client/model/CaseTransferHistory.ts +43 -0
- package/dist/otr-ts-client/model/CaseTransferResponse.ts +18 -0
- package/dist/otr-ts-client/model/CaseViolationPenalty.ts +33 -0
- package/dist/otr-ts-client/model/CaseWithCoverageObtained.ts +39 -0
- package/dist/otr-ts-client/model/ChangeUserPasswordRequest.ts +20 -0
- package/dist/otr-ts-client/model/ChargeDisputeDomain.ts +71 -0
- package/dist/otr-ts-client/model/Chronology.ts +18 -0
- package/dist/otr-ts-client/model/CitationDomain.ts +116 -0
- package/dist/otr-ts-client/model/CitationInputRequest.ts +93 -0
- package/dist/otr-ts-client/model/CitationWithMissingCourt.ts +76 -0
- package/dist/otr-ts-client/model/CitationWithMissingFields.ts +24 -0
- package/dist/otr-ts-client/model/ClientActionRequiredRequest.ts +27 -0
- package/dist/otr-ts-client/model/ClientLeadDomain.ts +24 -0
- package/dist/otr-ts-client/model/CollectionNotificationEvent.ts +17 -0
- package/dist/otr-ts-client/model/CountryDomain.ts +19 -0
- package/dist/otr-ts-client/model/CountryRegion.ts +22 -0
- package/dist/otr-ts-client/model/CountyDomain.ts +75 -0
- package/dist/otr-ts-client/model/CourtCoverageCountyRecord.ts +26 -0
- package/dist/otr-ts-client/model/CourtCoverageRecord.ts +29 -0
- package/dist/otr-ts-client/model/CourtCoverageStateRecord.ts +25 -0
- package/dist/otr-ts-client/model/CourtDomain.ts +42 -0
- package/dist/otr-ts-client/model/CoverageToRemove.ts +19 -0
- package/dist/otr-ts-client/model/CreateBranchLinkRequest.ts +26 -0
- package/dist/otr-ts-client/model/CreateCitationRequest.ts +93 -0
- package/dist/otr-ts-client/model/CreateCitationResponse.ts +18 -0
- package/dist/otr-ts-client/model/CreateNewLawfirmRequest.ts +22 -0
- package/dist/otr-ts-client/model/CreateNoteInput.ts +25 -0
- package/dist/otr-ts-client/model/CreateNoteRequest.ts +18 -0
- package/dist/otr-ts-client/model/CreateNoteResponse.ts +18 -0
- package/dist/otr-ts-client/model/CreateReferralCodeRequest.ts +39 -0
- package/dist/otr-ts-client/model/CreateReferralCodeResponse.ts +18 -0
- package/dist/otr-ts-client/model/CreateReferralSourceForCitation.ts +18 -0
- package/dist/otr-ts-client/model/CustomerLead.ts +95 -0
- package/dist/otr-ts-client/model/CustomerReview.ts +36 -0
- package/dist/otr-ts-client/model/CustomerReviewResponse.ts +18 -0
- package/dist/otr-ts-client/model/DateTime.ts +22 -0
- package/dist/otr-ts-client/model/DateTimeZone.ts +19 -0
- package/dist/otr-ts-client/model/DeleteCitationResponse.ts +18 -0
- package/dist/otr-ts-client/model/DeleteNotificationEventRequest.ts +29 -0
- package/dist/otr-ts-client/model/DirectMailContact.ts +42 -0
- package/dist/otr-ts-client/model/DirectMailContactResponse.ts +18 -0
- package/dist/otr-ts-client/model/DirectMailGetRequest.ts +19 -0
- package/dist/otr-ts-client/model/DirectMailSendRequest.ts +28 -0
- package/dist/otr-ts-client/model/DirectMailTemplate.ts +30 -0
- package/dist/otr-ts-client/model/DirectMailTemplateResponse.ts +18 -0
- package/dist/otr-ts-client/model/DirectMailTemplateToAdd.ts +30 -0
- package/dist/otr-ts-client/model/DismissCitationsFromContactListRequest.ts +18 -0
- package/dist/otr-ts-client/model/DismissPhoneLeadRequest.ts +33 -0
- package/dist/otr-ts-client/model/DocumentDecisionRequest.ts +19 -0
- package/dist/otr-ts-client/model/DripRemoveRequest.ts +27 -0
- package/dist/otr-ts-client/model/DripWebhookData.ts +20 -0
- package/dist/otr-ts-client/model/DripWebhookEvent.ts +20 -0
- package/dist/otr-ts-client/model/EstimateInsuranceSavingsRequest.ts +76 -0
- package/dist/otr-ts-client/model/EstimateInsuranceSavingsResponse.ts +20 -0
- package/dist/otr-ts-client/model/FeedbackDomain.ts +20 -0
- package/dist/otr-ts-client/model/FindChargeDisputesResponse.ts +18 -0
- package/dist/otr-ts-client/model/FindCourtsWithNoCoverageResponse.ts +19 -0
- package/dist/otr-ts-client/model/FindDisputesRequest.ts +19 -0
- package/dist/otr-ts-client/model/FindMatchingUser.ts +34 -0
- package/dist/otr-ts-client/model/FindMatchingUsersRequest.ts +22 -0
- package/dist/otr-ts-client/model/FindMatchingUsersResponse.ts +18 -0
- package/dist/otr-ts-client/model/FindsCourtsResponse.ts +19 -0
- package/dist/otr-ts-client/model/FreshDeskConversation.ts +23 -0
- package/dist/otr-ts-client/model/FreshDeskRequester.ts +19 -0
- package/dist/otr-ts-client/model/FreshDeskTicket.ts +64 -0
- package/dist/otr-ts-client/model/FreshdeskTicketReferenceDomain.ts +35 -0
- package/dist/otr-ts-client/model/FreshdeskWebhookRequest.ts +23 -0
- package/dist/otr-ts-client/model/FuturePayment.ts +33 -0
- package/dist/otr-ts-client/model/GenerateTemplateRequest.ts +61 -0
- package/dist/otr-ts-client/model/GenericAdminListRequest.ts +18 -0
- package/dist/otr-ts-client/model/GeoRatesRequest.ts +21 -0
- package/dist/otr-ts-client/model/GetAddressInnerResponse.ts +23 -0
- package/dist/otr-ts-client/model/GetAppConfigResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetAppearanceAttorneysResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetAvailablePaymentPlansResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCaseActionResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCaseActionTimelineResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetCaseActionTypesResponse.ts +30 -0
- package/dist/otr-ts-client/model/GetCaseChargesResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCaseCostsAttorneyResponse.ts +23 -0
- package/dist/otr-ts-client/model/GetCaseDocumentResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCaseFinancialsResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetCaseFromCitationResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCaseLineItemsResponse.ts +22 -0
- package/dist/otr-ts-client/model/GetCaseMessagesResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetCasePaymentsResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCaseResolutionStatusesResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCaseResponse.ts +20 -0
- package/dist/otr-ts-client/model/GetCasesWithCoverageObtainedResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCasesWithOverduePaymentsResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCasesWithUncapturedChargesRequest.ts +17 -0
- package/dist/otr-ts-client/model/GetCasesWithUncapturedChargesResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCitationPhoneLeadsRequest.ts +18 -0
- package/dist/otr-ts-client/model/GetCitationPhoneLeadsResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCitationResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCitationsResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCitationsWithMissingFieldsRequest.ts +18 -0
- package/dist/otr-ts-client/model/GetCitationsWithMissingFieldsResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetClientCasesResponse.ts +21 -0
- package/dist/otr-ts-client/model/GetCompetitionResponseModel.ts +21 -0
- package/dist/otr-ts-client/model/GetCountOfMatchingUsersRequest.ts +18 -0
- package/dist/otr-ts-client/model/GetCountOfMatchingUsersResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCountiesResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCountryListResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCountryRegionsResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCourtCoverageForCountyReportResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCourtCoverageForStateReportResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetCourtCoverageReportResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCourtResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetCourtsByQueryResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetCourtsInnerResponse.ts +22 -0
- package/dist/otr-ts-client/model/GetCurrentUserResponse.ts +21 -0
- package/dist/otr-ts-client/model/GetDocumentsRequest.ts +18 -0
- package/dist/otr-ts-client/model/GetEmailTemplateResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetInvalidCasesWithStripeChargeRequest.ts +17 -0
- package/dist/otr-ts-client/model/GetInvalidCasesWithStripeChargeResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetLawfirmAddressesResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetLawfirmCaseStatsResponse.ts +20 -0
- package/dist/otr-ts-client/model/GetLawfirmCasesResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetLawfirmCoverageReportResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetLawfirmCoverageResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetLawfirmFeeCoverageModel.ts +24 -0
- package/dist/otr-ts-client/model/GetLawfirmFeeCoverageResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetLawfirmFeeModel.ts +21 -0
- package/dist/otr-ts-client/model/GetLawfirmInboxMessagesResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetLawfirmLeadsRequest.ts +18 -0
- package/dist/otr-ts-client/model/GetLawfirmLeadsResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetLawfirmPaymentMethodsResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetLawfirmResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetLawfirmSummaryCaseRequest.ts +92 -0
- package/dist/otr-ts-client/model/GetLawfirmSummaryCasesResponse.ts +21 -0
- package/dist/otr-ts-client/model/GetLawfirmSupportedStatesResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetLawfirmTransactionsResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetLawfirmsResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetLineItemsResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetListOfCitationsWithMissingCourtResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetLostCasesWithTransferNotReversedRequest.ts +20 -0
- package/dist/otr-ts-client/model/GetLostCasesWithTransferNotReversedResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetOutgoingContactsResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetPaymentMethodsForUserResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetPenaltyType.ts +32 -0
- package/dist/otr-ts-client/model/GetPenaltyTypesResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetPendingAndRefusedCasesRequest.ts +17 -0
- package/dist/otr-ts-client/model/GetPendingAndRefusedCasesResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetPendingTicketReviewsRequest.ts +20 -0
- package/dist/otr-ts-client/model/GetPendingTicketReviewsResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetPotentialCustomersRequest.ts +21 -0
- package/dist/otr-ts-client/model/GetPotentialCustomersResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetReferralCodeResponse.ts +39 -0
- package/dist/otr-ts-client/model/GetReferralCodesResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetReferralsHistoryResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetStripeChargesResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetStripeConnectedAccountResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetSupportTicketsResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetTicketReviewResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetTrafficViolationTypesResponse.ts +19 -0
- package/dist/otr-ts-client/model/GetUserAddressesResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetUserRefLinksResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetUserReferralSourceTypesResponse.ts +18 -0
- package/dist/otr-ts-client/model/GetUserResponse.ts +18 -0
- package/dist/otr-ts-client/model/GraphRequest.ts +55 -0
- package/dist/otr-ts-client/model/HandleOrphanedStripeChargeRequest.ts +20 -0
- package/dist/otr-ts-client/model/HashMapstringobject.ts +17 -0
- package/dist/otr-ts-client/model/HashMapstringstring.ts +17 -0
- package/dist/otr-ts-client/model/InitiateCaseAndChargeCustomerRequest.ts +26 -0
- package/dist/otr-ts-client/model/InitiateCaseAndChargeCustomerResponse.ts +18 -0
- package/dist/otr-ts-client/model/InsertCaseLineItemResponse.ts +18 -0
- package/dist/otr-ts-client/model/InsertInvoiceLineItemRequest.ts +18 -0
- package/dist/otr-ts-client/model/IsRefundEligibleResponse.ts +25 -0
- package/dist/otr-ts-client/model/IsUserLoggedInResponse.ts +19 -0
- package/dist/otr-ts-client/model/KeyValueMapRequest.ts +20 -0
- package/dist/otr-ts-client/model/LawfirmCaseDocument.ts +35 -0
- package/dist/otr-ts-client/model/LawfirmCaseDomain.ts +46 -0
- package/dist/otr-ts-client/model/LawfirmCourtCoverageDomain.ts +33 -0
- package/dist/otr-ts-client/model/LawfirmCoverageRecord.ts +28 -0
- package/dist/otr-ts-client/model/LawfirmDocument.ts +35 -0
- package/dist/otr-ts-client/model/LawfirmDocumentResponse.ts +18 -0
- package/dist/otr-ts-client/model/LawfirmDocumentTemplate.ts +34 -0
- package/dist/otr-ts-client/model/LawfirmDocumentTemplateResponse.ts +18 -0
- package/dist/otr-ts-client/model/LawfirmDomain.ts +54 -0
- package/dist/otr-ts-client/model/LawfirmDomainPictureRequest.ts +18 -0
- package/dist/otr-ts-client/model/LawfirmInboxMessageDomain.ts +76 -0
- package/dist/otr-ts-client/model/LawfirmLeadDomain.ts +109 -0
- package/dist/otr-ts-client/model/LawfirmRatesResponse.ts +32 -0
- package/dist/otr-ts-client/model/LawfirmSettingsDomain.ts +33 -0
- package/dist/otr-ts-client/model/LawfirmTransactionDomain.ts +51 -0
- package/dist/otr-ts-client/model/LawfirmsRatesResponse.ts +18 -0
- package/dist/otr-ts-client/model/LineItem.ts +33 -0
- package/dist/otr-ts-client/model/LineItemRequest.ts +30 -0
- package/dist/otr-ts-client/model/ListRevenueRequest.ts +56 -0
- package/dist/otr-ts-client/model/LobEvent.ts +20 -0
- package/dist/otr-ts-client/model/LobEventRequest.ts +21 -0
- package/dist/otr-ts-client/model/LostCaseWithTransferNotReversed.ts +43 -0
- package/dist/otr-ts-client/model/MapstringCollectionNotificationEvent.ts +17 -0
- package/dist/otr-ts-client/model/Mapstringint.ts +17 -0
- package/dist/otr-ts-client/model/Mapstringobject.ts +17 -0
- package/dist/otr-ts-client/model/Mapstringstring.ts +17 -0
- package/dist/otr-ts-client/model/MarkCaseAsResolvedRequest.ts +55 -0
- package/dist/otr-ts-client/model/MarkCaseAsResolvedResponse.ts +62 -0
- package/dist/otr-ts-client/model/MatchCaseResponse.ts +20 -0
- package/dist/otr-ts-client/model/MatchCitationResponse.ts +27 -0
- package/dist/otr-ts-client/model/MatchInnerCaseResponse.ts +30 -0
- package/dist/otr-ts-client/model/MatchLawfirmCaseResponse.ts +21 -0
- package/dist/otr-ts-client/model/MessageInputDomain.ts +34 -0
- package/dist/otr-ts-client/model/MissingPaymentDomain.ts +63 -0
- package/dist/otr-ts-client/model/ModelDate.ts +26 -0
- package/dist/otr-ts-client/model/NewLawyerRequest.ts +19 -0
- package/dist/otr-ts-client/model/NewUser.ts +31 -0
- package/dist/otr-ts-client/model/NewUserResponse.ts +22 -0
- package/dist/otr-ts-client/model/NoLawyerAvailableRequest.ts +19 -0
- package/dist/otr-ts-client/model/NoteAuthor.ts +20 -0
- package/dist/otr-ts-client/model/NoteDomain.ts +29 -0
- package/dist/otr-ts-client/model/NotificationEvent.ts +23 -0
- package/dist/otr-ts-client/model/NotificationEvents.ts +19 -0
- package/dist/otr-ts-client/model/OutgoingContactDomain.ts +29 -0
- package/dist/otr-ts-client/model/Penalty.ts +36 -0
- package/dist/otr-ts-client/model/PenaltyRequest.ts +19 -0
- package/dist/otr-ts-client/model/PersistTicketEvaluationRequest.ts +31 -0
- package/dist/otr-ts-client/model/PhoneNumberDomain.ts +45 -0
- package/dist/otr-ts-client/model/PostCourtCoverageRequest.ts +18 -0
- package/dist/otr-ts-client/model/PostCustomerLeadRequest.ts +18 -0
- package/dist/otr-ts-client/model/PostFeedbackRequest.ts +18 -0
- package/dist/otr-ts-client/model/PostNewCaseMessageRequest.ts +18 -0
- package/dist/otr-ts-client/model/PostReferralSourceRequest.ts +40 -0
- package/dist/otr-ts-client/model/PotentialCustomerDomain.ts +185 -0
- package/dist/otr-ts-client/model/PreviewDocumentRequest.ts +20 -0
- package/dist/otr-ts-client/model/PriceMatchRequest.ts +24 -0
- package/dist/otr-ts-client/model/PriceMatchResponse.ts +28 -0
- package/dist/otr-ts-client/model/PublishReferralRequest.ts +19 -0
- package/dist/otr-ts-client/model/PushNotificationRegistrationRequest.ts +26 -0
- package/dist/otr-ts-client/model/PushNotificationRequest.ts +35 -0
- package/dist/otr-ts-client/model/PutDocumentRequest.ts +32 -0
- package/dist/otr-ts-client/model/PutUserSettingsRequest.ts +19 -0
- package/dist/otr-ts-client/model/ReferralContact.ts +20 -0
- package/dist/otr-ts-client/model/ReferralResponse.ts +67 -0
- package/dist/otr-ts-client/model/RefundCaseChargesRequest.ts +19 -0
- package/dist/otr-ts-client/model/RefundCaseChargesResponse.ts +18 -0
- package/dist/otr-ts-client/model/RegisterNewUserRequest.ts +51 -0
- package/dist/otr-ts-client/model/RegisterNewUserResponse.ts +21 -0
- package/dist/otr-ts-client/model/RemoveCoverageRequest.ts +18 -0
- package/dist/otr-ts-client/model/ReplyToTicketRequest.ts +32 -0
- package/dist/otr-ts-client/model/RescheduleTaskRequest.ts +18 -0
- package/dist/otr-ts-client/model/ResetUserPasswordRequest.ts +19 -0
- package/dist/otr-ts-client/model/Results.ts +18 -0
- package/dist/otr-ts-client/model/ReverseCaseTransferRequest.ts +34 -0
- package/dist/otr-ts-client/model/SNSNotificationRequest.ts +21 -0
- package/dist/otr-ts-client/model/SSLCertificateResponse.ts +18 -0
- package/dist/otr-ts-client/model/SaveCaseNotesRequest.ts +18 -0
- package/dist/otr-ts-client/model/SaveLawyerLeadRequest.ts +35 -0
- package/dist/otr-ts-client/model/ScheduleNewPaymentRequest.ts +29 -0
- package/dist/otr-ts-client/model/ScheduledTaskGetResponse.ts +18 -0
- package/dist/otr-ts-client/model/ScheduledTaskResponse.ts +40 -0
- package/dist/otr-ts-client/model/SendConsolidatedEmailToUser.ts +61 -0
- package/dist/otr-ts-client/model/SendDirectMailResponse.ts +18 -0
- package/dist/otr-ts-client/model/SendEmailToUserRequest.ts +71 -0
- package/dist/otr-ts-client/model/SendEmailToUsersRequest.ts +60 -0
- package/dist/otr-ts-client/model/SetCourtDateForCaseRequest.ts +19 -0
- package/dist/otr-ts-client/model/SetLawfirmCaseDecisionRequest.ts +30 -0
- package/dist/otr-ts-client/model/SimpleCasePaymentDomain.ts +20 -0
- package/dist/otr-ts-client/model/SimpleCredentialsResponse.ts +19 -0
- package/dist/otr-ts-client/model/SimpleLineItemDomain.ts +19 -0
- package/dist/otr-ts-client/model/SocialLoginRequest.ts +42 -0
- package/dist/otr-ts-client/model/SocialLoginResponse.ts +21 -0
- package/dist/otr-ts-client/model/SocialLoginUser.ts +24 -0
- package/dist/otr-ts-client/model/SocialPhoneNumber.ts +29 -0
- package/dist/otr-ts-client/model/SqlResponse.ts +18 -0
- package/dist/otr-ts-client/model/StripeApplicationFeeRefundSyncResults.ts +20 -0
- package/dist/otr-ts-client/model/StripeApplicationFeeSyncResults.ts +21 -0
- package/dist/otr-ts-client/model/StripeCardDomain.ts +32 -0
- package/dist/otr-ts-client/model/StripeChargeDomain.ts +37 -0
- package/dist/otr-ts-client/model/StripeChargeSyncResults.ts +23 -0
- package/dist/otr-ts-client/model/StripeConnectedAccountDomain.ts +25 -0
- package/dist/otr-ts-client/model/StripeDisputeDomain.ts +74 -0
- package/dist/otr-ts-client/model/StripeFieldVerification.ts +20 -0
- package/dist/otr-ts-client/model/StripePaymentSourceDomain.ts +22 -0
- package/dist/otr-ts-client/model/StripeRefundSyncResults.ts +20 -0
- package/dist/otr-ts-client/model/StripeReversalSyncResults.ts +20 -0
- package/dist/otr-ts-client/model/StripeTransferSyncResults.ts +21 -0
- package/dist/otr-ts-client/model/SubscribeRequest.ts +18 -0
- package/dist/otr-ts-client/model/Subscriber.ts +27 -0
- package/dist/otr-ts-client/model/SubscriberDomain.ts +27 -0
- package/dist/otr-ts-client/model/SyncStripeChargesRequest.ts +20 -0
- package/dist/otr-ts-client/model/SyncStripeChargesResponse.ts +18 -0
- package/dist/otr-ts-client/model/SyncStripeDisputeResponse.ts +18 -0
- package/dist/otr-ts-client/model/TicketLeadDomain.ts +36 -0
- package/dist/otr-ts-client/model/TicketReviewRequest.ts +38 -0
- package/dist/otr-ts-client/model/Timestamp.ts +27 -0
- package/dist/otr-ts-client/model/TrafficViolationInputRequest.ts +18 -0
- package/dist/otr-ts-client/model/TrafficViolationTypeDomain.ts +34 -0
- package/dist/otr-ts-client/model/USStateDomain.ts +19 -0
- package/dist/otr-ts-client/model/UpdateAddress.ts +23 -0
- package/dist/otr-ts-client/model/UpdateAddressRequest.ts +18 -0
- package/dist/otr-ts-client/model/UpdateCaseDeclineTicketsRequest.ts +20 -0
- package/dist/otr-ts-client/model/UpdateCitationAddressRequest.ts +18 -0
- package/dist/otr-ts-client/model/UpdateCitationPictureRequest.ts +20 -0
- package/dist/otr-ts-client/model/UpdateCitationRequest.ts +18 -0
- package/dist/otr-ts-client/model/UpdateCourtRequest.ts +18 -0
- package/dist/otr-ts-client/model/UpdateDisputeRequest.ts +18 -0
- package/dist/otr-ts-client/model/UpdateInvoiceLineItemRequest.ts +18 -0
- package/dist/otr-ts-client/model/UpdateLawfirmRequest.ts +18 -0
- package/dist/otr-ts-client/model/UpdateLawfirmSettingsRequest.ts +18 -0
- package/dist/otr-ts-client/model/UpdateNoteInput.ts +18 -0
- package/dist/otr-ts-client/model/UpdateNoteRequest.ts +18 -0
- package/dist/otr-ts-client/model/UpdateNoteResponse.ts +18 -0
- package/dist/otr-ts-client/model/UpdatePaymentDueDateRequest.ts +18 -0
- package/dist/otr-ts-client/model/UpdatePhoneNumber.ts +41 -0
- package/dist/otr-ts-client/model/UpdateProfilePictureRequest.ts +19 -0
- package/dist/otr-ts-client/model/UpdateRefundEligibilityForCaseRequest.ts +25 -0
- package/dist/otr-ts-client/model/UpdateUserDetailsRequest.ts +18 -0
- package/dist/otr-ts-client/model/UpdateUserDetailsResponse.ts +18 -0
- package/dist/otr-ts-client/model/UpdateUserPhoneNumberRequest.ts +18 -0
- package/dist/otr-ts-client/model/UpdateUserRolesRequest.ts +28 -0
- package/dist/otr-ts-client/model/UpdateViolationRequest.ts +19 -0
- package/dist/otr-ts-client/model/UpsertAddressRequest.ts +18 -0
- package/dist/otr-ts-client/model/UserBookingsDomain.ts +19 -0
- package/dist/otr-ts-client/model/UserDetails.ts +20 -0
- package/dist/otr-ts-client/model/UserDomain.ts +44 -0
- package/dist/otr-ts-client/model/UserRefLinkDomain.ts +20 -0
- package/dist/otr-ts-client/model/UserReferralSourceTypeDomain.ts +23 -0
- package/dist/otr-ts-client/model/UserRoleDomain.ts +27 -0
- package/dist/otr-ts-client/model/UserToContact.ts +19 -0
- package/dist/otr-ts-client/model/ValidateDirectMailRequest.ts +19 -0
- package/dist/otr-ts-client/model/ValidateDirectMailResponse.ts +196 -0
- package/dist/otr-ts-client/model/ValidateUserEmailResponse.ts +20 -0
- package/dist/otr-ts-client/model/VerifyPasswordResetTokenResponse.ts +19 -0
- package/dist/otr-ts-client/model/ViolationInputRequest.ts +18 -0
- package/dist/otr-ts-client/model/ViolationPenaltyResponse.ts +19 -0
- package/dist/otr-ts-client/model/ViolationResponse.ts +33 -0
- package/dist/otr-ts-client/model/models.ts +359 -0
- package/dist/otrBackendService.js +13223 -0
- package/dist/otrBackendService.min.js +5 -0
- package/package.json +32 -0
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import * as models from '../model/models';
|
|
14
|
+
|
|
15
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
16
|
+
|
|
17
|
+
export class CourtControllerApi {
|
|
18
|
+
protected basePath = 'http://otr-backend-service-us-devo.offtherecord.com:443';
|
|
19
|
+
public defaultHeaders : any = {};
|
|
20
|
+
|
|
21
|
+
static $inject: string[] = ['$http', '$httpParamSerializer', 'basePath'];
|
|
22
|
+
|
|
23
|
+
constructor(protected $http: ng.IHttpService, protected $httpParamSerializer?: (d: any) => any, basePath?: string) {
|
|
24
|
+
if (basePath !== undefined) {
|
|
25
|
+
this.basePath = basePath;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @summary addCourt
|
|
32
|
+
* @param request request
|
|
33
|
+
*/
|
|
34
|
+
public addCourtUsingPOST (request: models.AddCourtRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
35
|
+
const localVarPath = this.basePath + '/api/v1/courts';
|
|
36
|
+
|
|
37
|
+
let queryParameters: any = {};
|
|
38
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
39
|
+
// verify required parameter 'request' is not null or undefined
|
|
40
|
+
if (request === null || request === undefined) {
|
|
41
|
+
throw new Error('Required parameter request was null or undefined when calling addCourtUsingPOST.');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
45
|
+
method: 'POST',
|
|
46
|
+
url: localVarPath,
|
|
47
|
+
data: request,
|
|
48
|
+
params: queryParameters,
|
|
49
|
+
headers: headerParams
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
if (extraHttpRequestParams) {
|
|
53
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
return this.$http(httpRequestParams);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @summary findCourts
|
|
61
|
+
* @param q q
|
|
62
|
+
* @param state state
|
|
63
|
+
* @param regionCode regionCode
|
|
64
|
+
* @param countryCode countryCode
|
|
65
|
+
* @param city city
|
|
66
|
+
* @param county county
|
|
67
|
+
* @param offset offset
|
|
68
|
+
* @param length length
|
|
69
|
+
* @param citationId citationId
|
|
70
|
+
*/
|
|
71
|
+
public findCourtsUsingGET (q?: string, state?: 'USState.AL(name=Alabama, abbreviation=AL, successRate=95, timezone=America/Chicago)' | 'USState.AK(name=Alaska, abbreviation=AK, successRate=95, timezone=America/Anchorage)' | 'USState.AZ(name=Arizona, abbreviation=AZ, successRate=85, timezone=America/Denver)' | 'USState.AR(name=Arkansas, abbreviation=AR, successRate=95, timezone=America/Chicago)' | 'USState.CA(name=California, abbreviation=CA, successRate=93, timezone=America/Los_Angeles)' | 'USState.CO(name=Colorado, abbreviation=CO, successRate=90, timezone=America/Denver)' | 'USState.CT(name=Connecticut, abbreviation=CT, successRate=95, timezone=America/New_York)' | 'USState.DE(name=Delaware, abbreviation=DE, successRate=95, timezone=America/New_York)' | 'USState.DC(name=District of Columbia, abbreviation=DC, successRate=95, timezone=America/New_York)' | 'USState.FL(name=Florida, abbreviation=FL, successRate=90, timezone=America/New_York)' | 'USState.GA(name=Georgia, abbreviation=GA, successRate=85, timezone=America/New_York)' | 'USState.HI(name=Hawaii, abbreviation=HI, successRate=90, timezone=Pacific/Honolulu)' | 'USState.ID(name=Idaho, abbreviation=ID, successRate=85, timezone=America/Denver)' | 'USState.IL(name=Illinois, abbreviation=IL, successRate=85, timezone=America/Chicago)' | 'USState.IN(name=Indiana, abbreviation=IN, successRate=95, timezone=America/Chicago)' | 'USState.IA(name=Iowa, abbreviation=IA, successRate=95, timezone=America/Chicago)' | 'USState.KS(name=Kansas, abbreviation=KS, successRate=95, timezone=America/Chicago)' | 'USState.KY(name=Kentucky, abbreviation=KY, successRate=95, timezone=America/New_York)' | 'USState.LA(name=Louisiana, abbreviation=LA, successRate=95, timezone=America/Chicago)' | 'USState.ME(name=Maine, abbreviation=ME, successRate=95, timezone=America/Chicago)' | 'USState.MD(name=Maryland, abbreviation=MD, successRate=95, timezone=America/New_York)' | 'USState.MA(name=Massachusetts, abbreviation=MA, successRate=95, timezone=America/New_York)' | 'USState.MI(name=Michigan, abbreviation=MI, successRate=95, timezone=America/New_York)' | 'USState.MN(name=Minnesota, abbreviation=MN, successRate=95, timezone=America/Chicago)' | 'USState.MS(name=Mississippi, abbreviation=MS, successRate=95, timezone=America/Chicago)' | 'USState.MO(name=Missouri, abbreviation=MO, successRate=90, timezone=America/Chicago)' | 'USState.MT(name=Montana, abbreviation=MT, successRate=95, timezone=America/Denver)' | 'USState.NE(name=Nebraska, abbreviation=NE, successRate=95, timezone=America/Chicago)' | 'USState.NV(name=Nevada, abbreviation=NV, successRate=95, timezone=America/Los_Angeles)' | 'USState.NH(name=New Hampshire, abbreviation=NH, successRate=95, timezone=America/New_York)' | 'USState.NJ(name=New Jersey, abbreviation=NJ, successRate=90, timezone=America/New_York)' | 'USState.NM(name=New Mexico, abbreviation=NM, successRate=95, timezone=America/Denver)' | 'USState.NY(name=New York, abbreviation=NY, successRate=95, timezone=America/New_York)' | 'USState.NC(name=North Carolina, abbreviation=NC, successRate=95, timezone=America/New_York)' | 'USState.ND(name=North Dakota, abbreviation=ND, successRate=95, timezone=America/Chicago)' | 'USState.OH(name=Ohio, abbreviation=OH, successRate=80, timezone=America/New_York)' | 'USState.OK(name=Oklahoma, abbreviation=OK, successRate=96, timezone=America/Chicago)' | 'USState.OR(name=Oregon, abbreviation=OR, successRate=88, timezone=America/Los_Angeles)' | 'USState.PA(name=Pennsylvania, abbreviation=PA, successRate=90, timezone=America/New_York)' | 'USState.RI(name=Rhode Island, abbreviation=RI, successRate=95, timezone=America/New_York)' | 'USState.SC(name=South Carolina, abbreviation=SC, successRate=95, timezone=America/New_York)' | 'USState.SD(name=South Dakota, abbreviation=SD, successRate=95, timezone=America/Chicago)' | 'USState.TN(name=Tennessee, abbreviation=TN, successRate=95, timezone=America/Chicago)' | 'USState.TX(name=Texas, abbreviation=TX, successRate=85, timezone=America/Chicago)' | 'USState.UT(name=Utah, abbreviation=UT, successRate=90, timezone=America/Denver)' | 'USState.VT(name=Vermont, abbreviation=VT, successRate=89, timezone=America/New_York)' | 'USState.VA(name=Virginia, abbreviation=VA, successRate=90, timezone=America/New_York)' | 'USState.WA(name=Washington, abbreviation=WA, successRate=97, timezone=America/Los_Angeles)' | 'USState.WV(name=West Virginia, abbreviation=WV, successRate=93, timezone=America/New_York)' | 'USState.WI(name=Wisconsin, abbreviation=WI, successRate=95, timezone=America/Chicago)' | 'USState.WY(name=Wyoming, abbreviation=WY, successRate=95, timezone=America/Denver)', regionCode?: string, countryCode?: string, city?: string, county?: string, offset?: number, length?: number, citationId?: number, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.FindsCourtsResponse> {
|
|
72
|
+
const localVarPath = this.basePath + '/api/v2/courts/traffic';
|
|
73
|
+
|
|
74
|
+
let queryParameters: any = {};
|
|
75
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
76
|
+
if (q !== undefined) {
|
|
77
|
+
queryParameters['q'] = q;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if (state !== undefined) {
|
|
81
|
+
queryParameters['state'] = state;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (regionCode !== undefined) {
|
|
85
|
+
queryParameters['regionCode'] = regionCode;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (countryCode !== undefined) {
|
|
89
|
+
queryParameters['countryCode'] = countryCode;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
if (city !== undefined) {
|
|
93
|
+
queryParameters['city'] = city;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
if (county !== undefined) {
|
|
97
|
+
queryParameters['county'] = county;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
if (offset !== undefined) {
|
|
101
|
+
queryParameters['offset'] = offset;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
if (length !== undefined) {
|
|
105
|
+
queryParameters['length'] = length;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
if (citationId !== undefined) {
|
|
109
|
+
queryParameters['citationId'] = citationId;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
113
|
+
method: 'GET',
|
|
114
|
+
url: localVarPath,
|
|
115
|
+
params: queryParameters,
|
|
116
|
+
headers: headerParams
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
if (extraHttpRequestParams) {
|
|
120
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
return this.$http(httpRequestParams);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @summary findCourtsWithNoCoverage
|
|
128
|
+
* @param countryCode countryCode
|
|
129
|
+
* @param regionCode regionCode
|
|
130
|
+
* @param countyId countyId
|
|
131
|
+
*/
|
|
132
|
+
public findCourtsWithNoCoverageUsingGET (countryCode?: string, regionCode?: string, countyId?: number, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.FindCourtsWithNoCoverageResponse> {
|
|
133
|
+
const localVarPath = this.basePath + '/api/v1/courts/no-coverage';
|
|
134
|
+
|
|
135
|
+
let queryParameters: any = {};
|
|
136
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
137
|
+
if (countryCode !== undefined) {
|
|
138
|
+
queryParameters['countryCode'] = countryCode;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
if (regionCode !== undefined) {
|
|
142
|
+
queryParameters['regionCode'] = regionCode;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
if (countyId !== undefined) {
|
|
146
|
+
queryParameters['countyId'] = countyId;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
150
|
+
method: 'GET',
|
|
151
|
+
url: localVarPath,
|
|
152
|
+
params: queryParameters,
|
|
153
|
+
headers: headerParams
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
if (extraHttpRequestParams) {
|
|
157
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
return this.$http(httpRequestParams);
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @summary getCourt
|
|
165
|
+
* @param courtId courtId
|
|
166
|
+
*/
|
|
167
|
+
public getCourtUsingGET (courtId: number, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetCourtResponse> {
|
|
168
|
+
const localVarPath = this.basePath + '/api/v1/courts/{courtId}'
|
|
169
|
+
.replace('{' + 'courtId' + '}', encodeURIComponent(String(courtId)));
|
|
170
|
+
|
|
171
|
+
let queryParameters: any = {};
|
|
172
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
173
|
+
// verify required parameter 'courtId' is not null or undefined
|
|
174
|
+
if (courtId === null || courtId === undefined) {
|
|
175
|
+
throw new Error('Required parameter courtId was null or undefined when calling getCourtUsingGET.');
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
179
|
+
method: 'GET',
|
|
180
|
+
url: localVarPath,
|
|
181
|
+
params: queryParameters,
|
|
182
|
+
headers: headerParams
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
if (extraHttpRequestParams) {
|
|
186
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
return this.$http(httpRequestParams);
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @summary searchCourts
|
|
194
|
+
* @param q q
|
|
195
|
+
* @param state state
|
|
196
|
+
* @param regionCode regionCode
|
|
197
|
+
* @param countryCode countryCode
|
|
198
|
+
* @param city city
|
|
199
|
+
* @param county county
|
|
200
|
+
* @param offset offset
|
|
201
|
+
* @param length length
|
|
202
|
+
* @param citationId citationId
|
|
203
|
+
*/
|
|
204
|
+
public searchCourtsUsingGET (q?: string, state?: 'USState.AL(name=Alabama, abbreviation=AL, successRate=95, timezone=America/Chicago)' | 'USState.AK(name=Alaska, abbreviation=AK, successRate=95, timezone=America/Anchorage)' | 'USState.AZ(name=Arizona, abbreviation=AZ, successRate=85, timezone=America/Denver)' | 'USState.AR(name=Arkansas, abbreviation=AR, successRate=95, timezone=America/Chicago)' | 'USState.CA(name=California, abbreviation=CA, successRate=93, timezone=America/Los_Angeles)' | 'USState.CO(name=Colorado, abbreviation=CO, successRate=90, timezone=America/Denver)' | 'USState.CT(name=Connecticut, abbreviation=CT, successRate=95, timezone=America/New_York)' | 'USState.DE(name=Delaware, abbreviation=DE, successRate=95, timezone=America/New_York)' | 'USState.DC(name=District of Columbia, abbreviation=DC, successRate=95, timezone=America/New_York)' | 'USState.FL(name=Florida, abbreviation=FL, successRate=90, timezone=America/New_York)' | 'USState.GA(name=Georgia, abbreviation=GA, successRate=85, timezone=America/New_York)' | 'USState.HI(name=Hawaii, abbreviation=HI, successRate=90, timezone=Pacific/Honolulu)' | 'USState.ID(name=Idaho, abbreviation=ID, successRate=85, timezone=America/Denver)' | 'USState.IL(name=Illinois, abbreviation=IL, successRate=85, timezone=America/Chicago)' | 'USState.IN(name=Indiana, abbreviation=IN, successRate=95, timezone=America/Chicago)' | 'USState.IA(name=Iowa, abbreviation=IA, successRate=95, timezone=America/Chicago)' | 'USState.KS(name=Kansas, abbreviation=KS, successRate=95, timezone=America/Chicago)' | 'USState.KY(name=Kentucky, abbreviation=KY, successRate=95, timezone=America/New_York)' | 'USState.LA(name=Louisiana, abbreviation=LA, successRate=95, timezone=America/Chicago)' | 'USState.ME(name=Maine, abbreviation=ME, successRate=95, timezone=America/Chicago)' | 'USState.MD(name=Maryland, abbreviation=MD, successRate=95, timezone=America/New_York)' | 'USState.MA(name=Massachusetts, abbreviation=MA, successRate=95, timezone=America/New_York)' | 'USState.MI(name=Michigan, abbreviation=MI, successRate=95, timezone=America/New_York)' | 'USState.MN(name=Minnesota, abbreviation=MN, successRate=95, timezone=America/Chicago)' | 'USState.MS(name=Mississippi, abbreviation=MS, successRate=95, timezone=America/Chicago)' | 'USState.MO(name=Missouri, abbreviation=MO, successRate=90, timezone=America/Chicago)' | 'USState.MT(name=Montana, abbreviation=MT, successRate=95, timezone=America/Denver)' | 'USState.NE(name=Nebraska, abbreviation=NE, successRate=95, timezone=America/Chicago)' | 'USState.NV(name=Nevada, abbreviation=NV, successRate=95, timezone=America/Los_Angeles)' | 'USState.NH(name=New Hampshire, abbreviation=NH, successRate=95, timezone=America/New_York)' | 'USState.NJ(name=New Jersey, abbreviation=NJ, successRate=90, timezone=America/New_York)' | 'USState.NM(name=New Mexico, abbreviation=NM, successRate=95, timezone=America/Denver)' | 'USState.NY(name=New York, abbreviation=NY, successRate=95, timezone=America/New_York)' | 'USState.NC(name=North Carolina, abbreviation=NC, successRate=95, timezone=America/New_York)' | 'USState.ND(name=North Dakota, abbreviation=ND, successRate=95, timezone=America/Chicago)' | 'USState.OH(name=Ohio, abbreviation=OH, successRate=80, timezone=America/New_York)' | 'USState.OK(name=Oklahoma, abbreviation=OK, successRate=96, timezone=America/Chicago)' | 'USState.OR(name=Oregon, abbreviation=OR, successRate=88, timezone=America/Los_Angeles)' | 'USState.PA(name=Pennsylvania, abbreviation=PA, successRate=90, timezone=America/New_York)' | 'USState.RI(name=Rhode Island, abbreviation=RI, successRate=95, timezone=America/New_York)' | 'USState.SC(name=South Carolina, abbreviation=SC, successRate=95, timezone=America/New_York)' | 'USState.SD(name=South Dakota, abbreviation=SD, successRate=95, timezone=America/Chicago)' | 'USState.TN(name=Tennessee, abbreviation=TN, successRate=95, timezone=America/Chicago)' | 'USState.TX(name=Texas, abbreviation=TX, successRate=85, timezone=America/Chicago)' | 'USState.UT(name=Utah, abbreviation=UT, successRate=90, timezone=America/Denver)' | 'USState.VT(name=Vermont, abbreviation=VT, successRate=89, timezone=America/New_York)' | 'USState.VA(name=Virginia, abbreviation=VA, successRate=90, timezone=America/New_York)' | 'USState.WA(name=Washington, abbreviation=WA, successRate=97, timezone=America/Los_Angeles)' | 'USState.WV(name=West Virginia, abbreviation=WV, successRate=93, timezone=America/New_York)' | 'USState.WI(name=Wisconsin, abbreviation=WI, successRate=95, timezone=America/Chicago)' | 'USState.WY(name=Wyoming, abbreviation=WY, successRate=95, timezone=America/Denver)', regionCode?: string, countryCode?: string, city?: string, county?: string, offset?: number, length?: number, citationId?: number, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetCourtsByQueryResponse> {
|
|
205
|
+
const localVarPath = this.basePath + '/api/v1/courts/traffic';
|
|
206
|
+
|
|
207
|
+
let queryParameters: any = {};
|
|
208
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
209
|
+
if (q !== undefined) {
|
|
210
|
+
queryParameters['q'] = q;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
if (state !== undefined) {
|
|
214
|
+
queryParameters['state'] = state;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
if (regionCode !== undefined) {
|
|
218
|
+
queryParameters['regionCode'] = regionCode;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
if (countryCode !== undefined) {
|
|
222
|
+
queryParameters['countryCode'] = countryCode;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
if (city !== undefined) {
|
|
226
|
+
queryParameters['city'] = city;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
if (county !== undefined) {
|
|
230
|
+
queryParameters['county'] = county;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
if (offset !== undefined) {
|
|
234
|
+
queryParameters['offset'] = offset;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
if (length !== undefined) {
|
|
238
|
+
queryParameters['length'] = length;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
if (citationId !== undefined) {
|
|
242
|
+
queryParameters['citationId'] = citationId;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
246
|
+
method: 'GET',
|
|
247
|
+
url: localVarPath,
|
|
248
|
+
params: queryParameters,
|
|
249
|
+
headers: headerParams
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
if (extraHttpRequestParams) {
|
|
253
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
return this.$http(httpRequestParams);
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* @summary updateCourtAddress
|
|
261
|
+
* @param courtId courtId
|
|
262
|
+
* @param addressId addressId
|
|
263
|
+
* @param request request
|
|
264
|
+
*/
|
|
265
|
+
public updateCourtAddressUsingPUT (courtId: number, addressId: number, request: models.UpsertAddressRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
266
|
+
const localVarPath = this.basePath + '/api/v1/courts/{courtId}/addresses/{addressId}'
|
|
267
|
+
.replace('{' + 'courtId' + '}', encodeURIComponent(String(courtId)))
|
|
268
|
+
.replace('{' + 'addressId' + '}', encodeURIComponent(String(addressId)));
|
|
269
|
+
|
|
270
|
+
let queryParameters: any = {};
|
|
271
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
272
|
+
// verify required parameter 'courtId' is not null or undefined
|
|
273
|
+
if (courtId === null || courtId === undefined) {
|
|
274
|
+
throw new Error('Required parameter courtId was null or undefined when calling updateCourtAddressUsingPUT.');
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// verify required parameter 'addressId' is not null or undefined
|
|
278
|
+
if (addressId === null || addressId === undefined) {
|
|
279
|
+
throw new Error('Required parameter addressId was null or undefined when calling updateCourtAddressUsingPUT.');
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
// verify required parameter 'request' is not null or undefined
|
|
283
|
+
if (request === null || request === undefined) {
|
|
284
|
+
throw new Error('Required parameter request was null or undefined when calling updateCourtAddressUsingPUT.');
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
288
|
+
method: 'PUT',
|
|
289
|
+
url: localVarPath,
|
|
290
|
+
data: request,
|
|
291
|
+
params: queryParameters,
|
|
292
|
+
headers: headerParams
|
|
293
|
+
};
|
|
294
|
+
|
|
295
|
+
if (extraHttpRequestParams) {
|
|
296
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
return this.$http(httpRequestParams);
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @summary updateCourt
|
|
304
|
+
* @param courtId courtId
|
|
305
|
+
* @param request request
|
|
306
|
+
*/
|
|
307
|
+
public updateCourtUsingPUT (courtId: number, request: models.UpdateCourtRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
308
|
+
const localVarPath = this.basePath + '/api/v1/courts/{courtId}'
|
|
309
|
+
.replace('{' + 'courtId' + '}', encodeURIComponent(String(courtId)));
|
|
310
|
+
|
|
311
|
+
let queryParameters: any = {};
|
|
312
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
313
|
+
// verify required parameter 'courtId' is not null or undefined
|
|
314
|
+
if (courtId === null || courtId === undefined) {
|
|
315
|
+
throw new Error('Required parameter courtId was null or undefined when calling updateCourtUsingPUT.');
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
// verify required parameter 'request' is not null or undefined
|
|
319
|
+
if (request === null || request === undefined) {
|
|
320
|
+
throw new Error('Required parameter request was null or undefined when calling updateCourtUsingPUT.');
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
324
|
+
method: 'PUT',
|
|
325
|
+
url: localVarPath,
|
|
326
|
+
data: request,
|
|
327
|
+
params: queryParameters,
|
|
328
|
+
headers: headerParams
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
if (extraHttpRequestParams) {
|
|
332
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
return this.$http(httpRequestParams);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import * as models from '../model/models';
|
|
14
|
+
|
|
15
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
16
|
+
|
|
17
|
+
export class CrmControllerApi {
|
|
18
|
+
protected basePath = 'http://otr-backend-service-us-devo.offtherecord.com:443';
|
|
19
|
+
public defaultHeaders : any = {};
|
|
20
|
+
|
|
21
|
+
static $inject: string[] = ['$http', '$httpParamSerializer', 'basePath'];
|
|
22
|
+
|
|
23
|
+
constructor(protected $http: ng.IHttpService, protected $httpParamSerializer?: (d: any) => any, basePath?: string) {
|
|
24
|
+
if (basePath !== undefined) {
|
|
25
|
+
this.basePath = basePath;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @summary generateTemplate
|
|
32
|
+
* @param request request
|
|
33
|
+
*/
|
|
34
|
+
public generateTemplateUsingPOST (request: models.GenerateTemplateRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetEmailTemplateResponse> {
|
|
35
|
+
const localVarPath = this.basePath + '/api/v1/crm/generate-template';
|
|
36
|
+
|
|
37
|
+
let queryParameters: any = {};
|
|
38
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
39
|
+
// verify required parameter 'request' is not null or undefined
|
|
40
|
+
if (request === null || request === undefined) {
|
|
41
|
+
throw new Error('Required parameter request was null or undefined when calling generateTemplateUsingPOST.');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
45
|
+
method: 'POST',
|
|
46
|
+
url: localVarPath,
|
|
47
|
+
data: request,
|
|
48
|
+
params: queryParameters,
|
|
49
|
+
headers: headerParams
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
if (extraHttpRequestParams) {
|
|
53
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
return this.$http(httpRequestParams);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @summary getOutgoingContacts
|
|
61
|
+
* @param recipientEmailAddress recipientEmailAddress
|
|
62
|
+
*/
|
|
63
|
+
public getOutgoingContactsUsingGET (recipientEmailAddress: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetOutgoingContactsResponse> {
|
|
64
|
+
const localVarPath = this.basePath + '/api/v1/crm/contacts';
|
|
65
|
+
|
|
66
|
+
let queryParameters: any = {};
|
|
67
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
68
|
+
// verify required parameter 'recipientEmailAddress' is not null or undefined
|
|
69
|
+
if (recipientEmailAddress === null || recipientEmailAddress === undefined) {
|
|
70
|
+
throw new Error('Required parameter recipientEmailAddress was null or undefined when calling getOutgoingContactsUsingGET.');
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if (recipientEmailAddress !== undefined) {
|
|
74
|
+
queryParameters['recipientEmailAddress'] = recipientEmailAddress;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
78
|
+
method: 'GET',
|
|
79
|
+
url: localVarPath,
|
|
80
|
+
params: queryParameters,
|
|
81
|
+
headers: headerParams
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
if (extraHttpRequestParams) {
|
|
85
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return this.$http(httpRequestParams);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @summary getTemplates
|
|
93
|
+
* @param category category
|
|
94
|
+
*/
|
|
95
|
+
public getTemplatesUsingGET (category?: Array<string>, extraHttpRequestParams?: any ) : ng.IHttpPromise<Array<string>> {
|
|
96
|
+
const localVarPath = this.basePath + '/api/v1/crm/templates';
|
|
97
|
+
|
|
98
|
+
let queryParameters: any = {};
|
|
99
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
100
|
+
if (category !== undefined) {
|
|
101
|
+
queryParameters['category'] = category;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
105
|
+
method: 'GET',
|
|
106
|
+
url: localVarPath,
|
|
107
|
+
params: queryParameters,
|
|
108
|
+
headers: headerParams
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
if (extraHttpRequestParams) {
|
|
112
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
return this.$http(httpRequestParams);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @summary replyToTicket
|
|
120
|
+
* @param ticketId ticketId
|
|
121
|
+
* @param request request
|
|
122
|
+
*/
|
|
123
|
+
public replyToTicketUsingPOST (ticketId: number, request: models.ReplyToTicketRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<object> {
|
|
124
|
+
const localVarPath = this.basePath + '/api/v1/crm/ticket/{ticketId}/reply'
|
|
125
|
+
.replace('{' + 'ticketId' + '}', encodeURIComponent(String(ticketId)));
|
|
126
|
+
|
|
127
|
+
let queryParameters: any = {};
|
|
128
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
129
|
+
// verify required parameter 'ticketId' is not null or undefined
|
|
130
|
+
if (ticketId === null || ticketId === undefined) {
|
|
131
|
+
throw new Error('Required parameter ticketId was null or undefined when calling replyToTicketUsingPOST.');
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// verify required parameter 'request' is not null or undefined
|
|
135
|
+
if (request === null || request === undefined) {
|
|
136
|
+
throw new Error('Required parameter request was null or undefined when calling replyToTicketUsingPOST.');
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
140
|
+
method: 'POST',
|
|
141
|
+
url: localVarPath,
|
|
142
|
+
data: request,
|
|
143
|
+
params: queryParameters,
|
|
144
|
+
headers: headerParams
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
if (extraHttpRequestParams) {
|
|
148
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
return this.$http(httpRequestParams);
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @summary sendConsolidatedEmailToUser
|
|
156
|
+
* @param request request
|
|
157
|
+
*/
|
|
158
|
+
public sendConsolidatedEmailToUserUsingPOST (request: models.SendConsolidatedEmailToUser, extraHttpRequestParams?: any ) : ng.IHttpPromise<object> {
|
|
159
|
+
const localVarPath = this.basePath + '/api/v1/crm/user/consolidate-email';
|
|
160
|
+
|
|
161
|
+
let queryParameters: any = {};
|
|
162
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
163
|
+
// verify required parameter 'request' is not null or undefined
|
|
164
|
+
if (request === null || request === undefined) {
|
|
165
|
+
throw new Error('Required parameter request was null or undefined when calling sendConsolidatedEmailToUserUsingPOST.');
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
169
|
+
method: 'POST',
|
|
170
|
+
url: localVarPath,
|
|
171
|
+
data: request,
|
|
172
|
+
params: queryParameters,
|
|
173
|
+
headers: headerParams
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
if (extraHttpRequestParams) {
|
|
177
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
return this.$http(httpRequestParams);
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* @summary sendEmailToUser
|
|
185
|
+
* @param request request
|
|
186
|
+
*/
|
|
187
|
+
public sendEmailToUserUsingPOST (request: models.SendEmailToUserRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
188
|
+
const localVarPath = this.basePath + '/api/v1/crm/user/email';
|
|
189
|
+
|
|
190
|
+
let queryParameters: any = {};
|
|
191
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
192
|
+
// verify required parameter 'request' is not null or undefined
|
|
193
|
+
if (request === null || request === undefined) {
|
|
194
|
+
throw new Error('Required parameter request was null or undefined when calling sendEmailToUserUsingPOST.');
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
198
|
+
method: 'POST',
|
|
199
|
+
url: localVarPath,
|
|
200
|
+
data: request,
|
|
201
|
+
params: queryParameters,
|
|
202
|
+
headers: headerParams
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
if (extraHttpRequestParams) {
|
|
206
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
return this.$http(httpRequestParams);
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @summary sendEmailToUsers
|
|
214
|
+
* @param request request
|
|
215
|
+
*/
|
|
216
|
+
public sendEmailToUsersUsingPOST (request: models.SendEmailToUsersRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
217
|
+
const localVarPath = this.basePath + '/api/v1/crm/users/email';
|
|
218
|
+
|
|
219
|
+
let queryParameters: any = {};
|
|
220
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
221
|
+
// verify required parameter 'request' is not null or undefined
|
|
222
|
+
if (request === null || request === undefined) {
|
|
223
|
+
throw new Error('Required parameter request was null or undefined when calling sendEmailToUsersUsingPOST.');
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
227
|
+
method: 'POST',
|
|
228
|
+
url: localVarPath,
|
|
229
|
+
data: request,
|
|
230
|
+
params: queryParameters,
|
|
231
|
+
headers: headerParams
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
if (extraHttpRequestParams) {
|
|
235
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
return this.$http(httpRequestParams);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import * as models from '../model/models';
|
|
14
|
+
|
|
15
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
16
|
+
|
|
17
|
+
export class CustomerLeadControllerApi {
|
|
18
|
+
protected basePath = 'http://otr-backend-service-us-devo.offtherecord.com:443';
|
|
19
|
+
public defaultHeaders : any = {};
|
|
20
|
+
|
|
21
|
+
static $inject: string[] = ['$http', '$httpParamSerializer', 'basePath'];
|
|
22
|
+
|
|
23
|
+
constructor(protected $http: ng.IHttpService, protected $httpParamSerializer?: (d: any) => any, basePath?: string) {
|
|
24
|
+
if (basePath !== undefined) {
|
|
25
|
+
this.basePath = basePath;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @summary postCustomerLead
|
|
32
|
+
* @param request request
|
|
33
|
+
*/
|
|
34
|
+
public postCustomerLeadUsingPOST (request: models.PostCustomerLeadRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
35
|
+
const localVarPath = this.basePath + '/api/v1/customer-leads';
|
|
36
|
+
|
|
37
|
+
let queryParameters: any = {};
|
|
38
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
39
|
+
// verify required parameter 'request' is not null or undefined
|
|
40
|
+
if (request === null || request === undefined) {
|
|
41
|
+
throw new Error('Required parameter request was null or undefined when calling postCustomerLeadUsingPOST.');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
45
|
+
method: 'POST',
|
|
46
|
+
url: localVarPath,
|
|
47
|
+
data: request,
|
|
48
|
+
params: queryParameters,
|
|
49
|
+
headers: headerParams
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
if (extraHttpRequestParams) {
|
|
53
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
return this.$http(httpRequestParams);
|
|
57
|
+
}
|
|
58
|
+
}
|