@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,393 @@
|
|
|
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 StripeCardControllerApi {
|
|
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 addACHToLawfirmStripeAccount
|
|
32
|
+
* @param lawfirmId lawfirmId
|
|
33
|
+
* @param request request
|
|
34
|
+
*/
|
|
35
|
+
public addACHToLawfirmStripeAccountUsingPOST (lawfirmId: string, request: models.AddACHToStripeAccountRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<object> {
|
|
36
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/stripe/ach'
|
|
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 addACHToLawfirmStripeAccountUsingPOST.');
|
|
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 addACHToLawfirmStripeAccountUsingPOST.');
|
|
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 addACHToUserStripeAccount
|
|
68
|
+
* @param userId userId
|
|
69
|
+
* @param request request
|
|
70
|
+
*/
|
|
71
|
+
public addACHToUserStripeAccountUsingPOST (userId: string, request: models.AddACHToStripeAccountRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<object> {
|
|
72
|
+
const localVarPath = this.basePath + '/api/v1/users/{userId}/stripe/ach'
|
|
73
|
+
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
74
|
+
|
|
75
|
+
let queryParameters: any = {};
|
|
76
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
77
|
+
// verify required parameter 'userId' is not null or undefined
|
|
78
|
+
if (userId === null || userId === undefined) {
|
|
79
|
+
throw new Error('Required parameter userId was null or undefined when calling addACHToUserStripeAccountUsingPOST.');
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// verify required parameter 'request' is not null or undefined
|
|
83
|
+
if (request === null || request === undefined) {
|
|
84
|
+
throw new Error('Required parameter request was null or undefined when calling addACHToUserStripeAccountUsingPOST.');
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
88
|
+
method: 'POST',
|
|
89
|
+
url: localVarPath,
|
|
90
|
+
data: request,
|
|
91
|
+
params: queryParameters,
|
|
92
|
+
headers: headerParams
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
if (extraHttpRequestParams) {
|
|
96
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return this.$http(httpRequestParams);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @summary addCardToStripeAccount
|
|
104
|
+
* @param request request
|
|
105
|
+
*/
|
|
106
|
+
public addCardToStripeAccountUsingPOST (request: models.AddCardToStripeAccountRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.AddCardToStripeAccountResponse> {
|
|
107
|
+
const localVarPath = this.basePath + '/api/v1/users/stripe/account/cards';
|
|
108
|
+
|
|
109
|
+
let queryParameters: any = {};
|
|
110
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
111
|
+
// verify required parameter 'request' is not null or undefined
|
|
112
|
+
if (request === null || request === undefined) {
|
|
113
|
+
throw new Error('Required parameter request was null or undefined when calling addCardToStripeAccountUsingPOST.');
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
117
|
+
method: 'POST',
|
|
118
|
+
url: localVarPath,
|
|
119
|
+
data: request,
|
|
120
|
+
params: queryParameters,
|
|
121
|
+
headers: headerParams
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
if (extraHttpRequestParams) {
|
|
125
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
return this.$http(httpRequestParams);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @summary deleteBankAccountFromLawfirmStripeAccount
|
|
133
|
+
* @param lawfirmId lawfirmId
|
|
134
|
+
* @param bankAccountId bankAccountId
|
|
135
|
+
*/
|
|
136
|
+
public deleteBankAccountFromLawfirmStripeAccountUsingDELETE (lawfirmId: number, bankAccountId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
137
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/stripe/bank-accounts/{bankAccountId}'
|
|
138
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)))
|
|
139
|
+
.replace('{' + 'bankAccountId' + '}', encodeURIComponent(String(bankAccountId)));
|
|
140
|
+
|
|
141
|
+
let queryParameters: any = {};
|
|
142
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
143
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
144
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
145
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling deleteBankAccountFromLawfirmStripeAccountUsingDELETE.');
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// verify required parameter 'bankAccountId' is not null or undefined
|
|
149
|
+
if (bankAccountId === null || bankAccountId === undefined) {
|
|
150
|
+
throw new Error('Required parameter bankAccountId was null or undefined when calling deleteBankAccountFromLawfirmStripeAccountUsingDELETE.');
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
154
|
+
method: 'DELETE',
|
|
155
|
+
url: localVarPath,
|
|
156
|
+
params: queryParameters,
|
|
157
|
+
headers: headerParams
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
if (extraHttpRequestParams) {
|
|
161
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
return this.$http(httpRequestParams);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @summary deleteCardForUser
|
|
169
|
+
* @param userId userId
|
|
170
|
+
* @param cardId cardId
|
|
171
|
+
*/
|
|
172
|
+
public deleteCardForUserUsingDELETE (userId: string, cardId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.StripeCardDomain> {
|
|
173
|
+
const localVarPath = this.basePath + '/api/v1/users/{userId}/stripe/account/cards/{cardId}'
|
|
174
|
+
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)))
|
|
175
|
+
.replace('{' + 'cardId' + '}', encodeURIComponent(String(cardId)));
|
|
176
|
+
|
|
177
|
+
let queryParameters: any = {};
|
|
178
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
179
|
+
// verify required parameter 'userId' is not null or undefined
|
|
180
|
+
if (userId === null || userId === undefined) {
|
|
181
|
+
throw new Error('Required parameter userId was null or undefined when calling deleteCardForUserUsingDELETE.');
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
// verify required parameter 'cardId' is not null or undefined
|
|
185
|
+
if (cardId === null || cardId === undefined) {
|
|
186
|
+
throw new Error('Required parameter cardId was null or undefined when calling deleteCardForUserUsingDELETE.');
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
190
|
+
method: 'DELETE',
|
|
191
|
+
url: localVarPath,
|
|
192
|
+
params: queryParameters,
|
|
193
|
+
headers: headerParams
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
if (extraHttpRequestParams) {
|
|
197
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
return this.$http(httpRequestParams);
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @summary deleteCard
|
|
205
|
+
* @param cardId cardId
|
|
206
|
+
*/
|
|
207
|
+
public deleteCardUsingDELETE (cardId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.StripeCardDomain> {
|
|
208
|
+
const localVarPath = this.basePath + '/api/v1/users/stripe/account/cards/{cardId}'
|
|
209
|
+
.replace('{' + 'cardId' + '}', encodeURIComponent(String(cardId)));
|
|
210
|
+
|
|
211
|
+
let queryParameters: any = {};
|
|
212
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
213
|
+
// verify required parameter 'cardId' is not null or undefined
|
|
214
|
+
if (cardId === null || cardId === undefined) {
|
|
215
|
+
throw new Error('Required parameter cardId was null or undefined when calling deleteCardUsingDELETE.');
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
219
|
+
method: 'DELETE',
|
|
220
|
+
url: localVarPath,
|
|
221
|
+
params: queryParameters,
|
|
222
|
+
headers: headerParams
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
if (extraHttpRequestParams) {
|
|
226
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
return this.$http(httpRequestParams);
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @summary getCard
|
|
234
|
+
* @param cardId cardId
|
|
235
|
+
*/
|
|
236
|
+
public getCardUsingGET (cardId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.StripeCardDomain> {
|
|
237
|
+
const localVarPath = this.basePath + '/api/v1/users/stripe/account/cards/{cardId}'
|
|
238
|
+
.replace('{' + 'cardId' + '}', encodeURIComponent(String(cardId)));
|
|
239
|
+
|
|
240
|
+
let queryParameters: any = {};
|
|
241
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
242
|
+
// verify required parameter 'cardId' is not null or undefined
|
|
243
|
+
if (cardId === null || cardId === undefined) {
|
|
244
|
+
throw new Error('Required parameter cardId was null or undefined when calling getCardUsingGET.');
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
248
|
+
method: 'GET',
|
|
249
|
+
url: localVarPath,
|
|
250
|
+
params: queryParameters,
|
|
251
|
+
headers: headerParams
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
if (extraHttpRequestParams) {
|
|
255
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
return this.$http(httpRequestParams);
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @summary Retrieves all the payment methods available on the lawfirm\'s Stripe account.
|
|
263
|
+
* @param lawfirmId lawfirmId
|
|
264
|
+
*/
|
|
265
|
+
public getLawfirmPaymentMethodsUsingGET (lawfirmId: number, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetLawfirmPaymentMethodsResponse> {
|
|
266
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/paymentmethods'
|
|
267
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
268
|
+
|
|
269
|
+
let queryParameters: any = {};
|
|
270
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
271
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
272
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
273
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling getLawfirmPaymentMethodsUsingGET.');
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
277
|
+
method: 'GET',
|
|
278
|
+
url: localVarPath,
|
|
279
|
+
params: queryParameters,
|
|
280
|
+
headers: headerParams
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
if (extraHttpRequestParams) {
|
|
284
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
return this.$http(httpRequestParams);
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
*
|
|
291
|
+
* @summary Retrieves all the payment methods available on the user\'s Stripe account.
|
|
292
|
+
* @param userIdString userIdString
|
|
293
|
+
*/
|
|
294
|
+
public getPaymentMethodsForUserUsingGET (userIdString: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetPaymentMethodsForUserResponse> {
|
|
295
|
+
const localVarPath = this.basePath + '/api/v1/users/{userIdString}/paymentmethods'
|
|
296
|
+
.replace('{' + 'userIdString' + '}', encodeURIComponent(String(userIdString)));
|
|
297
|
+
|
|
298
|
+
let queryParameters: any = {};
|
|
299
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
300
|
+
// verify required parameter 'userIdString' is not null or undefined
|
|
301
|
+
if (userIdString === null || userIdString === undefined) {
|
|
302
|
+
throw new Error('Required parameter userIdString was null or undefined when calling getPaymentMethodsForUserUsingGET.');
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
306
|
+
method: 'GET',
|
|
307
|
+
url: localVarPath,
|
|
308
|
+
params: queryParameters,
|
|
309
|
+
headers: headerParams
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
if (extraHttpRequestParams) {
|
|
313
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
return this.$http(httpRequestParams);
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
*
|
|
320
|
+
* @summary setCardAsPrimary
|
|
321
|
+
* @param userId userId
|
|
322
|
+
* @param cardId cardId
|
|
323
|
+
*/
|
|
324
|
+
public setCardAsPrimaryUsingPUT (userId: string, cardId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
325
|
+
const localVarPath = this.basePath + '/api/v1/users/{userId}/account/cards/{cardId}/primary'
|
|
326
|
+
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)))
|
|
327
|
+
.replace('{' + 'cardId' + '}', encodeURIComponent(String(cardId)));
|
|
328
|
+
|
|
329
|
+
let queryParameters: any = {};
|
|
330
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
331
|
+
// verify required parameter 'userId' is not null or undefined
|
|
332
|
+
if (userId === null || userId === undefined) {
|
|
333
|
+
throw new Error('Required parameter userId was null or undefined when calling setCardAsPrimaryUsingPUT.');
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
// verify required parameter 'cardId' is not null or undefined
|
|
337
|
+
if (cardId === null || cardId === undefined) {
|
|
338
|
+
throw new Error('Required parameter cardId was null or undefined when calling setCardAsPrimaryUsingPUT.');
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
342
|
+
method: 'PUT',
|
|
343
|
+
url: localVarPath,
|
|
344
|
+
params: queryParameters,
|
|
345
|
+
headers: headerParams
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
if (extraHttpRequestParams) {
|
|
349
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
return this.$http(httpRequestParams);
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
*
|
|
356
|
+
* @summary setDefaultPaymentMethodForLawfirm
|
|
357
|
+
* @param lawfirmId lawfirmId
|
|
358
|
+
* @param stripePaymentSourceId stripePaymentSourceId
|
|
359
|
+
*/
|
|
360
|
+
public setDefaultPaymentMethodForLawfirmUsingPUT (lawfirmId: number, stripePaymentSourceId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
361
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/stripe/payment-methods/default'
|
|
362
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
363
|
+
|
|
364
|
+
let queryParameters: any = {};
|
|
365
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
366
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
367
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
368
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling setDefaultPaymentMethodForLawfirmUsingPUT.');
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
// verify required parameter 'stripePaymentSourceId' is not null or undefined
|
|
372
|
+
if (stripePaymentSourceId === null || stripePaymentSourceId === undefined) {
|
|
373
|
+
throw new Error('Required parameter stripePaymentSourceId was null or undefined when calling setDefaultPaymentMethodForLawfirmUsingPUT.');
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
if (stripePaymentSourceId !== undefined) {
|
|
377
|
+
queryParameters['stripePaymentSourceId'] = stripePaymentSourceId;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
381
|
+
method: 'PUT',
|
|
382
|
+
url: localVarPath,
|
|
383
|
+
params: queryParameters,
|
|
384
|
+
headers: headerParams
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
if (extraHttpRequestParams) {
|
|
388
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
return this.$http(httpRequestParams);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
@@ -0,0 +1,254 @@
|
|
|
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 StripeControllerApi {
|
|
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 connectStripeAccount
|
|
32
|
+
* @param code authorizationCode
|
|
33
|
+
*/
|
|
34
|
+
public connectStripeAccountUsingPOST (code: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<object> {
|
|
35
|
+
const localVarPath = this.basePath + '/api/v1/stripe/connect';
|
|
36
|
+
|
|
37
|
+
let queryParameters: any = {};
|
|
38
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
39
|
+
// verify required parameter 'code' is not null or undefined
|
|
40
|
+
if (code === null || code === undefined) {
|
|
41
|
+
throw new Error('Required parameter code was null or undefined when calling connectStripeAccountUsingPOST.');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (code !== undefined) {
|
|
45
|
+
queryParameters['code'] = code;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
49
|
+
method: 'POST',
|
|
50
|
+
url: localVarPath,
|
|
51
|
+
params: queryParameters,
|
|
52
|
+
headers: headerParams
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
if (extraHttpRequestParams) {
|
|
56
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return this.$http(httpRequestParams);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @summary handleStripeWebhookOnDemand
|
|
64
|
+
* @param request request
|
|
65
|
+
*/
|
|
66
|
+
public handleStripeWebhookOnDemandUsingPOST (request?: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
67
|
+
const localVarPath = this.basePath + '/api/v1/stripe/webhook/manual';
|
|
68
|
+
|
|
69
|
+
let queryParameters: any = {};
|
|
70
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
71
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
72
|
+
method: 'POST',
|
|
73
|
+
url: localVarPath,
|
|
74
|
+
data: request,
|
|
75
|
+
params: queryParameters,
|
|
76
|
+
headers: headerParams
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
if (extraHttpRequestParams) {
|
|
80
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return this.$http(httpRequestParams);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @summary handleStripeWebhook
|
|
88
|
+
* @param request request
|
|
89
|
+
*/
|
|
90
|
+
public handleStripeWebhookUsingPOST (request?: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
91
|
+
const localVarPath = this.basePath + '/api/v1/stripe/webhook';
|
|
92
|
+
|
|
93
|
+
let queryParameters: any = {};
|
|
94
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
95
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
96
|
+
method: 'POST',
|
|
97
|
+
url: localVarPath,
|
|
98
|
+
data: request,
|
|
99
|
+
params: queryParameters,
|
|
100
|
+
headers: headerParams
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
if (extraHttpRequestParams) {
|
|
104
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
return this.$http(httpRequestParams);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @summary retrieveConnectedAccountDetails
|
|
112
|
+
* @param accountId accountId
|
|
113
|
+
*/
|
|
114
|
+
public retrieveConnectedAccountDetailsUsingGET (accountId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetStripeConnectedAccountResponse> {
|
|
115
|
+
const localVarPath = this.basePath + '/api/v1/stripe/{accountId}'
|
|
116
|
+
.replace('{' + 'accountId' + '}', encodeURIComponent(String(accountId)));
|
|
117
|
+
|
|
118
|
+
let queryParameters: any = {};
|
|
119
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
120
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
121
|
+
if (accountId === null || accountId === undefined) {
|
|
122
|
+
throw new Error('Required parameter accountId was null or undefined when calling retrieveConnectedAccountDetailsUsingGET.');
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
126
|
+
method: 'GET',
|
|
127
|
+
url: localVarPath,
|
|
128
|
+
params: queryParameters,
|
|
129
|
+
headers: headerParams
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
if (extraHttpRequestParams) {
|
|
133
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
return this.$http(httpRequestParams);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @summary syncAllDisputes
|
|
141
|
+
*/
|
|
142
|
+
public syncAllDisputesUsingPOST (extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
143
|
+
const localVarPath = this.basePath + '/api/v1/stripe/disputes/sync-all';
|
|
144
|
+
|
|
145
|
+
let queryParameters: any = {};
|
|
146
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
147
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
148
|
+
method: 'POST',
|
|
149
|
+
url: localVarPath,
|
|
150
|
+
params: queryParameters,
|
|
151
|
+
headers: headerParams
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
if (extraHttpRequestParams) {
|
|
155
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
return this.$http(httpRequestParams);
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @summary syncDispute
|
|
163
|
+
* @param disputeId disputeId
|
|
164
|
+
*/
|
|
165
|
+
public syncDisputeUsingPOST (disputeId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.SyncStripeDisputeResponse> {
|
|
166
|
+
const localVarPath = this.basePath + '/api/v1/stripe/disputes/{disputeId}/sync'
|
|
167
|
+
.replace('{' + 'disputeId' + '}', encodeURIComponent(String(disputeId)));
|
|
168
|
+
|
|
169
|
+
let queryParameters: any = {};
|
|
170
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
171
|
+
// verify required parameter 'disputeId' is not null or undefined
|
|
172
|
+
if (disputeId === null || disputeId === undefined) {
|
|
173
|
+
throw new Error('Required parameter disputeId was null or undefined when calling syncDisputeUsingPOST.');
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
177
|
+
method: 'POST',
|
|
178
|
+
url: localVarPath,
|
|
179
|
+
params: queryParameters,
|
|
180
|
+
headers: headerParams
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
if (extraHttpRequestParams) {
|
|
184
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
return this.$http(httpRequestParams);
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @summary syncStripeCharges
|
|
192
|
+
* @param request request
|
|
193
|
+
*/
|
|
194
|
+
public syncStripeChargesUsingPOST (request: models.SyncStripeChargesRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.SyncStripeChargesResponse> {
|
|
195
|
+
const localVarPath = this.basePath + '/api/v1/stripe/sync-stripe-charges';
|
|
196
|
+
|
|
197
|
+
let queryParameters: any = {};
|
|
198
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
199
|
+
// verify required parameter 'request' is not null or undefined
|
|
200
|
+
if (request === null || request === undefined) {
|
|
201
|
+
throw new Error('Required parameter request was null or undefined when calling syncStripeChargesUsingPOST.');
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
205
|
+
method: 'POST',
|
|
206
|
+
url: localVarPath,
|
|
207
|
+
data: request,
|
|
208
|
+
params: queryParameters,
|
|
209
|
+
headers: headerParams
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
if (extraHttpRequestParams) {
|
|
213
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
return this.$http(httpRequestParams);
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @summary updateDispute
|
|
221
|
+
* @param disputeId disputeId
|
|
222
|
+
* @param request request
|
|
223
|
+
*/
|
|
224
|
+
public updateDisputeUsingPUT (disputeId: string, request: models.UpdateDisputeRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
|
225
|
+
const localVarPath = this.basePath + '/api/v1/stripe/disputes/{disputeId}'
|
|
226
|
+
.replace('{' + 'disputeId' + '}', encodeURIComponent(String(disputeId)));
|
|
227
|
+
|
|
228
|
+
let queryParameters: any = {};
|
|
229
|
+
let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
230
|
+
// verify required parameter 'disputeId' is not null or undefined
|
|
231
|
+
if (disputeId === null || disputeId === undefined) {
|
|
232
|
+
throw new Error('Required parameter disputeId was null or undefined when calling updateDisputeUsingPUT.');
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// verify required parameter 'request' is not null or undefined
|
|
236
|
+
if (request === null || request === undefined) {
|
|
237
|
+
throw new Error('Required parameter request was null or undefined when calling updateDisputeUsingPUT.');
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
let httpRequestParams: ng.IRequestConfig = {
|
|
241
|
+
method: 'PUT',
|
|
242
|
+
url: localVarPath,
|
|
243
|
+
data: request,
|
|
244
|
+
params: queryParameters,
|
|
245
|
+
headers: headerParams
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
if (extraHttpRequestParams) {
|
|
249
|
+
httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
return this.$http(httpRequestParams);
|
|
253
|
+
}
|
|
254
|
+
}
|