@otr-app/shared-backend-generated-client 2.5.168 → 2.5.170
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/dist/angular/.openapi-generator/FILES +2 -0
- package/dist/angular/api/api.ts +3 -1
- package/dist/angular/api/lawfirmController.service.ts +18 -8
- package/dist/angular/api/pushNotificationController.service.ts +12 -4
- package/dist/angular/api/shortLivedTokenController.service.ts +152 -0
- package/dist/angular/api/webSocketController.service.ts +25 -5
- package/dist/angular/api.module.ts +1 -0
- package/dist/angular/model/issueShortLivedTokenResponse.ts +17 -0
- package/dist/angular/model/models.ts +1 -0
- package/dist/otrBackendService.js +69 -0
- package/dist/otrBackendService.min.js +5 -5
- package/dist/typescript/api/LawfirmControllerApi.d.ts +4 -2
- package/dist/typescript/api/LawfirmControllerApi.js +10 -2
- package/dist/typescript/api/PushNotificationControllerApi.d.ts +2 -1
- package/dist/typescript/api/PushNotificationControllerApi.js +5 -1
- package/dist/typescript/api/ShortLivedTokenControllerApi.d.ts +26 -0
- package/dist/typescript/api/ShortLivedTokenControllerApi.js +49 -0
- package/dist/typescript/api/WebSocketControllerApi.d.ts +3 -1
- package/dist/typescript/api/WebSocketControllerApi.js +17 -1
- package/dist/typescript/api/api.d.ts +3 -1
- package/dist/typescript/api/api.js +3 -1
- package/dist/typescript/api.module.js +1 -0
- package/dist/typescript/model/IssueShortLivedTokenResponse.d.ts +14 -0
- package/dist/typescript/model/IssueShortLivedTokenResponse.js +12 -0
- package/dist/typescript/model/models.d.ts +1 -0
- package/dist/typescript/model/models.js +1 -0
- package/dist/typescript-fetch/apis/LawfirmControllerApi.d.ts +2 -0
- package/dist/typescript-fetch/apis/LawfirmControllerApi.js +6 -0
- package/dist/typescript-fetch/apis/PushNotificationControllerApi.d.ts +1 -0
- package/dist/typescript-fetch/apis/PushNotificationControllerApi.js +3 -0
- package/dist/typescript-fetch/apis/ShortLivedTokenControllerApi.d.ts +29 -0
- package/dist/typescript-fetch/apis/ShortLivedTokenControllerApi.js +57 -0
- package/dist/typescript-fetch/apis/WebSocketControllerApi.d.ts +4 -2
- package/dist/typescript-fetch/apis/WebSocketControllerApi.js +15 -2
- package/dist/typescript-fetch/apis/index.d.ts +1 -0
- package/dist/typescript-fetch/apis/index.js +1 -0
- package/dist/typescript-fetch/models/IssueShortLivedTokenResponse.d.ts +27 -0
- package/dist/typescript-fetch/models/IssueShortLivedTokenResponse.js +36 -0
- package/dist/typescript-fetch/models/index.d.ts +1 -0
- package/dist/typescript-fetch/models/index.js +1 -0
- package/dist/typescript-open-api/otr-backend.d.ts +82 -3
- package/package.json +1 -1
|
@@ -93,6 +93,7 @@ api/refundEligibilityController.service.ts
|
|
|
93
93
|
api/registrationController.service.ts
|
|
94
94
|
api/reportingController.service.ts
|
|
95
95
|
api/scheduledTaskController.service.ts
|
|
96
|
+
api/shortLivedTokenController.service.ts
|
|
96
97
|
api/singleSignOnController.service.ts
|
|
97
98
|
api/snsListenerController.service.ts
|
|
98
99
|
api/socialLoginController.service.ts
|
|
@@ -572,6 +573,7 @@ model/inviteLawyerToLawfirmRequest.ts
|
|
|
572
573
|
model/invoiceLineItemModel.ts
|
|
573
574
|
model/isRefundEligibleResponse.ts
|
|
574
575
|
model/isUserLoggedInResponse.ts
|
|
576
|
+
model/issueShortLivedTokenResponse.ts
|
|
575
577
|
model/item.ts
|
|
576
578
|
model/lastLoginAttributes.ts
|
|
577
579
|
model/lastLoginDateByUserAccount.ts
|
package/dist/angular/api/api.ts
CHANGED
|
@@ -180,6 +180,8 @@ export * from './reportingController.service';
|
|
|
180
180
|
import { ReportingControllerService } from './reportingController.service';
|
|
181
181
|
export * from './scheduledTaskController.service';
|
|
182
182
|
import { ScheduledTaskControllerService } from './scheduledTaskController.service';
|
|
183
|
+
export * from './shortLivedTokenController.service';
|
|
184
|
+
import { ShortLivedTokenControllerService } from './shortLivedTokenController.service';
|
|
183
185
|
export * from './singleSignOnController.service';
|
|
184
186
|
import { SingleSignOnControllerService } from './singleSignOnController.service';
|
|
185
187
|
export * from './snsListenerController.service';
|
|
@@ -232,4 +234,4 @@ export * from './websocketMessageController.service';
|
|
|
232
234
|
import { WebsocketMessageControllerService } from './websocketMessageController.service';
|
|
233
235
|
export * from './workflowStateController.service';
|
|
234
236
|
import { WorkflowStateControllerService } from './workflowStateController.service';
|
|
235
|
-
export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuditLogControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BranchLinkControllerService, CaptchaControllerService, CaseActionsControllerService, CaseControllerService, CaseCounterOfferControllerService, CaseCreationControllerService, CaseDeclineControllerService, CaseNotesControllerService, CasePaymentControllerService, CaseReferralCodeControllerService, CaseRefundControllerService, CaseResolutionControllerService, CaseStatusControllerService, CaseTransferControllerService, CaseUserControllerService, CitationAuditControllerService, CitationControllerService, CoachingCardsControllerService, ConfigurationControllerService, ConsoleListControllerService, ContactLoopWebhookControllerService, ContactTimelineControllerService, ConversationControllerService, CountyControllerService, CourtControllerService, CrmControllerService, CustomerLeadControllerService, CustomerReviewControllerService, CustomerServiceAgentBookingsControllerService, CustomerServiceAgentControllerService, DashboardControllerService, DirectMailControllerService, DripControllerService, DripWebhooksControllerService, DriverLicenseControllerService, EmployeeControllerService, EventBridgeEmailNotificationControllerService, ExternalContentVoteControllerService, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, HubspotWebhookControllerService, InsuranceCalculatorControllerService, IntercomTicketControllerService, IntercomWebhookControllerService, LawfirmCaseDecisionControllerService, LawfirmCasesControllerService, LawfirmControllerService, LawfirmDashboardControllerService, LawfirmDocumentControllerService, LawfirmFeeCoverageControllerService, LawfirmPaymentModelControllerService, LawfirmRatesControllerService, LawfirmSettingsControllerService, LawfirmStorefrontControllerService, LawfirmSurchargeControllerService, LawfirmTransactionsControllerService, LawyerControllerService, LegalServicesControllerService, LineItemControllerService, ListCasesControllerService, MediaCreationControllerService, MessagesControllerService, NotesControllerService, OcrPipelineControllerService, OcrPredictionControllerService, OnDemandRequestControllerService, OneTimePasswordControllerService, PhoneLeadsControllerService, PushNotificationControllerService, RecurringBillingControllerService, RefLinkControllerService, ReferralCodeControllerService, ReferralControllerService, ReferralSourceControllerService, RefundEligibilityControllerService, RegistrationControllerService, ReportingControllerService, ScheduledTaskControllerService, SingleSignOnControllerService, SnsListenerControllerService, SocialLoginControllerService, StripeCardControllerService, StripeControllerService, StripeSyncControllerService, StripeWebhookControllerService, TicketReviewControllerService, UrlRedirectControllerService, UserAccountControllerService, UserAuditControllerService, UserControllerService, UserPasswordControllerService, UserProfileControllerService, UserSearchControllerService, UserSettingsControllerService, UserSocialProfileControllerService, UtilityControllerService, ValidationControllerService, VerificationControllerService, ViolationControllerService, ViolationPenaltyControllerService, WatchlistsControllerService, WebSocketControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
|
|
237
|
+
export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuditLogControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BranchLinkControllerService, CaptchaControllerService, CaseActionsControllerService, CaseControllerService, CaseCounterOfferControllerService, CaseCreationControllerService, CaseDeclineControllerService, CaseNotesControllerService, CasePaymentControllerService, CaseReferralCodeControllerService, CaseRefundControllerService, CaseResolutionControllerService, CaseStatusControllerService, CaseTransferControllerService, CaseUserControllerService, CitationAuditControllerService, CitationControllerService, CoachingCardsControllerService, ConfigurationControllerService, ConsoleListControllerService, ContactLoopWebhookControllerService, ContactTimelineControllerService, ConversationControllerService, CountyControllerService, CourtControllerService, CrmControllerService, CustomerLeadControllerService, CustomerReviewControllerService, CustomerServiceAgentBookingsControllerService, CustomerServiceAgentControllerService, DashboardControllerService, DirectMailControllerService, DripControllerService, DripWebhooksControllerService, DriverLicenseControllerService, EmployeeControllerService, EventBridgeEmailNotificationControllerService, ExternalContentVoteControllerService, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, HubspotWebhookControllerService, InsuranceCalculatorControllerService, IntercomTicketControllerService, IntercomWebhookControllerService, LawfirmCaseDecisionControllerService, LawfirmCasesControllerService, LawfirmControllerService, LawfirmDashboardControllerService, LawfirmDocumentControllerService, LawfirmFeeCoverageControllerService, LawfirmPaymentModelControllerService, LawfirmRatesControllerService, LawfirmSettingsControllerService, LawfirmStorefrontControllerService, LawfirmSurchargeControllerService, LawfirmTransactionsControllerService, LawyerControllerService, LegalServicesControllerService, LineItemControllerService, ListCasesControllerService, MediaCreationControllerService, MessagesControllerService, NotesControllerService, OcrPipelineControllerService, OcrPredictionControllerService, OnDemandRequestControllerService, OneTimePasswordControllerService, PhoneLeadsControllerService, PushNotificationControllerService, RecurringBillingControllerService, RefLinkControllerService, ReferralCodeControllerService, ReferralControllerService, ReferralSourceControllerService, RefundEligibilityControllerService, RegistrationControllerService, ReportingControllerService, ScheduledTaskControllerService, ShortLivedTokenControllerService, SingleSignOnControllerService, SnsListenerControllerService, SocialLoginControllerService, StripeCardControllerService, StripeControllerService, StripeSyncControllerService, StripeWebhookControllerService, TicketReviewControllerService, UrlRedirectControllerService, UserAccountControllerService, UserAuditControllerService, UserControllerService, UserPasswordControllerService, UserProfileControllerService, UserSearchControllerService, UserSettingsControllerService, UserSocialProfileControllerService, UtilityControllerService, ValidationControllerService, VerificationControllerService, ViolationControllerService, ViolationPenaltyControllerService, WatchlistsControllerService, WebSocketControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
|
|
@@ -525,13 +525,14 @@ export class LawfirmControllerService {
|
|
|
525
525
|
* @param query query
|
|
526
526
|
* @param regionCodes regionCodes
|
|
527
527
|
* @param statusCategories statusCategories
|
|
528
|
+
* @param userId userId
|
|
528
529
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
529
530
|
* @param reportProgress flag to report request and response progress.
|
|
530
531
|
*/
|
|
531
|
-
public getInboxMessagesUsingGET(lawfirmId: number, caseCounterOfferStatuses?: 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'WITHDRAWN', caseStatuses?: 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED', countyIds?: number, courtDateFilter?: 'NO_COURT_DATE' | 'PAST_DUE' | 'PAST_DUE_AND_NO_COURT_DATE' | 'UPCOMING', courtIds?: number, filter?: 'ARCHIVE' | 'DEFAULT' | 'FLAG_ONLY' | 'STAR_ONLY', hasUnread?: boolean, isOverdue?: boolean, latestMessageBy?: 'ADMIN' | 'CLIENT' | 'LAWYER', lawfirmCaseDecisionStatus?: 'ACCEPTED' | 'CREATED' | 'DECLINED' | 'PENDING', length?: number, page?: number, query?: string, regionCodes?: 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY', statusCategories?: 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED', observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetLawfirmInboxMessagesResponse>;
|
|
532
|
-
public getInboxMessagesUsingGET(lawfirmId: number, caseCounterOfferStatuses?: 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'WITHDRAWN', caseStatuses?: 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED', countyIds?: number, courtDateFilter?: 'NO_COURT_DATE' | 'PAST_DUE' | 'PAST_DUE_AND_NO_COURT_DATE' | 'UPCOMING', courtIds?: number, filter?: 'ARCHIVE' | 'DEFAULT' | 'FLAG_ONLY' | 'STAR_ONLY', hasUnread?: boolean, isOverdue?: boolean, latestMessageBy?: 'ADMIN' | 'CLIENT' | 'LAWYER', lawfirmCaseDecisionStatus?: 'ACCEPTED' | 'CREATED' | 'DECLINED' | 'PENDING', length?: number, page?: number, query?: string, regionCodes?: 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY', statusCategories?: 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED', observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetLawfirmInboxMessagesResponse>>;
|
|
533
|
-
public getInboxMessagesUsingGET(lawfirmId: number, caseCounterOfferStatuses?: 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'WITHDRAWN', caseStatuses?: 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED', countyIds?: number, courtDateFilter?: 'NO_COURT_DATE' | 'PAST_DUE' | 'PAST_DUE_AND_NO_COURT_DATE' | 'UPCOMING', courtIds?: number, filter?: 'ARCHIVE' | 'DEFAULT' | 'FLAG_ONLY' | 'STAR_ONLY', hasUnread?: boolean, isOverdue?: boolean, latestMessageBy?: 'ADMIN' | 'CLIENT' | 'LAWYER', lawfirmCaseDecisionStatus?: 'ACCEPTED' | 'CREATED' | 'DECLINED' | 'PENDING', length?: number, page?: number, query?: string, regionCodes?: 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY', statusCategories?: 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED', observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetLawfirmInboxMessagesResponse>>;
|
|
534
|
-
public getInboxMessagesUsingGET(lawfirmId: number, caseCounterOfferStatuses?: 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'WITHDRAWN', caseStatuses?: 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED', countyIds?: number, courtDateFilter?: 'NO_COURT_DATE' | 'PAST_DUE' | 'PAST_DUE_AND_NO_COURT_DATE' | 'UPCOMING', courtIds?: number, filter?: 'ARCHIVE' | 'DEFAULT' | 'FLAG_ONLY' | 'STAR_ONLY', hasUnread?: boolean, isOverdue?: boolean, latestMessageBy?: 'ADMIN' | 'CLIENT' | 'LAWYER', lawfirmCaseDecisionStatus?: 'ACCEPTED' | 'CREATED' | 'DECLINED' | 'PENDING', length?: number, page?: number, query?: string, regionCodes?: 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY', statusCategories?: 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED', observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
532
|
+
public getInboxMessagesUsingGET(lawfirmId: number, caseCounterOfferStatuses?: 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'WITHDRAWN', caseStatuses?: 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED', countyIds?: number, courtDateFilter?: 'NO_COURT_DATE' | 'PAST_DUE' | 'PAST_DUE_AND_NO_COURT_DATE' | 'UPCOMING', courtIds?: number, filter?: 'ARCHIVE' | 'DEFAULT' | 'FLAG_ONLY' | 'STAR_ONLY', hasUnread?: boolean, isOverdue?: boolean, latestMessageBy?: 'ADMIN' | 'CLIENT' | 'LAWYER', lawfirmCaseDecisionStatus?: 'ACCEPTED' | 'CREATED' | 'DECLINED' | 'PENDING', length?: number, page?: number, query?: string, regionCodes?: 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY', statusCategories?: 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED', userId?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetLawfirmInboxMessagesResponse>;
|
|
533
|
+
public getInboxMessagesUsingGET(lawfirmId: number, caseCounterOfferStatuses?: 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'WITHDRAWN', caseStatuses?: 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED', countyIds?: number, courtDateFilter?: 'NO_COURT_DATE' | 'PAST_DUE' | 'PAST_DUE_AND_NO_COURT_DATE' | 'UPCOMING', courtIds?: number, filter?: 'ARCHIVE' | 'DEFAULT' | 'FLAG_ONLY' | 'STAR_ONLY', hasUnread?: boolean, isOverdue?: boolean, latestMessageBy?: 'ADMIN' | 'CLIENT' | 'LAWYER', lawfirmCaseDecisionStatus?: 'ACCEPTED' | 'CREATED' | 'DECLINED' | 'PENDING', length?: number, page?: number, query?: string, regionCodes?: 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY', statusCategories?: 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED', userId?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetLawfirmInboxMessagesResponse>>;
|
|
534
|
+
public getInboxMessagesUsingGET(lawfirmId: number, caseCounterOfferStatuses?: 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'WITHDRAWN', caseStatuses?: 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED', countyIds?: number, courtDateFilter?: 'NO_COURT_DATE' | 'PAST_DUE' | 'PAST_DUE_AND_NO_COURT_DATE' | 'UPCOMING', courtIds?: number, filter?: 'ARCHIVE' | 'DEFAULT' | 'FLAG_ONLY' | 'STAR_ONLY', hasUnread?: boolean, isOverdue?: boolean, latestMessageBy?: 'ADMIN' | 'CLIENT' | 'LAWYER', lawfirmCaseDecisionStatus?: 'ACCEPTED' | 'CREATED' | 'DECLINED' | 'PENDING', length?: number, page?: number, query?: string, regionCodes?: 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY', statusCategories?: 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED', userId?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetLawfirmInboxMessagesResponse>>;
|
|
535
|
+
public getInboxMessagesUsingGET(lawfirmId: number, caseCounterOfferStatuses?: 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'WITHDRAWN', caseStatuses?: 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED', countyIds?: number, courtDateFilter?: 'NO_COURT_DATE' | 'PAST_DUE' | 'PAST_DUE_AND_NO_COURT_DATE' | 'UPCOMING', courtIds?: number, filter?: 'ARCHIVE' | 'DEFAULT' | 'FLAG_ONLY' | 'STAR_ONLY', hasUnread?: boolean, isOverdue?: boolean, latestMessageBy?: 'ADMIN' | 'CLIENT' | 'LAWYER', lawfirmCaseDecisionStatus?: 'ACCEPTED' | 'CREATED' | 'DECLINED' | 'PENDING', length?: number, page?: number, query?: string, regionCodes?: 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY', statusCategories?: 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED', userId?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
535
536
|
if (lawfirmId === null || lawfirmId === undefined) {
|
|
536
537
|
throw new Error('Required parameter lawfirmId was null or undefined when calling getInboxMessagesUsingGET.');
|
|
537
538
|
}
|
|
@@ -597,6 +598,10 @@ export class LawfirmControllerService {
|
|
|
597
598
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
598
599
|
<any>statusCategories, 'statusCategories');
|
|
599
600
|
}
|
|
601
|
+
if (userId !== undefined && userId !== null) {
|
|
602
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
603
|
+
<any>userId, 'userId');
|
|
604
|
+
}
|
|
600
605
|
|
|
601
606
|
let localVarHeaders = this.defaultHeaders;
|
|
602
607
|
|
|
@@ -828,13 +833,14 @@ export class LawfirmControllerService {
|
|
|
828
833
|
* getLawfirmCaseStats
|
|
829
834
|
* @param lawfirmId lawfirmId
|
|
830
835
|
* @param includeExtendedCounts includeExtendedCounts
|
|
836
|
+
* @param userId userId
|
|
831
837
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
832
838
|
* @param reportProgress flag to report request and response progress.
|
|
833
839
|
*/
|
|
834
|
-
public getLawfirmCaseStatsUsingGET(lawfirmId: number, includeExtendedCounts?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetLawfirmCaseStatsResponse>;
|
|
835
|
-
public getLawfirmCaseStatsUsingGET(lawfirmId: number, includeExtendedCounts?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetLawfirmCaseStatsResponse>>;
|
|
836
|
-
public getLawfirmCaseStatsUsingGET(lawfirmId: number, includeExtendedCounts?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetLawfirmCaseStatsResponse>>;
|
|
837
|
-
public getLawfirmCaseStatsUsingGET(lawfirmId: number, includeExtendedCounts?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
840
|
+
public getLawfirmCaseStatsUsingGET(lawfirmId: number, includeExtendedCounts?: boolean, userId?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetLawfirmCaseStatsResponse>;
|
|
841
|
+
public getLawfirmCaseStatsUsingGET(lawfirmId: number, includeExtendedCounts?: boolean, userId?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetLawfirmCaseStatsResponse>>;
|
|
842
|
+
public getLawfirmCaseStatsUsingGET(lawfirmId: number, includeExtendedCounts?: boolean, userId?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetLawfirmCaseStatsResponse>>;
|
|
843
|
+
public getLawfirmCaseStatsUsingGET(lawfirmId: number, includeExtendedCounts?: boolean, userId?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
838
844
|
if (lawfirmId === null || lawfirmId === undefined) {
|
|
839
845
|
throw new Error('Required parameter lawfirmId was null or undefined when calling getLawfirmCaseStatsUsingGET.');
|
|
840
846
|
}
|
|
@@ -844,6 +850,10 @@ export class LawfirmControllerService {
|
|
|
844
850
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
845
851
|
<any>includeExtendedCounts, 'includeExtendedCounts');
|
|
846
852
|
}
|
|
853
|
+
if (userId !== undefined && userId !== null) {
|
|
854
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
855
|
+
<any>userId, 'userId');
|
|
856
|
+
}
|
|
847
857
|
|
|
848
858
|
let localVarHeaders = this.defaultHeaders;
|
|
849
859
|
|
|
@@ -293,13 +293,14 @@ export class PushNotificationControllerService {
|
|
|
293
293
|
* markPageTypesAsRead
|
|
294
294
|
* @param caseId caseId
|
|
295
295
|
* @param request request
|
|
296
|
+
* @param userId userId
|
|
296
297
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
297
298
|
* @param reportProgress flag to report request and response progress.
|
|
298
299
|
*/
|
|
299
|
-
public markPageTypesAsReadUsingDELETE(caseId: string, request: DeleteNotificationByPagesRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<NotificationEvents>;
|
|
300
|
-
public markPageTypesAsReadUsingDELETE(caseId: string, request: DeleteNotificationByPagesRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<NotificationEvents>>;
|
|
301
|
-
public markPageTypesAsReadUsingDELETE(caseId: string, request: DeleteNotificationByPagesRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<NotificationEvents>>;
|
|
302
|
-
public markPageTypesAsReadUsingDELETE(caseId: string, request: DeleteNotificationByPagesRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
300
|
+
public markPageTypesAsReadUsingDELETE(caseId: string, request: DeleteNotificationByPagesRequest, userId?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<NotificationEvents>;
|
|
301
|
+
public markPageTypesAsReadUsingDELETE(caseId: string, request: DeleteNotificationByPagesRequest, userId?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<NotificationEvents>>;
|
|
302
|
+
public markPageTypesAsReadUsingDELETE(caseId: string, request: DeleteNotificationByPagesRequest, userId?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<NotificationEvents>>;
|
|
303
|
+
public markPageTypesAsReadUsingDELETE(caseId: string, request: DeleteNotificationByPagesRequest, userId?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
303
304
|
if (caseId === null || caseId === undefined) {
|
|
304
305
|
throw new Error('Required parameter caseId was null or undefined when calling markPageTypesAsReadUsingDELETE.');
|
|
305
306
|
}
|
|
@@ -307,6 +308,12 @@ export class PushNotificationControllerService {
|
|
|
307
308
|
throw new Error('Required parameter request was null or undefined when calling markPageTypesAsReadUsingDELETE.');
|
|
308
309
|
}
|
|
309
310
|
|
|
311
|
+
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
|
312
|
+
if (userId !== undefined && userId !== null) {
|
|
313
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
314
|
+
<any>userId, 'userId');
|
|
315
|
+
}
|
|
316
|
+
|
|
310
317
|
let localVarHeaders = this.defaultHeaders;
|
|
311
318
|
|
|
312
319
|
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
@@ -351,6 +358,7 @@ export class PushNotificationControllerService {
|
|
|
351
358
|
{
|
|
352
359
|
context: localVarHttpContext,
|
|
353
360
|
body: request,
|
|
361
|
+
params: localVarQueryParameters,
|
|
354
362
|
responseType: <any>responseType_,
|
|
355
363
|
withCredentials: this.configuration.withCredentials,
|
|
356
364
|
headers: localVarHeaders,
|
|
@@ -0,0 +1,152 @@
|
|
|
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
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
13
|
+
|
|
14
|
+
import { Inject, Injectable, Optional } from '@angular/core';
|
|
15
|
+
import { HttpClient, HttpHeaders, HttpParams,
|
|
16
|
+
HttpResponse, HttpEvent, HttpParameterCodec, HttpContext
|
|
17
|
+
} from '@angular/common/http';
|
|
18
|
+
import { CustomHttpParameterCodec } from '../encoder';
|
|
19
|
+
import { Observable } from 'rxjs';
|
|
20
|
+
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { IssueShortLivedTokenResponse } from '../model/issueShortLivedTokenResponse';
|
|
23
|
+
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
26
|
+
import { Configuration } from '../configuration';
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
@Injectable({
|
|
31
|
+
providedIn: 'root'
|
|
32
|
+
})
|
|
33
|
+
export class ShortLivedTokenControllerService {
|
|
34
|
+
|
|
35
|
+
protected basePath = 'http://otr-backend-service-us-devo.offtherecord.com';
|
|
36
|
+
public defaultHeaders = new HttpHeaders();
|
|
37
|
+
public configuration = new Configuration();
|
|
38
|
+
public encoder: HttpParameterCodec;
|
|
39
|
+
|
|
40
|
+
constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) {
|
|
41
|
+
if (configuration) {
|
|
42
|
+
this.configuration = configuration;
|
|
43
|
+
}
|
|
44
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
45
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
46
|
+
basePath = basePath[0];
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
if (typeof basePath !== 'string') {
|
|
50
|
+
basePath = this.basePath;
|
|
51
|
+
}
|
|
52
|
+
this.configuration.basePath = basePath;
|
|
53
|
+
}
|
|
54
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
// @ts-ignore
|
|
59
|
+
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
60
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
61
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
62
|
+
} else {
|
|
63
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
64
|
+
}
|
|
65
|
+
return httpParams;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return httpParams;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if (typeof value === "object") {
|
|
74
|
+
if (Array.isArray(value)) {
|
|
75
|
+
(value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
76
|
+
} else if (value instanceof Date) {
|
|
77
|
+
if (key != null) {
|
|
78
|
+
httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));
|
|
79
|
+
} else {
|
|
80
|
+
throw Error("key may not be null if value is Date");
|
|
81
|
+
}
|
|
82
|
+
} else {
|
|
83
|
+
Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
|
|
84
|
+
httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
85
|
+
}
|
|
86
|
+
} else if (key != null) {
|
|
87
|
+
httpParams = httpParams.append(key, value);
|
|
88
|
+
} else {
|
|
89
|
+
throw Error("key may not be null if value is not object or array");
|
|
90
|
+
}
|
|
91
|
+
return httpParams;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* issueShortLivedToken
|
|
96
|
+
* @param userId userId
|
|
97
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
98
|
+
* @param reportProgress flag to report request and response progress.
|
|
99
|
+
*/
|
|
100
|
+
public issueShortLivedTokenUsingGET(userId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<IssueShortLivedTokenResponse>;
|
|
101
|
+
public issueShortLivedTokenUsingGET(userId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<IssueShortLivedTokenResponse>>;
|
|
102
|
+
public issueShortLivedTokenUsingGET(userId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<IssueShortLivedTokenResponse>>;
|
|
103
|
+
public issueShortLivedTokenUsingGET(userId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
104
|
+
if (userId === null || userId === undefined) {
|
|
105
|
+
throw new Error('Required parameter userId was null or undefined when calling issueShortLivedTokenUsingGET.');
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
let localVarHeaders = this.defaultHeaders;
|
|
109
|
+
|
|
110
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
111
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
112
|
+
// to determine the Accept header
|
|
113
|
+
const httpHeaderAccepts: string[] = [
|
|
114
|
+
'*/*'
|
|
115
|
+
];
|
|
116
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
117
|
+
}
|
|
118
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
119
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
123
|
+
if (localVarHttpContext === undefined) {
|
|
124
|
+
localVarHttpContext = new HttpContext();
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
129
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
130
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
131
|
+
responseType_ = 'text';
|
|
132
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
133
|
+
responseType_ = 'json';
|
|
134
|
+
} else {
|
|
135
|
+
responseType_ = 'blob';
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
let localVarPath = `/api/v1/users/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64"})}/short-lived-token`;
|
|
140
|
+
return this.httpClient.request<IssueShortLivedTokenResponse>('get', `${this.configuration.basePath}${localVarPath}`,
|
|
141
|
+
{
|
|
142
|
+
context: localVarHttpContext,
|
|
143
|
+
responseType: <any>responseType_,
|
|
144
|
+
withCredentials: this.configuration.withCredentials,
|
|
145
|
+
headers: localVarHeaders,
|
|
146
|
+
observe: observe,
|
|
147
|
+
reportProgress: reportProgress
|
|
148
|
+
}
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
}
|
|
@@ -92,16 +92,34 @@ export class WebSocketControllerService {
|
|
|
92
92
|
/**
|
|
93
93
|
* connect
|
|
94
94
|
* @param connectionId connectionId
|
|
95
|
+
* @param token token
|
|
96
|
+
* @param userId userId
|
|
95
97
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
96
98
|
* @param reportProgress flag to report request and response progress.
|
|
97
99
|
*/
|
|
98
|
-
public connectUsingPOST(connectionId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?:
|
|
99
|
-
public connectUsingPOST(connectionId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?:
|
|
100
|
-
public connectUsingPOST(connectionId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?:
|
|
101
|
-
public connectUsingPOST(connectionId: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?:
|
|
100
|
+
public connectUsingPOST(connectionId: string, token: string, userId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<object>;
|
|
101
|
+
public connectUsingPOST(connectionId: string, token: string, userId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<object>>;
|
|
102
|
+
public connectUsingPOST(connectionId: string, token: string, userId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<object>>;
|
|
103
|
+
public connectUsingPOST(connectionId: string, token: string, userId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
102
104
|
if (connectionId === null || connectionId === undefined) {
|
|
103
105
|
throw new Error('Required parameter connectionId was null or undefined when calling connectUsingPOST.');
|
|
104
106
|
}
|
|
107
|
+
if (token === null || token === undefined) {
|
|
108
|
+
throw new Error('Required parameter token was null or undefined when calling connectUsingPOST.');
|
|
109
|
+
}
|
|
110
|
+
if (userId === null || userId === undefined) {
|
|
111
|
+
throw new Error('Required parameter userId was null or undefined when calling connectUsingPOST.');
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
|
115
|
+
if (token !== undefined && token !== null) {
|
|
116
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
117
|
+
<any>token, 'token');
|
|
118
|
+
}
|
|
119
|
+
if (userId !== undefined && userId !== null) {
|
|
120
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
121
|
+
<any>userId, 'userId');
|
|
122
|
+
}
|
|
105
123
|
|
|
106
124
|
let localVarHeaders = this.defaultHeaders;
|
|
107
125
|
if (connectionId !== undefined && connectionId !== null) {
|
|
@@ -112,6 +130,7 @@ export class WebSocketControllerService {
|
|
|
112
130
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
113
131
|
// to determine the Accept header
|
|
114
132
|
const httpHeaderAccepts: string[] = [
|
|
133
|
+
'*/*'
|
|
115
134
|
];
|
|
116
135
|
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
117
136
|
}
|
|
@@ -137,9 +156,10 @@ export class WebSocketControllerService {
|
|
|
137
156
|
}
|
|
138
157
|
|
|
139
158
|
let localVarPath = `/api/v1/websocket/connect`;
|
|
140
|
-
return this.httpClient.request<
|
|
159
|
+
return this.httpClient.request<object>('post', `${this.configuration.basePath}${localVarPath}`,
|
|
141
160
|
{
|
|
142
161
|
context: localVarHttpContext,
|
|
162
|
+
params: localVarQueryParameters,
|
|
143
163
|
responseType: <any>responseType_,
|
|
144
164
|
withCredentials: this.configuration.withCredentials,
|
|
145
165
|
headers: localVarHeaders,
|
|
@@ -93,6 +93,7 @@ import { RefundEligibilityControllerService } from './api/refundEligibilityContr
|
|
|
93
93
|
import { RegistrationControllerService } from './api/registrationController.service';
|
|
94
94
|
import { ReportingControllerService } from './api/reportingController.service';
|
|
95
95
|
import { ScheduledTaskControllerService } from './api/scheduledTaskController.service';
|
|
96
|
+
import { ShortLivedTokenControllerService } from './api/shortLivedTokenController.service';
|
|
96
97
|
import { SingleSignOnControllerService } from './api/singleSignOnController.service';
|
|
97
98
|
import { SnsListenerControllerService } from './api/snsListenerController.service';
|
|
98
99
|
import { SocialLoginControllerService } from './api/socialLoginController.service';
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
|
|
14
|
+
export interface IssueShortLivedTokenResponse {
|
|
15
|
+
token?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
@@ -447,6 +447,7 @@ export * from './inviteLawyerToLawfirmRequest';
|
|
|
447
447
|
export * from './invoiceLineItemModel';
|
|
448
448
|
export * from './isRefundEligibleResponse';
|
|
449
449
|
export * from './isUserLoggedInResponse';
|
|
450
|
+
export * from './issueShortLivedTokenResponse';
|
|
450
451
|
export * from './item';
|
|
451
452
|
export * from './lastLoginAttributes';
|
|
452
453
|
export * from './lastLoginDateByUserAccount';
|
|
@@ -10760,6 +10760,7 @@ angular.module('otrBackendService', [])
|
|
|
10760
10760
|
* @param {object} parameters - method options and parameters
|
|
10761
10761
|
* @param {boolean} parameters.includeExtendedCounts - includeExtendedCounts
|
|
10762
10762
|
* @param {integer} parameters.lawfirmId - lawfirmId
|
|
10763
|
+
* @param {integer} parameters.userId - userId
|
|
10763
10764
|
*/
|
|
10764
10765
|
OtrService.prototype.getLawfirmCaseStatsUsingGET = function(parameters) {
|
|
10765
10766
|
if (parameters === undefined) {
|
|
@@ -10786,6 +10787,10 @@ angular.module('otrBackendService', [])
|
|
|
10786
10787
|
return deferred.promise;
|
|
10787
10788
|
}
|
|
10788
10789
|
|
|
10790
|
+
if (parameters['userId'] !== undefined) {
|
|
10791
|
+
queryParameters['userId'] = parameters['userId'];
|
|
10792
|
+
}
|
|
10793
|
+
|
|
10789
10794
|
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
10790
10795
|
|
|
10791
10796
|
this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
@@ -11362,6 +11367,7 @@ angular.module('otrBackendService', [])
|
|
|
11362
11367
|
* @param {string} parameters.query - query
|
|
11363
11368
|
* @param {string} parameters.regionCodes - regionCodes
|
|
11364
11369
|
* @param {string} parameters.statusCategories - statusCategories
|
|
11370
|
+
* @param {integer} parameters.userId - userId
|
|
11365
11371
|
*/
|
|
11366
11372
|
OtrService.prototype.getInboxMessagesUsingGET = function(parameters) {
|
|
11367
11373
|
if (parameters === undefined) {
|
|
@@ -11447,6 +11453,10 @@ angular.module('otrBackendService', [])
|
|
|
11447
11453
|
queryParameters['statusCategories'] = parameters['statusCategories'];
|
|
11448
11454
|
}
|
|
11449
11455
|
|
|
11456
|
+
if (parameters['userId'] !== undefined) {
|
|
11457
|
+
queryParameters['userId'] = parameters['userId'];
|
|
11458
|
+
}
|
|
11459
|
+
|
|
11450
11460
|
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
11451
11461
|
|
|
11452
11462
|
this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
@@ -17926,6 +17936,40 @@ angular.module('otrBackendService', [])
|
|
|
17926
17936
|
|
|
17927
17937
|
return deferred.promise;
|
|
17928
17938
|
};
|
|
17939
|
+
/**
|
|
17940
|
+
* issueShortLivedToken
|
|
17941
|
+
* @method
|
|
17942
|
+
* @name OtrService#issueShortLivedTokenUsingGET
|
|
17943
|
+
* @param {object} parameters - method options and parameters
|
|
17944
|
+
* @param {integer} parameters.userId - userId
|
|
17945
|
+
*/
|
|
17946
|
+
OtrService.prototype.issueShortLivedTokenUsingGET = function(parameters) {
|
|
17947
|
+
if (parameters === undefined) {
|
|
17948
|
+
parameters = {};
|
|
17949
|
+
}
|
|
17950
|
+
var deferred = $q.defer();
|
|
17951
|
+
var domain = this.domain,
|
|
17952
|
+
path = '/api/v1/users/{userId}/short-lived-token';
|
|
17953
|
+
var body = {},
|
|
17954
|
+
queryParameters = {},
|
|
17955
|
+
headers = {},
|
|
17956
|
+
form = {};
|
|
17957
|
+
|
|
17958
|
+
headers['Accept'] = ['*/*'];
|
|
17959
|
+
|
|
17960
|
+
path = path.replace('{userId}', parameters['userId']);
|
|
17961
|
+
|
|
17962
|
+
if (parameters['userId'] === undefined) {
|
|
17963
|
+
deferred.reject(new Error('Missing required parameter: userId'));
|
|
17964
|
+
return deferred.promise;
|
|
17965
|
+
}
|
|
17966
|
+
|
|
17967
|
+
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
17968
|
+
|
|
17969
|
+
this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
17970
|
+
|
|
17971
|
+
return deferred.promise;
|
|
17972
|
+
};
|
|
17929
17973
|
/**
|
|
17930
17974
|
* saveUserSocialProfiles
|
|
17931
17975
|
* @method
|
|
@@ -19003,6 +19047,8 @@ angular.module('otrBackendService', [])
|
|
|
19003
19047
|
* @name OtrService#connectUsingPOST
|
|
19004
19048
|
* @param {object} parameters - method options and parameters
|
|
19005
19049
|
* @param {string} parameters.connectionId - connectionId
|
|
19050
|
+
* @param {string} parameters.token - token
|
|
19051
|
+
* @param {integer} parameters.userId - userId
|
|
19006
19052
|
*/
|
|
19007
19053
|
OtrService.prototype.connectUsingPOST = function(parameters) {
|
|
19008
19054
|
if (parameters === undefined) {
|
|
@@ -19028,6 +19074,24 @@ angular.module('otrBackendService', [])
|
|
|
19028
19074
|
return deferred.promise;
|
|
19029
19075
|
}
|
|
19030
19076
|
|
|
19077
|
+
if (parameters['token'] !== undefined) {
|
|
19078
|
+
queryParameters['token'] = parameters['token'];
|
|
19079
|
+
}
|
|
19080
|
+
|
|
19081
|
+
if (parameters['token'] === undefined) {
|
|
19082
|
+
deferred.reject(new Error('Missing required parameter: token'));
|
|
19083
|
+
return deferred.promise;
|
|
19084
|
+
}
|
|
19085
|
+
|
|
19086
|
+
if (parameters['userId'] !== undefined) {
|
|
19087
|
+
queryParameters['userId'] = parameters['userId'];
|
|
19088
|
+
}
|
|
19089
|
+
|
|
19090
|
+
if (parameters['userId'] === undefined) {
|
|
19091
|
+
deferred.reject(new Error('Missing required parameter: userId'));
|
|
19092
|
+
return deferred.promise;
|
|
19093
|
+
}
|
|
19094
|
+
|
|
19031
19095
|
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
19032
19096
|
|
|
19033
19097
|
this.request('POST', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
@@ -19819,6 +19883,7 @@ angular.module('otrBackendService', [])
|
|
|
19819
19883
|
* @param {object} parameters - method options and parameters
|
|
19820
19884
|
* @param {string} parameters.caseId - caseId
|
|
19821
19885
|
* @param {} parameters.request - request
|
|
19886
|
+
* @param {integer} parameters.userId - userId
|
|
19822
19887
|
*/
|
|
19823
19888
|
OtrService.prototype.markPageTypesAsReadUsingDELETE = function(parameters) {
|
|
19824
19889
|
if (parameters === undefined) {
|
|
@@ -19850,6 +19915,10 @@ angular.module('otrBackendService', [])
|
|
|
19850
19915
|
return deferred.promise;
|
|
19851
19916
|
}
|
|
19852
19917
|
|
|
19918
|
+
if (parameters['userId'] !== undefined) {
|
|
19919
|
+
queryParameters['userId'] = parameters['userId'];
|
|
19920
|
+
}
|
|
19921
|
+
|
|
19853
19922
|
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
19854
19923
|
|
|
19855
19924
|
this.request('DELETE', domain + path, parameters, body, headers, queryParameters, form, deferred);
|