@otr-app/shared-backend-generated-client 2.5.167 → 2.5.169

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 (47) hide show
  1. package/dist/angular/.openapi-generator/FILES +4 -0
  2. package/dist/angular/api/api.ts +3 -1
  3. package/dist/angular/api/lawfirmDashboardController.service.ts +60 -0
  4. package/dist/angular/api/shortLivedTokenController.service.ts +152 -0
  5. package/dist/angular/api/webSocketController.service.ts +25 -5
  6. package/dist/angular/api.module.ts +1 -0
  7. package/dist/angular/model/ageBracketModel.ts +19 -0
  8. package/dist/angular/model/getActiveCasesByAgeResponse.ts +21 -0
  9. package/dist/angular/model/issueShortLivedTokenResponse.ts +17 -0
  10. package/dist/angular/model/models.ts +3 -0
  11. package/dist/otrBackendService.js +88 -0
  12. package/dist/otrBackendService.min.js +5 -5
  13. package/dist/typescript/api/LawfirmDashboardControllerApi.d.ts +6 -0
  14. package/dist/typescript/api/LawfirmDashboardControllerApi.js +25 -0
  15. package/dist/typescript/api/ShortLivedTokenControllerApi.d.ts +26 -0
  16. package/dist/typescript/api/ShortLivedTokenControllerApi.js +49 -0
  17. package/dist/typescript/api/WebSocketControllerApi.d.ts +3 -1
  18. package/dist/typescript/api/WebSocketControllerApi.js +17 -1
  19. package/dist/typescript/api/api.d.ts +3 -1
  20. package/dist/typescript/api/api.js +3 -1
  21. package/dist/typescript/api.module.js +1 -0
  22. package/dist/typescript/model/AgeBracketModel.d.ts +16 -0
  23. package/dist/typescript/model/AgeBracketModel.js +12 -0
  24. package/dist/typescript/model/GetActiveCasesByAgeResponse.d.ts +18 -0
  25. package/dist/typescript/model/GetActiveCasesByAgeResponse.js +12 -0
  26. package/dist/typescript/model/IssueShortLivedTokenResponse.d.ts +14 -0
  27. package/dist/typescript/model/IssueShortLivedTokenResponse.js +12 -0
  28. package/dist/typescript/model/models.d.ts +3 -0
  29. package/dist/typescript/model/models.js +3 -0
  30. package/dist/typescript-fetch/apis/LawfirmDashboardControllerApi.d.ts +12 -1
  31. package/dist/typescript-fetch/apis/LawfirmDashboardControllerApi.js +29 -1
  32. package/dist/typescript-fetch/apis/ShortLivedTokenControllerApi.d.ts +29 -0
  33. package/dist/typescript-fetch/apis/ShortLivedTokenControllerApi.js +57 -0
  34. package/dist/typescript-fetch/apis/WebSocketControllerApi.d.ts +4 -2
  35. package/dist/typescript-fetch/apis/WebSocketControllerApi.js +15 -2
  36. package/dist/typescript-fetch/apis/index.d.ts +1 -0
  37. package/dist/typescript-fetch/apis/index.js +1 -0
  38. package/dist/typescript-fetch/models/AgeBracketModel.d.ts +39 -0
  39. package/dist/typescript-fetch/models/AgeBracketModel.js +40 -0
  40. package/dist/typescript-fetch/models/GetActiveCasesByAgeResponse.d.ts +46 -0
  41. package/dist/typescript-fetch/models/GetActiveCasesByAgeResponse.js +43 -0
  42. package/dist/typescript-fetch/models/IssueShortLivedTokenResponse.d.ts +27 -0
  43. package/dist/typescript-fetch/models/IssueShortLivedTokenResponse.js +36 -0
  44. package/dist/typescript-fetch/models/index.d.ts +3 -0
  45. package/dist/typescript-fetch/models/index.js +3 -0
  46. package/dist/typescript-open-api/otr-backend.d.ts +153 -2
  47. package/package.json +1 -1
@@ -17,6 +17,12 @@ export declare class LawfirmDashboardControllerApi {
17
17
  defaultHeaders: any;
18
18
  static $inject: string[];
19
19
  constructor($http: ng.IHttpService, $httpParamSerializer?: (d: any) => any, basePath?: string);
20
+ /**
21
+ *
22
+ * @summary getActiveCasesByAge
23
+ * @param lawfirmId lawfirmId
24
+ */
25
+ getActiveCasesByAgeUsingGET(lawfirmId: number, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetActiveCasesByAgeResponse>;
20
26
  /**
21
27
  *
22
28
  * @summary getLawfirmGrossEarnings
@@ -20,6 +20,31 @@ export class LawfirmDashboardControllerApi {
20
20
  this.basePath = basePath;
21
21
  }
22
22
  }
23
+ /**
24
+ *
25
+ * @summary getActiveCasesByAge
26
+ * @param lawfirmId lawfirmId
27
+ */
28
+ getActiveCasesByAgeUsingGET(lawfirmId, extraHttpRequestParams) {
29
+ const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/dashboard/active-cases-by-age'
30
+ .replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
31
+ let queryParameters = {};
32
+ let headerParams = Object.assign({}, this.defaultHeaders);
33
+ // verify required parameter 'lawfirmId' is not null or undefined
34
+ if (lawfirmId === null || lawfirmId === undefined) {
35
+ throw new Error('Required parameter lawfirmId was null or undefined when calling getActiveCasesByAgeUsingGET.');
36
+ }
37
+ let httpRequestParams = {
38
+ method: 'GET',
39
+ url: localVarPath,
40
+ params: queryParameters,
41
+ headers: headerParams
42
+ };
43
+ if (extraHttpRequestParams) {
44
+ httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
45
+ }
46
+ return this.$http(httpRequestParams);
47
+ }
23
48
  /**
24
49
  *
25
50
  * @summary getLawfirmGrossEarnings
@@ -0,0 +1,26 @@
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
+ import * as models from '../model/models';
13
+ export declare class ShortLivedTokenControllerApi {
14
+ protected $http: ng.IHttpService;
15
+ protected $httpParamSerializer?: (d: any) => any;
16
+ protected basePath: string;
17
+ defaultHeaders: any;
18
+ static $inject: string[];
19
+ constructor($http: ng.IHttpService, $httpParamSerializer?: (d: any) => any, basePath?: string);
20
+ /**
21
+ *
22
+ * @summary issueShortLivedToken
23
+ * @param userId userId
24
+ */
25
+ issueShortLivedTokenUsingGET(userId: number, extraHttpRequestParams?: any): ng.IHttpPromise<models.IssueShortLivedTokenResponse>;
26
+ }
@@ -0,0 +1,49 @@
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
+ export class ShortLivedTokenControllerApi {
14
+ constructor($http, $httpParamSerializer, basePath) {
15
+ this.$http = $http;
16
+ this.$httpParamSerializer = $httpParamSerializer;
17
+ this.basePath = 'http://otr-backend-service-us-devo.offtherecord.com';
18
+ this.defaultHeaders = {};
19
+ if (basePath !== undefined) {
20
+ this.basePath = basePath;
21
+ }
22
+ }
23
+ /**
24
+ *
25
+ * @summary issueShortLivedToken
26
+ * @param userId userId
27
+ */
28
+ issueShortLivedTokenUsingGET(userId, extraHttpRequestParams) {
29
+ const localVarPath = this.basePath + '/api/v1/users/{userId}/short-lived-token'
30
+ .replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
31
+ let queryParameters = {};
32
+ let headerParams = Object.assign({}, this.defaultHeaders);
33
+ // verify required parameter 'userId' is not null or undefined
34
+ if (userId === null || userId === undefined) {
35
+ throw new Error('Required parameter userId was null or undefined when calling issueShortLivedTokenUsingGET.');
36
+ }
37
+ let httpRequestParams = {
38
+ method: 'GET',
39
+ url: localVarPath,
40
+ params: queryParameters,
41
+ headers: headerParams
42
+ };
43
+ if (extraHttpRequestParams) {
44
+ httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
45
+ }
46
+ return this.$http(httpRequestParams);
47
+ }
48
+ }
49
+ ShortLivedTokenControllerApi.$inject = ['$http', '$httpParamSerializer', 'basePath'];
@@ -20,8 +20,10 @@ export declare class WebSocketControllerApi {
20
20
  *
21
21
  * @summary connect
22
22
  * @param connectionId connectionId
23
+ * @param token token
24
+ * @param userId userId
23
25
  */
24
- connectUsingPOST(connectionId: string, extraHttpRequestParams?: any): ng.IHttpPromise<{}>;
26
+ connectUsingPOST(connectionId: string, token: string, userId: number, extraHttpRequestParams?: any): ng.IHttpPromise<object>;
25
27
  /**
26
28
  *
27
29
  * @summary defaultHandler
@@ -24,8 +24,10 @@ export class WebSocketControllerApi {
24
24
  *
25
25
  * @summary connect
26
26
  * @param connectionId connectionId
27
+ * @param token token
28
+ * @param userId userId
27
29
  */
28
- connectUsingPOST(connectionId, extraHttpRequestParams) {
30
+ connectUsingPOST(connectionId, token, userId, extraHttpRequestParams) {
29
31
  const localVarPath = this.basePath + '/api/v1/websocket/connect';
30
32
  let queryParameters = {};
31
33
  let headerParams = Object.assign({}, this.defaultHeaders);
@@ -33,6 +35,20 @@ export class WebSocketControllerApi {
33
35
  if (connectionId === null || connectionId === undefined) {
34
36
  throw new Error('Required parameter connectionId was null or undefined when calling connectUsingPOST.');
35
37
  }
38
+ // verify required parameter 'token' is not null or undefined
39
+ if (token === null || token === undefined) {
40
+ throw new Error('Required parameter token was null or undefined when calling connectUsingPOST.');
41
+ }
42
+ // verify required parameter 'userId' is not null or undefined
43
+ if (userId === null || userId === undefined) {
44
+ throw new Error('Required parameter userId was null or undefined when calling connectUsingPOST.');
45
+ }
46
+ if (token !== undefined) {
47
+ queryParameters['token'] = token;
48
+ }
49
+ if (userId !== undefined) {
50
+ queryParameters['userId'] = userId;
51
+ }
36
52
  headerParams['connectionId'] = connectionId;
37
53
  let httpRequestParams = {
38
54
  method: 'POST',
@@ -180,6 +180,8 @@ export * from './ReportingControllerApi';
180
180
  import { ReportingControllerApi } from './ReportingControllerApi';
181
181
  export * from './ScheduledTaskControllerApi';
182
182
  import { ScheduledTaskControllerApi } from './ScheduledTaskControllerApi';
183
+ export * from './ShortLivedTokenControllerApi';
184
+ import { ShortLivedTokenControllerApi } from './ShortLivedTokenControllerApi';
183
185
  export * from './SingleSignOnControllerApi';
184
186
  import { SingleSignOnControllerApi } from './SingleSignOnControllerApi';
185
187
  export * from './SnsListenerControllerApi';
@@ -232,4 +234,4 @@ export * from './WebsocketMessageControllerApi';
232
234
  import { WebsocketMessageControllerApi } from './WebsocketMessageControllerApi';
233
235
  export * from './WorkflowStateControllerApi';
234
236
  import { WorkflowStateControllerApi } from './WorkflowStateControllerApi';
235
- export declare const APIS: (typeof ActionRequiredControllerApi | typeof ActivityFeedControllerApi | typeof AddressControllerApi | typeof AlertNotificationControllerApi | typeof AppEventsControllerApi | typeof AuditLawfirmEventsControllerApi | typeof AuditLogControllerApi | typeof AuthenticationControllerApi | typeof AwsCredentialsControllerApi | typeof BranchLinkControllerApi | typeof CaptchaControllerApi | typeof CaseActionsControllerApi | typeof CaseControllerApi | typeof CaseCounterOfferControllerApi | typeof CaseCreationControllerApi | typeof CaseDeclineControllerApi | typeof CaseNotesControllerApi | typeof CasePaymentControllerApi | typeof CaseReferralCodeControllerApi | typeof CaseRefundControllerApi | typeof CaseResolutionControllerApi | typeof CaseStatusControllerApi | typeof CaseTransferControllerApi | typeof CaseUserControllerApi | typeof CitationAuditControllerApi | typeof CitationControllerApi | typeof CoachingCardsControllerApi | typeof ConfigurationControllerApi | typeof ConsoleListControllerApi | typeof ContactLoopWebhookControllerApi | typeof ContactTimelineControllerApi | typeof ConversationControllerApi | typeof CountyControllerApi | typeof CourtControllerApi | typeof CrmControllerApi | typeof CustomerLeadControllerApi | typeof CustomerReviewControllerApi | typeof CustomerServiceAgentBookingsControllerApi | typeof CustomerServiceAgentControllerApi | typeof DashboardControllerApi | typeof DirectMailControllerApi | typeof DripControllerApi | typeof DripWebhooksControllerApi | typeof DriverLicenseControllerApi | typeof EmployeeControllerApi | typeof EventBridgeEmailNotificationControllerApi | typeof ExternalContentVoteControllerApi | typeof ExternalTicketLookupControllerApi | typeof FeedbackControllerApi | typeof FreshcallerControllerApi | typeof FreshdeskTicketControllerApi | typeof GetCaseControllerApi | typeof HouseholdMateControllerApi | typeof HubspotWebhookControllerApi | typeof InsuranceCalculatorControllerApi | typeof IntercomTicketControllerApi | typeof IntercomWebhookControllerApi | typeof LawfirmCaseDecisionControllerApi | typeof LawfirmCasesControllerApi | typeof LawfirmControllerApi | typeof LawfirmDashboardControllerApi | typeof LawfirmDocumentControllerApi | typeof LawfirmFeeCoverageControllerApi | typeof LawfirmPaymentModelControllerApi | typeof LawfirmRatesControllerApi | typeof LawfirmSettingsControllerApi | typeof LawfirmStorefrontControllerApi | typeof LawfirmSurchargeControllerApi | typeof LawfirmTransactionsControllerApi | typeof LawyerControllerApi | typeof LegalServicesControllerApi | typeof LineItemControllerApi | typeof ListCasesControllerApi | typeof MediaCreationControllerApi | typeof MessagesControllerApi | typeof NotesControllerApi | typeof OcrPipelineControllerApi | typeof OcrPredictionControllerApi | typeof OnDemandRequestControllerApi | typeof OneTimePasswordControllerApi | typeof PhoneLeadsControllerApi | typeof PushNotificationControllerApi | typeof RecurringBillingControllerApi | typeof RefLinkControllerApi | typeof ReferralCodeControllerApi | typeof ReferralControllerApi | typeof ReferralSourceControllerApi | typeof RefundEligibilityControllerApi | typeof RegistrationControllerApi | typeof ReportingControllerApi | typeof ScheduledTaskControllerApi | typeof SingleSignOnControllerApi | typeof SnsListenerControllerApi | typeof SocialLoginControllerApi | typeof StripeCardControllerApi | typeof StripeControllerApi | typeof StripeSyncControllerApi | typeof StripeWebhookControllerApi | typeof TicketReviewControllerApi | typeof UrlRedirectControllerApi | typeof UserAccountControllerApi | typeof UserAuditControllerApi | typeof UserControllerApi | typeof UserPasswordControllerApi | typeof UserProfileControllerApi | typeof UserSearchControllerApi | typeof UserSettingsControllerApi | typeof UserSocialProfileControllerApi | typeof UtilityControllerApi | typeof ValidationControllerApi | typeof VerificationControllerApi | typeof ViolationControllerApi | typeof ViolationPenaltyControllerApi | typeof WatchlistsControllerApi | typeof WebSocketControllerApi | typeof WebsocketMessageControllerApi | typeof WorkflowStateControllerApi)[];
237
+ export declare const APIS: (typeof ActionRequiredControllerApi | typeof ActivityFeedControllerApi | typeof AddressControllerApi | typeof AlertNotificationControllerApi | typeof AppEventsControllerApi | typeof AuditLawfirmEventsControllerApi | typeof AuditLogControllerApi | typeof AuthenticationControllerApi | typeof AwsCredentialsControllerApi | typeof BranchLinkControllerApi | typeof CaptchaControllerApi | typeof CaseActionsControllerApi | typeof CaseControllerApi | typeof CaseCounterOfferControllerApi | typeof CaseCreationControllerApi | typeof CaseDeclineControllerApi | typeof CaseNotesControllerApi | typeof CasePaymentControllerApi | typeof CaseReferralCodeControllerApi | typeof CaseRefundControllerApi | typeof CaseResolutionControllerApi | typeof CaseStatusControllerApi | typeof CaseTransferControllerApi | typeof CaseUserControllerApi | typeof CitationAuditControllerApi | typeof CitationControllerApi | typeof CoachingCardsControllerApi | typeof ConfigurationControllerApi | typeof ConsoleListControllerApi | typeof ContactLoopWebhookControllerApi | typeof ContactTimelineControllerApi | typeof ConversationControllerApi | typeof CountyControllerApi | typeof CourtControllerApi | typeof CrmControllerApi | typeof CustomerLeadControllerApi | typeof CustomerReviewControllerApi | typeof CustomerServiceAgentBookingsControllerApi | typeof CustomerServiceAgentControllerApi | typeof DashboardControllerApi | typeof DirectMailControllerApi | typeof DripControllerApi | typeof DripWebhooksControllerApi | typeof DriverLicenseControllerApi | typeof EmployeeControllerApi | typeof EventBridgeEmailNotificationControllerApi | typeof ExternalContentVoteControllerApi | typeof ExternalTicketLookupControllerApi | typeof FeedbackControllerApi | typeof FreshcallerControllerApi | typeof FreshdeskTicketControllerApi | typeof GetCaseControllerApi | typeof HouseholdMateControllerApi | typeof HubspotWebhookControllerApi | typeof InsuranceCalculatorControllerApi | typeof IntercomTicketControllerApi | typeof IntercomWebhookControllerApi | typeof LawfirmCaseDecisionControllerApi | typeof LawfirmCasesControllerApi | typeof LawfirmControllerApi | typeof LawfirmDashboardControllerApi | typeof LawfirmDocumentControllerApi | typeof LawfirmFeeCoverageControllerApi | typeof LawfirmPaymentModelControllerApi | typeof LawfirmRatesControllerApi | typeof LawfirmSettingsControllerApi | typeof LawfirmStorefrontControllerApi | typeof LawfirmSurchargeControllerApi | typeof LawfirmTransactionsControllerApi | typeof LawyerControllerApi | typeof LegalServicesControllerApi | typeof LineItemControllerApi | typeof ListCasesControllerApi | typeof MediaCreationControllerApi | typeof MessagesControllerApi | typeof NotesControllerApi | typeof OcrPipelineControllerApi | typeof OcrPredictionControllerApi | typeof OnDemandRequestControllerApi | typeof OneTimePasswordControllerApi | typeof PhoneLeadsControllerApi | typeof PushNotificationControllerApi | typeof RecurringBillingControllerApi | typeof RefLinkControllerApi | typeof ReferralCodeControllerApi | typeof ReferralControllerApi | typeof ReferralSourceControllerApi | typeof RefundEligibilityControllerApi | typeof RegistrationControllerApi | typeof ReportingControllerApi | typeof ScheduledTaskControllerApi | typeof ShortLivedTokenControllerApi | typeof SingleSignOnControllerApi | typeof SnsListenerControllerApi | typeof SocialLoginControllerApi | typeof StripeCardControllerApi | typeof StripeControllerApi | typeof StripeSyncControllerApi | typeof StripeWebhookControllerApi | typeof TicketReviewControllerApi | typeof UrlRedirectControllerApi | typeof UserAccountControllerApi | typeof UserAuditControllerApi | typeof UserControllerApi | typeof UserPasswordControllerApi | typeof UserProfileControllerApi | typeof UserSearchControllerApi | typeof UserSettingsControllerApi | typeof UserSocialProfileControllerApi | typeof UtilityControllerApi | typeof ValidationControllerApi | typeof VerificationControllerApi | typeof ViolationControllerApi | typeof ViolationPenaltyControllerApi | typeof WatchlistsControllerApi | typeof WebSocketControllerApi | typeof WebsocketMessageControllerApi | typeof WorkflowStateControllerApi)[];
@@ -180,6 +180,8 @@ export * from './ReportingControllerApi';
180
180
  import { ReportingControllerApi } from './ReportingControllerApi';
181
181
  export * from './ScheduledTaskControllerApi';
182
182
  import { ScheduledTaskControllerApi } from './ScheduledTaskControllerApi';
183
+ export * from './ShortLivedTokenControllerApi';
184
+ import { ShortLivedTokenControllerApi } from './ShortLivedTokenControllerApi';
183
185
  export * from './SingleSignOnControllerApi';
184
186
  import { SingleSignOnControllerApi } from './SingleSignOnControllerApi';
185
187
  export * from './SnsListenerControllerApi';
@@ -232,4 +234,4 @@ export * from './WebsocketMessageControllerApi';
232
234
  import { WebsocketMessageControllerApi } from './WebsocketMessageControllerApi';
233
235
  export * from './WorkflowStateControllerApi';
234
236
  import { WorkflowStateControllerApi } from './WorkflowStateControllerApi';
235
- export const APIS = [ActionRequiredControllerApi, ActivityFeedControllerApi, AddressControllerApi, AlertNotificationControllerApi, AppEventsControllerApi, AuditLawfirmEventsControllerApi, AuditLogControllerApi, AuthenticationControllerApi, AwsCredentialsControllerApi, BranchLinkControllerApi, CaptchaControllerApi, CaseActionsControllerApi, CaseControllerApi, CaseCounterOfferControllerApi, CaseCreationControllerApi, CaseDeclineControllerApi, CaseNotesControllerApi, CasePaymentControllerApi, CaseReferralCodeControllerApi, CaseRefundControllerApi, CaseResolutionControllerApi, CaseStatusControllerApi, CaseTransferControllerApi, CaseUserControllerApi, CitationAuditControllerApi, CitationControllerApi, CoachingCardsControllerApi, ConfigurationControllerApi, ConsoleListControllerApi, ContactLoopWebhookControllerApi, ContactTimelineControllerApi, ConversationControllerApi, CountyControllerApi, CourtControllerApi, CrmControllerApi, CustomerLeadControllerApi, CustomerReviewControllerApi, CustomerServiceAgentBookingsControllerApi, CustomerServiceAgentControllerApi, DashboardControllerApi, DirectMailControllerApi, DripControllerApi, DripWebhooksControllerApi, DriverLicenseControllerApi, EmployeeControllerApi, EventBridgeEmailNotificationControllerApi, ExternalContentVoteControllerApi, ExternalTicketLookupControllerApi, FeedbackControllerApi, FreshcallerControllerApi, FreshdeskTicketControllerApi, GetCaseControllerApi, HouseholdMateControllerApi, HubspotWebhookControllerApi, InsuranceCalculatorControllerApi, IntercomTicketControllerApi, IntercomWebhookControllerApi, LawfirmCaseDecisionControllerApi, LawfirmCasesControllerApi, LawfirmControllerApi, LawfirmDashboardControllerApi, LawfirmDocumentControllerApi, LawfirmFeeCoverageControllerApi, LawfirmPaymentModelControllerApi, LawfirmRatesControllerApi, LawfirmSettingsControllerApi, LawfirmStorefrontControllerApi, LawfirmSurchargeControllerApi, LawfirmTransactionsControllerApi, LawyerControllerApi, LegalServicesControllerApi, LineItemControllerApi, ListCasesControllerApi, MediaCreationControllerApi, MessagesControllerApi, NotesControllerApi, OcrPipelineControllerApi, OcrPredictionControllerApi, OnDemandRequestControllerApi, OneTimePasswordControllerApi, PhoneLeadsControllerApi, PushNotificationControllerApi, RecurringBillingControllerApi, RefLinkControllerApi, ReferralCodeControllerApi, ReferralControllerApi, ReferralSourceControllerApi, RefundEligibilityControllerApi, RegistrationControllerApi, ReportingControllerApi, ScheduledTaskControllerApi, SingleSignOnControllerApi, SnsListenerControllerApi, SocialLoginControllerApi, StripeCardControllerApi, StripeControllerApi, StripeSyncControllerApi, StripeWebhookControllerApi, TicketReviewControllerApi, UrlRedirectControllerApi, UserAccountControllerApi, UserAuditControllerApi, UserControllerApi, UserPasswordControllerApi, UserProfileControllerApi, UserSearchControllerApi, UserSettingsControllerApi, UserSocialProfileControllerApi, UtilityControllerApi, ValidationControllerApi, VerificationControllerApi, ViolationControllerApi, ViolationPenaltyControllerApi, WatchlistsControllerApi, WebSocketControllerApi, WebsocketMessageControllerApi, WorkflowStateControllerApi];
237
+ export const APIS = [ActionRequiredControllerApi, ActivityFeedControllerApi, AddressControllerApi, AlertNotificationControllerApi, AppEventsControllerApi, AuditLawfirmEventsControllerApi, AuditLogControllerApi, AuthenticationControllerApi, AwsCredentialsControllerApi, BranchLinkControllerApi, CaptchaControllerApi, CaseActionsControllerApi, CaseControllerApi, CaseCounterOfferControllerApi, CaseCreationControllerApi, CaseDeclineControllerApi, CaseNotesControllerApi, CasePaymentControllerApi, CaseReferralCodeControllerApi, CaseRefundControllerApi, CaseResolutionControllerApi, CaseStatusControllerApi, CaseTransferControllerApi, CaseUserControllerApi, CitationAuditControllerApi, CitationControllerApi, CoachingCardsControllerApi, ConfigurationControllerApi, ConsoleListControllerApi, ContactLoopWebhookControllerApi, ContactTimelineControllerApi, ConversationControllerApi, CountyControllerApi, CourtControllerApi, CrmControllerApi, CustomerLeadControllerApi, CustomerReviewControllerApi, CustomerServiceAgentBookingsControllerApi, CustomerServiceAgentControllerApi, DashboardControllerApi, DirectMailControllerApi, DripControllerApi, DripWebhooksControllerApi, DriverLicenseControllerApi, EmployeeControllerApi, EventBridgeEmailNotificationControllerApi, ExternalContentVoteControllerApi, ExternalTicketLookupControllerApi, FeedbackControllerApi, FreshcallerControllerApi, FreshdeskTicketControllerApi, GetCaseControllerApi, HouseholdMateControllerApi, HubspotWebhookControllerApi, InsuranceCalculatorControllerApi, IntercomTicketControllerApi, IntercomWebhookControllerApi, LawfirmCaseDecisionControllerApi, LawfirmCasesControllerApi, LawfirmControllerApi, LawfirmDashboardControllerApi, LawfirmDocumentControllerApi, LawfirmFeeCoverageControllerApi, LawfirmPaymentModelControllerApi, LawfirmRatesControllerApi, LawfirmSettingsControllerApi, LawfirmStorefrontControllerApi, LawfirmSurchargeControllerApi, LawfirmTransactionsControllerApi, LawyerControllerApi, LegalServicesControllerApi, LineItemControllerApi, ListCasesControllerApi, MediaCreationControllerApi, MessagesControllerApi, NotesControllerApi, OcrPipelineControllerApi, OcrPredictionControllerApi, OnDemandRequestControllerApi, OneTimePasswordControllerApi, PhoneLeadsControllerApi, PushNotificationControllerApi, RecurringBillingControllerApi, RefLinkControllerApi, ReferralCodeControllerApi, ReferralControllerApi, ReferralSourceControllerApi, RefundEligibilityControllerApi, RegistrationControllerApi, ReportingControllerApi, ScheduledTaskControllerApi, ShortLivedTokenControllerApi, SingleSignOnControllerApi, SnsListenerControllerApi, SocialLoginControllerApi, StripeCardControllerApi, StripeControllerApi, StripeSyncControllerApi, StripeWebhookControllerApi, TicketReviewControllerApi, UrlRedirectControllerApi, UserAccountControllerApi, UserAuditControllerApi, UserControllerApi, UserPasswordControllerApi, UserProfileControllerApi, UserSearchControllerApi, UserSettingsControllerApi, UserSocialProfileControllerApi, UtilityControllerApi, ValidationControllerApi, VerificationControllerApi, ViolationControllerApi, ViolationPenaltyControllerApi, WatchlistsControllerApi, WebSocketControllerApi, WebsocketMessageControllerApi, WorkflowStateControllerApi];
@@ -92,6 +92,7 @@ const apiModule = angular.module('api', [])
92
92
  .service('RegistrationControllerApi', api.RegistrationControllerApi)
93
93
  .service('ReportingControllerApi', api.ReportingControllerApi)
94
94
  .service('ScheduledTaskControllerApi', api.ScheduledTaskControllerApi)
95
+ .service('ShortLivedTokenControllerApi', api.ShortLivedTokenControllerApi)
95
96
  .service('SingleSignOnControllerApi', api.SingleSignOnControllerApi)
96
97
  .service('SnsListenerControllerApi', api.SnsListenerControllerApi)
97
98
  .service('SocialLoginControllerApi', api.SocialLoginControllerApi)
@@ -0,0 +1,16 @@
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
+ export interface AgeBracketModel {
13
+ "bracket"?: string;
14
+ "count"?: number;
15
+ "percentageOfTotal"?: number;
16
+ }
@@ -0,0 +1,12 @@
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
+ export {};
@@ -0,0 +1,18 @@
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
+ import * as models from './models';
13
+ export interface GetActiveCasesByAgeResponse {
14
+ "ageBreakdown"?: Array<models.AgeBracketModel>;
15
+ "medianAgeInDays"?: number;
16
+ "networkMedianAgeInDays"?: number;
17
+ "totalActiveCases"?: number;
18
+ }
@@ -0,0 +1,12 @@
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
+ export {};
@@ -0,0 +1,14 @@
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
+ export interface IssueShortLivedTokenResponse {
13
+ "token"?: string;
14
+ }
@@ -0,0 +1,12 @@
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
+ export {};
@@ -34,6 +34,7 @@ export * from './AddressDomainReq';
34
34
  export * from './AddressDomainRes';
35
35
  export * from './AddressEntity';
36
36
  export * from './Admin';
37
+ export * from './AgeBracketModel';
37
38
  export * from './AgentBookingStats';
38
39
  export * from './AgentBookingsSummary';
39
40
  export * from './AggregateBySource';
@@ -275,6 +276,7 @@ export * from './GenericAdminListRequest';
275
276
  export * from './GeoRatesRequest';
276
277
  export * from './GetAcceptedCaseBreakdownResponse';
277
278
  export * from './GetAccountManagersResponse';
279
+ export * from './GetActiveCasesByAgeResponse';
278
280
  export * from './GetActivityFeedResponse';
279
281
  export * from './GetAddressInnerResponse';
280
282
  export * from './GetAnonymousTicketUploads';
@@ -445,6 +447,7 @@ export * from './InviteLawyerToLawfirmRequest';
445
447
  export * from './InvoiceLineItemModel';
446
448
  export * from './IsRefundEligibleResponse';
447
449
  export * from './IsUserLoggedInResponse';
450
+ export * from './IssueShortLivedTokenResponse';
448
451
  export * from './Item';
449
452
  export * from './LastLoginAttributes';
450
453
  export * from './LastLoginDateByUserAccount';
@@ -34,6 +34,7 @@ export * from './AddressDomainReq';
34
34
  export * from './AddressDomainRes';
35
35
  export * from './AddressEntity';
36
36
  export * from './Admin';
37
+ export * from './AgeBracketModel';
37
38
  export * from './AgentBookingStats';
38
39
  export * from './AgentBookingsSummary';
39
40
  export * from './AggregateBySource';
@@ -275,6 +276,7 @@ export * from './GenericAdminListRequest';
275
276
  export * from './GeoRatesRequest';
276
277
  export * from './GetAcceptedCaseBreakdownResponse';
277
278
  export * from './GetAccountManagersResponse';
279
+ export * from './GetActiveCasesByAgeResponse';
278
280
  export * from './GetActivityFeedResponse';
279
281
  export * from './GetAddressInnerResponse';
280
282
  export * from './GetAnonymousTicketUploads';
@@ -445,6 +447,7 @@ export * from './InviteLawyerToLawfirmRequest';
445
447
  export * from './InvoiceLineItemModel';
446
448
  export * from './IsRefundEligibleResponse';
447
449
  export * from './IsUserLoggedInResponse';
450
+ export * from './IssueShortLivedTokenResponse';
448
451
  export * from './Item';
449
452
  export * from './LastLoginAttributes';
450
453
  export * from './LastLoginDateByUserAccount';
@@ -10,7 +10,10 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { GetLawfirmGrossEarningsResponse, GetTopCourtEarningsResponse } from '../models';
13
+ import { GetActiveCasesByAgeResponse, GetLawfirmGrossEarningsResponse, GetTopCourtEarningsResponse } from '../models';
14
+ export interface GetActiveCasesByAgeUsingGETRequest {
15
+ lawfirmId: number;
16
+ }
14
17
  export interface GetLawfirmGrossEarningsUsingGETRequest {
15
18
  lawfirmId: number;
16
19
  period: GetLawfirmGrossEarningsUsingGETPeriodEnum;
@@ -27,6 +30,14 @@ export interface GetTopCourtEarningsUsingGETRequest {
27
30
  *
28
31
  */
29
32
  export declare class LawfirmDashboardControllerApi extends runtime.BaseAPI {
33
+ /**
34
+ * getActiveCasesByAge
35
+ */
36
+ getActiveCasesByAgeUsingGETRaw(requestParameters: GetActiveCasesByAgeUsingGETRequest): Promise<runtime.ApiResponse<GetActiveCasesByAgeResponse>>;
37
+ /**
38
+ * getActiveCasesByAge
39
+ */
40
+ getActiveCasesByAgeUsingGET(requestParameters: GetActiveCasesByAgeUsingGETRequest): Promise<GetActiveCasesByAgeResponse>;
30
41
  /**
31
42
  * getLawfirmGrossEarnings
32
43
  */
@@ -21,11 +21,39 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { GetLawfirmGrossEarningsResponseFromJSON, GetTopCourtEarningsResponseFromJSON, } from '../models';
24
+ import { GetActiveCasesByAgeResponseFromJSON, GetLawfirmGrossEarningsResponseFromJSON, GetTopCourtEarningsResponseFromJSON, } from '../models';
25
25
  /**
26
26
  *
27
27
  */
28
28
  export class LawfirmDashboardControllerApi extends runtime.BaseAPI {
29
+ /**
30
+ * getActiveCasesByAge
31
+ */
32
+ getActiveCasesByAgeUsingGETRaw(requestParameters) {
33
+ return __awaiter(this, void 0, void 0, function* () {
34
+ if (requestParameters.lawfirmId === null || requestParameters.lawfirmId === undefined) {
35
+ throw new runtime.RequiredError('lawfirmId', 'Required parameter requestParameters.lawfirmId was null or undefined when calling getActiveCasesByAgeUsingGET.');
36
+ }
37
+ const queryParameters = {};
38
+ const headerParameters = {};
39
+ const response = yield this.request({
40
+ path: `/api/v1/lawfirms/{lawfirmId}/dashboard/active-cases-by-age`.replace(`{${"lawfirmId"}}`, encodeURIComponent(String(requestParameters.lawfirmId))),
41
+ method: 'GET',
42
+ headers: headerParameters,
43
+ query: queryParameters,
44
+ });
45
+ return new runtime.JSONApiResponse(response, (jsonValue) => GetActiveCasesByAgeResponseFromJSON(jsonValue));
46
+ });
47
+ }
48
+ /**
49
+ * getActiveCasesByAge
50
+ */
51
+ getActiveCasesByAgeUsingGET(requestParameters) {
52
+ return __awaiter(this, void 0, void 0, function* () {
53
+ const response = yield this.getActiveCasesByAgeUsingGETRaw(requestParameters);
54
+ return yield response.value();
55
+ });
56
+ }
29
57
  /**
30
58
  * getLawfirmGrossEarnings
31
59
  */
@@ -0,0 +1,29 @@
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
+ import * as runtime from '../runtime';
13
+ import { IssueShortLivedTokenResponse } from '../models';
14
+ export interface IssueShortLivedTokenUsingGETRequest {
15
+ userId: number;
16
+ }
17
+ /**
18
+ *
19
+ */
20
+ export declare class ShortLivedTokenControllerApi extends runtime.BaseAPI {
21
+ /**
22
+ * issueShortLivedToken
23
+ */
24
+ issueShortLivedTokenUsingGETRaw(requestParameters: IssueShortLivedTokenUsingGETRequest): Promise<runtime.ApiResponse<IssueShortLivedTokenResponse>>;
25
+ /**
26
+ * issueShortLivedToken
27
+ */
28
+ issueShortLivedTokenUsingGET(requestParameters: IssueShortLivedTokenUsingGETRequest): Promise<IssueShortLivedTokenResponse>;
29
+ }
@@ -0,0 +1,57 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OffTheRecord Rest Service API - Devo
5
+ * A service to handle your traffic tickets
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime';
24
+ import { IssueShortLivedTokenResponseFromJSON, } from '../models';
25
+ /**
26
+ *
27
+ */
28
+ export class ShortLivedTokenControllerApi extends runtime.BaseAPI {
29
+ /**
30
+ * issueShortLivedToken
31
+ */
32
+ issueShortLivedTokenUsingGETRaw(requestParameters) {
33
+ return __awaiter(this, void 0, void 0, function* () {
34
+ if (requestParameters.userId === null || requestParameters.userId === undefined) {
35
+ throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling issueShortLivedTokenUsingGET.');
36
+ }
37
+ const queryParameters = {};
38
+ const headerParameters = {};
39
+ const response = yield this.request({
40
+ path: `/api/v1/users/{userId}/short-lived-token`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters.userId))),
41
+ method: 'GET',
42
+ headers: headerParameters,
43
+ query: queryParameters,
44
+ });
45
+ return new runtime.JSONApiResponse(response, (jsonValue) => IssueShortLivedTokenResponseFromJSON(jsonValue));
46
+ });
47
+ }
48
+ /**
49
+ * issueShortLivedToken
50
+ */
51
+ issueShortLivedTokenUsingGET(requestParameters) {
52
+ return __awaiter(this, void 0, void 0, function* () {
53
+ const response = yield this.issueShortLivedTokenUsingGETRaw(requestParameters);
54
+ return yield response.value();
55
+ });
56
+ }
57
+ }
@@ -12,6 +12,8 @@
12
12
  import * as runtime from '../runtime';
13
13
  export interface ConnectUsingPOSTRequest {
14
14
  connectionId: string;
15
+ token: string;
16
+ userId: number;
15
17
  }
16
18
  export interface DefaultHandlerUsingPOSTRequest {
17
19
  connectionId: string;
@@ -26,11 +28,11 @@ export declare class WebSocketControllerApi extends runtime.BaseAPI {
26
28
  /**
27
29
  * connect
28
30
  */
29
- connectUsingPOSTRaw(requestParameters: ConnectUsingPOSTRequest): Promise<runtime.ApiResponse<void>>;
31
+ connectUsingPOSTRaw(requestParameters: ConnectUsingPOSTRequest): Promise<runtime.ApiResponse<object>>;
30
32
  /**
31
33
  * connect
32
34
  */
33
- connectUsingPOST(requestParameters: ConnectUsingPOSTRequest): Promise<void>;
35
+ connectUsingPOST(requestParameters: ConnectUsingPOSTRequest): Promise<object>;
34
36
  /**
35
37
  * defaultHandler
36
38
  */
@@ -33,7 +33,19 @@ export class WebSocketControllerApi extends runtime.BaseAPI {
33
33
  if (requestParameters.connectionId === null || requestParameters.connectionId === undefined) {
34
34
  throw new runtime.RequiredError('connectionId', 'Required parameter requestParameters.connectionId was null or undefined when calling connectUsingPOST.');
35
35
  }
36
+ if (requestParameters.token === null || requestParameters.token === undefined) {
37
+ throw new runtime.RequiredError('token', 'Required parameter requestParameters.token was null or undefined when calling connectUsingPOST.');
38
+ }
39
+ if (requestParameters.userId === null || requestParameters.userId === undefined) {
40
+ throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling connectUsingPOST.');
41
+ }
36
42
  const queryParameters = {};
43
+ if (requestParameters.token !== undefined) {
44
+ queryParameters['token'] = requestParameters.token;
45
+ }
46
+ if (requestParameters.userId !== undefined) {
47
+ queryParameters['userId'] = requestParameters.userId;
48
+ }
37
49
  const headerParameters = {};
38
50
  if (requestParameters.connectionId !== undefined && requestParameters.connectionId !== null) {
39
51
  headerParameters['connectionId'] = String(requestParameters.connectionId);
@@ -44,7 +56,7 @@ export class WebSocketControllerApi extends runtime.BaseAPI {
44
56
  headers: headerParameters,
45
57
  query: queryParameters,
46
58
  });
47
- return new runtime.VoidApiResponse(response);
59
+ return new runtime.JSONApiResponse(response);
48
60
  });
49
61
  }
50
62
  /**
@@ -52,7 +64,8 @@ export class WebSocketControllerApi extends runtime.BaseAPI {
52
64
  */
53
65
  connectUsingPOST(requestParameters) {
54
66
  return __awaiter(this, void 0, void 0, function* () {
55
- yield this.connectUsingPOSTRaw(requestParameters);
67
+ const response = yield this.connectUsingPOSTRaw(requestParameters);
68
+ return yield response.value();
56
69
  });
57
70
  }
58
71
  /**
@@ -89,6 +89,7 @@ export * from './RefundEligibilityControllerApi';
89
89
  export * from './RegistrationControllerApi';
90
90
  export * from './ReportingControllerApi';
91
91
  export * from './ScheduledTaskControllerApi';
92
+ export * from './ShortLivedTokenControllerApi';
92
93
  export * from './SingleSignOnControllerApi';
93
94
  export * from './SnsListenerControllerApi';
94
95
  export * from './SocialLoginControllerApi';
@@ -89,6 +89,7 @@ export * from './RefundEligibilityControllerApi';
89
89
  export * from './RegistrationControllerApi';
90
90
  export * from './ReportingControllerApi';
91
91
  export * from './ScheduledTaskControllerApi';
92
+ export * from './ShortLivedTokenControllerApi';
92
93
  export * from './SingleSignOnControllerApi';
93
94
  export * from './SnsListenerControllerApi';
94
95
  export * from './SocialLoginControllerApi';