@otr-app/shared-backend-generated-client 2.3.199 → 2.3.201

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.
@@ -48,6 +48,7 @@ api/dripController.service.ts
48
48
  api/dripWebhooksController.service.ts
49
49
  api/driverLicenseController.service.ts
50
50
  api/emailSubscriptionController.service.ts
51
+ api/employeeController.service.ts
51
52
  api/externalContentVoteController.service.ts
52
53
  api/externalTicketLookupController.service.ts
53
54
  api/feedbackController.service.ts
@@ -412,6 +413,7 @@ model/getDeclinedCasesResponse.ts
412
413
  model/getDocumentsRequest.ts
413
414
  model/getDriverLicensesResponse.ts
414
415
  model/getEmailTemplateResponse.ts
416
+ model/getEmployeeModel.ts
415
417
  model/getExternalTicketInputParamsResponse.ts
416
418
  model/getHouseHoldMateModel.ts
417
419
  model/getHouseholdMatesResponse.ts
@@ -556,6 +558,7 @@ model/listContactTimelineResponse.ts
556
558
  model/listCostItemsForCustomerResponse.ts
557
559
  model/listDashboardCasesResponse.ts
558
560
  model/listEligibleStatusResponse.ts
561
+ model/listEmployeesResponse.ts
559
562
  model/listLawfirmAuditEventsByCursorResponse.ts
560
563
  model/listLawfirmStorefrontsResponse.ts
561
564
  model/listLawfirmSurchargeModel.ts
@@ -90,6 +90,8 @@ export * from './driverLicenseController.service';
90
90
  import { DriverLicenseControllerService } from './driverLicenseController.service';
91
91
  export * from './emailSubscriptionController.service';
92
92
  import { EmailSubscriptionControllerService } from './emailSubscriptionController.service';
93
+ export * from './employeeController.service';
94
+ import { EmployeeControllerService } from './employeeController.service';
93
95
  export * from './externalContentVoteController.service';
94
96
  import { ExternalContentVoteControllerService } from './externalContentVoteController.service';
95
97
  export * from './externalTicketLookupController.service';
@@ -220,4 +222,4 @@ export * from './websocketMessageController.service';
220
222
  import { WebsocketMessageControllerService } from './websocketMessageController.service';
221
223
  export * from './workflowStateController.service';
222
224
  import { WorkflowStateControllerService } from './workflowStateController.service';
223
- export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuditLogControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BlogWebhookControllerService, BranchLinkControllerService, CaptchaControllerService, CaseActionsControllerService, CaseControllerService, CaseCounterOfferControllerService, CaseCreationControllerService, CaseDeclineControllerService, CaseNotesControllerService, CasePaymentControllerService, CaseReferralCodeControllerService, CaseRefundControllerService, CaseResolutionControllerService, CaseStatusControllerService, CaseTransferControllerService, CaseUserControllerService, CertificateControllerService, CitationAuditControllerService, CitationControllerService, CoachingCardsControllerService, ConfigurationControllerService, ConsoleListControllerService, ContactTimelineControllerService, ConversationControllerService, CountyControllerService, CourtControllerService, CrmControllerService, CustomerLeadControllerService, CustomerReviewControllerService, CustomerServiceAgentBookingsControllerService, CustomerServiceAgentControllerService, DashboardControllerService, DirectMailControllerService, DripControllerService, DripWebhooksControllerService, DriverLicenseControllerService, EmailSubscriptionControllerService, ExternalContentVoteControllerService, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, HubspotWebhookControllerService, InsuranceCalculatorControllerService, LawfirmCaseDecisionControllerService, LawfirmCasesControllerService, LawfirmControllerService, LawfirmDocumentControllerService, LawfirmFeeCoverageControllerService, LawfirmPaymentModelControllerService, LawfirmRatesControllerService, LawfirmSettingsControllerService, LawfirmStorefrontControllerService, LawfirmSurchargeControllerService, LawfirmTransactionsControllerService, LawyerControllerService, LegalServicesControllerService, LineItemControllerService, ListCasesControllerService, MediaCreationControllerService, MessagesControllerService, NotesControllerService, 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, UtilityControllerService, ValidationControllerService, VerificationControllerService, ViolationControllerService, ViolationPenaltyControllerService, WatchlistsControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
225
+ export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuditLogControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BlogWebhookControllerService, BranchLinkControllerService, CaptchaControllerService, CaseActionsControllerService, CaseControllerService, CaseCounterOfferControllerService, CaseCreationControllerService, CaseDeclineControllerService, CaseNotesControllerService, CasePaymentControllerService, CaseReferralCodeControllerService, CaseRefundControllerService, CaseResolutionControllerService, CaseStatusControllerService, CaseTransferControllerService, CaseUserControllerService, CertificateControllerService, CitationAuditControllerService, CitationControllerService, CoachingCardsControllerService, ConfigurationControllerService, ConsoleListControllerService, ContactTimelineControllerService, ConversationControllerService, CountyControllerService, CourtControllerService, CrmControllerService, CustomerLeadControllerService, CustomerReviewControllerService, CustomerServiceAgentBookingsControllerService, CustomerServiceAgentControllerService, DashboardControllerService, DirectMailControllerService, DripControllerService, DripWebhooksControllerService, DriverLicenseControllerService, EmailSubscriptionControllerService, EmployeeControllerService, ExternalContentVoteControllerService, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, HubspotWebhookControllerService, InsuranceCalculatorControllerService, LawfirmCaseDecisionControllerService, LawfirmCasesControllerService, LawfirmControllerService, LawfirmDocumentControllerService, LawfirmFeeCoverageControllerService, LawfirmPaymentModelControllerService, LawfirmRatesControllerService, LawfirmSettingsControllerService, LawfirmStorefrontControllerService, LawfirmSurchargeControllerService, LawfirmTransactionsControllerService, LawyerControllerService, LegalServicesControllerService, LineItemControllerService, ListCasesControllerService, MediaCreationControllerService, MessagesControllerService, NotesControllerService, 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, UtilityControllerService, ValidationControllerService, VerificationControllerService, ViolationControllerService, ViolationPenaltyControllerService, WatchlistsControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
@@ -109,14 +109,15 @@ export class CustomerServiceAgentBookingsControllerService {
109
109
  * @param sortOrder sortOrder
110
110
  * @param startDate startDate
111
111
  * @param state state
112
+ * @param statusCategory statusCategory
112
113
  * @param timeZoneId timeZoneId
113
114
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
114
115
  * @param reportProgress flag to report request and response progress.
115
116
  */
116
- public listAgentBookingsUsingGET(agentTeam?: string, agentUserId?: number, caseStatus?: string, channel?: string, direction?: string, endDate?: string, length?: number, offset?: number, sortBy?: string, sortOrder?: string, startDate?: string, state?: string, timeZoneId?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListAgentBookingsResponse>;
117
- public listAgentBookingsUsingGET(agentTeam?: string, agentUserId?: number, caseStatus?: string, channel?: string, direction?: string, endDate?: string, length?: number, offset?: number, sortBy?: string, sortOrder?: string, startDate?: string, state?: string, timeZoneId?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListAgentBookingsResponse>>;
118
- public listAgentBookingsUsingGET(agentTeam?: string, agentUserId?: number, caseStatus?: string, channel?: string, direction?: string, endDate?: string, length?: number, offset?: number, sortBy?: string, sortOrder?: string, startDate?: string, state?: string, timeZoneId?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListAgentBookingsResponse>>;
119
- public listAgentBookingsUsingGET(agentTeam?: string, agentUserId?: number, caseStatus?: string, channel?: string, direction?: string, endDate?: string, length?: number, offset?: number, sortBy?: string, sortOrder?: string, startDate?: string, state?: string, timeZoneId?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
117
+ public listAgentBookingsUsingGET(agentTeam?: string, agentUserId?: number, caseStatus?: string, channel?: string, direction?: string, endDate?: string, length?: number, offset?: number, sortBy?: string, sortOrder?: string, startDate?: string, state?: string, statusCategory?: string, timeZoneId?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListAgentBookingsResponse>;
118
+ public listAgentBookingsUsingGET(agentTeam?: string, agentUserId?: number, caseStatus?: string, channel?: string, direction?: string, endDate?: string, length?: number, offset?: number, sortBy?: string, sortOrder?: string, startDate?: string, state?: string, statusCategory?: string, timeZoneId?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListAgentBookingsResponse>>;
119
+ public listAgentBookingsUsingGET(agentTeam?: string, agentUserId?: number, caseStatus?: string, channel?: string, direction?: string, endDate?: string, length?: number, offset?: number, sortBy?: string, sortOrder?: string, startDate?: string, state?: string, statusCategory?: string, timeZoneId?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListAgentBookingsResponse>>;
120
+ public listAgentBookingsUsingGET(agentTeam?: string, agentUserId?: number, caseStatus?: string, channel?: string, direction?: string, endDate?: string, length?: number, offset?: number, sortBy?: string, sortOrder?: string, startDate?: string, state?: string, statusCategory?: string, timeZoneId?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
120
121
 
121
122
  let localVarQueryParameters = new HttpParams({encoder: this.encoder});
122
123
  if (agentTeam !== undefined && agentTeam !== null) {
@@ -167,6 +168,10 @@ export class CustomerServiceAgentBookingsControllerService {
167
168
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
168
169
  <any>state, 'state');
169
170
  }
171
+ if (statusCategory !== undefined && statusCategory !== null) {
172
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
173
+ <any>statusCategory, 'statusCategory');
174
+ }
170
175
  if (timeZoneId !== undefined && timeZoneId !== null) {
171
176
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
172
177
  <any>timeZoneId, 'timeZoneId');
@@ -0,0 +1,171 @@
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 { ListEmployeesResponse } from '../model/listEmployeesResponse';
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 EmployeeControllerService {
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
+ * listEmployees
96
+ * @param isActive isActive
97
+ * @param length length
98
+ * @param page page
99
+ * @param team team
100
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
101
+ * @param reportProgress flag to report request and response progress.
102
+ */
103
+ public listEmployeesUsingGET(isActive?: boolean, length?: number, page?: number, team?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListEmployeesResponse>;
104
+ public listEmployeesUsingGET(isActive?: boolean, length?: number, page?: number, team?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListEmployeesResponse>>;
105
+ public listEmployeesUsingGET(isActive?: boolean, length?: number, page?: number, team?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListEmployeesResponse>>;
106
+ public listEmployeesUsingGET(isActive?: boolean, length?: number, page?: number, team?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
107
+
108
+ let localVarQueryParameters = new HttpParams({encoder: this.encoder});
109
+ if (isActive !== undefined && isActive !== null) {
110
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
111
+ <any>isActive, 'isActive');
112
+ }
113
+ if (length !== undefined && length !== null) {
114
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
115
+ <any>length, 'length');
116
+ }
117
+ if (page !== undefined && page !== null) {
118
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
119
+ <any>page, 'page');
120
+ }
121
+ if (team !== undefined && team !== null) {
122
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
123
+ <any>team, 'team');
124
+ }
125
+
126
+ let localVarHeaders = this.defaultHeaders;
127
+
128
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
129
+ if (localVarHttpHeaderAcceptSelected === undefined) {
130
+ // to determine the Accept header
131
+ const httpHeaderAccepts: string[] = [
132
+ '*/*'
133
+ ];
134
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
135
+ }
136
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
137
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
138
+ }
139
+
140
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
141
+ if (localVarHttpContext === undefined) {
142
+ localVarHttpContext = new HttpContext();
143
+ }
144
+
145
+
146
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
147
+ if (localVarHttpHeaderAcceptSelected) {
148
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
149
+ responseType_ = 'text';
150
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
151
+ responseType_ = 'json';
152
+ } else {
153
+ responseType_ = 'blob';
154
+ }
155
+ }
156
+
157
+ let localVarPath = `/api/v1/employees`;
158
+ return this.httpClient.request<ListEmployeesResponse>('get', `${this.configuration.basePath}${localVarPath}`,
159
+ {
160
+ context: localVarHttpContext,
161
+ params: localVarQueryParameters,
162
+ responseType: <any>responseType_,
163
+ withCredentials: this.configuration.withCredentials,
164
+ headers: localVarHeaders,
165
+ observe: observe,
166
+ reportProgress: reportProgress
167
+ }
168
+ );
169
+ }
170
+
171
+ }
@@ -48,6 +48,7 @@ import { DripControllerService } from './api/dripController.service';
48
48
  import { DripWebhooksControllerService } from './api/dripWebhooksController.service';
49
49
  import { DriverLicenseControllerService } from './api/driverLicenseController.service';
50
50
  import { EmailSubscriptionControllerService } from './api/emailSubscriptionController.service';
51
+ import { EmployeeControllerService } from './api/employeeController.service';
51
52
  import { ExternalContentVoteControllerService } from './api/externalContentVoteController.service';
52
53
  import { ExternalTicketLookupControllerService } from './api/externalTicketLookupController.service';
53
54
  import { FeedbackControllerService } from './api/feedbackController.service';
@@ -19,6 +19,7 @@ export interface Case {
19
19
  caseSubtotal?: number;
20
20
  otrReferralFee?: number;
21
21
  state?: Case.StateEnum;
22
+ statusCategory?: Case.StatusCategoryEnum;
22
23
  }
23
24
  export namespace Case {
24
25
  export type CaseStatusEnum = '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';
@@ -115,6 +116,13 @@ export namespace Case {
115
116
  Wv: 'WV' as StateEnum,
116
117
  Wy: 'WY' as StateEnum
117
118
  };
119
+ export type StatusCategoryEnum = 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED';
120
+ export const StatusCategoryEnum = {
121
+ Active: 'ACTIVE' as StatusCategoryEnum,
122
+ Cancelled: 'CANCELLED' as StatusCategoryEnum,
123
+ Resolved: 'RESOLVED' as StatusCategoryEnum,
124
+ Unconfirmed: 'UNCONFIRMED' as StatusCategoryEnum
125
+ };
118
126
  }
119
127
 
120
128
 
@@ -0,0 +1,25 @@
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 { Timestamp } from './timestamp';
13
+
14
+
15
+ export interface GetEmployeeModel {
16
+ firstName?: string;
17
+ isActive?: boolean;
18
+ lastName?: string;
19
+ startDate?: Timestamp;
20
+ team?: string;
21
+ terminationDate?: Timestamp;
22
+ title?: string;
23
+ userId?: number;
24
+ }
25
+
@@ -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 { GetEmployeeModel } from './getEmployeeModel';
13
+
14
+
15
+ export interface ListEmployeesResponse {
16
+ employees?: Array<GetEmployeeModel>;
17
+ }
18
+
@@ -293,6 +293,7 @@ export * from './getDeclinedCasesResponse';
293
293
  export * from './getDocumentsRequest';
294
294
  export * from './getDriverLicensesResponse';
295
295
  export * from './getEmailTemplateResponse';
296
+ export * from './getEmployeeModel';
296
297
  export * from './getExternalTicketInputParamsResponse';
297
298
  export * from './getHouseHoldMateModel';
298
299
  export * from './getHouseholdMatesResponse';
@@ -437,6 +438,7 @@ export * from './listContactTimelineResponse';
437
438
  export * from './listCostItemsForCustomerResponse';
438
439
  export * from './listDashboardCasesResponse';
439
440
  export * from './listEligibleStatusResponse';
441
+ export * from './listEmployeesResponse';
440
442
  export * from './listLawfirmAuditEventsByCursorResponse';
441
443
  export * from './listLawfirmStorefrontsResponse';
442
444
  export * from './listLawfirmSurchargeModel';
@@ -6828,6 +6828,7 @@ angular.module('otrBackendService', [])
6828
6828
  * @param {string} parameters.sortOrder - sortOrder
6829
6829
  * @param {string} parameters.startDate - startDate
6830
6830
  * @param {string} parameters.state - state
6831
+ * @param {string} parameters.statusCategory - statusCategory
6831
6832
  * @param {string} parameters.timeZoneId - timeZoneId
6832
6833
  */
6833
6834
  OtrService.prototype.listAgentBookingsUsingGET = function(parameters) {
@@ -6895,6 +6896,10 @@ angular.module('otrBackendService', [])
6895
6896
  queryParameters['state'] = parameters['state'];
6896
6897
  }
6897
6898
 
6899
+ if (parameters['statusCategory'] !== undefined) {
6900
+ queryParameters['statusCategory'] = parameters['statusCategory'];
6901
+ }
6902
+
6898
6903
  if (parameters['timeZoneId'] !== undefined) {
6899
6904
  queryParameters['timeZoneId'] = parameters['timeZoneId'];
6900
6905
  }
@@ -7421,6 +7426,55 @@ angular.module('otrBackendService', [])
7421
7426
 
7422
7427
  return deferred.promise;
7423
7428
  };
7429
+ /**
7430
+ * listEmployees
7431
+ * @method
7432
+ * @name OtrService#listEmployeesUsingGET
7433
+ * @param {object} parameters - method options and parameters
7434
+ * @param {boolean} parameters.isActive - isActive
7435
+ * @param {integer} parameters.length - length
7436
+ * @param {integer} parameters.page - page
7437
+ * @param {string} parameters.team - team
7438
+ */
7439
+ OtrService.prototype.listEmployeesUsingGET = function(parameters) {
7440
+ if (parameters === undefined) {
7441
+ parameters = {};
7442
+ }
7443
+ var deferred = $q.defer();
7444
+ var domain = this.domain,
7445
+ path = '/api/v1/employees';
7446
+ var body = {},
7447
+ queryParameters = {},
7448
+ headers = {},
7449
+ form = {};
7450
+
7451
+ headers['Accept'] = ['*/*'];
7452
+
7453
+ if (parameters['isActive'] !== undefined) {
7454
+ queryParameters['isActive'] = parameters['isActive'];
7455
+ }
7456
+
7457
+ /** set default value **/
7458
+ queryParameters['length'] = 10;
7459
+
7460
+ if (parameters['length'] !== undefined) {
7461
+ queryParameters['length'] = parameters['length'];
7462
+ }
7463
+
7464
+ if (parameters['page'] !== undefined) {
7465
+ queryParameters['page'] = parameters['page'];
7466
+ }
7467
+
7468
+ if (parameters['team'] !== undefined) {
7469
+ queryParameters['team'] = parameters['team'];
7470
+ }
7471
+
7472
+ queryParameters = mergeQueryParams(parameters, queryParameters);
7473
+
7474
+ this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
7475
+
7476
+ return deferred.promise;
7477
+ };
7424
7478
  /**
7425
7479
  * saveExternalContentVote
7426
7480
  * @method