@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.
Files changed (465) hide show
  1. package/README.md +74 -0
  2. package/dist/otr-ts-client/.openapi-generator/VERSION +1 -0
  3. package/dist/otr-ts-client/.openapi-generator-ignore +23 -0
  4. package/dist/otr-ts-client/.swagger-codegen/VERSION +1 -0
  5. package/dist/otr-ts-client/api/ActionRequiredControllerApi.ts +58 -0
  6. package/dist/otr-ts-client/api/AddressControllerApi.ts +80 -0
  7. package/dist/otr-ts-client/api/AlertNotificationControllerApi.ts +87 -0
  8. package/dist/otr-ts-client/api/AppEventsControllerApi.ts +58 -0
  9. package/dist/otr-ts-client/api/AuthenticationControllerApi.ts +51 -0
  10. package/dist/otr-ts-client/api/AwsCredentialsControllerApi.ts +58 -0
  11. package/dist/otr-ts-client/api/BlogWebhookControllerApi.ts +58 -0
  12. package/dist/otr-ts-client/api/BranchLinkControllerApi.ts +58 -0
  13. package/dist/otr-ts-client/api/CaseActionTimelineControllerApi.ts +58 -0
  14. package/dist/otr-ts-client/api/CaseActionsControllerApi.ts +152 -0
  15. package/dist/otr-ts-client/api/CaseControllerApi.ts +894 -0
  16. package/dist/otr-ts-client/api/CaseCreationControllerApi.ts +89 -0
  17. package/dist/otr-ts-client/api/CaseFinancialsControllerApi.ts +296 -0
  18. package/dist/otr-ts-client/api/CasePaymentControllerApi.ts +560 -0
  19. package/dist/otr-ts-client/api/CasePaymentPlanControllerApi.ts +114 -0
  20. package/dist/otr-ts-client/api/CaseStatusControllerApi.ts +56 -0
  21. package/dist/otr-ts-client/api/CaseTransferControllerApi.ts +94 -0
  22. package/dist/otr-ts-client/api/CertificateControllerApi.ts +61 -0
  23. package/dist/otr-ts-client/api/CitationControllerApi.ts +476 -0
  24. package/dist/otr-ts-client/api/ConfigurationControllerApi.ts +51 -0
  25. package/dist/otr-ts-client/api/ConsoleListControllerApi.ts +348 -0
  26. package/dist/otr-ts-client/api/ConversationControllerApi.ts +176 -0
  27. package/dist/otr-ts-client/api/CountyControllerApi.ts +61 -0
  28. package/dist/otr-ts-client/api/CourtControllerApi.ts +337 -0
  29. package/dist/otr-ts-client/api/CrmControllerApi.ts +240 -0
  30. package/dist/otr-ts-client/api/CustomerLeadControllerApi.ts +58 -0
  31. package/dist/otr-ts-client/api/CustomerReviewControllerApi.ts +66 -0
  32. package/dist/otr-ts-client/api/DashboardControllerApi.ts +290 -0
  33. package/dist/otr-ts-client/api/DirectMailControllerApi.ts +196 -0
  34. package/dist/otr-ts-client/api/DisputeControllerApi.ts +65 -0
  35. package/dist/otr-ts-client/api/DripControllerApi.ts +58 -0
  36. package/dist/otr-ts-client/api/DripWebhooksControllerApi.ts +87 -0
  37. package/dist/otr-ts-client/api/EmailSubscriptionControllerApi.ts +58 -0
  38. package/dist/otr-ts-client/api/FeedbackControllerApi.ts +58 -0
  39. package/dist/otr-ts-client/api/FreshdeskTicketControllerApi.ts +101 -0
  40. package/dist/otr-ts-client/api/InsuranceCalculatorControllerApi.ts +58 -0
  41. package/dist/otr-ts-client/api/InternalNotificationControllerApi.ts +58 -0
  42. package/dist/otr-ts-client/api/LawfirmCaseDecisionControllerApi.ts +65 -0
  43. package/dist/otr-ts-client/api/LawfirmCasesControllerApi.ts +104 -0
  44. package/dist/otr-ts-client/api/LawfirmControllerApi.ts +600 -0
  45. package/dist/otr-ts-client/api/LawfirmDocumentControllerApi.ts +256 -0
  46. package/dist/otr-ts-client/api/LawfirmFeeCoverageControllerApi.ts +273 -0
  47. package/dist/otr-ts-client/api/LawfirmRatesControllerApi.ts +58 -0
  48. package/dist/otr-ts-client/api/LawfirmTransactionsControllerApi.ts +58 -0
  49. package/dist/otr-ts-client/api/LawyerControllerApi.ts +116 -0
  50. package/dist/otr-ts-client/api/LineItemControllerApi.ts +173 -0
  51. package/dist/otr-ts-client/api/NotesControllerApi.ts +123 -0
  52. package/dist/otr-ts-client/api/OnDemandRequestControllerApi.ts +65 -0
  53. package/dist/otr-ts-client/api/PhoneLeadsControllerApi.ts +87 -0
  54. package/dist/otr-ts-client/api/PushNotificationControllerApi.ts +222 -0
  55. package/dist/otr-ts-client/api/RefLinkControllerApi.ts +58 -0
  56. package/dist/otr-ts-client/api/ReferralControllerApi.ts +252 -0
  57. package/dist/otr-ts-client/api/RefundEligibilityControllerApi.ts +58 -0
  58. package/dist/otr-ts-client/api/RegistrationControllerApi.ts +94 -0
  59. package/dist/otr-ts-client/api/ReportingControllerApi.ts +168 -0
  60. package/dist/otr-ts-client/api/ScheduledTaskControllerApi.ts +94 -0
  61. package/dist/otr-ts-client/api/SnsListenerControllerApi.ts +87 -0
  62. package/dist/otr-ts-client/api/SocialLoginControllerApi.ts +65 -0
  63. package/dist/otr-ts-client/api/StripeCardControllerApi.ts +393 -0
  64. package/dist/otr-ts-client/api/StripeControllerApi.ts +254 -0
  65. package/dist/otr-ts-client/api/TicketReviewControllerApi.ts +123 -0
  66. package/dist/otr-ts-client/api/TrafficViolationControllerApi.ts +141 -0
  67. package/dist/otr-ts-client/api/UserControllerApi.ts +502 -0
  68. package/dist/otr-ts-client/api/UserProfileControllerApi.ts +288 -0
  69. package/dist/otr-ts-client/api/UserReferralControllerApi.ts +80 -0
  70. package/dist/otr-ts-client/api/UserSettingsControllerApi.ts +58 -0
  71. package/dist/otr-ts-client/api/UtilityControllerApi.ts +141 -0
  72. package/dist/otr-ts-client/api/ValidationControllerApi.ts +61 -0
  73. package/dist/otr-ts-client/api/ViolationPenaltyControllerApi.ts +157 -0
  74. package/dist/otr-ts-client/api/api.ts +131 -0
  75. package/dist/otr-ts-client/api.module.ts +71 -0
  76. package/dist/otr-ts-client/git_push.sh +58 -0
  77. package/dist/otr-ts-client/index.ts +2 -0
  78. package/dist/otr-ts-client/model/AccountLevelFee.ts +33 -0
  79. package/dist/otr-ts-client/model/AccountLevelFeeRequest.ts +18 -0
  80. package/dist/otr-ts-client/model/AccountLevelFeeResponse.ts +18 -0
  81. package/dist/otr-ts-client/model/AccountLevelFeeToSave.ts +31 -0
  82. package/dist/otr-ts-client/model/AddACHToStripeAccountRequest.ts +20 -0
  83. package/dist/otr-ts-client/model/AddActionToCaseRequest.ts +18 -0
  84. package/dist/otr-ts-client/model/AddActionToCaseResponse.ts +18 -0
  85. package/dist/otr-ts-client/model/AddCardToStripeAccountRequest.ts +20 -0
  86. package/dist/otr-ts-client/model/AddCardToStripeAccountResponse.ts +20 -0
  87. package/dist/otr-ts-client/model/AddCaseMessageResponse.ts +18 -0
  88. package/dist/otr-ts-client/model/AddCourtCoverageRequest.ts +20 -0
  89. package/dist/otr-ts-client/model/AddCourtRequest.ts +19 -0
  90. package/dist/otr-ts-client/model/AddExtraAccountRequest.ts +19 -0
  91. package/dist/otr-ts-client/model/AddNoteToPhoneLeadRequest.ts +34 -0
  92. package/dist/otr-ts-client/model/AddPenaltyRequest.ts +18 -0
  93. package/dist/otr-ts-client/model/AddViolationRequest.ts +32 -0
  94. package/dist/otr-ts-client/model/AddViolationsToCitationRequest.ts +18 -0
  95. package/dist/otr-ts-client/model/AddressDomain.ts +96 -0
  96. package/dist/otr-ts-client/model/Alert.ts +35 -0
  97. package/dist/otr-ts-client/model/AlertNotificationResponse.ts +19 -0
  98. package/dist/otr-ts-client/model/AppEventCreateRequest.ts +27 -0
  99. package/dist/otr-ts-client/model/AppearanceAttorneyDomain.ts +21 -0
  100. package/dist/otr-ts-client/model/AuthorizeChargeForCasePaymentRequest.ts +18 -0
  101. package/dist/otr-ts-client/model/AuthorizeChargeForCasePaymentResponse.ts +18 -0
  102. package/dist/otr-ts-client/model/AuthorizeChargeForCaseRequest.ts +19 -0
  103. package/dist/otr-ts-client/model/AuthorizeChargeForCaseResponse.ts +18 -0
  104. package/dist/otr-ts-client/model/AuthorizeChargeForInvoiceLineItemRequest.ts +18 -0
  105. package/dist/otr-ts-client/model/AuthorizeChargeLineItemResponse.ts +18 -0
  106. package/dist/otr-ts-client/model/AvailablePaymentPlan.ts +27 -0
  107. package/dist/otr-ts-client/model/AvailablePaymentPlanResponse.ts +18 -0
  108. package/dist/otr-ts-client/model/AwsCredentialsRequest.ts +23 -0
  109. package/dist/otr-ts-client/model/BlogDocument.ts +20 -0
  110. package/dist/otr-ts-client/model/BlogEvent.ts +21 -0
  111. package/dist/otr-ts-client/model/BlogMetadata.ts +20 -0
  112. package/dist/otr-ts-client/model/CancelCaseRequest.ts +54 -0
  113. package/dist/otr-ts-client/model/CancelCaseResponse.ts +28 -0
  114. package/dist/otr-ts-client/model/CaptureChargeFromCasePaymentRequest.ts +18 -0
  115. package/dist/otr-ts-client/model/CaseActionDomain.ts +33 -0
  116. package/dist/otr-ts-client/model/CaseAlert.ts +36 -0
  117. package/dist/otr-ts-client/model/CaseChargeDomain.ts +25 -0
  118. package/dist/otr-ts-client/model/CaseChargeResponsePojo.ts +19 -0
  119. package/dist/otr-ts-client/model/CaseCreationRequest.ts +20 -0
  120. package/dist/otr-ts-client/model/CaseDomain.ts +82 -0
  121. package/dist/otr-ts-client/model/CaseFinancialLineItemResponse.ts +19 -0
  122. package/dist/otr-ts-client/model/CaseFinancialsDomain.ts +46 -0
  123. package/dist/otr-ts-client/model/CaseFinancialsSummary.ts +33 -0
  124. package/dist/otr-ts-client/model/CaseFuturePayment.ts +20 -0
  125. package/dist/otr-ts-client/model/CaseLineItemDomain.ts +40 -0
  126. package/dist/otr-ts-client/model/CaseLineItemsSummary.ts +30 -0
  127. package/dist/otr-ts-client/model/CaseMessageDomain.ts +39 -0
  128. package/dist/otr-ts-client/model/CaseNotesDomain.ts +19 -0
  129. package/dist/otr-ts-client/model/CasePaymentDomain.ts +42 -0
  130. package/dist/otr-ts-client/model/CasePaymentPlanResponse.ts +34 -0
  131. package/dist/otr-ts-client/model/CaseStatusDetailsResponse.ts +59 -0
  132. package/dist/otr-ts-client/model/CaseStatusDomain.ts +65 -0
  133. package/dist/otr-ts-client/model/CaseSummaryDomain.ts +41 -0
  134. package/dist/otr-ts-client/model/CaseTransferHistory.ts +43 -0
  135. package/dist/otr-ts-client/model/CaseTransferResponse.ts +18 -0
  136. package/dist/otr-ts-client/model/CaseViolationPenalty.ts +33 -0
  137. package/dist/otr-ts-client/model/CaseWithCoverageObtained.ts +39 -0
  138. package/dist/otr-ts-client/model/ChangeUserPasswordRequest.ts +20 -0
  139. package/dist/otr-ts-client/model/ChargeDisputeDomain.ts +71 -0
  140. package/dist/otr-ts-client/model/Chronology.ts +18 -0
  141. package/dist/otr-ts-client/model/CitationDomain.ts +116 -0
  142. package/dist/otr-ts-client/model/CitationInputRequest.ts +93 -0
  143. package/dist/otr-ts-client/model/CitationWithMissingCourt.ts +76 -0
  144. package/dist/otr-ts-client/model/CitationWithMissingFields.ts +24 -0
  145. package/dist/otr-ts-client/model/ClientActionRequiredRequest.ts +27 -0
  146. package/dist/otr-ts-client/model/ClientLeadDomain.ts +24 -0
  147. package/dist/otr-ts-client/model/CollectionNotificationEvent.ts +17 -0
  148. package/dist/otr-ts-client/model/CountryDomain.ts +19 -0
  149. package/dist/otr-ts-client/model/CountryRegion.ts +22 -0
  150. package/dist/otr-ts-client/model/CountyDomain.ts +75 -0
  151. package/dist/otr-ts-client/model/CourtCoverageCountyRecord.ts +26 -0
  152. package/dist/otr-ts-client/model/CourtCoverageRecord.ts +29 -0
  153. package/dist/otr-ts-client/model/CourtCoverageStateRecord.ts +25 -0
  154. package/dist/otr-ts-client/model/CourtDomain.ts +42 -0
  155. package/dist/otr-ts-client/model/CoverageToRemove.ts +19 -0
  156. package/dist/otr-ts-client/model/CreateBranchLinkRequest.ts +26 -0
  157. package/dist/otr-ts-client/model/CreateCitationRequest.ts +93 -0
  158. package/dist/otr-ts-client/model/CreateCitationResponse.ts +18 -0
  159. package/dist/otr-ts-client/model/CreateNewLawfirmRequest.ts +22 -0
  160. package/dist/otr-ts-client/model/CreateNoteInput.ts +25 -0
  161. package/dist/otr-ts-client/model/CreateNoteRequest.ts +18 -0
  162. package/dist/otr-ts-client/model/CreateNoteResponse.ts +18 -0
  163. package/dist/otr-ts-client/model/CreateReferralCodeRequest.ts +39 -0
  164. package/dist/otr-ts-client/model/CreateReferralCodeResponse.ts +18 -0
  165. package/dist/otr-ts-client/model/CreateReferralSourceForCitation.ts +18 -0
  166. package/dist/otr-ts-client/model/CustomerLead.ts +95 -0
  167. package/dist/otr-ts-client/model/CustomerReview.ts +36 -0
  168. package/dist/otr-ts-client/model/CustomerReviewResponse.ts +18 -0
  169. package/dist/otr-ts-client/model/DateTime.ts +22 -0
  170. package/dist/otr-ts-client/model/DateTimeZone.ts +19 -0
  171. package/dist/otr-ts-client/model/DeleteCitationResponse.ts +18 -0
  172. package/dist/otr-ts-client/model/DeleteNotificationEventRequest.ts +29 -0
  173. package/dist/otr-ts-client/model/DirectMailContact.ts +42 -0
  174. package/dist/otr-ts-client/model/DirectMailContactResponse.ts +18 -0
  175. package/dist/otr-ts-client/model/DirectMailGetRequest.ts +19 -0
  176. package/dist/otr-ts-client/model/DirectMailSendRequest.ts +28 -0
  177. package/dist/otr-ts-client/model/DirectMailTemplate.ts +30 -0
  178. package/dist/otr-ts-client/model/DirectMailTemplateResponse.ts +18 -0
  179. package/dist/otr-ts-client/model/DirectMailTemplateToAdd.ts +30 -0
  180. package/dist/otr-ts-client/model/DismissCitationsFromContactListRequest.ts +18 -0
  181. package/dist/otr-ts-client/model/DismissPhoneLeadRequest.ts +33 -0
  182. package/dist/otr-ts-client/model/DocumentDecisionRequest.ts +19 -0
  183. package/dist/otr-ts-client/model/DripRemoveRequest.ts +27 -0
  184. package/dist/otr-ts-client/model/DripWebhookData.ts +20 -0
  185. package/dist/otr-ts-client/model/DripWebhookEvent.ts +20 -0
  186. package/dist/otr-ts-client/model/EstimateInsuranceSavingsRequest.ts +76 -0
  187. package/dist/otr-ts-client/model/EstimateInsuranceSavingsResponse.ts +20 -0
  188. package/dist/otr-ts-client/model/FeedbackDomain.ts +20 -0
  189. package/dist/otr-ts-client/model/FindChargeDisputesResponse.ts +18 -0
  190. package/dist/otr-ts-client/model/FindCourtsWithNoCoverageResponse.ts +19 -0
  191. package/dist/otr-ts-client/model/FindDisputesRequest.ts +19 -0
  192. package/dist/otr-ts-client/model/FindMatchingUser.ts +34 -0
  193. package/dist/otr-ts-client/model/FindMatchingUsersRequest.ts +22 -0
  194. package/dist/otr-ts-client/model/FindMatchingUsersResponse.ts +18 -0
  195. package/dist/otr-ts-client/model/FindsCourtsResponse.ts +19 -0
  196. package/dist/otr-ts-client/model/FreshDeskConversation.ts +23 -0
  197. package/dist/otr-ts-client/model/FreshDeskRequester.ts +19 -0
  198. package/dist/otr-ts-client/model/FreshDeskTicket.ts +64 -0
  199. package/dist/otr-ts-client/model/FreshdeskTicketReferenceDomain.ts +35 -0
  200. package/dist/otr-ts-client/model/FreshdeskWebhookRequest.ts +23 -0
  201. package/dist/otr-ts-client/model/FuturePayment.ts +33 -0
  202. package/dist/otr-ts-client/model/GenerateTemplateRequest.ts +61 -0
  203. package/dist/otr-ts-client/model/GenericAdminListRequest.ts +18 -0
  204. package/dist/otr-ts-client/model/GeoRatesRequest.ts +21 -0
  205. package/dist/otr-ts-client/model/GetAddressInnerResponse.ts +23 -0
  206. package/dist/otr-ts-client/model/GetAppConfigResponse.ts +19 -0
  207. package/dist/otr-ts-client/model/GetAppearanceAttorneysResponse.ts +18 -0
  208. package/dist/otr-ts-client/model/GetAvailablePaymentPlansResponse.ts +18 -0
  209. package/dist/otr-ts-client/model/GetCaseActionResponse.ts +18 -0
  210. package/dist/otr-ts-client/model/GetCaseActionTimelineResponse.ts +19 -0
  211. package/dist/otr-ts-client/model/GetCaseActionTypesResponse.ts +30 -0
  212. package/dist/otr-ts-client/model/GetCaseChargesResponse.ts +18 -0
  213. package/dist/otr-ts-client/model/GetCaseCostsAttorneyResponse.ts +23 -0
  214. package/dist/otr-ts-client/model/GetCaseDocumentResponse.ts +18 -0
  215. package/dist/otr-ts-client/model/GetCaseFinancialsResponse.ts +19 -0
  216. package/dist/otr-ts-client/model/GetCaseFromCitationResponse.ts +18 -0
  217. package/dist/otr-ts-client/model/GetCaseLineItemsResponse.ts +22 -0
  218. package/dist/otr-ts-client/model/GetCaseMessagesResponse.ts +19 -0
  219. package/dist/otr-ts-client/model/GetCasePaymentsResponse.ts +18 -0
  220. package/dist/otr-ts-client/model/GetCaseResolutionStatusesResponse.ts +18 -0
  221. package/dist/otr-ts-client/model/GetCaseResponse.ts +20 -0
  222. package/dist/otr-ts-client/model/GetCasesWithCoverageObtainedResponse.ts +18 -0
  223. package/dist/otr-ts-client/model/GetCasesWithOverduePaymentsResponse.ts +18 -0
  224. package/dist/otr-ts-client/model/GetCasesWithUncapturedChargesRequest.ts +17 -0
  225. package/dist/otr-ts-client/model/GetCasesWithUncapturedChargesResponse.ts +18 -0
  226. package/dist/otr-ts-client/model/GetCitationPhoneLeadsRequest.ts +18 -0
  227. package/dist/otr-ts-client/model/GetCitationPhoneLeadsResponse.ts +18 -0
  228. package/dist/otr-ts-client/model/GetCitationResponse.ts +18 -0
  229. package/dist/otr-ts-client/model/GetCitationsResponse.ts +18 -0
  230. package/dist/otr-ts-client/model/GetCitationsWithMissingFieldsRequest.ts +18 -0
  231. package/dist/otr-ts-client/model/GetCitationsWithMissingFieldsResponse.ts +18 -0
  232. package/dist/otr-ts-client/model/GetClientCasesResponse.ts +21 -0
  233. package/dist/otr-ts-client/model/GetCompetitionResponseModel.ts +21 -0
  234. package/dist/otr-ts-client/model/GetCountOfMatchingUsersRequest.ts +18 -0
  235. package/dist/otr-ts-client/model/GetCountOfMatchingUsersResponse.ts +18 -0
  236. package/dist/otr-ts-client/model/GetCountiesResponse.ts +18 -0
  237. package/dist/otr-ts-client/model/GetCountryListResponse.ts +18 -0
  238. package/dist/otr-ts-client/model/GetCountryRegionsResponse.ts +18 -0
  239. package/dist/otr-ts-client/model/GetCourtCoverageForCountyReportResponse.ts +18 -0
  240. package/dist/otr-ts-client/model/GetCourtCoverageForStateReportResponse.ts +19 -0
  241. package/dist/otr-ts-client/model/GetCourtCoverageReportResponse.ts +18 -0
  242. package/dist/otr-ts-client/model/GetCourtResponse.ts +18 -0
  243. package/dist/otr-ts-client/model/GetCourtsByQueryResponse.ts +19 -0
  244. package/dist/otr-ts-client/model/GetCourtsInnerResponse.ts +22 -0
  245. package/dist/otr-ts-client/model/GetCurrentUserResponse.ts +21 -0
  246. package/dist/otr-ts-client/model/GetDocumentsRequest.ts +18 -0
  247. package/dist/otr-ts-client/model/GetEmailTemplateResponse.ts +19 -0
  248. package/dist/otr-ts-client/model/GetInvalidCasesWithStripeChargeRequest.ts +17 -0
  249. package/dist/otr-ts-client/model/GetInvalidCasesWithStripeChargeResponse.ts +18 -0
  250. package/dist/otr-ts-client/model/GetLawfirmAddressesResponse.ts +18 -0
  251. package/dist/otr-ts-client/model/GetLawfirmCaseStatsResponse.ts +20 -0
  252. package/dist/otr-ts-client/model/GetLawfirmCasesResponse.ts +18 -0
  253. package/dist/otr-ts-client/model/GetLawfirmCoverageReportResponse.ts +19 -0
  254. package/dist/otr-ts-client/model/GetLawfirmCoverageResponse.ts +18 -0
  255. package/dist/otr-ts-client/model/GetLawfirmFeeCoverageModel.ts +24 -0
  256. package/dist/otr-ts-client/model/GetLawfirmFeeCoverageResponse.ts +18 -0
  257. package/dist/otr-ts-client/model/GetLawfirmFeeModel.ts +21 -0
  258. package/dist/otr-ts-client/model/GetLawfirmInboxMessagesResponse.ts +19 -0
  259. package/dist/otr-ts-client/model/GetLawfirmLeadsRequest.ts +18 -0
  260. package/dist/otr-ts-client/model/GetLawfirmLeadsResponse.ts +19 -0
  261. package/dist/otr-ts-client/model/GetLawfirmPaymentMethodsResponse.ts +19 -0
  262. package/dist/otr-ts-client/model/GetLawfirmResponse.ts +18 -0
  263. package/dist/otr-ts-client/model/GetLawfirmSummaryCaseRequest.ts +92 -0
  264. package/dist/otr-ts-client/model/GetLawfirmSummaryCasesResponse.ts +21 -0
  265. package/dist/otr-ts-client/model/GetLawfirmSupportedStatesResponse.ts +18 -0
  266. package/dist/otr-ts-client/model/GetLawfirmTransactionsResponse.ts +18 -0
  267. package/dist/otr-ts-client/model/GetLawfirmsResponse.ts +19 -0
  268. package/dist/otr-ts-client/model/GetLineItemsResponse.ts +19 -0
  269. package/dist/otr-ts-client/model/GetListOfCitationsWithMissingCourtResponse.ts +18 -0
  270. package/dist/otr-ts-client/model/GetLostCasesWithTransferNotReversedRequest.ts +20 -0
  271. package/dist/otr-ts-client/model/GetLostCasesWithTransferNotReversedResponse.ts +18 -0
  272. package/dist/otr-ts-client/model/GetOutgoingContactsResponse.ts +18 -0
  273. package/dist/otr-ts-client/model/GetPaymentMethodsForUserResponse.ts +19 -0
  274. package/dist/otr-ts-client/model/GetPenaltyType.ts +32 -0
  275. package/dist/otr-ts-client/model/GetPenaltyTypesResponse.ts +18 -0
  276. package/dist/otr-ts-client/model/GetPendingAndRefusedCasesRequest.ts +17 -0
  277. package/dist/otr-ts-client/model/GetPendingAndRefusedCasesResponse.ts +18 -0
  278. package/dist/otr-ts-client/model/GetPendingTicketReviewsRequest.ts +20 -0
  279. package/dist/otr-ts-client/model/GetPendingTicketReviewsResponse.ts +18 -0
  280. package/dist/otr-ts-client/model/GetPotentialCustomersRequest.ts +21 -0
  281. package/dist/otr-ts-client/model/GetPotentialCustomersResponse.ts +19 -0
  282. package/dist/otr-ts-client/model/GetReferralCodeResponse.ts +39 -0
  283. package/dist/otr-ts-client/model/GetReferralCodesResponse.ts +18 -0
  284. package/dist/otr-ts-client/model/GetReferralsHistoryResponse.ts +18 -0
  285. package/dist/otr-ts-client/model/GetStripeChargesResponse.ts +18 -0
  286. package/dist/otr-ts-client/model/GetStripeConnectedAccountResponse.ts +18 -0
  287. package/dist/otr-ts-client/model/GetSupportTicketsResponse.ts +18 -0
  288. package/dist/otr-ts-client/model/GetTicketReviewResponse.ts +18 -0
  289. package/dist/otr-ts-client/model/GetTrafficViolationTypesResponse.ts +19 -0
  290. package/dist/otr-ts-client/model/GetUserAddressesResponse.ts +18 -0
  291. package/dist/otr-ts-client/model/GetUserRefLinksResponse.ts +18 -0
  292. package/dist/otr-ts-client/model/GetUserReferralSourceTypesResponse.ts +18 -0
  293. package/dist/otr-ts-client/model/GetUserResponse.ts +18 -0
  294. package/dist/otr-ts-client/model/GraphRequest.ts +55 -0
  295. package/dist/otr-ts-client/model/HandleOrphanedStripeChargeRequest.ts +20 -0
  296. package/dist/otr-ts-client/model/HashMapstringobject.ts +17 -0
  297. package/dist/otr-ts-client/model/HashMapstringstring.ts +17 -0
  298. package/dist/otr-ts-client/model/InitiateCaseAndChargeCustomerRequest.ts +26 -0
  299. package/dist/otr-ts-client/model/InitiateCaseAndChargeCustomerResponse.ts +18 -0
  300. package/dist/otr-ts-client/model/InsertCaseLineItemResponse.ts +18 -0
  301. package/dist/otr-ts-client/model/InsertInvoiceLineItemRequest.ts +18 -0
  302. package/dist/otr-ts-client/model/IsRefundEligibleResponse.ts +25 -0
  303. package/dist/otr-ts-client/model/IsUserLoggedInResponse.ts +19 -0
  304. package/dist/otr-ts-client/model/KeyValueMapRequest.ts +20 -0
  305. package/dist/otr-ts-client/model/LawfirmCaseDocument.ts +35 -0
  306. package/dist/otr-ts-client/model/LawfirmCaseDomain.ts +46 -0
  307. package/dist/otr-ts-client/model/LawfirmCourtCoverageDomain.ts +33 -0
  308. package/dist/otr-ts-client/model/LawfirmCoverageRecord.ts +28 -0
  309. package/dist/otr-ts-client/model/LawfirmDocument.ts +35 -0
  310. package/dist/otr-ts-client/model/LawfirmDocumentResponse.ts +18 -0
  311. package/dist/otr-ts-client/model/LawfirmDocumentTemplate.ts +34 -0
  312. package/dist/otr-ts-client/model/LawfirmDocumentTemplateResponse.ts +18 -0
  313. package/dist/otr-ts-client/model/LawfirmDomain.ts +54 -0
  314. package/dist/otr-ts-client/model/LawfirmDomainPictureRequest.ts +18 -0
  315. package/dist/otr-ts-client/model/LawfirmInboxMessageDomain.ts +76 -0
  316. package/dist/otr-ts-client/model/LawfirmLeadDomain.ts +109 -0
  317. package/dist/otr-ts-client/model/LawfirmRatesResponse.ts +32 -0
  318. package/dist/otr-ts-client/model/LawfirmSettingsDomain.ts +33 -0
  319. package/dist/otr-ts-client/model/LawfirmTransactionDomain.ts +51 -0
  320. package/dist/otr-ts-client/model/LawfirmsRatesResponse.ts +18 -0
  321. package/dist/otr-ts-client/model/LineItem.ts +33 -0
  322. package/dist/otr-ts-client/model/LineItemRequest.ts +30 -0
  323. package/dist/otr-ts-client/model/ListRevenueRequest.ts +56 -0
  324. package/dist/otr-ts-client/model/LobEvent.ts +20 -0
  325. package/dist/otr-ts-client/model/LobEventRequest.ts +21 -0
  326. package/dist/otr-ts-client/model/LostCaseWithTransferNotReversed.ts +43 -0
  327. package/dist/otr-ts-client/model/MapstringCollectionNotificationEvent.ts +17 -0
  328. package/dist/otr-ts-client/model/Mapstringint.ts +17 -0
  329. package/dist/otr-ts-client/model/Mapstringobject.ts +17 -0
  330. package/dist/otr-ts-client/model/Mapstringstring.ts +17 -0
  331. package/dist/otr-ts-client/model/MarkCaseAsResolvedRequest.ts +55 -0
  332. package/dist/otr-ts-client/model/MarkCaseAsResolvedResponse.ts +62 -0
  333. package/dist/otr-ts-client/model/MatchCaseResponse.ts +20 -0
  334. package/dist/otr-ts-client/model/MatchCitationResponse.ts +27 -0
  335. package/dist/otr-ts-client/model/MatchInnerCaseResponse.ts +30 -0
  336. package/dist/otr-ts-client/model/MatchLawfirmCaseResponse.ts +21 -0
  337. package/dist/otr-ts-client/model/MessageInputDomain.ts +34 -0
  338. package/dist/otr-ts-client/model/MissingPaymentDomain.ts +63 -0
  339. package/dist/otr-ts-client/model/ModelDate.ts +26 -0
  340. package/dist/otr-ts-client/model/NewLawyerRequest.ts +19 -0
  341. package/dist/otr-ts-client/model/NewUser.ts +31 -0
  342. package/dist/otr-ts-client/model/NewUserResponse.ts +22 -0
  343. package/dist/otr-ts-client/model/NoLawyerAvailableRequest.ts +19 -0
  344. package/dist/otr-ts-client/model/NoteAuthor.ts +20 -0
  345. package/dist/otr-ts-client/model/NoteDomain.ts +29 -0
  346. package/dist/otr-ts-client/model/NotificationEvent.ts +23 -0
  347. package/dist/otr-ts-client/model/NotificationEvents.ts +19 -0
  348. package/dist/otr-ts-client/model/OutgoingContactDomain.ts +29 -0
  349. package/dist/otr-ts-client/model/Penalty.ts +36 -0
  350. package/dist/otr-ts-client/model/PenaltyRequest.ts +19 -0
  351. package/dist/otr-ts-client/model/PersistTicketEvaluationRequest.ts +31 -0
  352. package/dist/otr-ts-client/model/PhoneNumberDomain.ts +45 -0
  353. package/dist/otr-ts-client/model/PostCourtCoverageRequest.ts +18 -0
  354. package/dist/otr-ts-client/model/PostCustomerLeadRequest.ts +18 -0
  355. package/dist/otr-ts-client/model/PostFeedbackRequest.ts +18 -0
  356. package/dist/otr-ts-client/model/PostNewCaseMessageRequest.ts +18 -0
  357. package/dist/otr-ts-client/model/PostReferralSourceRequest.ts +40 -0
  358. package/dist/otr-ts-client/model/PotentialCustomerDomain.ts +185 -0
  359. package/dist/otr-ts-client/model/PreviewDocumentRequest.ts +20 -0
  360. package/dist/otr-ts-client/model/PriceMatchRequest.ts +24 -0
  361. package/dist/otr-ts-client/model/PriceMatchResponse.ts +28 -0
  362. package/dist/otr-ts-client/model/PublishReferralRequest.ts +19 -0
  363. package/dist/otr-ts-client/model/PushNotificationRegistrationRequest.ts +26 -0
  364. package/dist/otr-ts-client/model/PushNotificationRequest.ts +35 -0
  365. package/dist/otr-ts-client/model/PutDocumentRequest.ts +32 -0
  366. package/dist/otr-ts-client/model/PutUserSettingsRequest.ts +19 -0
  367. package/dist/otr-ts-client/model/ReferralContact.ts +20 -0
  368. package/dist/otr-ts-client/model/ReferralResponse.ts +67 -0
  369. package/dist/otr-ts-client/model/RefundCaseChargesRequest.ts +19 -0
  370. package/dist/otr-ts-client/model/RefundCaseChargesResponse.ts +18 -0
  371. package/dist/otr-ts-client/model/RegisterNewUserRequest.ts +51 -0
  372. package/dist/otr-ts-client/model/RegisterNewUserResponse.ts +21 -0
  373. package/dist/otr-ts-client/model/RemoveCoverageRequest.ts +18 -0
  374. package/dist/otr-ts-client/model/ReplyToTicketRequest.ts +32 -0
  375. package/dist/otr-ts-client/model/RescheduleTaskRequest.ts +18 -0
  376. package/dist/otr-ts-client/model/ResetUserPasswordRequest.ts +19 -0
  377. package/dist/otr-ts-client/model/Results.ts +18 -0
  378. package/dist/otr-ts-client/model/ReverseCaseTransferRequest.ts +34 -0
  379. package/dist/otr-ts-client/model/SNSNotificationRequest.ts +21 -0
  380. package/dist/otr-ts-client/model/SSLCertificateResponse.ts +18 -0
  381. package/dist/otr-ts-client/model/SaveCaseNotesRequest.ts +18 -0
  382. package/dist/otr-ts-client/model/SaveLawyerLeadRequest.ts +35 -0
  383. package/dist/otr-ts-client/model/ScheduleNewPaymentRequest.ts +29 -0
  384. package/dist/otr-ts-client/model/ScheduledTaskGetResponse.ts +18 -0
  385. package/dist/otr-ts-client/model/ScheduledTaskResponse.ts +40 -0
  386. package/dist/otr-ts-client/model/SendConsolidatedEmailToUser.ts +61 -0
  387. package/dist/otr-ts-client/model/SendDirectMailResponse.ts +18 -0
  388. package/dist/otr-ts-client/model/SendEmailToUserRequest.ts +71 -0
  389. package/dist/otr-ts-client/model/SendEmailToUsersRequest.ts +60 -0
  390. package/dist/otr-ts-client/model/SetCourtDateForCaseRequest.ts +19 -0
  391. package/dist/otr-ts-client/model/SetLawfirmCaseDecisionRequest.ts +30 -0
  392. package/dist/otr-ts-client/model/SimpleCasePaymentDomain.ts +20 -0
  393. package/dist/otr-ts-client/model/SimpleCredentialsResponse.ts +19 -0
  394. package/dist/otr-ts-client/model/SimpleLineItemDomain.ts +19 -0
  395. package/dist/otr-ts-client/model/SocialLoginRequest.ts +42 -0
  396. package/dist/otr-ts-client/model/SocialLoginResponse.ts +21 -0
  397. package/dist/otr-ts-client/model/SocialLoginUser.ts +24 -0
  398. package/dist/otr-ts-client/model/SocialPhoneNumber.ts +29 -0
  399. package/dist/otr-ts-client/model/SqlResponse.ts +18 -0
  400. package/dist/otr-ts-client/model/StripeApplicationFeeRefundSyncResults.ts +20 -0
  401. package/dist/otr-ts-client/model/StripeApplicationFeeSyncResults.ts +21 -0
  402. package/dist/otr-ts-client/model/StripeCardDomain.ts +32 -0
  403. package/dist/otr-ts-client/model/StripeChargeDomain.ts +37 -0
  404. package/dist/otr-ts-client/model/StripeChargeSyncResults.ts +23 -0
  405. package/dist/otr-ts-client/model/StripeConnectedAccountDomain.ts +25 -0
  406. package/dist/otr-ts-client/model/StripeDisputeDomain.ts +74 -0
  407. package/dist/otr-ts-client/model/StripeFieldVerification.ts +20 -0
  408. package/dist/otr-ts-client/model/StripePaymentSourceDomain.ts +22 -0
  409. package/dist/otr-ts-client/model/StripeRefundSyncResults.ts +20 -0
  410. package/dist/otr-ts-client/model/StripeReversalSyncResults.ts +20 -0
  411. package/dist/otr-ts-client/model/StripeTransferSyncResults.ts +21 -0
  412. package/dist/otr-ts-client/model/SubscribeRequest.ts +18 -0
  413. package/dist/otr-ts-client/model/Subscriber.ts +27 -0
  414. package/dist/otr-ts-client/model/SubscriberDomain.ts +27 -0
  415. package/dist/otr-ts-client/model/SyncStripeChargesRequest.ts +20 -0
  416. package/dist/otr-ts-client/model/SyncStripeChargesResponse.ts +18 -0
  417. package/dist/otr-ts-client/model/SyncStripeDisputeResponse.ts +18 -0
  418. package/dist/otr-ts-client/model/TicketLeadDomain.ts +36 -0
  419. package/dist/otr-ts-client/model/TicketReviewRequest.ts +38 -0
  420. package/dist/otr-ts-client/model/Timestamp.ts +27 -0
  421. package/dist/otr-ts-client/model/TrafficViolationInputRequest.ts +18 -0
  422. package/dist/otr-ts-client/model/TrafficViolationTypeDomain.ts +34 -0
  423. package/dist/otr-ts-client/model/USStateDomain.ts +19 -0
  424. package/dist/otr-ts-client/model/UpdateAddress.ts +23 -0
  425. package/dist/otr-ts-client/model/UpdateAddressRequest.ts +18 -0
  426. package/dist/otr-ts-client/model/UpdateCaseDeclineTicketsRequest.ts +20 -0
  427. package/dist/otr-ts-client/model/UpdateCitationAddressRequest.ts +18 -0
  428. package/dist/otr-ts-client/model/UpdateCitationPictureRequest.ts +20 -0
  429. package/dist/otr-ts-client/model/UpdateCitationRequest.ts +18 -0
  430. package/dist/otr-ts-client/model/UpdateCourtRequest.ts +18 -0
  431. package/dist/otr-ts-client/model/UpdateDisputeRequest.ts +18 -0
  432. package/dist/otr-ts-client/model/UpdateInvoiceLineItemRequest.ts +18 -0
  433. package/dist/otr-ts-client/model/UpdateLawfirmRequest.ts +18 -0
  434. package/dist/otr-ts-client/model/UpdateLawfirmSettingsRequest.ts +18 -0
  435. package/dist/otr-ts-client/model/UpdateNoteInput.ts +18 -0
  436. package/dist/otr-ts-client/model/UpdateNoteRequest.ts +18 -0
  437. package/dist/otr-ts-client/model/UpdateNoteResponse.ts +18 -0
  438. package/dist/otr-ts-client/model/UpdatePaymentDueDateRequest.ts +18 -0
  439. package/dist/otr-ts-client/model/UpdatePhoneNumber.ts +41 -0
  440. package/dist/otr-ts-client/model/UpdateProfilePictureRequest.ts +19 -0
  441. package/dist/otr-ts-client/model/UpdateRefundEligibilityForCaseRequest.ts +25 -0
  442. package/dist/otr-ts-client/model/UpdateUserDetailsRequest.ts +18 -0
  443. package/dist/otr-ts-client/model/UpdateUserDetailsResponse.ts +18 -0
  444. package/dist/otr-ts-client/model/UpdateUserPhoneNumberRequest.ts +18 -0
  445. package/dist/otr-ts-client/model/UpdateUserRolesRequest.ts +28 -0
  446. package/dist/otr-ts-client/model/UpdateViolationRequest.ts +19 -0
  447. package/dist/otr-ts-client/model/UpsertAddressRequest.ts +18 -0
  448. package/dist/otr-ts-client/model/UserBookingsDomain.ts +19 -0
  449. package/dist/otr-ts-client/model/UserDetails.ts +20 -0
  450. package/dist/otr-ts-client/model/UserDomain.ts +44 -0
  451. package/dist/otr-ts-client/model/UserRefLinkDomain.ts +20 -0
  452. package/dist/otr-ts-client/model/UserReferralSourceTypeDomain.ts +23 -0
  453. package/dist/otr-ts-client/model/UserRoleDomain.ts +27 -0
  454. package/dist/otr-ts-client/model/UserToContact.ts +19 -0
  455. package/dist/otr-ts-client/model/ValidateDirectMailRequest.ts +19 -0
  456. package/dist/otr-ts-client/model/ValidateDirectMailResponse.ts +196 -0
  457. package/dist/otr-ts-client/model/ValidateUserEmailResponse.ts +20 -0
  458. package/dist/otr-ts-client/model/VerifyPasswordResetTokenResponse.ts +19 -0
  459. package/dist/otr-ts-client/model/ViolationInputRequest.ts +18 -0
  460. package/dist/otr-ts-client/model/ViolationPenaltyResponse.ts +19 -0
  461. package/dist/otr-ts-client/model/ViolationResponse.ts +33 -0
  462. package/dist/otr-ts-client/model/models.ts +359 -0
  463. package/dist/otrBackendService.js +13223 -0
  464. package/dist/otrBackendService.min.js +5 -0
  465. package/package.json +32 -0
@@ -0,0 +1,222 @@
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 PushNotificationControllerApi {
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 getUnreadCounts
32
+ * @param includeMessage includeMessage
33
+ */
34
+ public getUnreadCountsUsingGET (includeMessage?: boolean, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.NotificationEvents> {
35
+ const localVarPath = this.basePath + '/api/v1/notifications/unread';
36
+
37
+ let queryParameters: any = {};
38
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
39
+ if (includeMessage !== undefined) {
40
+ queryParameters['includeMessage'] = includeMessage;
41
+ }
42
+
43
+ let httpRequestParams: ng.IRequestConfig = {
44
+ method: 'GET',
45
+ url: localVarPath,
46
+ params: queryParameters,
47
+ headers: headerParams
48
+ };
49
+
50
+ if (extraHttpRequestParams) {
51
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
52
+ }
53
+
54
+ return this.$http(httpRequestParams);
55
+ }
56
+ /**
57
+ *
58
+ * @summary markAllReadForUser
59
+ * @param userId userId
60
+ */
61
+ public markAllReadForUserUsingDELETE (userId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
62
+ const localVarPath = this.basePath + '/api/v1/notifications/unread/{userId}/user'
63
+ .replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
64
+
65
+ let queryParameters: any = {};
66
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
67
+ // verify required parameter 'userId' is not null or undefined
68
+ if (userId === null || userId === undefined) {
69
+ throw new Error('Required parameter userId was null or undefined when calling markAllReadForUserUsingDELETE.');
70
+ }
71
+
72
+ let httpRequestParams: ng.IRequestConfig = {
73
+ method: 'DELETE',
74
+ url: localVarPath,
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 markRead
88
+ * @param caseId caseId
89
+ * @param request request
90
+ */
91
+ public markReadUsingDELETE (caseId: string, request: models.DeleteNotificationEventRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.NotificationEvents> {
92
+ const localVarPath = this.basePath + '/api/v1/notifications/unread/{caseId}'
93
+ .replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)));
94
+
95
+ let queryParameters: any = {};
96
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
97
+ // verify required parameter 'caseId' is not null or undefined
98
+ if (caseId === null || caseId === undefined) {
99
+ throw new Error('Required parameter caseId was null or undefined when calling markReadUsingDELETE.');
100
+ }
101
+
102
+ // verify required parameter 'request' is not null or undefined
103
+ if (request === null || request === undefined) {
104
+ throw new Error('Required parameter request was null or undefined when calling markReadUsingDELETE.');
105
+ }
106
+
107
+ let httpRequestParams: ng.IRequestConfig = {
108
+ method: 'DELETE',
109
+ url: localVarPath,
110
+ data: request,
111
+ params: queryParameters,
112
+ headers: headerParams
113
+ };
114
+
115
+ if (extraHttpRequestParams) {
116
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
117
+ }
118
+
119
+ return this.$http(httpRequestParams);
120
+ }
121
+ /**
122
+ *
123
+ * @summary pushCaseMessage
124
+ * @param caseId caseId
125
+ * @param pushRequest pushRequest
126
+ */
127
+ public pushCaseMessageUsingPOST (caseId: string, pushRequest: models.PushNotificationRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<object> {
128
+ const localVarPath = this.basePath + '/api/v1/notifications/cases/{caseId}'
129
+ .replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)));
130
+
131
+ let queryParameters: any = {};
132
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
133
+ // verify required parameter 'caseId' is not null or undefined
134
+ if (caseId === null || caseId === undefined) {
135
+ throw new Error('Required parameter caseId was null or undefined when calling pushCaseMessageUsingPOST.');
136
+ }
137
+
138
+ // verify required parameter 'pushRequest' is not null or undefined
139
+ if (pushRequest === null || pushRequest === undefined) {
140
+ throw new Error('Required parameter pushRequest was null or undefined when calling pushCaseMessageUsingPOST.');
141
+ }
142
+
143
+ let httpRequestParams: ng.IRequestConfig = {
144
+ method: 'POST',
145
+ url: localVarPath,
146
+ data: pushRequest,
147
+ params: queryParameters,
148
+ headers: headerParams
149
+ };
150
+
151
+ if (extraHttpRequestParams) {
152
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
153
+ }
154
+
155
+ return this.$http(httpRequestParams);
156
+ }
157
+ /**
158
+ *
159
+ * @summary pushNotificationToUser
160
+ * @param recipientId recipientId
161
+ * @param pushRequest pushRequest
162
+ */
163
+ public pushNotificationToUserUsingPOST (recipientId: string, pushRequest: models.PushNotificationRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<object> {
164
+ const localVarPath = this.basePath + '/api/v1/notifications/users/{recipientId}'
165
+ .replace('{' + 'recipientId' + '}', encodeURIComponent(String(recipientId)));
166
+
167
+ let queryParameters: any = {};
168
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
169
+ // verify required parameter 'recipientId' is not null or undefined
170
+ if (recipientId === null || recipientId === undefined) {
171
+ throw new Error('Required parameter recipientId was null or undefined when calling pushNotificationToUserUsingPOST.');
172
+ }
173
+
174
+ // verify required parameter 'pushRequest' is not null or undefined
175
+ if (pushRequest === null || pushRequest === undefined) {
176
+ throw new Error('Required parameter pushRequest was null or undefined when calling pushNotificationToUserUsingPOST.');
177
+ }
178
+
179
+ let httpRequestParams: ng.IRequestConfig = {
180
+ method: 'POST',
181
+ url: localVarPath,
182
+ data: pushRequest,
183
+ params: queryParameters,
184
+ headers: headerParams
185
+ };
186
+
187
+ if (extraHttpRequestParams) {
188
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
189
+ }
190
+
191
+ return this.$http(httpRequestParams);
192
+ }
193
+ /**
194
+ *
195
+ * @summary register
196
+ * @param request request
197
+ */
198
+ public registerUsingPOST (request: models.PushNotificationRegistrationRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<object> {
199
+ const localVarPath = this.basePath + '/api/v1/notifications/register';
200
+
201
+ let queryParameters: any = {};
202
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
203
+ // verify required parameter 'request' is not null or undefined
204
+ if (request === null || request === undefined) {
205
+ throw new Error('Required parameter request was null or undefined when calling registerUsingPOST.');
206
+ }
207
+
208
+ let httpRequestParams: ng.IRequestConfig = {
209
+ method: 'POST',
210
+ url: localVarPath,
211
+ data: request,
212
+ params: queryParameters,
213
+ headers: headerParams
214
+ };
215
+
216
+ if (extraHttpRequestParams) {
217
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
218
+ }
219
+
220
+ return this.$http(httpRequestParams);
221
+ }
222
+ }
@@ -0,0 +1,58 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import * as models from '../model/models';
14
+
15
+ /* tslint:disable:no-unused-variable member-ordering */
16
+
17
+ export class RefLinkControllerApi {
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 getRefLinksForUser
32
+ * @param userIdString userIdString
33
+ */
34
+ public getRefLinksForUserUsingGET (userIdString: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetUserRefLinksResponse> {
35
+ const localVarPath = this.basePath + '/api/v1/reflinks/{userIdString}'
36
+ .replace('{' + 'userIdString' + '}', encodeURIComponent(String(userIdString)));
37
+
38
+ let queryParameters: any = {};
39
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
40
+ // verify required parameter 'userIdString' is not null or undefined
41
+ if (userIdString === null || userIdString === undefined) {
42
+ throw new Error('Required parameter userIdString was null or undefined when calling getRefLinksForUserUsingGET.');
43
+ }
44
+
45
+ let httpRequestParams: ng.IRequestConfig = {
46
+ method: 'GET',
47
+ url: localVarPath,
48
+ params: queryParameters,
49
+ headers: headerParams
50
+ };
51
+
52
+ if (extraHttpRequestParams) {
53
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
54
+ }
55
+
56
+ return this.$http(httpRequestParams);
57
+ }
58
+ }
@@ -0,0 +1,252 @@
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 ReferralControllerApi {
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 Only for admins. This will approve and activate a given referral code
32
+ * @param codeId codeId
33
+ */
34
+ public approveReferralCodeUsingPUT (codeId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
35
+ const localVarPath = this.basePath + '/api/v1/referrals/codes/{codeId}/approve'
36
+ .replace('{' + 'codeId' + '}', encodeURIComponent(String(codeId)));
37
+
38
+ let queryParameters: any = {};
39
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
40
+ // verify required parameter 'codeId' is not null or undefined
41
+ if (codeId === null || codeId === undefined) {
42
+ throw new Error('Required parameter codeId was null or undefined when calling approveReferralCodeUsingPUT.');
43
+ }
44
+
45
+ let httpRequestParams: ng.IRequestConfig = {
46
+ method: 'PUT',
47
+ url: localVarPath,
48
+ params: queryParameters,
49
+ headers: headerParams
50
+ };
51
+
52
+ if (extraHttpRequestParams) {
53
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
54
+ }
55
+
56
+ return this.$http(httpRequestParams);
57
+ }
58
+ /**
59
+ *
60
+ * @summary Referral codes are currently immutable. Meaning, once a referral code is created then no modification is allowed. In urgent scenarios, we can update the values via SQL. If you want to apply a discount to the referee then enter a negative value (applies both for percentage_discount and cents_value types), and enter a positive value if you want to increase the price.
61
+ * @param request request
62
+ */
63
+ public generateReferralCodeUsingPOST (request: models.CreateReferralCodeRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.CreateReferralCodeResponse> {
64
+ const localVarPath = this.basePath + '/api/v1/referrals/codes';
65
+
66
+ let queryParameters: any = {};
67
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
68
+ // verify required parameter 'request' is not null or undefined
69
+ if (request === null || request === undefined) {
70
+ throw new Error('Required parameter request was null or undefined when calling generateReferralCodeUsingPOST.');
71
+ }
72
+
73
+ let httpRequestParams: ng.IRequestConfig = {
74
+ method: 'POST',
75
+ url: localVarPath,
76
+ data: request,
77
+ params: queryParameters,
78
+ headers: headerParams
79
+ };
80
+
81
+ if (extraHttpRequestParams) {
82
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
83
+ }
84
+
85
+ return this.$http(httpRequestParams);
86
+ }
87
+ /**
88
+ *
89
+ * @summary getReferralCode
90
+ * @param codeId codeId
91
+ */
92
+ public getReferralCodeUsingGET (codeId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetReferralCodeResponse> {
93
+ const localVarPath = this.basePath + '/api/v1/referrals/codes/{codeId}'
94
+ .replace('{' + 'codeId' + '}', encodeURIComponent(String(codeId)));
95
+
96
+ let queryParameters: any = {};
97
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
98
+ // verify required parameter 'codeId' is not null or undefined
99
+ if (codeId === null || codeId === undefined) {
100
+ throw new Error('Required parameter codeId was null or undefined when calling getReferralCodeUsingGET.');
101
+ }
102
+
103
+ let httpRequestParams: ng.IRequestConfig = {
104
+ method: 'GET',
105
+ url: localVarPath,
106
+ params: queryParameters,
107
+ headers: headerParams
108
+ };
109
+
110
+ if (extraHttpRequestParams) {
111
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
112
+ }
113
+
114
+ return this.$http(httpRequestParams);
115
+ }
116
+ /**
117
+ *
118
+ * @summary getReferralCodes
119
+ * @param isActive isActive
120
+ */
121
+ public getReferralCodesUsingGET (isActive?: boolean, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetReferralCodesResponse> {
122
+ const localVarPath = this.basePath + '/api/v1/referrals/codes';
123
+
124
+ let queryParameters: any = {};
125
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
126
+ if (isActive !== undefined) {
127
+ queryParameters['isActive'] = isActive;
128
+ }
129
+
130
+ let httpRequestParams: ng.IRequestConfig = {
131
+ method: 'GET',
132
+ url: localVarPath,
133
+ params: queryParameters,
134
+ headers: headerParams
135
+ };
136
+
137
+ if (extraHttpRequestParams) {
138
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
139
+ }
140
+
141
+ return this.$http(httpRequestParams);
142
+ }
143
+ /**
144
+ *
145
+ * @summary getReferralHistory
146
+ */
147
+ public getReferralHistoryUsingGET (extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetReferralsHistoryResponse> {
148
+ const localVarPath = this.basePath + '/api/v1/referrals';
149
+
150
+ let queryParameters: any = {};
151
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
152
+ let httpRequestParams: ng.IRequestConfig = {
153
+ method: 'GET',
154
+ url: localVarPath,
155
+ params: queryParameters,
156
+ headers: headerParams
157
+ };
158
+
159
+ if (extraHttpRequestParams) {
160
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
161
+ }
162
+
163
+ return this.$http(httpRequestParams);
164
+ }
165
+ /**
166
+ *
167
+ * @summary markCodeAsInactive
168
+ * @param codeId codeId
169
+ */
170
+ public markCodeAsInactiveUsingDELETE (codeId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
171
+ const localVarPath = this.basePath + '/api/v1/referrals/codes/{codeId}'
172
+ .replace('{' + 'codeId' + '}', encodeURIComponent(String(codeId)));
173
+
174
+ let queryParameters: any = {};
175
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
176
+ // verify required parameter 'codeId' is not null or undefined
177
+ if (codeId === null || codeId === undefined) {
178
+ throw new Error('Required parameter codeId was null or undefined when calling markCodeAsInactiveUsingDELETE.');
179
+ }
180
+
181
+ let httpRequestParams: ng.IRequestConfig = {
182
+ method: 'DELETE',
183
+ url: localVarPath,
184
+ params: queryParameters,
185
+ headers: headerParams
186
+ };
187
+
188
+ if (extraHttpRequestParams) {
189
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
190
+ }
191
+
192
+ return this.$http(httpRequestParams);
193
+ }
194
+ /**
195
+ *
196
+ * @summary publishReferralContacts
197
+ * @param request request
198
+ */
199
+ public publishReferralContactsUsingPOST (request: models.PublishReferralRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
200
+ const localVarPath = this.basePath + '/api/v1/referrals/contacts';
201
+
202
+ let queryParameters: any = {};
203
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
204
+ // verify required parameter 'request' is not null or undefined
205
+ if (request === null || request === undefined) {
206
+ throw new Error('Required parameter request was null or undefined when calling publishReferralContactsUsingPOST.');
207
+ }
208
+
209
+ let httpRequestParams: ng.IRequestConfig = {
210
+ method: 'POST',
211
+ url: localVarPath,
212
+ data: request,
213
+ params: queryParameters,
214
+ headers: headerParams
215
+ };
216
+
217
+ if (extraHttpRequestParams) {
218
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
219
+ }
220
+
221
+ return this.$http(httpRequestParams);
222
+ }
223
+ /**
224
+ *
225
+ * @summary Validates and returns the referral code. Validation includes: Are we passed the expiration date? Has the code exceeded it\'s max use count?
226
+ * @param codeId codeId
227
+ */
228
+ public validateReferralCodeUsingGET (codeId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetReferralCodeResponse> {
229
+ const localVarPath = this.basePath + '/api/v1/referrals/codes/{codeId}/validate'
230
+ .replace('{' + 'codeId' + '}', encodeURIComponent(String(codeId)));
231
+
232
+ let queryParameters: any = {};
233
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
234
+ // verify required parameter 'codeId' is not null or undefined
235
+ if (codeId === null || codeId === undefined) {
236
+ throw new Error('Required parameter codeId was null or undefined when calling validateReferralCodeUsingGET.');
237
+ }
238
+
239
+ let httpRequestParams: ng.IRequestConfig = {
240
+ method: 'GET',
241
+ url: localVarPath,
242
+ params: queryParameters,
243
+ headers: headerParams
244
+ };
245
+
246
+ if (extraHttpRequestParams) {
247
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
248
+ }
249
+
250
+ return this.$http(httpRequestParams);
251
+ }
252
+ }
@@ -0,0 +1,58 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import * as models from '../model/models';
14
+
15
+ /* tslint:disable:no-unused-variable member-ordering */
16
+
17
+ export class RefundEligibilityControllerApi {
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 isRefundEligible
32
+ * @param caseId caseId
33
+ */
34
+ public isRefundEligibleUsingGET (caseId: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.IsRefundEligibleResponse> {
35
+ const localVarPath = this.basePath + '/api/v1/cases/{caseId}/refund/eligibility'
36
+ .replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)));
37
+
38
+ let queryParameters: any = {};
39
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
40
+ // verify required parameter 'caseId' is not null or undefined
41
+ if (caseId === null || caseId === undefined) {
42
+ throw new Error('Required parameter caseId was null or undefined when calling isRefundEligibleUsingGET.');
43
+ }
44
+
45
+ let httpRequestParams: ng.IRequestConfig = {
46
+ method: 'GET',
47
+ url: localVarPath,
48
+ params: queryParameters,
49
+ headers: headerParams
50
+ };
51
+
52
+ if (extraHttpRequestParams) {
53
+ httpRequestParams = (<any>Object).assign(httpRequestParams, extraHttpRequestParams);
54
+ }
55
+
56
+ return this.$http(httpRequestParams);
57
+ }
58
+ }
@@ -0,0 +1,94 @@
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 RegistrationControllerApi {
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 addExtraAccount
32
+ * @param userId userId
33
+ * @param request request
34
+ */
35
+ public addExtraAccountUsingPOST (userId: string, request: models.AddExtraAccountRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
36
+ const localVarPath = this.basePath + '/api/v1/users/{userId}/account'
37
+ .replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
38
+
39
+ let queryParameters: any = {};
40
+ let headerParams: any = (<any>Object).assign({}, this.defaultHeaders);
41
+ // verify required parameter 'userId' is not null or undefined
42
+ if (userId === null || userId === undefined) {
43
+ throw new Error('Required parameter userId was null or undefined when calling addExtraAccountUsingPOST.');
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 addExtraAccountUsingPOST.');
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 registerNewUser
68
+ * @param request request
69
+ */
70
+ public registerNewUserUsingPOST (request: models.RegisterNewUserRequest, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.RegisterNewUserResponse> {
71
+ const localVarPath = this.basePath + '/api/v1/signup';
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 registerNewUserUsingPOST.');
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
+ }