@otr-app/shared-backend-generated-client 2.4.85 → 2.4.87

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 (30) hide show
  1. package/dist/angular/.openapi-generator/FILES +1 -1
  2. package/dist/angular/api/casePaymentController.service.ts +7 -12
  3. package/dist/angular/api/recurringBillingController.service.ts +77 -0
  4. package/dist/angular/model/legalServiceModel.ts +2 -0
  5. package/dist/angular/model/models.ts +1 -1
  6. package/dist/angular/model/saveBillingProductOptionRequest.ts +28 -0
  7. package/dist/otrBackendService.js +56 -8
  8. package/dist/otrBackendService.min.js +7 -7
  9. package/dist/typescript/api/CasePaymentControllerApi.d.ts +2 -2
  10. package/dist/typescript/api/CasePaymentControllerApi.js +4 -8
  11. package/dist/typescript/api/RecurringBillingControllerApi.d.ts +8 -0
  12. package/dist/typescript/api/RecurringBillingControllerApi.js +37 -0
  13. package/dist/typescript/model/LegalServiceModel.d.ts +2 -0
  14. package/dist/typescript/model/SaveBillingProductOptionRequest.d.ts +23 -0
  15. package/dist/typescript/model/SaveBillingProductOptionRequest.js +22 -0
  16. package/dist/typescript/model/models.d.ts +1 -1
  17. package/dist/typescript/model/models.js +1 -1
  18. package/dist/typescript-fetch/apis/CasePaymentControllerApi.d.ts +7 -7
  19. package/dist/typescript-fetch/apis/CasePaymentControllerApi.js +9 -12
  20. package/dist/typescript-fetch/apis/RecurringBillingControllerApi.d.ts +14 -1
  21. package/dist/typescript-fetch/apis/RecurringBillingControllerApi.js +36 -1
  22. package/dist/typescript-fetch/models/LegalServiceModel.d.ts +12 -0
  23. package/dist/typescript-fetch/models/LegalServiceModel.js +4 -0
  24. package/dist/typescript-fetch/models/SaveBillingProductOptionRequest.d.ts +38 -0
  25. package/dist/typescript-fetch/models/SaveBillingProductOptionRequest.js +48 -0
  26. package/dist/typescript-fetch/models/index.d.ts +1 -1
  27. package/dist/typescript-fetch/models/index.js +1 -1
  28. package/package.json +1 -1
  29. package/dist/typescript-fetch/models/SaveCasePlanRequest.d.ts +0 -44
  30. package/dist/typescript-fetch/models/SaveCasePlanRequest.js +0 -50
@@ -96,12 +96,12 @@ export declare class CasePaymentControllerApi {
96
96
  listCostItemsForCustomerUsingGET(caseId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListCostItemsForCustomerResponse>;
97
97
  /**
98
98
  *
99
- * @summary saveCasePlan
99
+ * @summary saveCasePaymentPlan
100
100
  * @param caseId caseId
101
101
  * @param paymentPlanTypeId paymentPlanTypeId
102
102
  * @param request request
103
103
  */
104
- saveCasePlanUsingPOST(caseId: string, paymentPlanTypeId: string, request: models.SaveCasePlanRequest, extraHttpRequestParams?: any): ng.IHttpPromise<{}>;
104
+ saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, request?: object, extraHttpRequestParams?: any): ng.IHttpPromise<{}>;
105
105
  /**
106
106
  *
107
107
  * @summary scheduleNewPayment
@@ -358,12 +358,12 @@ export class CasePaymentControllerApi {
358
358
  }
359
359
  /**
360
360
  *
361
- * @summary saveCasePlan
361
+ * @summary saveCasePaymentPlan
362
362
  * @param caseId caseId
363
363
  * @param paymentPlanTypeId paymentPlanTypeId
364
364
  * @param request request
365
365
  */
366
- saveCasePlanUsingPOST(caseId, paymentPlanTypeId, request, extraHttpRequestParams) {
366
+ saveCasePaymentPlanUsingPOST(caseId, paymentPlanTypeId, request, extraHttpRequestParams) {
367
367
  const localVarPath = this.basePath + '/api/v1/cases/{caseId}/payment-plans/{paymentPlanTypeId}'
368
368
  .replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)))
369
369
  .replace('{' + 'paymentPlanTypeId' + '}', encodeURIComponent(String(paymentPlanTypeId)));
@@ -371,15 +371,11 @@ export class CasePaymentControllerApi {
371
371
  let headerParams = Object.assign({}, this.defaultHeaders);
372
372
  // verify required parameter 'caseId' is not null or undefined
373
373
  if (caseId === null || caseId === undefined) {
374
- throw new Error('Required parameter caseId was null or undefined when calling saveCasePlanUsingPOST.');
374
+ throw new Error('Required parameter caseId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
375
375
  }
376
376
  // verify required parameter 'paymentPlanTypeId' is not null or undefined
377
377
  if (paymentPlanTypeId === null || paymentPlanTypeId === undefined) {
378
- throw new Error('Required parameter paymentPlanTypeId was null or undefined when calling saveCasePlanUsingPOST.');
379
- }
380
- // verify required parameter 'request' is not null or undefined
381
- if (request === null || request === undefined) {
382
- throw new Error('Required parameter request was null or undefined when calling saveCasePlanUsingPOST.');
378
+ throw new Error('Required parameter paymentPlanTypeId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
383
379
  }
384
380
  let httpRequestParams = {
385
381
  method: 'POST',
@@ -57,4 +57,12 @@ export declare class RecurringBillingControllerApi {
57
57
  * @param limit limit
58
58
  */
59
59
  listSubscriptionInvoicesUsingGET(id: string, userId: number, limit?: number, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListSubscriptionInvoicesResponse>;
60
+ /**
61
+ *
62
+ * @summary saveBillingProductOption
63
+ * @param caseId caseId
64
+ * @param productId productId
65
+ * @param request request
66
+ */
67
+ saveBillingProductOptionUsingPOST(caseId: string, productId: string, request: models.SaveBillingProductOptionRequest, extraHttpRequestParams?: any): ng.IHttpPromise<{}>;
60
68
  }
@@ -185,5 +185,42 @@ export class RecurringBillingControllerApi {
185
185
  }
186
186
  return this.$http(httpRequestParams);
187
187
  }
188
+ /**
189
+ *
190
+ * @summary saveBillingProductOption
191
+ * @param caseId caseId
192
+ * @param productId productId
193
+ * @param request request
194
+ */
195
+ saveBillingProductOptionUsingPOST(caseId, productId, request, extraHttpRequestParams) {
196
+ const localVarPath = this.basePath + '/api/v1/billing/cases/{caseId}/products/{productId}'
197
+ .replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)))
198
+ .replace('{' + 'productId' + '}', encodeURIComponent(String(productId)));
199
+ let queryParameters = {};
200
+ let headerParams = Object.assign({}, this.defaultHeaders);
201
+ // verify required parameter 'caseId' is not null or undefined
202
+ if (caseId === null || caseId === undefined) {
203
+ throw new Error('Required parameter caseId was null or undefined when calling saveBillingProductOptionUsingPOST.');
204
+ }
205
+ // verify required parameter 'productId' is not null or undefined
206
+ if (productId === null || productId === undefined) {
207
+ throw new Error('Required parameter productId was null or undefined when calling saveBillingProductOptionUsingPOST.');
208
+ }
209
+ // verify required parameter 'request' is not null or undefined
210
+ if (request === null || request === undefined) {
211
+ throw new Error('Required parameter request was null or undefined when calling saveBillingProductOptionUsingPOST.');
212
+ }
213
+ let httpRequestParams = {
214
+ method: 'POST',
215
+ url: localVarPath,
216
+ data: request,
217
+ params: queryParameters,
218
+ headers: headerParams
219
+ };
220
+ if (extraHttpRequestParams) {
221
+ httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
222
+ }
223
+ return this.$http(httpRequestParams);
224
+ }
188
225
  }
189
226
  RecurringBillingControllerApi.$inject = ['$http', '$httpParamSerializer', 'basePath'];
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface LegalServiceModel {
14
+ "algoName"?: string;
14
15
  "chanceOfSuccess"?: number;
15
16
  "financials"?: models.WorkflowFinancials;
16
17
  "isSelected"?: boolean;
@@ -24,6 +25,7 @@ export interface LegalServiceModel {
24
25
  "lineItems"?: Array<models.WorkflowLineItemModel>;
25
26
  "matchExpirationDateUtc"?: string;
26
27
  "obfuscatedPictureUrl"?: string;
28
+ "predeterminedLawfirmName"?: string;
27
29
  "profilePictureUrl"?: string;
28
30
  "refundEligibility"?: LegalServiceModel.RefundEligibilityEnum;
29
31
  "refundMessage"?: string;
@@ -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
+ export interface SaveBillingProductOptionRequest {
13
+ "interval"?: SaveBillingProductOptionRequest.IntervalEnum;
14
+ }
15
+ export declare namespace SaveBillingProductOptionRequest {
16
+ enum IntervalEnum {
17
+ DAILY,
18
+ MONTHLY,
19
+ QUARTERLY,
20
+ WEEKLY,
21
+ YEARLY
22
+ }
23
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export var SaveBillingProductOptionRequest;
13
+ (function (SaveBillingProductOptionRequest) {
14
+ let IntervalEnum;
15
+ (function (IntervalEnum) {
16
+ IntervalEnum[IntervalEnum["DAILY"] = 'DAILY'] = "DAILY";
17
+ IntervalEnum[IntervalEnum["MONTHLY"] = 'MONTHLY'] = "MONTHLY";
18
+ IntervalEnum[IntervalEnum["QUARTERLY"] = 'QUARTERLY'] = "QUARTERLY";
19
+ IntervalEnum[IntervalEnum["WEEKLY"] = 'WEEKLY'] = "WEEKLY";
20
+ IntervalEnum[IntervalEnum["YEARLY"] = 'YEARLY'] = "YEARLY";
21
+ })(IntervalEnum = SaveBillingProductOptionRequest.IntervalEnum || (SaveBillingProductOptionRequest.IntervalEnum = {}));
22
+ })(SaveBillingProductOptionRequest || (SaveBillingProductOptionRequest = {}));
@@ -607,8 +607,8 @@ export * from './SNSNotificationRequest';
607
607
  export * from './SSLCertificateResponse';
608
608
  export * from './SaveAgentBookingRequest';
609
609
  export * from './SaveAgentBookingResponse';
610
+ export * from './SaveBillingProductOptionRequest';
610
611
  export * from './SaveCaseNotesRequest';
611
- export * from './SaveCasePlanRequest';
612
612
  export * from './SaveCaseUserRequest';
613
613
  export * from './SaveCoachingCardRequest';
614
614
  export * from './SaveCoachingCardUserRequest';
@@ -607,8 +607,8 @@ export * from './SNSNotificationRequest';
607
607
  export * from './SSLCertificateResponse';
608
608
  export * from './SaveAgentBookingRequest';
609
609
  export * from './SaveAgentBookingResponse';
610
+ export * from './SaveBillingProductOptionRequest';
610
611
  export * from './SaveCaseNotesRequest';
611
- export * from './SaveCasePlanRequest';
612
612
  export * from './SaveCaseUserRequest';
613
613
  export * from './SaveCoachingCardRequest';
614
614
  export * from './SaveCoachingCardUserRequest';
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { AuthorizeChargeForCasePaymentRequest, AuthorizeChargeForCasePaymentResponse, CaptureChargeFromCasePaymentRequest, GetAvailablePaymentPlansResponse, GetCasePaymentsResponse, GetStripeChargeResponse, GetStripeChargesResponse, ListCostItemsForCustomerResponse, SaveCasePlanRequest, ScheduleNewPaymentRequest, UpdateCasePaymentRequest, UpdatePaymentDueDateRequest } from '../models';
13
+ import { AuthorizeChargeForCasePaymentRequest, AuthorizeChargeForCasePaymentResponse, CaptureChargeFromCasePaymentRequest, GetAvailablePaymentPlansResponse, GetCasePaymentsResponse, GetStripeChargeResponse, GetStripeChargesResponse, ListCostItemsForCustomerResponse, ScheduleNewPaymentRequest, UpdateCasePaymentRequest, UpdatePaymentDueDateRequest } from '../models';
14
14
  export interface AuthorizeChargeForCasePaymentUsingPOSTRequest {
15
15
  caseId: string;
16
16
  casePaymentId: string;
@@ -57,10 +57,10 @@ export interface ListCostItemsForCustomerUsingGETRequest {
57
57
  period?: ListCostItemsForCustomerUsingGETPeriodEnum;
58
58
  productId?: string;
59
59
  }
60
- export interface SaveCasePlanUsingPOSTRequest {
60
+ export interface SaveCasePaymentPlanUsingPOSTRequest {
61
61
  caseId: string;
62
62
  paymentPlanTypeId: string;
63
- request: SaveCasePlanRequest;
63
+ request?: object;
64
64
  }
65
65
  export interface ScheduleNewPaymentUsingPOSTRequest {
66
66
  caseId: string;
@@ -163,13 +163,13 @@ export declare class CasePaymentControllerApi extends runtime.BaseAPI {
163
163
  */
164
164
  listCostItemsForCustomerUsingGET(requestParameters: ListCostItemsForCustomerUsingGETRequest): Promise<ListCostItemsForCustomerResponse>;
165
165
  /**
166
- * saveCasePlan
166
+ * saveCasePaymentPlan
167
167
  */
168
- saveCasePlanUsingPOSTRaw(requestParameters: SaveCasePlanUsingPOSTRequest): Promise<runtime.ApiResponse<void>>;
168
+ saveCasePaymentPlanUsingPOSTRaw(requestParameters: SaveCasePaymentPlanUsingPOSTRequest): Promise<runtime.ApiResponse<void>>;
169
169
  /**
170
- * saveCasePlan
170
+ * saveCasePaymentPlan
171
171
  */
172
- saveCasePlanUsingPOST(requestParameters: SaveCasePlanUsingPOSTRequest): Promise<void>;
172
+ saveCasePaymentPlanUsingPOST(requestParameters: SaveCasePaymentPlanUsingPOSTRequest): Promise<void>;
173
173
  /**
174
174
  * scheduleNewPayment
175
175
  */
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { AuthorizeChargeForCasePaymentRequestToJSON, AuthorizeChargeForCasePaymentResponseFromJSON, CaptureChargeFromCasePaymentRequestToJSON, GetAvailablePaymentPlansResponseFromJSON, GetCasePaymentsResponseFromJSON, GetStripeChargeResponseFromJSON, GetStripeChargesResponseFromJSON, ListCostItemsForCustomerResponseFromJSON, SaveCasePlanRequestToJSON, ScheduleNewPaymentRequestToJSON, UpdateCasePaymentRequestToJSON, UpdatePaymentDueDateRequestToJSON, } from '../models';
24
+ import { AuthorizeChargeForCasePaymentRequestToJSON, AuthorizeChargeForCasePaymentResponseFromJSON, CaptureChargeFromCasePaymentRequestToJSON, GetAvailablePaymentPlansResponseFromJSON, GetCasePaymentsResponseFromJSON, GetStripeChargeResponseFromJSON, GetStripeChargesResponseFromJSON, ListCostItemsForCustomerResponseFromJSON, ScheduleNewPaymentRequestToJSON, UpdateCasePaymentRequestToJSON, UpdatePaymentDueDateRequestToJSON, } from '../models';
25
25
  /**
26
26
  *
27
27
  */
@@ -364,18 +364,15 @@ export class CasePaymentControllerApi extends runtime.BaseAPI {
364
364
  });
365
365
  }
366
366
  /**
367
- * saveCasePlan
367
+ * saveCasePaymentPlan
368
368
  */
369
- saveCasePlanUsingPOSTRaw(requestParameters) {
369
+ saveCasePaymentPlanUsingPOSTRaw(requestParameters) {
370
370
  return __awaiter(this, void 0, void 0, function* () {
371
371
  if (requestParameters.caseId === null || requestParameters.caseId === undefined) {
372
- throw new runtime.RequiredError('caseId', 'Required parameter requestParameters.caseId was null or undefined when calling saveCasePlanUsingPOST.');
372
+ throw new runtime.RequiredError('caseId', 'Required parameter requestParameters.caseId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
373
373
  }
374
374
  if (requestParameters.paymentPlanTypeId === null || requestParameters.paymentPlanTypeId === undefined) {
375
- throw new runtime.RequiredError('paymentPlanTypeId', 'Required parameter requestParameters.paymentPlanTypeId was null or undefined when calling saveCasePlanUsingPOST.');
376
- }
377
- if (requestParameters.request === null || requestParameters.request === undefined) {
378
- throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling saveCasePlanUsingPOST.');
375
+ throw new runtime.RequiredError('paymentPlanTypeId', 'Required parameter requestParameters.paymentPlanTypeId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
379
376
  }
380
377
  const queryParameters = {};
381
378
  const headerParameters = {};
@@ -385,17 +382,17 @@ export class CasePaymentControllerApi extends runtime.BaseAPI {
385
382
  method: 'POST',
386
383
  headers: headerParameters,
387
384
  query: queryParameters,
388
- body: SaveCasePlanRequestToJSON(requestParameters.request),
385
+ body: requestParameters.request,
389
386
  });
390
387
  return new runtime.VoidApiResponse(response);
391
388
  });
392
389
  }
393
390
  /**
394
- * saveCasePlan
391
+ * saveCasePaymentPlan
395
392
  */
396
- saveCasePlanUsingPOST(requestParameters) {
393
+ saveCasePaymentPlanUsingPOST(requestParameters) {
397
394
  return __awaiter(this, void 0, void 0, function* () {
398
- yield this.saveCasePlanUsingPOSTRaw(requestParameters);
395
+ yield this.saveCasePaymentPlanUsingPOSTRaw(requestParameters);
399
396
  });
400
397
  }
401
398
  /**
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { CancelBillingSubscriptionResponse, CreateBillingSubscriptionRequest, CreateBillingSubscriptionResponse, ListBillingProductsResponse, ListBillingSubscriptionsResponse, ListSubscriptionInvoicesResponse } from '../models';
13
+ import { CancelBillingSubscriptionResponse, CreateBillingSubscriptionRequest, CreateBillingSubscriptionResponse, ListBillingProductsResponse, ListBillingSubscriptionsResponse, ListSubscriptionInvoicesResponse, SaveBillingProductOptionRequest } from '../models';
14
14
  export interface CancelBillingSubscriptionUsingDELETERequest {
15
15
  id: string;
16
16
  userId: string;
@@ -35,6 +35,11 @@ export interface ListSubscriptionInvoicesUsingGETRequest {
35
35
  userId: number;
36
36
  limit?: number;
37
37
  }
38
+ export interface SaveBillingProductOptionUsingPOSTRequest {
39
+ caseId: string;
40
+ productId: string;
41
+ request: SaveBillingProductOptionRequest;
42
+ }
38
43
  /**
39
44
  *
40
45
  */
@@ -79,4 +84,12 @@ export declare class RecurringBillingControllerApi extends runtime.BaseAPI {
79
84
  * listSubscriptionInvoices
80
85
  */
81
86
  listSubscriptionInvoicesUsingGET(requestParameters: ListSubscriptionInvoicesUsingGETRequest): Promise<ListSubscriptionInvoicesResponse>;
87
+ /**
88
+ * saveBillingProductOption
89
+ */
90
+ saveBillingProductOptionUsingPOSTRaw(requestParameters: SaveBillingProductOptionUsingPOSTRequest): Promise<runtime.ApiResponse<void>>;
91
+ /**
92
+ * saveBillingProductOption
93
+ */
94
+ saveBillingProductOptionUsingPOST(requestParameters: SaveBillingProductOptionUsingPOSTRequest): Promise<void>;
82
95
  }
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { CancelBillingSubscriptionResponseFromJSON, CreateBillingSubscriptionRequestToJSON, CreateBillingSubscriptionResponseFromJSON, ListBillingProductsResponseFromJSON, ListBillingSubscriptionsResponseFromJSON, ListSubscriptionInvoicesResponseFromJSON, } from '../models';
24
+ import { CancelBillingSubscriptionResponseFromJSON, CreateBillingSubscriptionRequestToJSON, CreateBillingSubscriptionResponseFromJSON, ListBillingProductsResponseFromJSON, ListBillingSubscriptionsResponseFromJSON, ListSubscriptionInvoicesResponseFromJSON, SaveBillingProductOptionRequestToJSON, } from '../models';
25
25
  /**
26
26
  *
27
27
  */
@@ -195,4 +195,39 @@ export class RecurringBillingControllerApi extends runtime.BaseAPI {
195
195
  return yield response.value();
196
196
  });
197
197
  }
198
+ /**
199
+ * saveBillingProductOption
200
+ */
201
+ saveBillingProductOptionUsingPOSTRaw(requestParameters) {
202
+ return __awaiter(this, void 0, void 0, function* () {
203
+ if (requestParameters.caseId === null || requestParameters.caseId === undefined) {
204
+ throw new runtime.RequiredError('caseId', 'Required parameter requestParameters.caseId was null or undefined when calling saveBillingProductOptionUsingPOST.');
205
+ }
206
+ if (requestParameters.productId === null || requestParameters.productId === undefined) {
207
+ throw new runtime.RequiredError('productId', 'Required parameter requestParameters.productId was null or undefined when calling saveBillingProductOptionUsingPOST.');
208
+ }
209
+ if (requestParameters.request === null || requestParameters.request === undefined) {
210
+ throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling saveBillingProductOptionUsingPOST.');
211
+ }
212
+ const queryParameters = {};
213
+ const headerParameters = {};
214
+ headerParameters['Content-Type'] = 'application/json';
215
+ const response = yield this.request({
216
+ path: `/api/v1/billing/cases/{caseId}/products/{productId}`.replace(`{${"caseId"}}`, encodeURIComponent(String(requestParameters.caseId))).replace(`{${"productId"}}`, encodeURIComponent(String(requestParameters.productId))),
217
+ method: 'POST',
218
+ headers: headerParameters,
219
+ query: queryParameters,
220
+ body: SaveBillingProductOptionRequestToJSON(requestParameters.request),
221
+ });
222
+ return new runtime.VoidApiResponse(response);
223
+ });
224
+ }
225
+ /**
226
+ * saveBillingProductOption
227
+ */
228
+ saveBillingProductOptionUsingPOST(requestParameters) {
229
+ return __awaiter(this, void 0, void 0, function* () {
230
+ yield this.saveBillingProductOptionUsingPOSTRaw(requestParameters);
231
+ });
232
+ }
198
233
  }
@@ -16,6 +16,12 @@ import { WorkflowFinancials, WorkflowLineItemModel } from './';
16
16
  * @interface LegalServiceModel
17
17
  */
18
18
  export interface LegalServiceModel {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof LegalServiceModel
23
+ */
24
+ algoName?: string;
19
25
  /**
20
26
  *
21
27
  * @type {number}
@@ -94,6 +100,12 @@ export interface LegalServiceModel {
94
100
  * @memberof LegalServiceModel
95
101
  */
96
102
  obfuscatedPictureUrl?: string;
103
+ /**
104
+ *
105
+ * @type {string}
106
+ * @memberof LegalServiceModel
107
+ */
108
+ predeterminedLawfirmName?: string;
97
109
  /**
98
110
  *
99
111
  * @type {string}
@@ -21,6 +21,7 @@ export function LegalServiceModelFromJSONTyped(json, ignoreDiscriminator) {
21
21
  return json;
22
22
  }
23
23
  return {
24
+ 'algoName': !exists(json, 'algoName') ? undefined : json['algoName'],
24
25
  'chanceOfSuccess': !exists(json, 'chanceOfSuccess') ? undefined : json['chanceOfSuccess'],
25
26
  'financials': !exists(json, 'financials') ? undefined : WorkflowFinancialsFromJSON(json['financials']),
26
27
  'isSelected': !exists(json, 'isSelected') ? undefined : json['isSelected'],
@@ -34,6 +35,7 @@ export function LegalServiceModelFromJSONTyped(json, ignoreDiscriminator) {
34
35
  'lineItems': !exists(json, 'lineItems') ? undefined : (json['lineItems'].map(WorkflowLineItemModelFromJSON)),
35
36
  'matchExpirationDateUtc': !exists(json, 'matchExpirationDateUtc') ? undefined : (new Date(json['matchExpirationDateUtc'])),
36
37
  'obfuscatedPictureUrl': !exists(json, 'obfuscatedPictureUrl') ? undefined : json['obfuscatedPictureUrl'],
38
+ 'predeterminedLawfirmName': !exists(json, 'predeterminedLawfirmName') ? undefined : json['predeterminedLawfirmName'],
37
39
  'profilePictureUrl': !exists(json, 'profilePictureUrl') ? undefined : json['profilePictureUrl'],
38
40
  'refundEligibility': !exists(json, 'refundEligibility') ? undefined : json['refundEligibility'],
39
41
  'refundMessage': !exists(json, 'refundMessage') ? undefined : json['refundMessage'],
@@ -49,6 +51,7 @@ export function LegalServiceModelToJSON(value) {
49
51
  return null;
50
52
  }
51
53
  return {
54
+ 'algoName': value.algoName,
52
55
  'chanceOfSuccess': value.chanceOfSuccess,
53
56
  'financials': WorkflowFinancialsToJSON(value.financials),
54
57
  'isSelected': value.isSelected,
@@ -62,6 +65,7 @@ export function LegalServiceModelToJSON(value) {
62
65
  'lineItems': value.lineItems === undefined ? undefined : (value.lineItems.map(WorkflowLineItemModelToJSON)),
63
66
  'matchExpirationDateUtc': value.matchExpirationDateUtc === undefined ? undefined : (value.matchExpirationDateUtc.toISOString()),
64
67
  'obfuscatedPictureUrl': value.obfuscatedPictureUrl,
68
+ 'predeterminedLawfirmName': value.predeterminedLawfirmName,
65
69
  'profilePictureUrl': value.profilePictureUrl,
66
70
  'refundEligibility': value.refundEligibility,
67
71
  'refundMessage': value.refundMessage,
@@ -0,0 +1,38 @@
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
15
+ * @interface SaveBillingProductOptionRequest
16
+ */
17
+ export interface SaveBillingProductOptionRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SaveBillingProductOptionRequest
22
+ */
23
+ interval?: SaveBillingProductOptionRequestIntervalEnum;
24
+ }
25
+ export declare function SaveBillingProductOptionRequestFromJSON(json: any): SaveBillingProductOptionRequest;
26
+ export declare function SaveBillingProductOptionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveBillingProductOptionRequest;
27
+ export declare function SaveBillingProductOptionRequestToJSON(value?: SaveBillingProductOptionRequest | null): any;
28
+ /**
29
+ * @export
30
+ * @enum {string}
31
+ */
32
+ export declare enum SaveBillingProductOptionRequestIntervalEnum {
33
+ DAILY = "DAILY",
34
+ MONTHLY = "MONTHLY",
35
+ QUARTERLY = "QUARTERLY",
36
+ WEEKLY = "WEEKLY",
37
+ YEARLY = "YEARLY"
38
+ }
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OffTheRecord Rest Service API - Devo
5
+ * A service to handle your traffic tickets
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ export function SaveBillingProductOptionRequestFromJSON(json) {
16
+ return SaveBillingProductOptionRequestFromJSONTyped(json, false);
17
+ }
18
+ export function SaveBillingProductOptionRequestFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'interval': !exists(json, 'interval') ? undefined : json['interval'],
24
+ };
25
+ }
26
+ export function SaveBillingProductOptionRequestToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'interval': value.interval,
35
+ };
36
+ }
37
+ /**
38
+ * @export
39
+ * @enum {string}
40
+ */
41
+ export var SaveBillingProductOptionRequestIntervalEnum;
42
+ (function (SaveBillingProductOptionRequestIntervalEnum) {
43
+ SaveBillingProductOptionRequestIntervalEnum["DAILY"] = "DAILY";
44
+ SaveBillingProductOptionRequestIntervalEnum["MONTHLY"] = "MONTHLY";
45
+ SaveBillingProductOptionRequestIntervalEnum["QUARTERLY"] = "QUARTERLY";
46
+ SaveBillingProductOptionRequestIntervalEnum["WEEKLY"] = "WEEKLY";
47
+ SaveBillingProductOptionRequestIntervalEnum["YEARLY"] = "YEARLY";
48
+ })(SaveBillingProductOptionRequestIntervalEnum || (SaveBillingProductOptionRequestIntervalEnum = {}));
@@ -607,8 +607,8 @@ export * from './SNSNotificationRequest';
607
607
  export * from './SSLCertificateResponse';
608
608
  export * from './SaveAgentBookingRequest';
609
609
  export * from './SaveAgentBookingResponse';
610
+ export * from './SaveBillingProductOptionRequest';
610
611
  export * from './SaveCaseNotesRequest';
611
- export * from './SaveCasePlanRequest';
612
612
  export * from './SaveCaseUserRequest';
613
613
  export * from './SaveCoachingCardRequest';
614
614
  export * from './SaveCoachingCardUserRequest';
@@ -607,8 +607,8 @@ export * from './SNSNotificationRequest';
607
607
  export * from './SSLCertificateResponse';
608
608
  export * from './SaveAgentBookingRequest';
609
609
  export * from './SaveAgentBookingResponse';
610
+ export * from './SaveBillingProductOptionRequest';
610
611
  export * from './SaveCaseNotesRequest';
611
- export * from './SaveCasePlanRequest';
612
612
  export * from './SaveCaseUserRequest';
613
613
  export * from './SaveCoachingCardRequest';
614
614
  export * from './SaveCoachingCardUserRequest';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.4.85",
3
+ "version": "2.4.87",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"
@@ -1,44 +0,0 @@
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
15
- * @interface SaveCasePlanRequest
16
- */
17
- export interface SaveCasePlanRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof SaveCasePlanRequest
22
- */
23
- interval?: SaveCasePlanRequestIntervalEnum;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof SaveCasePlanRequest
28
- */
29
- productId?: string;
30
- }
31
- export declare function SaveCasePlanRequestFromJSON(json: any): SaveCasePlanRequest;
32
- export declare function SaveCasePlanRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveCasePlanRequest;
33
- export declare function SaveCasePlanRequestToJSON(value?: SaveCasePlanRequest | null): any;
34
- /**
35
- * @export
36
- * @enum {string}
37
- */
38
- export declare enum SaveCasePlanRequestIntervalEnum {
39
- DAILY = "DAILY",
40
- MONTHLY = "MONTHLY",
41
- QUARTERLY = "QUARTERLY",
42
- WEEKLY = "WEEKLY",
43
- YEARLY = "YEARLY"
44
- }
@@ -1,50 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * OffTheRecord Rest Service API - Devo
5
- * A service to handle your traffic tickets
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { exists } from '../runtime';
15
- export function SaveCasePlanRequestFromJSON(json) {
16
- return SaveCasePlanRequestFromJSONTyped(json, false);
17
- }
18
- export function SaveCasePlanRequestFromJSONTyped(json, ignoreDiscriminator) {
19
- if ((json === undefined) || (json === null)) {
20
- return json;
21
- }
22
- return {
23
- 'interval': !exists(json, 'interval') ? undefined : json['interval'],
24
- 'productId': !exists(json, 'productId') ? undefined : json['productId'],
25
- };
26
- }
27
- export function SaveCasePlanRequestToJSON(value) {
28
- if (value === undefined) {
29
- return undefined;
30
- }
31
- if (value === null) {
32
- return null;
33
- }
34
- return {
35
- 'interval': value.interval,
36
- 'productId': value.productId,
37
- };
38
- }
39
- /**
40
- * @export
41
- * @enum {string}
42
- */
43
- export var SaveCasePlanRequestIntervalEnum;
44
- (function (SaveCasePlanRequestIntervalEnum) {
45
- SaveCasePlanRequestIntervalEnum["DAILY"] = "DAILY";
46
- SaveCasePlanRequestIntervalEnum["MONTHLY"] = "MONTHLY";
47
- SaveCasePlanRequestIntervalEnum["QUARTERLY"] = "QUARTERLY";
48
- SaveCasePlanRequestIntervalEnum["WEEKLY"] = "WEEKLY";
49
- SaveCasePlanRequestIntervalEnum["YEARLY"] = "YEARLY";
50
- })(SaveCasePlanRequestIntervalEnum || (SaveCasePlanRequestIntervalEnum = {}));