@otr-app/shared-backend-generated-client 2.4.63 → 2.4.65

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 (54) hide show
  1. package/dist/angular/.openapi-generator/FILES +4 -0
  2. package/dist/angular/api/caseCounterOfferController.service.ts +17 -4
  3. package/dist/angular/model/acceptCaseCounterRequest.ts +17 -0
  4. package/dist/angular/model/getLastLoginResponse.ts +3 -0
  5. package/dist/angular/model/lastLoginAttributes.ts +18 -0
  6. package/dist/angular/model/lastLoginDateByUserAccount.ts +58 -0
  7. package/dist/angular/model/lastLoginItem.ts +46 -0
  8. package/dist/angular/model/models.ts +4 -0
  9. package/dist/angular/model/userAccountModel.ts +2 -0
  10. package/dist/angular/model/userDomain.ts +1 -0
  11. package/dist/angular/model/userDomainReq.ts +1 -0
  12. package/dist/angular/model/userDomainRes.ts +1 -0
  13. package/dist/otrBackendService.js +5 -0
  14. package/dist/otrBackendService.min.js +1 -1
  15. package/dist/typescript/api/CaseCounterOfferControllerApi.d.ts +2 -1
  16. package/dist/typescript/api/CaseCounterOfferControllerApi.js +3 -1
  17. package/dist/typescript/model/AcceptCaseCounterRequest.d.ts +14 -0
  18. package/dist/typescript/model/AcceptCaseCounterRequest.js +12 -0
  19. package/dist/typescript/model/GetLastLoginResponse.d.ts +2 -0
  20. package/dist/typescript/model/LastLoginAttributes.d.ts +15 -0
  21. package/dist/typescript/model/LastLoginAttributes.js +12 -0
  22. package/dist/typescript/model/LastLoginDateByUserAccount.d.ts +52 -0
  23. package/dist/typescript/model/LastLoginDateByUserAccount.js +49 -0
  24. package/dist/typescript/model/LastLoginItem.d.ts +41 -0
  25. package/dist/typescript/model/LastLoginItem.js +39 -0
  26. package/dist/typescript/model/UserAccountModel.d.ts +2 -0
  27. package/dist/typescript/model/UserDomain.d.ts +1 -0
  28. package/dist/typescript/model/UserDomainReq.d.ts +1 -0
  29. package/dist/typescript/model/UserDomainRes.d.ts +1 -0
  30. package/dist/typescript/model/models.d.ts +4 -0
  31. package/dist/typescript/model/models.js +4 -0
  32. package/dist/typescript-fetch/apis/CaseCounterOfferControllerApi.d.ts +2 -1
  33. package/dist/typescript-fetch/apis/CaseCounterOfferControllerApi.js +3 -1
  34. package/dist/typescript-fetch/models/AcceptCaseCounterRequest.d.ts +27 -0
  35. package/dist/typescript-fetch/models/AcceptCaseCounterRequest.js +35 -0
  36. package/dist/typescript-fetch/models/GetLastLoginResponse.d.ts +13 -1
  37. package/dist/typescript-fetch/models/GetLastLoginResponse.js +5 -1
  38. package/dist/typescript-fetch/models/LastLoginAttributes.d.ts +28 -0
  39. package/dist/typescript-fetch/models/LastLoginAttributes.js +37 -0
  40. package/dist/typescript-fetch/models/LastLoginDateByUserAccount.d.ts +86 -0
  41. package/dist/typescript-fetch/models/LastLoginDateByUserAccount.js +85 -0
  42. package/dist/typescript-fetch/models/LastLoginItem.d.ts +61 -0
  43. package/dist/typescript-fetch/models/LastLoginItem.js +67 -0
  44. package/dist/typescript-fetch/models/UserAccountModel.d.ts +7 -0
  45. package/dist/typescript-fetch/models/UserAccountModel.js +3 -0
  46. package/dist/typescript-fetch/models/UserDomain.d.ts +6 -0
  47. package/dist/typescript-fetch/models/UserDomain.js +2 -0
  48. package/dist/typescript-fetch/models/UserDomainReq.d.ts +6 -0
  49. package/dist/typescript-fetch/models/UserDomainReq.js +2 -0
  50. package/dist/typescript-fetch/models/UserDomainRes.d.ts +6 -0
  51. package/dist/typescript-fetch/models/UserDomainRes.js +2 -0
  52. package/dist/typescript-fetch/models/index.d.ts +4 -0
  53. package/dist/typescript-fetch/models/index.js +4 -0
  54. package/package.json +1 -1
@@ -122,6 +122,7 @@ configuration.ts
122
122
  encoder.ts
123
123
  git_push.sh
124
124
  index.ts
125
+ model/acceptCaseCounterRequest.ts
125
126
  model/accountLevelFee.ts
126
127
  model/accountLevelFeeRequest.ts
127
128
  model/accountLevelFeeResponse.ts
@@ -538,7 +539,10 @@ model/inviteHouseholdMateRequest.ts
538
539
  model/inviteLawyerToLawfirmRequest.ts
539
540
  model/isRefundEligibleResponse.ts
540
541
  model/isUserLoggedInResponse.ts
542
+ model/lastLoginAttributes.ts
543
+ model/lastLoginDateByUserAccount.ts
541
544
  model/lastLoginDateModel.ts
545
+ model/lastLoginItem.ts
542
546
  model/lawfirm.ts
543
547
  model/lawfirmAuditEventModel.ts
544
548
  model/lawfirmBankPayoutModel.ts
@@ -18,6 +18,8 @@ import { HttpClient, HttpHeaders, HttpParams,
18
18
  import { CustomHttpParameterCodec } from '../encoder';
19
19
  import { Observable } from 'rxjs';
20
20
 
21
+ // @ts-ignore
22
+ import { AcceptCaseCounterRequest } from '../model/acceptCaseCounterRequest';
21
23
  // @ts-ignore
22
24
  import { DeclineCaseCounterRequest } from '../model/declineCaseCounterRequest';
23
25
  // @ts-ignore
@@ -103,13 +105,14 @@ export class CaseCounterOfferControllerService {
103
105
  * acceptCaseCounter
104
106
  * @param caseId caseId
105
107
  * @param counterId counterId
108
+ * @param request request
106
109
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
107
110
  * @param reportProgress flag to report request and response progress.
108
111
  */
109
- public acceptCaseCounterUsingPUT(caseId: string, counterId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any>;
110
- public acceptCaseCounterUsingPUT(caseId: string, counterId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpResponse<any>>;
111
- public acceptCaseCounterUsingPUT(caseId: string, counterId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpEvent<any>>;
112
- public acceptCaseCounterUsingPUT(caseId: string, counterId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any> {
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> {
113
116
  if (caseId === null || caseId === undefined) {
114
117
  throw new Error('Required parameter caseId was null or undefined when calling acceptCaseCounterUsingPUT.');
115
118
  }
@@ -136,6 +139,15 @@ export class CaseCounterOfferControllerService {
136
139
  }
137
140
 
138
141
 
142
+ // to determine the Content-Type header
143
+ const consumes: string[] = [
144
+ 'application/json'
145
+ ];
146
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
147
+ if (httpContentTypeSelected !== undefined) {
148
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
149
+ }
150
+
139
151
  let responseType_: 'text' | 'json' | 'blob' = 'json';
140
152
  if (localVarHttpHeaderAcceptSelected) {
141
153
  if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
@@ -151,6 +163,7 @@ export class CaseCounterOfferControllerService {
151
163
  return this.httpClient.request<any>('put', `${this.configuration.basePath}${localVarPath}`,
152
164
  {
153
165
  context: localVarHttpContext,
166
+ body: request,
154
167
  responseType: <any>responseType_,
155
168
  withCredentials: this.configuration.withCredentials,
156
169
  headers: localVarHeaders,
@@ -0,0 +1,17 @@
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
+ cardId: string;
16
+ }
17
+
@@ -10,9 +10,12 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { LastLoginDateModel } from './lastLoginDateModel';
13
+ import { LastLoginDateByUserAccount } from './lastLoginDateByUserAccount';
13
14
 
14
15
 
15
16
  export interface GetLastLoginResponse {
17
+ lastLoginDateByUserAccount?: Array<LastLoginDateByUserAccount>;
16
18
  lastLoginDateModels?: Array<LastLoginDateModel>;
19
+ lastLoginDateUtc?: string;
17
20
  }
18
21
 
@@ -0,0 +1,18 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { LastLoginItem } from './lastLoginItem';
13
+
14
+
15
+ export interface LastLoginAttributes {
16
+ lastLoginItems?: Array<LastLoginItem>;
17
+ }
18
+
@@ -0,0 +1,58 @@
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 LastLoginDateByUserAccount {
15
+ clientType?: LastLoginDateByUserAccount.ClientTypeEnum;
16
+ loginDateUtc?: string;
17
+ socialLoginProvider?: LastLoginDateByUserAccount.SocialLoginProviderEnum;
18
+ userHandle?: string;
19
+ }
20
+ export namespace LastLoginDateByUserAccount {
21
+ export type ClientTypeEnum = 'ANDROID' | 'DESKTOP_WEBAPP' | 'DMV_GO' | 'DMV_ORG' | 'EMAIL' | 'FRESH_DESK' | 'IOS' | 'LOCALHOST' | 'MOBILE_WEBAPP' | 'OTR_ADMIN_CONSOLE' | 'OTR_ADMIN_CONSOLE_DEVO' | 'OTR_ADMIN_CONSOLE_LOCALHOST' | 'OTR_EXPLORER' | 'OTR_JOB_SCHEDULER' | 'OTR_LAWFIRM_PORTAL' | 'OTR_LAWFIRM_PORTAL_DEVO' | 'OTR_LAWFIRM_PORTAL_LOCALHOST' | 'OTR_WEBSITE' | 'OTR_WEBSITE_DEVO' | 'OTR_WEBSITE_LOCALHOST' | 'OTR_WIDGET' | 'UNKNOWN';
22
+ export const ClientTypeEnum = {
23
+ Android: 'ANDROID' as ClientTypeEnum,
24
+ DesktopWebapp: 'DESKTOP_WEBAPP' as ClientTypeEnum,
25
+ DmvGo: 'DMV_GO' as ClientTypeEnum,
26
+ DmvOrg: 'DMV_ORG' as ClientTypeEnum,
27
+ Email: 'EMAIL' as ClientTypeEnum,
28
+ FreshDesk: 'FRESH_DESK' as ClientTypeEnum,
29
+ Ios: 'IOS' as ClientTypeEnum,
30
+ Localhost: 'LOCALHOST' as ClientTypeEnum,
31
+ MobileWebapp: 'MOBILE_WEBAPP' as ClientTypeEnum,
32
+ OtrAdminConsole: 'OTR_ADMIN_CONSOLE' as ClientTypeEnum,
33
+ OtrAdminConsoleDevo: 'OTR_ADMIN_CONSOLE_DEVO' as ClientTypeEnum,
34
+ OtrAdminConsoleLocalhost: 'OTR_ADMIN_CONSOLE_LOCALHOST' as ClientTypeEnum,
35
+ OtrExplorer: 'OTR_EXPLORER' as ClientTypeEnum,
36
+ OtrJobScheduler: 'OTR_JOB_SCHEDULER' as ClientTypeEnum,
37
+ OtrLawfirmPortal: 'OTR_LAWFIRM_PORTAL' as ClientTypeEnum,
38
+ OtrLawfirmPortalDevo: 'OTR_LAWFIRM_PORTAL_DEVO' as ClientTypeEnum,
39
+ OtrLawfirmPortalLocalhost: 'OTR_LAWFIRM_PORTAL_LOCALHOST' as ClientTypeEnum,
40
+ OtrWebsite: 'OTR_WEBSITE' as ClientTypeEnum,
41
+ OtrWebsiteDevo: 'OTR_WEBSITE_DEVO' as ClientTypeEnum,
42
+ OtrWebsiteLocalhost: 'OTR_WEBSITE_LOCALHOST' as ClientTypeEnum,
43
+ OtrWidget: 'OTR_WIDGET' as ClientTypeEnum,
44
+ Unknown: 'UNKNOWN' as ClientTypeEnum
45
+ };
46
+ export type SocialLoginProviderEnum = 'APPLE' | 'EMAIL' | 'FACEBOOK' | 'GOOGLE' | 'PHONE' | 'TWITTER' | 'UNKNOWN';
47
+ export const SocialLoginProviderEnum = {
48
+ Apple: 'APPLE' as SocialLoginProviderEnum,
49
+ Email: 'EMAIL' as SocialLoginProviderEnum,
50
+ Facebook: 'FACEBOOK' as SocialLoginProviderEnum,
51
+ Google: 'GOOGLE' as SocialLoginProviderEnum,
52
+ Phone: 'PHONE' as SocialLoginProviderEnum,
53
+ Twitter: 'TWITTER' as SocialLoginProviderEnum,
54
+ Unknown: 'UNKNOWN' as SocialLoginProviderEnum
55
+ };
56
+ }
57
+
58
+
@@ -0,0 +1,46 @@
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 LastLoginItem {
15
+ clientType?: LastLoginItem.ClientTypeEnum;
16
+ lastLoginDateUtc?: string;
17
+ }
18
+ export namespace LastLoginItem {
19
+ export type ClientTypeEnum = 'ANDROID' | 'DESKTOP_WEBAPP' | 'DMV_GO' | 'DMV_ORG' | 'EMAIL' | 'FRESH_DESK' | 'IOS' | 'LOCALHOST' | 'MOBILE_WEBAPP' | 'OTR_ADMIN_CONSOLE' | 'OTR_ADMIN_CONSOLE_DEVO' | 'OTR_ADMIN_CONSOLE_LOCALHOST' | 'OTR_EXPLORER' | 'OTR_JOB_SCHEDULER' | 'OTR_LAWFIRM_PORTAL' | 'OTR_LAWFIRM_PORTAL_DEVO' | 'OTR_LAWFIRM_PORTAL_LOCALHOST' | 'OTR_WEBSITE' | 'OTR_WEBSITE_DEVO' | 'OTR_WEBSITE_LOCALHOST' | 'OTR_WIDGET' | 'UNKNOWN';
20
+ export const ClientTypeEnum = {
21
+ Android: 'ANDROID' as ClientTypeEnum,
22
+ DesktopWebapp: 'DESKTOP_WEBAPP' as ClientTypeEnum,
23
+ DmvGo: 'DMV_GO' as ClientTypeEnum,
24
+ DmvOrg: 'DMV_ORG' as ClientTypeEnum,
25
+ Email: 'EMAIL' as ClientTypeEnum,
26
+ FreshDesk: 'FRESH_DESK' as ClientTypeEnum,
27
+ Ios: 'IOS' as ClientTypeEnum,
28
+ Localhost: 'LOCALHOST' as ClientTypeEnum,
29
+ MobileWebapp: 'MOBILE_WEBAPP' as ClientTypeEnum,
30
+ OtrAdminConsole: 'OTR_ADMIN_CONSOLE' as ClientTypeEnum,
31
+ OtrAdminConsoleDevo: 'OTR_ADMIN_CONSOLE_DEVO' as ClientTypeEnum,
32
+ OtrAdminConsoleLocalhost: 'OTR_ADMIN_CONSOLE_LOCALHOST' as ClientTypeEnum,
33
+ OtrExplorer: 'OTR_EXPLORER' as ClientTypeEnum,
34
+ OtrJobScheduler: 'OTR_JOB_SCHEDULER' as ClientTypeEnum,
35
+ OtrLawfirmPortal: 'OTR_LAWFIRM_PORTAL' as ClientTypeEnum,
36
+ OtrLawfirmPortalDevo: 'OTR_LAWFIRM_PORTAL_DEVO' as ClientTypeEnum,
37
+ OtrLawfirmPortalLocalhost: 'OTR_LAWFIRM_PORTAL_LOCALHOST' as ClientTypeEnum,
38
+ OtrWebsite: 'OTR_WEBSITE' as ClientTypeEnum,
39
+ OtrWebsiteDevo: 'OTR_WEBSITE_DEVO' as ClientTypeEnum,
40
+ OtrWebsiteLocalhost: 'OTR_WEBSITE_LOCALHOST' as ClientTypeEnum,
41
+ OtrWidget: 'OTR_WIDGET' as ClientTypeEnum,
42
+ Unknown: 'UNKNOWN' as ClientTypeEnum
43
+ };
44
+ }
45
+
46
+
@@ -1,3 +1,4 @@
1
+ export * from './acceptCaseCounterRequest';
1
2
  export * from './accountLevelFee';
2
3
  export * from './accountLevelFeeRequest';
3
4
  export * from './accountLevelFeeResponse';
@@ -414,7 +415,10 @@ export * from './inviteHouseholdMateRequest';
414
415
  export * from './inviteLawyerToLawfirmRequest';
415
416
  export * from './isRefundEligibleResponse';
416
417
  export * from './isUserLoggedInResponse';
418
+ export * from './lastLoginAttributes';
419
+ export * from './lastLoginDateByUserAccount';
417
420
  export * from './lastLoginDateModel';
421
+ export * from './lastLoginItem';
418
422
  export * from './lawfirm';
419
423
  export * from './lawfirmAuditEventModel';
420
424
  export * from './lawfirmBankPayoutModel';
@@ -9,11 +9,13 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { LastLoginAttributes } from './lastLoginAttributes';
12
13
 
13
14
 
14
15
  export interface UserAccountModel {
15
16
  accountCreationDateUtc?: string;
16
17
  formerUserId?: number;
18
+ lastLoginAttributes?: LastLoginAttributes;
17
19
  loginProvider?: UserAccountModel.LoginProviderEnum;
18
20
  merged?: boolean;
19
21
  primary?: boolean;
@@ -41,6 +41,7 @@ export interface UserDomain {
41
41
  isPaymentPlansAllowed?: boolean;
42
42
  isTestUser?: boolean;
43
43
  isUnsubscribed?: boolean;
44
+ lastLoginDateUtc?: string;
44
45
  lastname?: string;
45
46
  lawfirmId?: number;
46
47
  lawyerJobTitle?: UserDomain.LawyerJobTitleEnum;
@@ -40,6 +40,7 @@ export interface UserDomainReq {
40
40
  isPaymentPlansAllowed?: boolean;
41
41
  isTestUser?: boolean;
42
42
  isUnsubscribed?: boolean;
43
+ lastLoginDateUtc?: string;
43
44
  lastname?: string;
44
45
  lawfirmId?: number;
45
46
  lawyerJobTitle?: UserDomainReq.LawyerJobTitleEnum;
@@ -41,6 +41,7 @@ export interface UserDomainRes {
41
41
  isPaymentPlansAllowed?: boolean;
42
42
  isTestUser?: boolean;
43
43
  isUnsubscribed?: boolean;
44
+ lastLoginDateUtc?: string;
44
45
  lastname?: string;
45
46
  lawfirmId?: number;
46
47
  lawyerJobTitle?: UserDomainRes.LawyerJobTitleEnum;
@@ -2106,6 +2106,7 @@ angular.module('otrBackendService', [])
2106
2106
  * @param {object} parameters - method options and parameters
2107
2107
  * @param {string} parameters.caseId - caseId
2108
2108
  * @param {integer} parameters.counterId - counterId
2109
+ * @param {} parameters.request - request
2109
2110
  */
2110
2111
  OtrService.prototype.acceptCaseCounterUsingPUT = function(parameters) {
2111
2112
  if (parameters === undefined) {
@@ -2136,6 +2137,10 @@ angular.module('otrBackendService', [])
2136
2137
  return deferred.promise;
2137
2138
  }
2138
2139
 
2140
+ if (parameters['request'] !== undefined) {
2141
+ body = parameters['request'];
2142
+ }
2143
+
2139
2144
  queryParameters = mergeQueryParams(parameters, queryParameters);
2140
2145
 
2141
2146
  this.request('PUT', domain + path, parameters, body, headers, queryParameters, form, deferred);