@otr-app/shared-backend-generated-client 2.3.166 → 2.3.167

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 (59) hide show
  1. package/dist/angular/.openapi-generator/FILES +11 -0
  2. package/dist/angular/api/api.ts +3 -1
  3. package/dist/angular/api/caseCounterOfferController.service.ts +438 -0
  4. package/dist/angular/api.module.ts +1 -0
  5. package/dist/angular/model/acceptCaseCounterRequest.ts +21 -0
  6. package/dist/angular/model/actionByEntityModel.ts +4 -1
  7. package/dist/angular/model/caseActionDomain.ts +4 -1
  8. package/dist/angular/model/caseActionRequestModel.ts +4 -1
  9. package/dist/angular/model/caseCounterOfferModel.ts +27 -0
  10. package/dist/angular/model/caseCounterOption.ts +18 -0
  11. package/dist/angular/model/caseCounterOptionModel.ts +26 -0
  12. package/dist/angular/model/counterOption.ts +26 -0
  13. package/dist/angular/model/declineCaseCounterRequest.ts +18 -0
  14. package/dist/angular/model/getCaseActionTypesResponse.ts +4 -1
  15. package/dist/angular/model/getCaseCounterOptionsResponse.ts +18 -0
  16. package/dist/angular/model/getCaseResponse.ts +2 -0
  17. package/dist/angular/model/getCounterOfferResponse.ts +28 -0
  18. package/dist/angular/model/initiateCaseCounterRequest.ts +20 -0
  19. package/dist/angular/model/initiateCaseCounterResponse.ts +28 -0
  20. package/dist/angular/model/models.ts +10 -0
  21. package/dist/otrBackendService.js +211 -0
  22. package/dist/otrBackendService.min.js +7 -6
  23. package/dist/typescript/api/CaseCounterOfferControllerApi.d.ts +55 -0
  24. package/dist/typescript/api/CaseCounterOfferControllerApi.js +178 -0
  25. package/dist/typescript/api/api.d.ts +3 -1
  26. package/dist/typescript/api/api.js +3 -1
  27. package/dist/typescript/api.module.js +1 -0
  28. package/dist/typescript/model/AcceptCaseCounterRequest.d.ts +18 -0
  29. package/dist/typescript/model/AcceptCaseCounterRequest.js +13 -0
  30. package/dist/typescript/model/ActionByEntityModel.d.ts +3 -0
  31. package/dist/typescript/model/ActionByEntityModel.js +3 -0
  32. package/dist/typescript/model/CaseActionDomain.d.ts +3 -0
  33. package/dist/typescript/model/CaseActionDomain.js +3 -0
  34. package/dist/typescript/model/CaseActionRequestModel.d.ts +3 -0
  35. package/dist/typescript/model/CaseActionRequestModel.js +3 -0
  36. package/dist/typescript/model/CaseCounterOfferModel.d.ts +24 -0
  37. package/dist/typescript/model/CaseCounterOfferModel.js +13 -0
  38. package/dist/typescript/model/CaseCounterOption.d.ts +15 -0
  39. package/dist/typescript/model/CaseCounterOption.js +13 -0
  40. package/dist/typescript/model/CaseCounterOptionModel.d.ts +21 -0
  41. package/dist/typescript/model/CaseCounterOptionModel.js +22 -0
  42. package/dist/typescript/model/CounterOption.d.ts +21 -0
  43. package/dist/typescript/model/CounterOption.js +22 -0
  44. package/dist/typescript/model/DeclineCaseCounterRequest.d.ts +15 -0
  45. package/dist/typescript/model/DeclineCaseCounterRequest.js +13 -0
  46. package/dist/typescript/model/GetCaseActionTypesResponse.d.ts +3 -0
  47. package/dist/typescript/model/GetCaseActionTypesResponse.js +3 -0
  48. package/dist/typescript/model/GetCaseCounterOptionsResponse.d.ts +15 -0
  49. package/dist/typescript/model/GetCaseCounterOptionsResponse.js +13 -0
  50. package/dist/typescript/model/GetCaseResponse.d.ts +1 -0
  51. package/dist/typescript/model/GetCounterOfferResponse.d.ts +25 -0
  52. package/dist/typescript/model/GetCounterOfferResponse.js +13 -0
  53. package/dist/typescript/model/InitiateCaseCounterRequest.d.ts +17 -0
  54. package/dist/typescript/model/InitiateCaseCounterRequest.js +13 -0
  55. package/dist/typescript/model/InitiateCaseCounterResponse.d.ts +25 -0
  56. package/dist/typescript/model/InitiateCaseCounterResponse.js +13 -0
  57. package/dist/typescript/model/models.d.ts +10 -0
  58. package/dist/typescript/model/models.js +10 -0
  59. package/package.json +1 -1
@@ -16,6 +16,7 @@ api/branchLinkController.service.ts
16
16
  api/captchaController.service.ts
17
17
  api/caseActionsController.service.ts
18
18
  api/caseController.service.ts
19
+ api/caseCounterOfferController.service.ts
19
20
  api/caseCreationController.service.ts
20
21
  api/caseDeclineController.service.ts
21
22
  api/caseNotesController.service.ts
@@ -114,6 +115,7 @@ configuration.ts
114
115
  encoder.ts
115
116
  git_push.sh
116
117
  index.ts
118
+ model/acceptCaseCounterRequest.ts
117
119
  model/accountLevelFee.ts
118
120
  model/accountLevelFeeRequest.ts
119
121
  model/accountLevelFeeResponse.ts
@@ -193,6 +195,9 @@ model/caseActionRequestModel.ts
193
195
  model/caseAlert.ts
194
196
  model/caseBookingsStats.ts
195
197
  model/caseChargeResponsePojo.ts
198
+ model/caseCounterOfferModel.ts
199
+ model/caseCounterOption.ts
200
+ model/caseCounterOptionModel.ts
196
201
  model/caseCreationRequest.ts
197
202
  model/caseDeclineCategory.ts
198
203
  model/caseDeclineCategoryReasonsModel.ts
@@ -241,6 +246,7 @@ model/contactTimelineResponse.ts
241
246
  model/convertPdfToImageModel.ts
242
247
  model/convertPdfToImageRequest.ts
243
248
  model/convertPdfToImageResponse.ts
249
+ model/counterOption.ts
244
250
  model/countryDomain.ts
245
251
  model/countryRegion.ts
246
252
  model/countyDomain.ts
@@ -286,6 +292,7 @@ model/dashboardCaseModel.ts
286
292
  model/dashboardCitationModel.ts
287
293
  model/dashboardCourtModel.ts
288
294
  model/dashboardStatusModel.ts
295
+ model/declineCaseCounterRequest.ts
289
296
  model/declineCategory.ts
290
297
  model/declineReason.ts
291
298
  model/defaultClassModel.ts
@@ -355,6 +362,7 @@ model/getCaseActionResponse.ts
355
362
  model/getCaseActionTimelineResponse.ts
356
363
  model/getCaseActionTypesResponse.ts
357
364
  model/getCaseCostsAttorneyResponse.ts
365
+ model/getCaseCounterOptionsResponse.ts
358
366
  model/getCaseDeclineReasonTypesResponse.ts
359
367
  model/getCaseDocumentResponse.ts
360
368
  model/getCaseFromCitationResponse.ts
@@ -380,6 +388,7 @@ model/getClientConfirmedUnpaidCasesResponse.ts
380
388
  model/getCompetitionResponseModel.ts
381
389
  model/getCountOfMatchingUsersRequest.ts
382
390
  model/getCountOfMatchingUsersResponse.ts
391
+ model/getCounterOfferResponse.ts
383
392
  model/getCountiesResponse.ts
384
393
  model/getCountryListResponse.ts
385
394
  model/getCountryRegionsResponse.ts
@@ -484,6 +493,8 @@ model/incomingEmailRequest.ts
484
493
  model/incomingHeader.ts
485
494
  model/initiateCaseAndChargeCustomerRequest.ts
486
495
  model/initiateCaseAndChargeCustomerResponse.ts
496
+ model/initiateCaseCounterRequest.ts
497
+ model/initiateCaseCounterResponse.ts
487
498
  model/insertCaseLineItemResponse.ts
488
499
  model/insertInvoiceLineItemRequest.ts
489
500
  model/inviteHouseholdMateRequest.ts
@@ -26,6 +26,8 @@ export * from './caseActionsController.service';
26
26
  import { CaseActionsControllerService } from './caseActionsController.service';
27
27
  export * from './caseController.service';
28
28
  import { CaseControllerService } from './caseController.service';
29
+ export * from './caseCounterOfferController.service';
30
+ import { CaseCounterOfferControllerService } from './caseCounterOfferController.service';
29
31
  export * from './caseCreationController.service';
30
32
  import { CaseCreationControllerService } from './caseCreationController.service';
31
33
  export * from './caseDeclineController.service';
@@ -214,4 +216,4 @@ export * from './websocketMessageController.service';
214
216
  import { WebsocketMessageControllerService } from './websocketMessageController.service';
215
217
  export * from './workflowStateController.service';
216
218
  import { WorkflowStateControllerService } from './workflowStateController.service';
217
- export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuditLogControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BlogWebhookControllerService, BranchLinkControllerService, CaptchaControllerService, CaseActionsControllerService, CaseControllerService, CaseCreationControllerService, CaseDeclineControllerService, CaseNotesControllerService, CasePaymentControllerService, CaseReferralCodeControllerService, CaseRefundControllerService, CaseResolutionControllerService, CaseStatusControllerService, CaseTransferControllerService, CaseUserControllerService, CertificateControllerService, CitationAuditControllerService, CitationControllerService, ConfigurationControllerService, ConsoleListControllerService, ContactTimelineControllerService, ConversationControllerService, CountyControllerService, CourtControllerService, CrmControllerService, CustomerLeadControllerService, CustomerReviewControllerService, CustomerServiceAgentBookingsControllerService, CustomerServiceAgentControllerService, DashboardControllerService, DirectMailControllerService, DripControllerService, DripWebhooksControllerService, 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];
219
+ 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, ConfigurationControllerService, ConsoleListControllerService, ContactTimelineControllerService, ConversationControllerService, CountyControllerService, CourtControllerService, CrmControllerService, CustomerLeadControllerService, CustomerReviewControllerService, CustomerServiceAgentBookingsControllerService, CustomerServiceAgentControllerService, DashboardControllerService, DirectMailControllerService, DripControllerService, DripWebhooksControllerService, 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];
@@ -0,0 +1,438 @@
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 { AcceptCaseCounterRequest } from '../model/acceptCaseCounterRequest';
23
+ // @ts-ignore
24
+ import { DeclineCaseCounterRequest } from '../model/declineCaseCounterRequest';
25
+ // @ts-ignore
26
+ import { GetCaseCounterOptionsResponse } from '../model/getCaseCounterOptionsResponse';
27
+ // @ts-ignore
28
+ import { GetCounterOfferResponse } from '../model/getCounterOfferResponse';
29
+ // @ts-ignore
30
+ import { InitiateCaseCounterRequest } from '../model/initiateCaseCounterRequest';
31
+ // @ts-ignore
32
+ import { InitiateCaseCounterResponse } from '../model/initiateCaseCounterResponse';
33
+
34
+ // @ts-ignore
35
+ import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
36
+ import { Configuration } from '../configuration';
37
+
38
+
39
+
40
+ @Injectable({
41
+ providedIn: 'root'
42
+ })
43
+ export class CaseCounterOfferControllerService {
44
+
45
+ protected basePath = 'http://otr-backend-service-us-devo.offtherecord.com';
46
+ public defaultHeaders = new HttpHeaders();
47
+ public configuration = new Configuration();
48
+ public encoder: HttpParameterCodec;
49
+
50
+ constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) {
51
+ if (configuration) {
52
+ this.configuration = configuration;
53
+ }
54
+ if (typeof this.configuration.basePath !== 'string') {
55
+ if (Array.isArray(basePath) && basePath.length > 0) {
56
+ basePath = basePath[0];
57
+ }
58
+
59
+ if (typeof basePath !== 'string') {
60
+ basePath = this.basePath;
61
+ }
62
+ this.configuration.basePath = basePath;
63
+ }
64
+ this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
65
+ }
66
+
67
+
68
+ // @ts-ignore
69
+ private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
70
+ if (typeof value === "object" && value instanceof Date === false) {
71
+ httpParams = this.addToHttpParamsRecursive(httpParams, value);
72
+ } else {
73
+ httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
74
+ }
75
+ return httpParams;
76
+ }
77
+
78
+ private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
79
+ if (value == null) {
80
+ return httpParams;
81
+ }
82
+
83
+ if (typeof value === "object") {
84
+ if (Array.isArray(value)) {
85
+ (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
86
+ } else if (value instanceof Date) {
87
+ if (key != null) {
88
+ httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));
89
+ } else {
90
+ throw Error("key may not be null if value is Date");
91
+ }
92
+ } else {
93
+ Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
94
+ httpParams, value[k], key != null ? `${key}.${k}` : k));
95
+ }
96
+ } else if (key != null) {
97
+ httpParams = httpParams.append(key, value);
98
+ } else {
99
+ throw Error("key may not be null if value is not object or array");
100
+ }
101
+ return httpParams;
102
+ }
103
+
104
+ /**
105
+ * acceptCaseCounter
106
+ * @param caseId caseId
107
+ * @param counterId counterId
108
+ * @param request request
109
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
110
+ * @param reportProgress flag to report request and response progress.
111
+ */
112
+ public acceptCaseCounterUsingPUT(caseId: string, counterId: number, request: AcceptCaseCounterRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any>;
113
+ public acceptCaseCounterUsingPUT(caseId: string, counterId: number, request: AcceptCaseCounterRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpResponse<any>>;
114
+ public acceptCaseCounterUsingPUT(caseId: string, counterId: number, request: AcceptCaseCounterRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpEvent<any>>;
115
+ public acceptCaseCounterUsingPUT(caseId: string, counterId: number, request: AcceptCaseCounterRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any> {
116
+ if (caseId === null || caseId === undefined) {
117
+ throw new Error('Required parameter caseId was null or undefined when calling acceptCaseCounterUsingPUT.');
118
+ }
119
+ if (counterId === null || counterId === undefined) {
120
+ throw new Error('Required parameter counterId was null or undefined when calling acceptCaseCounterUsingPUT.');
121
+ }
122
+ if (request === null || request === undefined) {
123
+ throw new Error('Required parameter request was null or undefined when calling acceptCaseCounterUsingPUT.');
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
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
134
+ }
135
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
136
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
137
+ }
138
+
139
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
140
+ if (localVarHttpContext === undefined) {
141
+ localVarHttpContext = new HttpContext();
142
+ }
143
+
144
+
145
+ // to determine the Content-Type header
146
+ const consumes: string[] = [
147
+ 'application/json'
148
+ ];
149
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
150
+ if (httpContentTypeSelected !== undefined) {
151
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
152
+ }
153
+
154
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
155
+ if (localVarHttpHeaderAcceptSelected) {
156
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
157
+ responseType_ = 'text';
158
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
159
+ responseType_ = 'json';
160
+ } else {
161
+ responseType_ = 'blob';
162
+ }
163
+ }
164
+
165
+ let localVarPath = `/api/v1/cases/${this.configuration.encodeParam({name: "caseId", value: caseId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/counters/${this.configuration.encodeParam({name: "counterId", value: counterId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64"})}/accept`;
166
+ return this.httpClient.request<any>('put', `${this.configuration.basePath}${localVarPath}`,
167
+ {
168
+ context: localVarHttpContext,
169
+ body: request,
170
+ responseType: <any>responseType_,
171
+ withCredentials: this.configuration.withCredentials,
172
+ headers: localVarHeaders,
173
+ observe: observe,
174
+ reportProgress: reportProgress
175
+ }
176
+ );
177
+ }
178
+
179
+ /**
180
+ * declineCaseCounter
181
+ * @param caseId caseId
182
+ * @param counterId counterId
183
+ * @param request request
184
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
185
+ * @param reportProgress flag to report request and response progress.
186
+ */
187
+ public declineCaseCounterUsingPUT(caseId: string, counterId: number, request: DeclineCaseCounterRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any>;
188
+ public declineCaseCounterUsingPUT(caseId: string, counterId: number, request: DeclineCaseCounterRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpResponse<any>>;
189
+ public declineCaseCounterUsingPUT(caseId: string, counterId: number, request: DeclineCaseCounterRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpEvent<any>>;
190
+ public declineCaseCounterUsingPUT(caseId: string, counterId: number, request: DeclineCaseCounterRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any> {
191
+ if (caseId === null || caseId === undefined) {
192
+ throw new Error('Required parameter caseId was null or undefined when calling declineCaseCounterUsingPUT.');
193
+ }
194
+ if (counterId === null || counterId === undefined) {
195
+ throw new Error('Required parameter counterId was null or undefined when calling declineCaseCounterUsingPUT.');
196
+ }
197
+ if (request === null || request === undefined) {
198
+ throw new Error('Required parameter request was null or undefined when calling declineCaseCounterUsingPUT.');
199
+ }
200
+
201
+ let localVarHeaders = this.defaultHeaders;
202
+
203
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
204
+ if (localVarHttpHeaderAcceptSelected === undefined) {
205
+ // to determine the Accept header
206
+ const httpHeaderAccepts: string[] = [
207
+ ];
208
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
209
+ }
210
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
211
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
212
+ }
213
+
214
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
215
+ if (localVarHttpContext === undefined) {
216
+ localVarHttpContext = new HttpContext();
217
+ }
218
+
219
+
220
+ // to determine the Content-Type header
221
+ const consumes: string[] = [
222
+ 'application/json'
223
+ ];
224
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
225
+ if (httpContentTypeSelected !== undefined) {
226
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
227
+ }
228
+
229
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
230
+ if (localVarHttpHeaderAcceptSelected) {
231
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
232
+ responseType_ = 'text';
233
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
234
+ responseType_ = 'json';
235
+ } else {
236
+ responseType_ = 'blob';
237
+ }
238
+ }
239
+
240
+ let localVarPath = `/api/v1/cases/${this.configuration.encodeParam({name: "caseId", value: caseId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/counters/${this.configuration.encodeParam({name: "counterId", value: counterId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64"})}/decline`;
241
+ return this.httpClient.request<any>('put', `${this.configuration.basePath}${localVarPath}`,
242
+ {
243
+ context: localVarHttpContext,
244
+ body: request,
245
+ responseType: <any>responseType_,
246
+ withCredentials: this.configuration.withCredentials,
247
+ headers: localVarHeaders,
248
+ observe: observe,
249
+ reportProgress: reportProgress
250
+ }
251
+ );
252
+ }
253
+
254
+ /**
255
+ * getCaseCounterOptions
256
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
257
+ * @param reportProgress flag to report request and response progress.
258
+ */
259
+ public getCaseCounterOptionsUsingGET(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetCaseCounterOptionsResponse>;
260
+ public getCaseCounterOptionsUsingGET(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetCaseCounterOptionsResponse>>;
261
+ public getCaseCounterOptionsUsingGET(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetCaseCounterOptionsResponse>>;
262
+ public getCaseCounterOptionsUsingGET(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
263
+
264
+ let localVarHeaders = this.defaultHeaders;
265
+
266
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
267
+ if (localVarHttpHeaderAcceptSelected === undefined) {
268
+ // to determine the Accept header
269
+ const httpHeaderAccepts: string[] = [
270
+ '*/*'
271
+ ];
272
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
273
+ }
274
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
275
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
276
+ }
277
+
278
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
279
+ if (localVarHttpContext === undefined) {
280
+ localVarHttpContext = new HttpContext();
281
+ }
282
+
283
+
284
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
285
+ if (localVarHttpHeaderAcceptSelected) {
286
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
287
+ responseType_ = 'text';
288
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
289
+ responseType_ = 'json';
290
+ } else {
291
+ responseType_ = 'blob';
292
+ }
293
+ }
294
+
295
+ let localVarPath = `/api/v1/cases/counter-options`;
296
+ return this.httpClient.request<GetCaseCounterOptionsResponse>('get', `${this.configuration.basePath}${localVarPath}`,
297
+ {
298
+ context: localVarHttpContext,
299
+ responseType: <any>responseType_,
300
+ withCredentials: this.configuration.withCredentials,
301
+ headers: localVarHeaders,
302
+ observe: observe,
303
+ reportProgress: reportProgress
304
+ }
305
+ );
306
+ }
307
+
308
+ /**
309
+ * getCounterOffer
310
+ * @param caseId caseId
311
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
312
+ * @param reportProgress flag to report request and response progress.
313
+ */
314
+ public getCounterOfferUsingGET(caseId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetCounterOfferResponse>;
315
+ public getCounterOfferUsingGET(caseId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetCounterOfferResponse>>;
316
+ public getCounterOfferUsingGET(caseId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetCounterOfferResponse>>;
317
+ public getCounterOfferUsingGET(caseId: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
318
+ if (caseId === null || caseId === undefined) {
319
+ throw new Error('Required parameter caseId was null or undefined when calling getCounterOfferUsingGET.');
320
+ }
321
+
322
+ let localVarHeaders = this.defaultHeaders;
323
+
324
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
325
+ if (localVarHttpHeaderAcceptSelected === undefined) {
326
+ // to determine the Accept header
327
+ const httpHeaderAccepts: string[] = [
328
+ '*/*'
329
+ ];
330
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
331
+ }
332
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
333
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
334
+ }
335
+
336
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
337
+ if (localVarHttpContext === undefined) {
338
+ localVarHttpContext = new HttpContext();
339
+ }
340
+
341
+
342
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
343
+ if (localVarHttpHeaderAcceptSelected) {
344
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
345
+ responseType_ = 'text';
346
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
347
+ responseType_ = 'json';
348
+ } else {
349
+ responseType_ = 'blob';
350
+ }
351
+ }
352
+
353
+ let localVarPath = `/api/v1/cases/${this.configuration.encodeParam({name: "caseId", value: caseId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/counters`;
354
+ return this.httpClient.request<GetCounterOfferResponse>('get', `${this.configuration.basePath}${localVarPath}`,
355
+ {
356
+ context: localVarHttpContext,
357
+ responseType: <any>responseType_,
358
+ withCredentials: this.configuration.withCredentials,
359
+ headers: localVarHeaders,
360
+ observe: observe,
361
+ reportProgress: reportProgress
362
+ }
363
+ );
364
+ }
365
+
366
+ /**
367
+ * initiateCaseCounter
368
+ * @param caseId caseId
369
+ * @param request request
370
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
371
+ * @param reportProgress flag to report request and response progress.
372
+ */
373
+ public initiateCaseCounterUsingPOST(caseId: string, request: InitiateCaseCounterRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<InitiateCaseCounterResponse>;
374
+ public initiateCaseCounterUsingPOST(caseId: string, request: InitiateCaseCounterRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<InitiateCaseCounterResponse>>;
375
+ public initiateCaseCounterUsingPOST(caseId: string, request: InitiateCaseCounterRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<InitiateCaseCounterResponse>>;
376
+ public initiateCaseCounterUsingPOST(caseId: string, request: InitiateCaseCounterRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
377
+ if (caseId === null || caseId === undefined) {
378
+ throw new Error('Required parameter caseId was null or undefined when calling initiateCaseCounterUsingPOST.');
379
+ }
380
+ if (request === null || request === undefined) {
381
+ throw new Error('Required parameter request was null or undefined when calling initiateCaseCounterUsingPOST.');
382
+ }
383
+
384
+ let localVarHeaders = this.defaultHeaders;
385
+
386
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
387
+ if (localVarHttpHeaderAcceptSelected === undefined) {
388
+ // to determine the Accept header
389
+ const httpHeaderAccepts: string[] = [
390
+ '*/*'
391
+ ];
392
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
393
+ }
394
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
395
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
396
+ }
397
+
398
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
399
+ if (localVarHttpContext === undefined) {
400
+ localVarHttpContext = new HttpContext();
401
+ }
402
+
403
+
404
+ // to determine the Content-Type header
405
+ const consumes: string[] = [
406
+ 'application/json'
407
+ ];
408
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
409
+ if (httpContentTypeSelected !== undefined) {
410
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
411
+ }
412
+
413
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
414
+ if (localVarHttpHeaderAcceptSelected) {
415
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
416
+ responseType_ = 'text';
417
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
418
+ responseType_ = 'json';
419
+ } else {
420
+ responseType_ = 'blob';
421
+ }
422
+ }
423
+
424
+ let localVarPath = `/api/v1/cases/${this.configuration.encodeParam({name: "caseId", value: caseId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/counters`;
425
+ return this.httpClient.request<InitiateCaseCounterResponse>('post', `${this.configuration.basePath}${localVarPath}`,
426
+ {
427
+ context: localVarHttpContext,
428
+ body: request,
429
+ responseType: <any>responseType_,
430
+ withCredentials: this.configuration.withCredentials,
431
+ headers: localVarHeaders,
432
+ observe: observe,
433
+ reportProgress: reportProgress
434
+ }
435
+ );
436
+ }
437
+
438
+ }
@@ -16,6 +16,7 @@ import { BranchLinkControllerService } from './api/branchLinkController.service'
16
16
  import { CaptchaControllerService } from './api/captchaController.service';
17
17
  import { CaseActionsControllerService } from './api/caseActionsController.service';
18
18
  import { CaseControllerService } from './api/caseController.service';
19
+ import { CaseCounterOfferControllerService } from './api/caseCounterOfferController.service';
19
20
  import { CaseCreationControllerService } from './api/caseCreationController.service';
20
21
  import { CaseDeclineControllerService } from './api/caseDeclineController.service';
21
22
  import { CaseNotesControllerService } from './api/caseNotesController.service';
@@ -0,0 +1,21 @@
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 AcceptCaseCounterRequest {
15
+ feeInputInCents?: number;
16
+ increaseFee?: boolean;
17
+ noteToClient?: string;
18
+ noteToOtr?: string;
19
+ removeMBG?: boolean;
20
+ }
21
+
@@ -28,9 +28,12 @@ export interface ActionByEntityModel {
28
28
  profilePictureUrl?: string;
29
29
  }
30
30
  export namespace ActionByEntityModel {
31
- export type ActionTypeEnum = 'CASE_ACCEPT' | 'CASE_DECLINE' | 'CITATION_DATA_EXTRACTED' | 'COURT_DATE_REMOVED' | 'COURT_DATE_SCHEDULED' | 'DISCOVERY_RECEIVED' | 'DISCOVERY_REQUESTED' | 'DISPUTE_FILED' | 'FAILED_PAYMENT_ATTEMPT' | 'NOTICE_OF_APPEARANCE_FILED' | 'OTHER' | 'OVERDUE_BALANCE_PAID' | 'REVIEWED_BY_LAWFIRM' | 'SOCIAL_MEDIA_ASK' | 'TICKET_MAILED_TO_COURT';
31
+ export type ActionTypeEnum = 'CASE_ACCEPT' | 'CASE_COUNTER_ACCEPTED' | 'CASE_COUNTER_DECLINED' | 'CASE_COUNTER_INITIATED' | 'CASE_DECLINE' | 'CITATION_DATA_EXTRACTED' | 'COURT_DATE_REMOVED' | 'COURT_DATE_SCHEDULED' | 'DISCOVERY_RECEIVED' | 'DISCOVERY_REQUESTED' | 'DISPUTE_FILED' | 'FAILED_PAYMENT_ATTEMPT' | 'NOTICE_OF_APPEARANCE_FILED' | 'OTHER' | 'OVERDUE_BALANCE_PAID' | 'REVIEWED_BY_LAWFIRM' | 'SOCIAL_MEDIA_ASK' | 'TICKET_MAILED_TO_COURT';
32
32
  export const ActionTypeEnum = {
33
33
  CaseAccept: 'CASE_ACCEPT' as ActionTypeEnum,
34
+ CaseCounterAccepted: 'CASE_COUNTER_ACCEPTED' as ActionTypeEnum,
35
+ CaseCounterDeclined: 'CASE_COUNTER_DECLINED' as ActionTypeEnum,
36
+ CaseCounterInitiated: 'CASE_COUNTER_INITIATED' as ActionTypeEnum,
34
37
  CaseDecline: 'CASE_DECLINE' as ActionTypeEnum,
35
38
  CitationDataExtracted: 'CITATION_DATA_EXTRACTED' as ActionTypeEnum,
36
39
  CourtDateRemoved: 'COURT_DATE_REMOVED' as ActionTypeEnum,
@@ -25,9 +25,12 @@ export interface CaseActionDomain {
25
25
  isDeleted?: boolean;
26
26
  }
27
27
  export namespace CaseActionDomain {
28
- export type ActionTypeEnum = 'CASE_ACCEPT' | 'CASE_DECLINE' | 'CITATION_DATA_EXTRACTED' | 'COURT_DATE_REMOVED' | 'COURT_DATE_SCHEDULED' | 'DISCOVERY_RECEIVED' | 'DISCOVERY_REQUESTED' | 'DISPUTE_FILED' | 'FAILED_PAYMENT_ATTEMPT' | 'NOTICE_OF_APPEARANCE_FILED' | 'OTHER' | 'OVERDUE_BALANCE_PAID' | 'REVIEWED_BY_LAWFIRM' | 'SOCIAL_MEDIA_ASK' | 'TICKET_MAILED_TO_COURT';
28
+ export type ActionTypeEnum = 'CASE_ACCEPT' | 'CASE_COUNTER_ACCEPTED' | 'CASE_COUNTER_DECLINED' | 'CASE_COUNTER_INITIATED' | 'CASE_DECLINE' | 'CITATION_DATA_EXTRACTED' | 'COURT_DATE_REMOVED' | 'COURT_DATE_SCHEDULED' | 'DISCOVERY_RECEIVED' | 'DISCOVERY_REQUESTED' | 'DISPUTE_FILED' | 'FAILED_PAYMENT_ATTEMPT' | 'NOTICE_OF_APPEARANCE_FILED' | 'OTHER' | 'OVERDUE_BALANCE_PAID' | 'REVIEWED_BY_LAWFIRM' | 'SOCIAL_MEDIA_ASK' | 'TICKET_MAILED_TO_COURT';
29
29
  export const ActionTypeEnum = {
30
30
  CaseAccept: 'CASE_ACCEPT' as ActionTypeEnum,
31
+ CaseCounterAccepted: 'CASE_COUNTER_ACCEPTED' as ActionTypeEnum,
32
+ CaseCounterDeclined: 'CASE_COUNTER_DECLINED' as ActionTypeEnum,
33
+ CaseCounterInitiated: 'CASE_COUNTER_INITIATED' as ActionTypeEnum,
31
34
  CaseDecline: 'CASE_DECLINE' as ActionTypeEnum,
32
35
  CitationDataExtracted: 'CITATION_DATA_EXTRACTED' as ActionTypeEnum,
33
36
  CourtDateRemoved: 'COURT_DATE_REMOVED' as ActionTypeEnum,
@@ -17,9 +17,12 @@ export interface CaseActionRequestModel {
17
17
  actionType?: CaseActionRequestModel.ActionTypeEnum;
18
18
  }
19
19
  export namespace CaseActionRequestModel {
20
- export type ActionTypeEnum = 'CASE_ACCEPT' | 'CASE_DECLINE' | 'CITATION_DATA_EXTRACTED' | 'COURT_DATE_REMOVED' | 'COURT_DATE_SCHEDULED' | 'DISCOVERY_RECEIVED' | 'DISCOVERY_REQUESTED' | 'DISPUTE_FILED' | 'FAILED_PAYMENT_ATTEMPT' | 'NOTICE_OF_APPEARANCE_FILED' | 'OTHER' | 'OVERDUE_BALANCE_PAID' | 'REVIEWED_BY_LAWFIRM' | 'SOCIAL_MEDIA_ASK' | 'TICKET_MAILED_TO_COURT';
20
+ export type ActionTypeEnum = 'CASE_ACCEPT' | 'CASE_COUNTER_ACCEPTED' | 'CASE_COUNTER_DECLINED' | 'CASE_COUNTER_INITIATED' | 'CASE_DECLINE' | 'CITATION_DATA_EXTRACTED' | 'COURT_DATE_REMOVED' | 'COURT_DATE_SCHEDULED' | 'DISCOVERY_RECEIVED' | 'DISCOVERY_REQUESTED' | 'DISPUTE_FILED' | 'FAILED_PAYMENT_ATTEMPT' | 'NOTICE_OF_APPEARANCE_FILED' | 'OTHER' | 'OVERDUE_BALANCE_PAID' | 'REVIEWED_BY_LAWFIRM' | 'SOCIAL_MEDIA_ASK' | 'TICKET_MAILED_TO_COURT';
21
21
  export const ActionTypeEnum = {
22
22
  CaseAccept: 'CASE_ACCEPT' as ActionTypeEnum,
23
+ CaseCounterAccepted: 'CASE_COUNTER_ACCEPTED' as ActionTypeEnum,
24
+ CaseCounterDeclined: 'CASE_COUNTER_DECLINED' as ActionTypeEnum,
25
+ CaseCounterInitiated: 'CASE_COUNTER_INITIATED' as ActionTypeEnum,
23
26
  CaseDecline: 'CASE_DECLINE' as ActionTypeEnum,
24
27
  CitationDataExtracted: 'CITATION_DATA_EXTRACTED' as ActionTypeEnum,
25
28
  CourtDateRemoved: 'COURT_DATE_REMOVED' as ActionTypeEnum,
@@ -0,0 +1,27 @@
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 CaseCounterOfferModel {
16
+ counterOfferAmountInCents?: number;
17
+ counterOfferDateUtc?: Timestamp;
18
+ counterOfferId?: number;
19
+ counterOfferStatus?: string;
20
+ createdByUserId?: number;
21
+ createdByUserRoleId?: number;
22
+ lawfirmCaseId?: number;
23
+ noteToClient?: string;
24
+ noteToOtr?: string;
25
+ refundPercentage?: number;
26
+ }
27
+
@@ -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
+
13
+
14
+ export interface CaseCounterOption {
15
+ description?: string;
16
+ name?: string;
17
+ }
18
+