@otr-app/shared-backend-generated-client 2.4.92 → 2.4.94

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 (28) hide show
  1. package/dist/angular/.openapi-generator/FILES +1 -0
  2. package/dist/angular/api/activityFeedController.service.ts +19 -4
  3. package/dist/angular/model/caseCounterOfferModel.ts +12 -11
  4. package/dist/angular/model/dashboardCaseCounterOfferModel.ts +28 -0
  5. package/dist/angular/model/dashboardCaseModel.ts +2 -2
  6. package/dist/angular/model/models.ts +1 -0
  7. package/dist/otrBackendService.js +15 -0
  8. package/dist/otrBackendService.min.js +7 -7
  9. package/dist/typescript/api/ActivityFeedControllerApi.d.ts +4 -1
  10. package/dist/typescript/api/ActivityFeedControllerApi.js +13 -1
  11. package/dist/typescript/model/CaseCounterOfferModel.d.ts +12 -9
  12. package/dist/typescript/model/CaseCounterOfferModel.js +1 -10
  13. package/dist/typescript/model/DashboardCaseCounterOfferModel.d.ts +23 -0
  14. package/dist/typescript/model/DashboardCaseCounterOfferModel.js +21 -0
  15. package/dist/typescript/model/DashboardCaseModel.d.ts +1 -1
  16. package/dist/typescript/model/models.d.ts +1 -0
  17. package/dist/typescript/model/models.js +1 -0
  18. package/dist/typescript-fetch/apis/ActivityFeedControllerApi.d.ts +14 -0
  19. package/dist/typescript-fetch/apis/ActivityFeedControllerApi.js +21 -0
  20. package/dist/typescript-fetch/models/CaseCounterOfferModel.d.ts +62 -11
  21. package/dist/typescript-fetch/models/CaseCounterOfferModel.js +21 -11
  22. package/dist/typescript-fetch/models/DashboardCaseCounterOfferModel.d.ts +43 -0
  23. package/dist/typescript-fetch/models/DashboardCaseCounterOfferModel.js +49 -0
  24. package/dist/typescript-fetch/models/DashboardCaseModel.d.ts +3 -3
  25. package/dist/typescript-fetch/models/DashboardCaseModel.js +3 -3
  26. package/dist/typescript-fetch/models/index.d.ts +1 -0
  27. package/dist/typescript-fetch/models/index.js +1 -0
  28. package/package.json +1 -1
@@ -316,6 +316,7 @@ model/customerServiceAgentBookingDomain.ts
316
316
  model/customerServiceAgentDomain.ts
317
317
  model/dashboardAddressModel.ts
318
318
  model/dashboardAuthorModel.ts
319
+ model/dashboardCaseCounterOfferModel.ts
319
320
  model/dashboardCaseModel.ts
320
321
  model/dashboardCitationModel.ts
321
322
  model/dashboardCourtModel.ts
@@ -96,21 +96,36 @@ export class ActivityFeedControllerService {
96
96
  /**
97
97
  * listActivityFeed
98
98
  * @param limit limit
99
+ * @param activityType activityType
100
+ * @param courtId courtId
101
+ * @param hasProfilePicture hasProfilePicture
99
102
  * @param nextPageToken nextPageToken
100
103
  * @param previousPageToken previousPageToken
101
104
  * @param regionCode regionCode
102
105
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
103
106
  * @param reportProgress flag to report request and response progress.
104
107
  */
105
- public listActivityFeedUsingGET(limit: number, nextPageToken?: string, previousPageToken?: string, regionCode?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetActivityFeedResponse>;
106
- public listActivityFeedUsingGET(limit: number, nextPageToken?: string, previousPageToken?: string, regionCode?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetActivityFeedResponse>>;
107
- public listActivityFeedUsingGET(limit: number, nextPageToken?: string, previousPageToken?: string, regionCode?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetActivityFeedResponse>>;
108
- public listActivityFeedUsingGET(limit: number, nextPageToken?: string, previousPageToken?: string, regionCode?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
108
+ public listActivityFeedUsingGET(limit: number, activityType?: 'PURCHASE' | 'REFERRAL' | 'REFUND' | 'RESOLUTION' | 'TICKET_REVIEW', courtId?: number, hasProfilePicture?: boolean, nextPageToken?: string, previousPageToken?: string, regionCode?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetActivityFeedResponse>;
109
+ public listActivityFeedUsingGET(limit: number, activityType?: 'PURCHASE' | 'REFERRAL' | 'REFUND' | 'RESOLUTION' | 'TICKET_REVIEW', courtId?: number, hasProfilePicture?: boolean, nextPageToken?: string, previousPageToken?: string, regionCode?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetActivityFeedResponse>>;
110
+ public listActivityFeedUsingGET(limit: number, activityType?: 'PURCHASE' | 'REFERRAL' | 'REFUND' | 'RESOLUTION' | 'TICKET_REVIEW', courtId?: number, hasProfilePicture?: boolean, nextPageToken?: string, previousPageToken?: string, regionCode?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetActivityFeedResponse>>;
111
+ public listActivityFeedUsingGET(limit: number, activityType?: 'PURCHASE' | 'REFERRAL' | 'REFUND' | 'RESOLUTION' | 'TICKET_REVIEW', courtId?: number, hasProfilePicture?: boolean, nextPageToken?: string, previousPageToken?: string, regionCode?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
109
112
  if (limit === null || limit === undefined) {
110
113
  throw new Error('Required parameter limit was null or undefined when calling listActivityFeedUsingGET.');
111
114
  }
112
115
 
113
116
  let localVarQueryParameters = new HttpParams({encoder: this.encoder});
117
+ if (activityType !== undefined && activityType !== null) {
118
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
119
+ <any>activityType, 'activityType');
120
+ }
121
+ if (courtId !== undefined && courtId !== null) {
122
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
123
+ <any>courtId, 'courtId');
124
+ }
125
+ if (hasProfilePicture !== undefined && hasProfilePicture !== null) {
126
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
127
+ <any>hasProfilePicture, 'hasProfilePicture');
128
+ }
114
129
  if (limit !== undefined && limit !== null) {
115
130
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
116
131
  <any>limit, 'limit');
@@ -9,20 +9,21 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { Timestamp } from './timestamp';
12
13
 
13
14
 
14
15
  export interface CaseCounterOfferModel {
15
16
  counterOfferAmountInCents?: number;
16
- counterOfferStatus?: CaseCounterOfferModel.CounterOfferStatusEnum;
17
+ counterOfferDateUtc?: Timestamp;
18
+ counterOfferId?: number;
19
+ counterOfferStatus?: string;
20
+ createdByUserId?: number;
21
+ createdByUserRoleId?: number;
22
+ initialLegalFeeInCents?: number;
23
+ initialRefundPercentage?: number;
24
+ lawfirmCaseId?: number;
25
+ noteToClient?: string;
26
+ noteToOtr?: string;
27
+ refundPercentage?: number;
17
28
  }
18
- export namespace CaseCounterOfferModel {
19
- export type CounterOfferStatusEnum = 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'WITHDRAWN';
20
- export const CounterOfferStatusEnum = {
21
- Accepted: 'ACCEPTED' as CounterOfferStatusEnum,
22
- Declined: 'DECLINED' as CounterOfferStatusEnum,
23
- Pending: 'PENDING' as CounterOfferStatusEnum,
24
- Withdrawn: 'WITHDRAWN' as CounterOfferStatusEnum
25
- };
26
- }
27
-
28
29
 
@@ -0,0 +1,28 @@
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 DashboardCaseCounterOfferModel {
15
+ counterOfferAmountInCents?: number;
16
+ counterOfferStatus?: DashboardCaseCounterOfferModel.CounterOfferStatusEnum;
17
+ }
18
+ export namespace DashboardCaseCounterOfferModel {
19
+ export type CounterOfferStatusEnum = 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'WITHDRAWN';
20
+ export const CounterOfferStatusEnum = {
21
+ Accepted: 'ACCEPTED' as CounterOfferStatusEnum,
22
+ Declined: 'DECLINED' as CounterOfferStatusEnum,
23
+ Pending: 'PENDING' as CounterOfferStatusEnum,
24
+ Withdrawn: 'WITHDRAWN' as CounterOfferStatusEnum
25
+ };
26
+ }
27
+
28
+
@@ -12,7 +12,7 @@
12
12
  import { DashboardStatusModel } from './dashboardStatusModel';
13
13
  import { DashboardCourtModel } from './dashboardCourtModel';
14
14
  import { ViolationModel0 } from './violationModel0';
15
- import { CaseCounterOfferModel } from './caseCounterOfferModel';
15
+ import { DashboardCaseCounterOfferModel } from './dashboardCaseCounterOfferModel';
16
16
  import { CaseUserDetailsModel } from './caseUserDetailsModel';
17
17
  import { DashboardCitationModel } from './dashboardCitationModel';
18
18
  import { DashboardAuthorModel } from './dashboardAuthorModel';
@@ -23,7 +23,7 @@ import { OverduePaymentModel } from './overduePaymentModel';
23
23
  export interface DashboardCaseModel {
24
24
  authorModel?: DashboardAuthorModel;
25
25
  bookingConfirmedDate?: string;
26
- caseCounterOffer?: CaseCounterOfferModel;
26
+ caseCounterOffer?: DashboardCaseCounterOfferModel;
27
27
  caseId?: string;
28
28
  caseUserDetails?: CaseUserDetailsModel;
29
29
  citation?: DashboardCitationModel;
@@ -192,6 +192,7 @@ export * from './customerServiceAgentBookingDomain';
192
192
  export * from './customerServiceAgentDomain';
193
193
  export * from './dashboardAddressModel';
194
194
  export * from './dashboardAuthorModel';
195
+ export * from './dashboardCaseCounterOfferModel';
195
196
  export * from './dashboardCaseModel';
196
197
  export * from './dashboardCitationModel';
197
198
  export * from './dashboardCourtModel';
@@ -231,6 +231,9 @@ angular.module('otrBackendService', [])
231
231
  * @method
232
232
  * @name OtrService#listActivityFeedUsingGET
233
233
  * @param {object} parameters - method options and parameters
234
+ * @param {string} parameters.activityType - activityType
235
+ * @param {integer} parameters.courtId - courtId
236
+ * @param {boolean} parameters.hasProfilePicture - hasProfilePicture
234
237
  * @param {integer} parameters.limit - limit
235
238
  * @param {string} parameters.nextPageToken - nextPageToken
236
239
  * @param {string} parameters.previousPageToken - previousPageToken
@@ -250,6 +253,18 @@ angular.module('otrBackendService', [])
250
253
 
251
254
  headers['Accept'] = ['*/*'];
252
255
 
256
+ if (parameters['activityType'] !== undefined) {
257
+ queryParameters['activityType'] = parameters['activityType'];
258
+ }
259
+
260
+ if (parameters['courtId'] !== undefined) {
261
+ queryParameters['courtId'] = parameters['courtId'];
262
+ }
263
+
264
+ if (parameters['hasProfilePicture'] !== undefined) {
265
+ queryParameters['hasProfilePicture'] = parameters['hasProfilePicture'];
266
+ }
267
+
253
268
  if (parameters['limit'] !== undefined) {
254
269
  queryParameters['limit'] = parameters['limit'];
255
270
  }