@otr-app/shared-backend-generated-client 2.3.200 → 2.3.202

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 (33) hide show
  1. package/dist/angular/.openapi-generator/FILES +6 -0
  2. package/dist/angular/api/api.ts +3 -1
  3. package/dist/angular/api/employeeController.service.ts +171 -0
  4. package/dist/angular/api/lawfirmTransactionsController.service.ts +84 -0
  5. package/dist/angular/api.module.ts +1 -0
  6. package/dist/angular/model/balanceTransactionModel.ts +23 -0
  7. package/dist/angular/model/getEmployeeModel.ts +25 -0
  8. package/dist/angular/model/lawfirmBankPayoutModel.ts +63 -0
  9. package/dist/angular/model/listEmployeesResponse.ts +18 -0
  10. package/dist/angular/model/listLawfirmBankPayoutsResponse.ts +18 -0
  11. package/dist/angular/model/models.ts +5 -0
  12. package/dist/otrBackendService.js +111 -0
  13. package/dist/otrBackendService.min.js +5 -5
  14. package/dist/typescript/api/EmployeeControllerApi.d.ts +30 -0
  15. package/dist/typescript/api/EmployeeControllerApi.js +64 -0
  16. package/dist/typescript/api/LawfirmTransactionsControllerApi.d.ts +9 -0
  17. package/dist/typescript/api/LawfirmTransactionsControllerApi.js +45 -0
  18. package/dist/typescript/api/api.d.ts +3 -1
  19. package/dist/typescript/api/api.js +3 -1
  20. package/dist/typescript/api.module.js +1 -0
  21. package/dist/typescript/model/BalanceTransactionModel.d.ts +20 -0
  22. package/dist/typescript/model/BalanceTransactionModel.js +13 -0
  23. package/dist/typescript/model/GetEmployeeModel.d.ts +22 -0
  24. package/dist/typescript/model/GetEmployeeModel.js +13 -0
  25. package/dist/typescript/model/LawfirmBankPayoutModel.d.ts +55 -0
  26. package/dist/typescript/model/LawfirmBankPayoutModel.js +41 -0
  27. package/dist/typescript/model/ListEmployeesResponse.d.ts +15 -0
  28. package/dist/typescript/model/ListEmployeesResponse.js +13 -0
  29. package/dist/typescript/model/ListLawfirmBankPayoutsResponse.d.ts +15 -0
  30. package/dist/typescript/model/ListLawfirmBankPayoutsResponse.js +13 -0
  31. package/dist/typescript/model/models.d.ts +5 -0
  32. package/dist/typescript/model/models.js +5 -0
  33. package/package.json +1 -1
@@ -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
@@ -170,6 +171,7 @@ model/availableRegion.ts
170
171
  model/awsCredentialsRequest.ts
171
172
  model/backfillLawfirmTransactionRecordsRequest.ts
172
173
  model/backfillLawfirmTransactionRecordsResponse.ts
174
+ model/balanceTransactionModel.ts
173
175
  model/billingInvoiceModel.ts
174
176
  model/billingPriceModel.ts
175
177
  model/billingProductModel.ts
@@ -412,6 +414,7 @@ model/getDeclinedCasesResponse.ts
412
414
  model/getDocumentsRequest.ts
413
415
  model/getDriverLicensesResponse.ts
414
416
  model/getEmailTemplateResponse.ts
417
+ model/getEmployeeModel.ts
415
418
  model/getExternalTicketInputParamsResponse.ts
416
419
  model/getHouseHoldMateModel.ts
417
420
  model/getHouseholdMatesResponse.ts
@@ -510,6 +513,7 @@ model/isRefundEligibleResponse.ts
510
513
  model/isUserLoggedInResponse.ts
511
514
  model/lastLoginDateModel.ts
512
515
  model/lawfirmAuditEventModel.ts
516
+ model/lawfirmBankPayoutModel.ts
513
517
  model/lawfirmBookingSummary.ts
514
518
  model/lawfirmCaseDocument.ts
515
519
  model/lawfirmCaseModel.ts
@@ -556,7 +560,9 @@ model/listContactTimelineResponse.ts
556
560
  model/listCostItemsForCustomerResponse.ts
557
561
  model/listDashboardCasesResponse.ts
558
562
  model/listEligibleStatusResponse.ts
563
+ model/listEmployeesResponse.ts
559
564
  model/listLawfirmAuditEventsByCursorResponse.ts
565
+ model/listLawfirmBankPayoutsResponse.ts
560
566
  model/listLawfirmStorefrontsResponse.ts
561
567
  model/listLawfirmSurchargeModel.ts
562
568
  model/listLawfirmSurchargeTypeModel.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];
@@ -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
+ }
@@ -33,6 +33,8 @@ import { GetLawfirmPayoutsResponse } from '../model/getLawfirmPayoutsResponse';
33
33
  // @ts-ignore
34
34
  import { GetLawfirmTransactionsForCaseResponse } from '../model/getLawfirmTransactionsForCaseResponse';
35
35
  // @ts-ignore
36
+ import { ListLawfirmBankPayoutsResponse } from '../model/listLawfirmBankPayoutsResponse';
37
+ // @ts-ignore
36
38
  import { RefundLawfirmFeeRequest } from '../model/refundLawfirmFeeRequest';
37
39
  // @ts-ignore
38
40
  import { ReverseLawfirmPayoutRequest } from '../model/reverseLawfirmPayoutRequest';
@@ -722,6 +724,88 @@ export class LawfirmTransactionsControllerService {
722
724
  );
723
725
  }
724
726
 
727
+ /**
728
+ * listLawfirmBankPayouts
729
+ * @param includeTransactions includeTransactions
730
+ * @param index index
731
+ * @param lawfirmId lawfirmId
732
+ * @param size size
733
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
734
+ * @param reportProgress flag to report request and response progress.
735
+ */
736
+ public listLawfirmBankPayoutsUsingGET(includeTransactions: boolean, index: number, lawfirmId: number, size?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListLawfirmBankPayoutsResponse>;
737
+ public listLawfirmBankPayoutsUsingGET(includeTransactions: boolean, index: number, lawfirmId: number, size?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListLawfirmBankPayoutsResponse>>;
738
+ public listLawfirmBankPayoutsUsingGET(includeTransactions: boolean, index: number, lawfirmId: number, size?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListLawfirmBankPayoutsResponse>>;
739
+ public listLawfirmBankPayoutsUsingGET(includeTransactions: boolean, index: number, lawfirmId: number, size?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
740
+ if (includeTransactions === null || includeTransactions === undefined) {
741
+ throw new Error('Required parameter includeTransactions was null or undefined when calling listLawfirmBankPayoutsUsingGET.');
742
+ }
743
+ if (index === null || index === undefined) {
744
+ throw new Error('Required parameter index was null or undefined when calling listLawfirmBankPayoutsUsingGET.');
745
+ }
746
+ if (lawfirmId === null || lawfirmId === undefined) {
747
+ throw new Error('Required parameter lawfirmId was null or undefined when calling listLawfirmBankPayoutsUsingGET.');
748
+ }
749
+
750
+ let localVarQueryParameters = new HttpParams({encoder: this.encoder});
751
+ if (includeTransactions !== undefined && includeTransactions !== null) {
752
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
753
+ <any>includeTransactions, 'includeTransactions ');
754
+ }
755
+ if (index !== undefined && index !== null) {
756
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
757
+ <any>index, 'index');
758
+ }
759
+ if (size !== undefined && size !== null) {
760
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
761
+ <any>size, 'size');
762
+ }
763
+
764
+ let localVarHeaders = this.defaultHeaders;
765
+
766
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
767
+ if (localVarHttpHeaderAcceptSelected === undefined) {
768
+ // to determine the Accept header
769
+ const httpHeaderAccepts: string[] = [
770
+ '*/*'
771
+ ];
772
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
773
+ }
774
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
775
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
776
+ }
777
+
778
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
779
+ if (localVarHttpContext === undefined) {
780
+ localVarHttpContext = new HttpContext();
781
+ }
782
+
783
+
784
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
785
+ if (localVarHttpHeaderAcceptSelected) {
786
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
787
+ responseType_ = 'text';
788
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
789
+ responseType_ = 'json';
790
+ } else {
791
+ responseType_ = 'blob';
792
+ }
793
+ }
794
+
795
+ let localVarPath = `/api/v1/lawfirms/${this.configuration.encodeParam({name: "lawfirmId", value: lawfirmId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64"})}/bank-payouts`;
796
+ return this.httpClient.request<ListLawfirmBankPayoutsResponse>('get', `${this.configuration.basePath}${localVarPath}`,
797
+ {
798
+ context: localVarHttpContext,
799
+ params: localVarQueryParameters,
800
+ responseType: <any>responseType_,
801
+ withCredentials: this.configuration.withCredentials,
802
+ headers: localVarHeaders,
803
+ observe: observe,
804
+ reportProgress: reportProgress
805
+ }
806
+ );
807
+ }
808
+
725
809
  /**
726
810
  * refundLawfirmFee
727
811
  * @param lawfirmFeeId lawfirmFeeId
@@ -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';
@@ -0,0 +1,23 @@
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 BalanceTransactionModel {
15
+ amountInCents?: number;
16
+ availableAtDateUtc?: string;
17
+ creationDateUtc?: string;
18
+ id?: string;
19
+ stripePayoutId?: string;
20
+ transactionId?: string;
21
+ type?: string;
22
+ }
23
+
@@ -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,63 @@
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 { BalanceTransactionModel } from './balanceTransactionModel';
13
+
14
+
15
+ export interface LawfirmBankPayoutModel {
16
+ amountInCents?: number;
17
+ arrivalDateUtc?: string;
18
+ automatic?: boolean;
19
+ balanceTransactionId?: string;
20
+ balanceTransactions?: Array<BalanceTransactionModel>;
21
+ currency?: string;
22
+ destinationId?: string;
23
+ failureAttributes?: string;
24
+ id?: number;
25
+ lawfirmId?: number;
26
+ method?: LawfirmBankPayoutModel.MethodEnum;
27
+ payoutCreationDateUtc?: string;
28
+ reconciliationStatus?: LawfirmBankPayoutModel.ReconciliationStatusEnum;
29
+ sourceAccountId?: string;
30
+ statementDescriptor?: string;
31
+ status?: LawfirmBankPayoutModel.StatusEnum;
32
+ stripePayoutId?: string;
33
+ stripePlatformAccountId?: string;
34
+ type?: LawfirmBankPayoutModel.TypeEnum;
35
+ }
36
+ export namespace LawfirmBankPayoutModel {
37
+ export type MethodEnum = 'INSTANT' | 'STANDARD';
38
+ export const MethodEnum = {
39
+ Instant: 'INSTANT' as MethodEnum,
40
+ Standard: 'STANDARD' as MethodEnum
41
+ };
42
+ export type ReconciliationStatusEnum = 'COMPLETED' | 'IN_PROGRESS' | 'NOT_APPLICABLE';
43
+ export const ReconciliationStatusEnum = {
44
+ Completed: 'COMPLETED' as ReconciliationStatusEnum,
45
+ InProgress: 'IN_PROGRESS' as ReconciliationStatusEnum,
46
+ NotApplicable: 'NOT_APPLICABLE' as ReconciliationStatusEnum
47
+ };
48
+ export type StatusEnum = 'CANCELED' | 'FAILED' | 'IN_TRANSIT' | 'PAID' | 'PENDING';
49
+ export const StatusEnum = {
50
+ Canceled: 'CANCELED' as StatusEnum,
51
+ Failed: 'FAILED' as StatusEnum,
52
+ InTransit: 'IN_TRANSIT' as StatusEnum,
53
+ Paid: 'PAID' as StatusEnum,
54
+ Pending: 'PENDING' as StatusEnum
55
+ };
56
+ export type TypeEnum = 'BANK_ACCOUNT' | 'CARD';
57
+ export const TypeEnum = {
58
+ BankAccount: 'BANK_ACCOUNT' as TypeEnum,
59
+ Card: 'CARD' as TypeEnum
60
+ };
61
+ }
62
+
63
+
@@ -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
+
@@ -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 { LawfirmBankPayoutModel } from './lawfirmBankPayoutModel';
13
+
14
+
15
+ export interface ListLawfirmBankPayoutsResponse {
16
+ bankPayouts?: Array<LawfirmBankPayoutModel>;
17
+ }
18
+
@@ -51,6 +51,7 @@ export * from './availableRegion';
51
51
  export * from './awsCredentialsRequest';
52
52
  export * from './backfillLawfirmTransactionRecordsRequest';
53
53
  export * from './backfillLawfirmTransactionRecordsResponse';
54
+ export * from './balanceTransactionModel';
54
55
  export * from './billingInvoiceModel';
55
56
  export * from './billingPriceModel';
56
57
  export * from './billingProductModel';
@@ -293,6 +294,7 @@ export * from './getDeclinedCasesResponse';
293
294
  export * from './getDocumentsRequest';
294
295
  export * from './getDriverLicensesResponse';
295
296
  export * from './getEmailTemplateResponse';
297
+ export * from './getEmployeeModel';
296
298
  export * from './getExternalTicketInputParamsResponse';
297
299
  export * from './getHouseHoldMateModel';
298
300
  export * from './getHouseholdMatesResponse';
@@ -391,6 +393,7 @@ export * from './isRefundEligibleResponse';
391
393
  export * from './isUserLoggedInResponse';
392
394
  export * from './lastLoginDateModel';
393
395
  export * from './lawfirmAuditEventModel';
396
+ export * from './lawfirmBankPayoutModel';
394
397
  export * from './lawfirmBookingSummary';
395
398
  export * from './lawfirmCaseDocument';
396
399
  export * from './lawfirmCaseModel';
@@ -437,7 +440,9 @@ export * from './listContactTimelineResponse';
437
440
  export * from './listCostItemsForCustomerResponse';
438
441
  export * from './listDashboardCasesResponse';
439
442
  export * from './listEligibleStatusResponse';
443
+ export * from './listEmployeesResponse';
440
444
  export * from './listLawfirmAuditEventsByCursorResponse';
445
+ export * from './listLawfirmBankPayoutsResponse';
441
446
  export * from './listLawfirmStorefrontsResponse';
442
447
  export * from './listLawfirmSurchargeModel';
443
448
  export * from './listLawfirmSurchargeTypeModel';
@@ -7426,6 +7426,55 @@ angular.module('otrBackendService', [])
7426
7426
 
7427
7427
  return deferred.promise;
7428
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
+ };
7429
7478
  /**
7430
7479
  * saveExternalContentVote
7431
7480
  * @method
@@ -9412,6 +9461,68 @@ angular.module('otrBackendService', [])
9412
9461
 
9413
9462
  return deferred.promise;
9414
9463
  };
9464
+ /**
9465
+ * listLawfirmBankPayouts
9466
+ * @method
9467
+ * @name OtrService#listLawfirmBankPayoutsUsingGET
9468
+ * @param {object} parameters - method options and parameters
9469
+ * @param {boolean} parameters.includeTransactions - includeTransactions
9470
+ * @param {integer} parameters.index - index
9471
+ * @param {integer} parameters.lawfirmId - lawfirmId
9472
+ * @param {integer} parameters.size - size
9473
+ */
9474
+ OtrService.prototype.listLawfirmBankPayoutsUsingGET = function(parameters) {
9475
+ if (parameters === undefined) {
9476
+ parameters = {};
9477
+ }
9478
+ var deferred = $q.defer();
9479
+ var domain = this.domain,
9480
+ path = '/api/v1/lawfirms/{lawfirmId}/bank-payouts';
9481
+ var body = {},
9482
+ queryParameters = {},
9483
+ headers = {},
9484
+ form = {};
9485
+
9486
+ headers['Accept'] = ['*/*'];
9487
+
9488
+ if (parameters['includeTransactions'] !== undefined) {
9489
+ queryParameters['includeTransactions '] = parameters['includeTransactions'];
9490
+ }
9491
+
9492
+ if (parameters['includeTransactions'] === undefined) {
9493
+ deferred.reject(new Error('Missing required parameter: includeTransactions'));
9494
+ return deferred.promise;
9495
+ }
9496
+
9497
+ if (parameters['index'] !== undefined) {
9498
+ queryParameters['index'] = parameters['index'];
9499
+ }
9500
+
9501
+ if (parameters['index'] === undefined) {
9502
+ deferred.reject(new Error('Missing required parameter: index'));
9503
+ return deferred.promise;
9504
+ }
9505
+
9506
+ path = path.replace('{lawfirmId}', parameters['lawfirmId']);
9507
+
9508
+ if (parameters['lawfirmId'] === undefined) {
9509
+ deferred.reject(new Error('Missing required parameter: lawfirmId'));
9510
+ return deferred.promise;
9511
+ }
9512
+
9513
+ /** set default value **/
9514
+ queryParameters['size'] = 10;
9515
+
9516
+ if (parameters['size'] !== undefined) {
9517
+ queryParameters['size'] = parameters['size'];
9518
+ }
9519
+
9520
+ queryParameters = mergeQueryParams(parameters, queryParameters);
9521
+
9522
+ this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
9523
+
9524
+ return deferred.promise;
9525
+ };
9415
9526
  /**
9416
9527
  * getLawfirmCaseStats
9417
9528
  * @method