@otr-app/shared-backend-generated-client 2.4.97 → 2.4.98

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.
@@ -833,6 +833,7 @@ model/subscriptionDiscountEligibility.ts
833
833
  model/subscriptionDiscountEligibilityReq.ts
834
834
  model/subscriptionDiscountEligibilityRes.ts
835
835
  model/subscriptionGuardianModel.ts
836
+ model/supportedStateModel.ts
836
837
  model/syncStripeChargesRequest.ts
837
838
  model/syncStripeChargesResponse.ts
838
839
  model/syncStripeDisputeResponse.ts
@@ -968,24 +968,17 @@ export class LawfirmControllerService {
968
968
  /**
969
969
  * getLawfirm
970
970
  * @param lawfirmIdString lawfirmIdString
971
- * @param isDetailsRequired isDetailsRequired
972
971
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
973
972
  * @param reportProgress flag to report request and response progress.
974
973
  */
975
- public getLawfirmUsingGET(lawfirmIdString: string, isDetailsRequired?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetLawfirmResponse>;
976
- public getLawfirmUsingGET(lawfirmIdString: string, isDetailsRequired?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetLawfirmResponse>>;
977
- public getLawfirmUsingGET(lawfirmIdString: string, isDetailsRequired?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetLawfirmResponse>>;
978
- public getLawfirmUsingGET(lawfirmIdString: string, isDetailsRequired?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
974
+ public getLawfirmUsingGET(lawfirmIdString: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetLawfirmResponse>;
975
+ public getLawfirmUsingGET(lawfirmIdString: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetLawfirmResponse>>;
976
+ public getLawfirmUsingGET(lawfirmIdString: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetLawfirmResponse>>;
977
+ public getLawfirmUsingGET(lawfirmIdString: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
979
978
  if (lawfirmIdString === null || lawfirmIdString === undefined) {
980
979
  throw new Error('Required parameter lawfirmIdString was null or undefined when calling getLawfirmUsingGET.');
981
980
  }
982
981
 
983
- let localVarQueryParameters = new HttpParams({encoder: this.encoder});
984
- if (isDetailsRequired !== undefined && isDetailsRequired !== null) {
985
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
986
- <any>isDetailsRequired, 'isDetailsRequired');
987
- }
988
-
989
982
  let localVarHeaders = this.defaultHeaders;
990
983
 
991
984
  let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
@@ -1021,7 +1014,6 @@ export class LawfirmControllerService {
1021
1014
  return this.httpClient.request<GetLawfirmResponse>('get', `${this.configuration.basePath}${localVarPath}`,
1022
1015
  {
1023
1016
  context: localVarHttpContext,
1024
- params: localVarQueryParameters,
1025
1017
  responseType: <any>responseType_,
1026
1018
  withCredentials: this.configuration.withCredentials,
1027
1019
  headers: localVarHeaders,
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { AddressDomain } from './addressDomain';
13
+ import { SupportedStateModel } from './supportedStateModel';
13
14
  import { LawfirmSettingsDomainRes } from './lawfirmSettingsDomainRes';
14
15
  import { LawfirmRedirectModel } from './lawfirmRedirectModel';
15
16
 
@@ -39,6 +40,7 @@ export interface GetLawfirmModel {
39
40
  redirects?: Array<LawfirmRedirectModel>;
40
41
  seoUrl?: string;
41
42
  settings?: LawfirmSettingsDomainRes;
43
+ supportedStateModels?: Array<SupportedStateModel>;
42
44
  supportedStates?: Array<GetLawfirmModel.SupportedStatesEnum>;
43
45
  tagLine?: string;
44
46
  website?: string;
@@ -708,6 +708,7 @@ export * from './subscriptionDiscountEligibility';
708
708
  export * from './subscriptionDiscountEligibilityReq';
709
709
  export * from './subscriptionDiscountEligibilityRes';
710
710
  export * from './subscriptionGuardianModel';
711
+ export * from './supportedStateModel';
711
712
  export * from './syncStripeChargesRequest';
712
713
  export * from './syncStripeChargesResponse';
713
714
  export * from './syncStripeDisputeResponse';
@@ -0,0 +1,75 @@
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 SupportedStateModel {
15
+ newAlgoEnabled?: boolean;
16
+ state?: SupportedStateModel.StateEnum;
17
+ }
18
+ export namespace SupportedStateModel {
19
+ export type StateEnum = 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY';
20
+ export const StateEnum = {
21
+ Ak: 'AK' as StateEnum,
22
+ Al: 'AL' as StateEnum,
23
+ Ar: 'AR' as StateEnum,
24
+ Az: 'AZ' as StateEnum,
25
+ Ca: 'CA' as StateEnum,
26
+ Co: 'CO' as StateEnum,
27
+ Ct: 'CT' as StateEnum,
28
+ Dc: 'DC' as StateEnum,
29
+ De: 'DE' as StateEnum,
30
+ Fl: 'FL' as StateEnum,
31
+ Ga: 'GA' as StateEnum,
32
+ Hi: 'HI' as StateEnum,
33
+ Ia: 'IA' as StateEnum,
34
+ Id: 'ID' as StateEnum,
35
+ Il: 'IL' as StateEnum,
36
+ In: 'IN' as StateEnum,
37
+ Ks: 'KS' as StateEnum,
38
+ Ky: 'KY' as StateEnum,
39
+ La: 'LA' as StateEnum,
40
+ Ma: 'MA' as StateEnum,
41
+ Md: 'MD' as StateEnum,
42
+ Me: 'ME' as StateEnum,
43
+ Mi: 'MI' as StateEnum,
44
+ Mn: 'MN' as StateEnum,
45
+ Mo: 'MO' as StateEnum,
46
+ Ms: 'MS' as StateEnum,
47
+ Mt: 'MT' as StateEnum,
48
+ Nc: 'NC' as StateEnum,
49
+ Nd: 'ND' as StateEnum,
50
+ Ne: 'NE' as StateEnum,
51
+ Nh: 'NH' as StateEnum,
52
+ Nj: 'NJ' as StateEnum,
53
+ Nm: 'NM' as StateEnum,
54
+ Nv: 'NV' as StateEnum,
55
+ Ny: 'NY' as StateEnum,
56
+ Oh: 'OH' as StateEnum,
57
+ Ok: 'OK' as StateEnum,
58
+ Or: 'OR' as StateEnum,
59
+ Pa: 'PA' as StateEnum,
60
+ Ri: 'RI' as StateEnum,
61
+ Sc: 'SC' as StateEnum,
62
+ Sd: 'SD' as StateEnum,
63
+ Tn: 'TN' as StateEnum,
64
+ Tx: 'TX' as StateEnum,
65
+ Ut: 'UT' as StateEnum,
66
+ Va: 'VA' as StateEnum,
67
+ Vt: 'VT' as StateEnum,
68
+ Wa: 'WA' as StateEnum,
69
+ Wi: 'WI' as StateEnum,
70
+ Wv: 'WV' as StateEnum,
71
+ Wy: 'WY' as StateEnum
72
+ };
73
+ }
74
+
75
+
@@ -9661,7 +9661,6 @@ angular.module('otrBackendService', [])
9661
9661
  * @method
9662
9662
  * @name OtrService#getLawfirmUsingGET
9663
9663
  * @param {object} parameters - method options and parameters
9664
- * @param {boolean} parameters.isDetailsRequired - isDetailsRequired
9665
9664
  * @param {string} parameters.lawfirmIdString - lawfirmIdString
9666
9665
  */
9667
9666
  OtrService.prototype.getLawfirmUsingGET = function(parameters) {
@@ -9678,10 +9677,6 @@ angular.module('otrBackendService', [])
9678
9677
 
9679
9678
  headers['Accept'] = ['*/*'];
9680
9679
 
9681
- if (parameters['isDetailsRequired'] !== undefined) {
9682
- queryParameters['isDetailsRequired'] = parameters['isDetailsRequired'];
9683
- }
9684
-
9685
9680
  path = path.replace('{lawfirmIdString}', parameters['lawfirmIdString']);
9686
9681
 
9687
9682
  if (parameters['lawfirmIdString'] === undefined) {