@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,600 @@
|
|
|
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 LawfirmControllerApi {
|
|
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 addLawfirmAddress
|
|
32
|
+
* @param lawfirmId lawfirmId
|
|
33
|
+
* @param request request
|
|
34
|
+
*/
|
|
35
|
+
public addLawfirmAddressUsingPOST (lawfirmId: number, request: models.UpsertAddressRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
36
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/addresses'
|
|
37
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
38
|
+
|
|
39
|
+
let queryParameters: any = {};
|
|
40
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
41
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
42
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
43
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling addLawfirmAddressUsingPOST.');
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// verify required parameter 'request' is not null or undefined
|
|
47
|
+
if (request === null || request === undefined) {
|
|
48
|
+
throw new Error('Required parameter request was null or undefined when calling addLawfirmAddressUsingPOST.');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
52
|
+
method: 'POST',
|
|
53
|
+
url: localVarPath,
|
|
54
|
+
data: request,
|
|
55
|
+
params: queryParameters,
|
|
56
|
+
headers: headerParams
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
if (extraHttpRequestParams) {
|
|
60
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return this.$http(httpRequestParams);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @summary createLawfirm
|
|
68
|
+
* @param request request
|
|
69
|
+
*/
|
|
70
|
+
public createLawfirmUsingPOST (request: models.CreateNewLawfirmRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetLawfirmResponse> {
|
|
71
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms';
|
|
72
|
+
|
|
73
|
+
let queryParameters: any = {};
|
|
74
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
75
|
+
// verify required parameter 'request' is not null or undefined
|
|
76
|
+
if (request === null || request === undefined) {
|
|
77
|
+
throw new Error('Required parameter request was null or undefined when calling createLawfirmUsingPOST.');
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
81
|
+
method: 'POST',
|
|
82
|
+
url: localVarPath,
|
|
83
|
+
data: request,
|
|
84
|
+
params: queryParameters,
|
|
85
|
+
headers: headerParams
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
if (extraHttpRequestParams) {
|
|
89
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return this.$http(httpRequestParams);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @summary deleteLawfirmConnectedAccount
|
|
97
|
+
* @param lawfirmId lawfirmId
|
|
98
|
+
*/
|
|
99
|
+
public deleteLawfirmConnectedAccountUsingDELETE (lawfirmId: number, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
100
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/stripe/account'
|
|
101
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
102
|
+
|
|
103
|
+
let queryParameters: any = {};
|
|
104
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
105
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
106
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
107
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling deleteLawfirmConnectedAccountUsingDELETE.');
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
111
|
+
method: 'DELETE',
|
|
112
|
+
url: localVarPath,
|
|
113
|
+
params: queryParameters,
|
|
114
|
+
headers: headerParams
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
if (extraHttpRequestParams) {
|
|
118
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
return this.$http(httpRequestParams);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @summary getLawfirmAddresses
|
|
126
|
+
* @param lawfirmId lawfirmId
|
|
127
|
+
*/
|
|
128
|
+
public getLawfirmAddressesUsingGET (lawfirmId: number, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetLawfirmAddressesResponse> {
|
|
129
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/addresses'
|
|
130
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
131
|
+
|
|
132
|
+
let queryParameters: any = {};
|
|
133
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
134
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
135
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
136
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling getLawfirmAddressesUsingGET.');
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
140
|
+
method: 'GET',
|
|
141
|
+
url: localVarPath,
|
|
142
|
+
params: queryParameters,
|
|
143
|
+
headers: headerParams
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
if (extraHttpRequestParams) {
|
|
147
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
return this.$http(httpRequestParams);
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @summary getLawfirmCaseStats
|
|
155
|
+
* @param lawfirmId lawfirmId
|
|
156
|
+
*/
|
|
157
|
+
public getLawfirmCaseStatsUsingGET (lawfirmId: number, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetLawfirmCaseStatsResponse> {
|
|
158
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/cases/stats'
|
|
159
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
160
|
+
|
|
161
|
+
let queryParameters: any = {};
|
|
162
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
163
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
164
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
165
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling getLawfirmCaseStatsUsingGET.');
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
169
|
+
method: 'GET',
|
|
170
|
+
url: localVarPath,
|
|
171
|
+
params: queryParameters,
|
|
172
|
+
headers: headerParams
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
if (extraHttpRequestParams) {
|
|
176
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
return this.$http(httpRequestParams);
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @summary getLawfirmInboxMessages
|
|
184
|
+
* @param lawfirmId lawfirmId
|
|
185
|
+
* @param page page
|
|
186
|
+
* @param length length
|
|
187
|
+
*/
|
|
188
|
+
public getLawfirmInboxMessagesUsingGET (lawfirmId: number, page?: number, length?: number, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetLawfirmInboxMessagesResponse> {
|
|
189
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/messages'
|
|
190
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
191
|
+
|
|
192
|
+
let queryParameters: any = {};
|
|
193
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
194
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
195
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
196
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling getLawfirmInboxMessagesUsingGET.');
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
if (page !== undefined) {
|
|
200
|
+
queryParameters['page'] = page;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
if (length !== undefined) {
|
|
204
|
+
queryParameters['length'] = length;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
208
|
+
method: 'GET',
|
|
209
|
+
url: localVarPath,
|
|
210
|
+
params: queryParameters,
|
|
211
|
+
headers: headerParams
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
if (extraHttpRequestParams) {
|
|
215
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
return this.$http(httpRequestParams);
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @summary getLawfirmLawyers
|
|
223
|
+
* @param lawfirmIdString lawfirmIdString
|
|
224
|
+
*/
|
|
225
|
+
public getLawfirmLawyersUsingGET (lawfirmIdString: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<object> {
|
|
226
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmIdString}/lawyers'
|
|
227
|
+
.replace('{' + 'lawfirmIdString' + '}', encodeURIComponent(String(lawfirmIdString)));
|
|
228
|
+
|
|
229
|
+
let queryParameters: any = {};
|
|
230
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
231
|
+
// verify required parameter 'lawfirmIdString' is not null or undefined
|
|
232
|
+
if (lawfirmIdString === null || lawfirmIdString === undefined) {
|
|
233
|
+
throw new Error('Required parameter lawfirmIdString was null or undefined when calling getLawfirmLawyersUsingGET.');
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
237
|
+
method: 'GET',
|
|
238
|
+
url: localVarPath,
|
|
239
|
+
params: queryParameters,
|
|
240
|
+
headers: headerParams
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
if (extraHttpRequestParams) {
|
|
244
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
return this.$http(httpRequestParams);
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @summary getLawfirmStatuses
|
|
252
|
+
*/
|
|
253
|
+
public getLawfirmStatusesUsingGET (extraHttpRequestParams?: any ) : ng.IHttpPromise<object> {
|
|
254
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/statuses';
|
|
255
|
+
|
|
256
|
+
let queryParameters: any = {};
|
|
257
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
258
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
259
|
+
method: 'GET',
|
|
260
|
+
url: localVarPath,
|
|
261
|
+
params: queryParameters,
|
|
262
|
+
headers: headerParams
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
if (extraHttpRequestParams) {
|
|
266
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
return this.$http(httpRequestParams);
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @summary getLawfirm
|
|
274
|
+
* @param lawfirmIdString lawfirmIdString
|
|
275
|
+
* @param isDetailsRequired isDetailsRequired
|
|
276
|
+
*/
|
|
277
|
+
public getLawfirmUsingGET (lawfirmIdString: string, isDetailsRequired?: boolean, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetLawfirmResponse> {
|
|
278
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmIdString}'
|
|
279
|
+
.replace('{' + 'lawfirmIdString' + '}', encodeURIComponent(String(lawfirmIdString)));
|
|
280
|
+
|
|
281
|
+
let queryParameters: any = {};
|
|
282
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
283
|
+
// verify required parameter 'lawfirmIdString' is not null or undefined
|
|
284
|
+
if (lawfirmIdString === null || lawfirmIdString === undefined) {
|
|
285
|
+
throw new Error('Required parameter lawfirmIdString was null or undefined when calling getLawfirmUsingGET.');
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
if (isDetailsRequired !== undefined) {
|
|
289
|
+
queryParameters['isDetailsRequired'] = isDetailsRequired;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
293
|
+
method: 'GET',
|
|
294
|
+
url: localVarPath,
|
|
295
|
+
params: queryParameters,
|
|
296
|
+
headers: headerParams
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
if (extraHttpRequestParams) {
|
|
300
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
return this.$http(httpRequestParams);
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
* @summary getLawfirms
|
|
308
|
+
* @param q q
|
|
309
|
+
* @param states states
|
|
310
|
+
* @param statuses statuses
|
|
311
|
+
* @param includeTestLawfirms includeTestLawfirms
|
|
312
|
+
* @param includeVacationMode includeVacationMode
|
|
313
|
+
* @param acceptsAccidentTickets acceptsAccidentTickets
|
|
314
|
+
* @param acceptsPastDueTickets acceptsPastDueTickets
|
|
315
|
+
*/
|
|
316
|
+
public getLawfirmsUsingGET (q?: string, states?: Array<string>, statuses?: Array<string>, includeTestLawfirms?: boolean, includeVacationMode?: boolean, acceptsAccidentTickets?: boolean, acceptsPastDueTickets?: boolean, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetLawfirmsResponse> {
|
|
317
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms';
|
|
318
|
+
|
|
319
|
+
let queryParameters: any = {};
|
|
320
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
321
|
+
if (q !== undefined) {
|
|
322
|
+
queryParameters['q'] = q;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
if (states !== undefined) {
|
|
326
|
+
queryParameters['states'] = states;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
if (statuses !== undefined) {
|
|
330
|
+
queryParameters['statuses'] = statuses;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
if (includeTestLawfirms !== undefined) {
|
|
334
|
+
queryParameters['includeTestLawfirms'] = includeTestLawfirms;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
if (includeVacationMode !== undefined) {
|
|
338
|
+
queryParameters['includeVacationMode'] = includeVacationMode;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
if (acceptsAccidentTickets !== undefined) {
|
|
342
|
+
queryParameters['acceptsAccidentTickets'] = acceptsAccidentTickets;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
if (acceptsPastDueTickets !== undefined) {
|
|
346
|
+
queryParameters['acceptsPastDueTickets'] = acceptsPastDueTickets;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
350
|
+
method: 'GET',
|
|
351
|
+
url: localVarPath,
|
|
352
|
+
params: queryParameters,
|
|
353
|
+
headers: headerParams
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
if (extraHttpRequestParams) {
|
|
357
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
return this.$http(httpRequestParams);
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @summary getOtrLawfirmNotes
|
|
365
|
+
* @param lawfirmId lawfirmId
|
|
366
|
+
*/
|
|
367
|
+
public getOtrLawfirmNotesUsingGET (lawfirmId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<object> {
|
|
368
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/otr-notes'
|
|
369
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
370
|
+
|
|
371
|
+
let queryParameters: any = {};
|
|
372
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
373
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
374
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
375
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling getOtrLawfirmNotesUsingGET.');
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
379
|
+
method: 'GET',
|
|
380
|
+
url: localVarPath,
|
|
381
|
+
params: queryParameters,
|
|
382
|
+
headers: headerParams
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
if (extraHttpRequestParams) {
|
|
386
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
return this.$http(httpRequestParams);
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
*
|
|
393
|
+
* @summary getStripeConnectedAccount
|
|
394
|
+
* @param lawfirmIdString lawfirmIdString
|
|
395
|
+
*/
|
|
396
|
+
public getStripeConnectedAccountUsingGET (lawfirmIdString: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetStripeConnectedAccountResponse> {
|
|
397
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmIdString}/stripe'
|
|
398
|
+
.replace('{' + 'lawfirmIdString' + '}', encodeURIComponent(String(lawfirmIdString)));
|
|
399
|
+
|
|
400
|
+
let queryParameters: any = {};
|
|
401
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
402
|
+
// verify required parameter 'lawfirmIdString' is not null or undefined
|
|
403
|
+
if (lawfirmIdString === null || lawfirmIdString === undefined) {
|
|
404
|
+
throw new Error('Required parameter lawfirmIdString was null or undefined when calling getStripeConnectedAccountUsingGET.');
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
408
|
+
method: 'GET',
|
|
409
|
+
url: localVarPath,
|
|
410
|
+
params: queryParameters,
|
|
411
|
+
headers: headerParams
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
if (extraHttpRequestParams) {
|
|
415
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
return this.$http(httpRequestParams);
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
*
|
|
422
|
+
* @summary getSupportedStatesForLawfirm
|
|
423
|
+
* @param lawfirmId lawfirmId
|
|
424
|
+
*/
|
|
425
|
+
public getSupportedStatesForLawfirmUsingGET (lawfirmId: number, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetLawfirmSupportedStatesResponse> {
|
|
426
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/supported-states'
|
|
427
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
428
|
+
|
|
429
|
+
let queryParameters: any = {};
|
|
430
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
431
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
432
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
433
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling getSupportedStatesForLawfirmUsingGET.');
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
437
|
+
method: 'GET',
|
|
438
|
+
url: localVarPath,
|
|
439
|
+
params: queryParameters,
|
|
440
|
+
headers: headerParams
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
if (extraHttpRequestParams) {
|
|
444
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
return this.$http(httpRequestParams);
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
* @summary updateLawfirmAddress
|
|
452
|
+
* @param lawfirmId lawfirmId
|
|
453
|
+
* @param addressId addressId
|
|
454
|
+
* @param request request
|
|
455
|
+
*/
|
|
456
|
+
public updateLawfirmAddressUsingPUT (lawfirmId: number, addressId: number, request: models.UpsertAddressRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
457
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/addresses/{addressId}'
|
|
458
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)))
|
|
459
|
+
.replace('{' + 'addressId' + '}', encodeURIComponent(String(addressId)));
|
|
460
|
+
|
|
461
|
+
let queryParameters: any = {};
|
|
462
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
463
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
464
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
465
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling updateLawfirmAddressUsingPUT.');
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
// verify required parameter 'addressId' is not null or undefined
|
|
469
|
+
if (addressId === null || addressId === undefined) {
|
|
470
|
+
throw new Error('Required parameter addressId was null or undefined when calling updateLawfirmAddressUsingPUT.');
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
// verify required parameter 'request' is not null or undefined
|
|
474
|
+
if (request === null || request === undefined) {
|
|
475
|
+
throw new Error('Required parameter request was null or undefined when calling updateLawfirmAddressUsingPUT.');
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
479
|
+
method: 'PUT',
|
|
480
|
+
url: localVarPath,
|
|
481
|
+
data: request,
|
|
482
|
+
params: queryParameters,
|
|
483
|
+
headers: headerParams
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
if (extraHttpRequestParams) {
|
|
487
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
return this.$http(httpRequestParams);
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
*
|
|
494
|
+
* @summary updateLawfirmSettings
|
|
495
|
+
* @param lawfirmIdString lawfirmIdString
|
|
496
|
+
* @param request request
|
|
497
|
+
*/
|
|
498
|
+
public updateLawfirmSettingsUsingPOST (lawfirmIdString: string, request: models.UpdateLawfirmSettingsRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetLawfirmResponse> {
|
|
499
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmIdString}/settings'
|
|
500
|
+
.replace('{' + 'lawfirmIdString' + '}', encodeURIComponent(String(lawfirmIdString)));
|
|
501
|
+
|
|
502
|
+
let queryParameters: any = {};
|
|
503
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
504
|
+
// verify required parameter 'lawfirmIdString' is not null or undefined
|
|
505
|
+
if (lawfirmIdString === null || lawfirmIdString === undefined) {
|
|
506
|
+
throw new Error('Required parameter lawfirmIdString was null or undefined when calling updateLawfirmSettingsUsingPOST.');
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
// verify required parameter 'request' is not null or undefined
|
|
510
|
+
if (request === null || request === undefined) {
|
|
511
|
+
throw new Error('Required parameter request was null or undefined when calling updateLawfirmSettingsUsingPOST.');
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
515
|
+
method: 'POST',
|
|
516
|
+
url: localVarPath,
|
|
517
|
+
data: request,
|
|
518
|
+
params: queryParameters,
|
|
519
|
+
headers: headerParams
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
if (extraHttpRequestParams) {
|
|
523
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
return this.$http(httpRequestParams);
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @summary updateLawfirm
|
|
531
|
+
* @param lawfirmIdString lawfirmIdString
|
|
532
|
+
* @param request request
|
|
533
|
+
*/
|
|
534
|
+
public updateLawfirmUsingPUT (lawfirmIdString: string, request: models.UpdateLawfirmRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<object> {
|
|
535
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmIdString}'
|
|
536
|
+
.replace('{' + 'lawfirmIdString' + '}', encodeURIComponent(String(lawfirmIdString)));
|
|
537
|
+
|
|
538
|
+
let queryParameters: any = {};
|
|
539
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
540
|
+
// verify required parameter 'lawfirmIdString' is not null or undefined
|
|
541
|
+
if (lawfirmIdString === null || lawfirmIdString === undefined) {
|
|
542
|
+
throw new Error('Required parameter lawfirmIdString was null or undefined when calling updateLawfirmUsingPUT.');
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
// verify required parameter 'request' is not null or undefined
|
|
546
|
+
if (request === null || request === undefined) {
|
|
547
|
+
throw new Error('Required parameter request was null or undefined when calling updateLawfirmUsingPUT.');
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
551
|
+
method: 'PUT',
|
|
552
|
+
url: localVarPath,
|
|
553
|
+
data: request,
|
|
554
|
+
params: queryParameters,
|
|
555
|
+
headers: headerParams
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
if (extraHttpRequestParams) {
|
|
559
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
return this.$http(httpRequestParams);
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @summary updateLawfirmWithPicture
|
|
567
|
+
* @param lawfirmId lawfirmId
|
|
568
|
+
* @param lawfirmPictureRequest lawfirmPictureRequest
|
|
569
|
+
*/
|
|
570
|
+
public updateLawfirmWithPictureUsingPUT (lawfirmId: string, lawfirmPictureRequest: models.LawfirmDomainPictureRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<object> {
|
|
571
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/picture'
|
|
572
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
573
|
+
|
|
574
|
+
let queryParameters: any = {};
|
|
575
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
576
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
577
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
578
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling updateLawfirmWithPictureUsingPUT.');
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
// verify required parameter 'lawfirmPictureRequest' is not null or undefined
|
|
582
|
+
if (lawfirmPictureRequest === null || lawfirmPictureRequest === undefined) {
|
|
583
|
+
throw new Error('Required parameter lawfirmPictureRequest was null or undefined when calling updateLawfirmWithPictureUsingPUT.');
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
587
|
+
method: 'PUT',
|
|
588
|
+
url: localVarPath,
|
|
589
|
+
data: lawfirmPictureRequest,
|
|
590
|
+
params: queryParameters,
|
|
591
|
+
headers: headerParams
|
|
592
|
+
};
|
|
593
|
+
|
|
594
|
+
if (extraHttpRequestParams) {
|
|
595
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
return this.$http(httpRequestParams);
|
|
599
|
+
}
|
|
600
|
+
}
|