@otr-app/shared-backend-generated-client 2.4.53 → 2.4.55

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 (37) hide show
  1. package/dist/angular/.openapi-generator/FILES +2 -0
  2. package/dist/angular/api/userAccountController.service.ts +76 -0
  3. package/dist/angular/model/associateOAuthAccountRequest.ts +34 -0
  4. package/dist/angular/model/associateOAuthAccountResponse.ts +20 -0
  5. package/dist/angular/model/case.ts +1 -0
  6. package/dist/angular/model/listCaseBookingsRequest.ts +1 -0
  7. package/dist/angular/model/models.ts +2 -0
  8. package/dist/angular/model/validateDirectMailResponse.ts +2 -1
  9. package/dist/otrBackendService.js +45 -0
  10. package/dist/otrBackendService.min.js +2 -2
  11. package/dist/typescript/api/UserAccountControllerApi.d.ts +7 -0
  12. package/dist/typescript/api/UserAccountControllerApi.js +31 -0
  13. package/dist/typescript/model/AssociateOAuthAccountRequest.d.ts +29 -0
  14. package/dist/typescript/model/AssociateOAuthAccountRequest.js +24 -0
  15. package/dist/typescript/model/AssociateOAuthAccountResponse.d.ts +17 -0
  16. package/dist/typescript/model/AssociateOAuthAccountResponse.js +12 -0
  17. package/dist/typescript/model/Case.d.ts +1 -0
  18. package/dist/typescript/model/ListCaseBookingsRequest.d.ts +1 -0
  19. package/dist/typescript/model/ValidateDirectMailResponse.d.ts +1 -0
  20. package/dist/typescript/model/ValidateDirectMailResponse.js +1 -0
  21. package/dist/typescript/model/models.d.ts +2 -0
  22. package/dist/typescript/model/models.js +2 -0
  23. package/dist/typescript-fetch/apis/UserAccountControllerApi.d.ts +13 -1
  24. package/dist/typescript-fetch/apis/UserAccountControllerApi.js +34 -1
  25. package/dist/typescript-fetch/models/AssociateOAuthAccountRequest.d.ts +64 -0
  26. package/dist/typescript-fetch/models/AssociateOAuthAccountRequest.js +58 -0
  27. package/dist/typescript-fetch/models/AssociateOAuthAccountResponse.d.ts +45 -0
  28. package/dist/typescript-fetch/models/AssociateOAuthAccountResponse.js +42 -0
  29. package/dist/typescript-fetch/models/Case.d.ts +6 -0
  30. package/dist/typescript-fetch/models/Case.js +2 -0
  31. package/dist/typescript-fetch/models/ListCaseBookingsRequest.d.ts +6 -0
  32. package/dist/typescript-fetch/models/ListCaseBookingsRequest.js +2 -0
  33. package/dist/typescript-fetch/models/ValidateDirectMailResponse.d.ts +1 -0
  34. package/dist/typescript-fetch/models/ValidateDirectMailResponse.js +1 -0
  35. package/dist/typescript-fetch/models/index.d.ts +2 -0
  36. package/dist/typescript-fetch/models/index.js +2 -0
  37. package/package.json +1 -1
@@ -51,6 +51,37 @@ export class UserAccountControllerApi {
51
51
  }
52
52
  return this.$http(httpRequestParams);
53
53
  }
54
+ /**
55
+ *
56
+ * @summary associateOAuthAccount
57
+ * @param userId userId
58
+ * @param request request
59
+ */
60
+ associateOAuthAccountUsingPOST(userId, request, extraHttpRequestParams) {
61
+ const localVarPath = this.basePath + '/api/v1/users/{userId}/accounts/associate-oauth'
62
+ .replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
63
+ let queryParameters = {};
64
+ let headerParams = Object.assign({}, this.defaultHeaders);
65
+ // verify required parameter 'userId' is not null or undefined
66
+ if (userId === null || userId === undefined) {
67
+ throw new Error('Required parameter userId was null or undefined when calling associateOAuthAccountUsingPOST.');
68
+ }
69
+ // verify required parameter 'request' is not null or undefined
70
+ if (request === null || request === undefined) {
71
+ throw new Error('Required parameter request was null or undefined when calling associateOAuthAccountUsingPOST.');
72
+ }
73
+ let httpRequestParams = {
74
+ method: 'POST',
75
+ url: localVarPath,
76
+ data: request,
77
+ params: queryParameters,
78
+ headers: headerParams
79
+ };
80
+ if (extraHttpRequestParams) {
81
+ httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
82
+ }
83
+ return this.$http(httpRequestParams);
84
+ }
54
85
  /**
55
86
  *
56
87
  * @summary removeAdditionalUserHandle
@@ -0,0 +1,29 @@
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 AssociateOAuthAccountRequest {
13
+ "authCode"?: string;
14
+ "firstName"?: string;
15
+ "lastName"?: string;
16
+ "loginProvider": AssociateOAuthAccountRequest.LoginProviderEnum;
17
+ "providerToken": string;
18
+ }
19
+ export declare namespace AssociateOAuthAccountRequest {
20
+ enum LoginProviderEnum {
21
+ APPLE,
22
+ EMAIL,
23
+ FACEBOOK,
24
+ GOOGLE,
25
+ PHONE,
26
+ TWITTER,
27
+ UNKNOWN
28
+ }
29
+ }
@@ -0,0 +1,24 @@
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 AssociateOAuthAccountRequest;
13
+ (function (AssociateOAuthAccountRequest) {
14
+ let LoginProviderEnum;
15
+ (function (LoginProviderEnum) {
16
+ LoginProviderEnum[LoginProviderEnum["APPLE"] = 'APPLE'] = "APPLE";
17
+ LoginProviderEnum[LoginProviderEnum["EMAIL"] = 'EMAIL'] = "EMAIL";
18
+ LoginProviderEnum[LoginProviderEnum["FACEBOOK"] = 'FACEBOOK'] = "FACEBOOK";
19
+ LoginProviderEnum[LoginProviderEnum["GOOGLE"] = 'GOOGLE'] = "GOOGLE";
20
+ LoginProviderEnum[LoginProviderEnum["PHONE"] = 'PHONE'] = "PHONE";
21
+ LoginProviderEnum[LoginProviderEnum["TWITTER"] = 'TWITTER'] = "TWITTER";
22
+ LoginProviderEnum[LoginProviderEnum["UNKNOWN"] = 'UNKNOWN'] = "UNKNOWN";
23
+ })(LoginProviderEnum = AssociateOAuthAccountRequest.LoginProviderEnum || (AssociateOAuthAccountRequest.LoginProviderEnum = {}));
24
+ })(AssociateOAuthAccountRequest || (AssociateOAuthAccountRequest = {}));
@@ -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
+ export interface AssociateOAuthAccountResponse {
13
+ "emailAddress"?: string;
14
+ "firstName"?: string;
15
+ "lastName"?: string;
16
+ "signedProfilePictureUrl"?: string;
17
+ }
@@ -0,0 +1,12 @@
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 {};
@@ -18,6 +18,7 @@ export interface Case {
18
18
  "clientTotalCost"?: number;
19
19
  "dob"?: string;
20
20
  "gender"?: Case.GenderEnum;
21
+ "hasSubscriptionPlan"?: boolean;
21
22
  "lawfirmId"?: number;
22
23
  "lawfirmName"?: string;
23
24
  "numPayments"?: number;
@@ -13,6 +13,7 @@ export interface ListCaseBookingsRequest {
13
13
  "caseStatusFilter"?: Array<ListCaseBookingsRequest.CaseStatusFilterEnum>;
14
14
  "endDate"?: string;
15
15
  "genderFilterList"?: Array<ListCaseBookingsRequest.GenderFilterListEnum>;
16
+ "hasSubscriptionPlanFilter"?: boolean;
16
17
  "includeDataRecords"?: boolean;
17
18
  "lawfirmStringFilter"?: string;
18
19
  "length"?: number;
@@ -142,6 +142,7 @@ export declare namespace ValidateDirectMailResponse {
142
142
  INVALIDRESOLUTIONSTATUS,
143
143
  INVALIDREVIEWCOPY,
144
144
  INVALIDROLETYPE,
145
+ INVALIDSOCIALLOGINPROVIDER,
145
146
  INVALIDSTATE,
146
147
  INVALIDSTRIPEACCOUNT,
147
148
  INVALIDSTRIPECHARGEID,
@@ -141,6 +141,7 @@ export var ValidateDirectMailResponse;
141
141
  OtrErrorEnum[OtrErrorEnum["INVALIDRESOLUTIONSTATUS"] = 'INVALID_RESOLUTION_STATUS'] = "INVALIDRESOLUTIONSTATUS";
142
142
  OtrErrorEnum[OtrErrorEnum["INVALIDREVIEWCOPY"] = 'INVALID_REVIEW_COPY'] = "INVALIDREVIEWCOPY";
143
143
  OtrErrorEnum[OtrErrorEnum["INVALIDROLETYPE"] = 'INVALID_ROLE_TYPE'] = "INVALIDROLETYPE";
144
+ OtrErrorEnum[OtrErrorEnum["INVALIDSOCIALLOGINPROVIDER"] = 'INVALID_SOCIAL_LOGIN_PROVIDER'] = "INVALIDSOCIALLOGINPROVIDER";
144
145
  OtrErrorEnum[OtrErrorEnum["INVALIDSTATE"] = 'INVALID_STATE'] = "INVALIDSTATE";
145
146
  OtrErrorEnum[OtrErrorEnum["INVALIDSTRIPEACCOUNT"] = 'INVALID_STRIPE_ACCOUNT'] = "INVALIDSTRIPEACCOUNT";
146
147
  OtrErrorEnum[OtrErrorEnum["INVALIDSTRIPECHARGEID"] = 'INVALID_STRIPE_CHARGE_ID'] = "INVALIDSTRIPECHARGEID";
@@ -45,6 +45,8 @@ export * from './AppEventCreateRequest';
45
45
  export * from './AppearanceAttorneyDomain';
46
46
  export * from './AppleLoginRequest';
47
47
  export * from './AssignCitationOwnerRequest';
48
+ export * from './AssociateOAuthAccountRequest';
49
+ export * from './AssociateOAuthAccountResponse';
48
50
  export * from './Attachment';
49
51
  export * from './AuditLog';
50
52
  export * from './Author';
@@ -45,6 +45,8 @@ export * from './AppEventCreateRequest';
45
45
  export * from './AppearanceAttorneyDomain';
46
46
  export * from './AppleLoginRequest';
47
47
  export * from './AssignCitationOwnerRequest';
48
+ export * from './AssociateOAuthAccountRequest';
49
+ export * from './AssociateOAuthAccountResponse';
48
50
  export * from './Attachment';
49
51
  export * from './AuditLog';
50
52
  export * from './Author';
@@ -10,11 +10,15 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { AddExtraAccountRequest } from '../models';
13
+ import { AddExtraAccountRequest, AssociateOAuthAccountRequest, AssociateOAuthAccountResponse } from '../models';
14
14
  export interface AddExtraAccountUsingPOSTRequest {
15
15
  userId: string;
16
16
  request: AddExtraAccountRequest;
17
17
  }
18
+ export interface AssociateOAuthAccountUsingPOSTRequest {
19
+ userId: number;
20
+ request: AssociateOAuthAccountRequest;
21
+ }
18
22
  export interface RemoveAdditionalUserHandleUsingDELETERequest {
19
23
  userHandle: string;
20
24
  userId: number;
@@ -35,6 +39,14 @@ export declare class UserAccountControllerApi extends runtime.BaseAPI {
35
39
  * addExtraAccount
36
40
  */
37
41
  addExtraAccountUsingPOST(requestParameters: AddExtraAccountUsingPOSTRequest): Promise<void>;
42
+ /**
43
+ * associateOAuthAccount
44
+ */
45
+ associateOAuthAccountUsingPOSTRaw(requestParameters: AssociateOAuthAccountUsingPOSTRequest): Promise<runtime.ApiResponse<AssociateOAuthAccountResponse>>;
46
+ /**
47
+ * associateOAuthAccount
48
+ */
49
+ associateOAuthAccountUsingPOST(requestParameters: AssociateOAuthAccountUsingPOSTRequest): Promise<AssociateOAuthAccountResponse>;
38
50
  /**
39
51
  * removeAdditionalUserHandle
40
52
  */
@@ -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 { AddExtraAccountRequestToJSON, } from '../models';
24
+ import { AddExtraAccountRequestToJSON, AssociateOAuthAccountRequestToJSON, AssociateOAuthAccountResponseFromJSON, } from '../models';
25
25
  /**
26
26
  *
27
27
  */
@@ -58,6 +58,39 @@ export class UserAccountControllerApi extends runtime.BaseAPI {
58
58
  yield this.addExtraAccountUsingPOSTRaw(requestParameters);
59
59
  });
60
60
  }
61
+ /**
62
+ * associateOAuthAccount
63
+ */
64
+ associateOAuthAccountUsingPOSTRaw(requestParameters) {
65
+ return __awaiter(this, void 0, void 0, function* () {
66
+ if (requestParameters.userId === null || requestParameters.userId === undefined) {
67
+ throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling associateOAuthAccountUsingPOST.');
68
+ }
69
+ if (requestParameters.request === null || requestParameters.request === undefined) {
70
+ throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling associateOAuthAccountUsingPOST.');
71
+ }
72
+ const queryParameters = {};
73
+ const headerParameters = {};
74
+ headerParameters['Content-Type'] = 'application/json';
75
+ const response = yield this.request({
76
+ path: `/api/v1/users/{userId}/accounts/associate-oauth`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters.userId))),
77
+ method: 'POST',
78
+ headers: headerParameters,
79
+ query: queryParameters,
80
+ body: AssociateOAuthAccountRequestToJSON(requestParameters.request),
81
+ });
82
+ return new runtime.JSONApiResponse(response, (jsonValue) => AssociateOAuthAccountResponseFromJSON(jsonValue));
83
+ });
84
+ }
85
+ /**
86
+ * associateOAuthAccount
87
+ */
88
+ associateOAuthAccountUsingPOST(requestParameters) {
89
+ return __awaiter(this, void 0, void 0, function* () {
90
+ const response = yield this.associateOAuthAccountUsingPOSTRaw(requestParameters);
91
+ return yield response.value();
92
+ });
93
+ }
61
94
  /**
62
95
  * removeAdditionalUserHandle
63
96
  */
@@ -0,0 +1,64 @@
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 AssociateOAuthAccountRequest
16
+ */
17
+ export interface AssociateOAuthAccountRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AssociateOAuthAccountRequest
22
+ */
23
+ authCode?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AssociateOAuthAccountRequest
28
+ */
29
+ firstName?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AssociateOAuthAccountRequest
34
+ */
35
+ lastName?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof AssociateOAuthAccountRequest
40
+ */
41
+ loginProvider: AssociateOAuthAccountRequestLoginProviderEnum;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof AssociateOAuthAccountRequest
46
+ */
47
+ providerToken: string;
48
+ }
49
+ export declare function AssociateOAuthAccountRequestFromJSON(json: any): AssociateOAuthAccountRequest;
50
+ export declare function AssociateOAuthAccountRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssociateOAuthAccountRequest;
51
+ export declare function AssociateOAuthAccountRequestToJSON(value?: AssociateOAuthAccountRequest | null): any;
52
+ /**
53
+ * @export
54
+ * @enum {string}
55
+ */
56
+ export declare enum AssociateOAuthAccountRequestLoginProviderEnum {
57
+ APPLE = "APPLE",
58
+ EMAIL = "EMAIL",
59
+ FACEBOOK = "FACEBOOK",
60
+ GOOGLE = "GOOGLE",
61
+ PHONE = "PHONE",
62
+ TWITTER = "TWITTER",
63
+ UNKNOWN = "UNKNOWN"
64
+ }
@@ -0,0 +1,58 @@
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 AssociateOAuthAccountRequestFromJSON(json) {
16
+ return AssociateOAuthAccountRequestFromJSONTyped(json, false);
17
+ }
18
+ export function AssociateOAuthAccountRequestFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'authCode': !exists(json, 'authCode') ? undefined : json['authCode'],
24
+ 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
25
+ 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
26
+ 'loginProvider': json['loginProvider'],
27
+ 'providerToken': json['providerToken'],
28
+ };
29
+ }
30
+ export function AssociateOAuthAccountRequestToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'authCode': value.authCode,
39
+ 'firstName': value.firstName,
40
+ 'lastName': value.lastName,
41
+ 'loginProvider': value.loginProvider,
42
+ 'providerToken': value.providerToken,
43
+ };
44
+ }
45
+ /**
46
+ * @export
47
+ * @enum {string}
48
+ */
49
+ export var AssociateOAuthAccountRequestLoginProviderEnum;
50
+ (function (AssociateOAuthAccountRequestLoginProviderEnum) {
51
+ AssociateOAuthAccountRequestLoginProviderEnum["APPLE"] = "APPLE";
52
+ AssociateOAuthAccountRequestLoginProviderEnum["EMAIL"] = "EMAIL";
53
+ AssociateOAuthAccountRequestLoginProviderEnum["FACEBOOK"] = "FACEBOOK";
54
+ AssociateOAuthAccountRequestLoginProviderEnum["GOOGLE"] = "GOOGLE";
55
+ AssociateOAuthAccountRequestLoginProviderEnum["PHONE"] = "PHONE";
56
+ AssociateOAuthAccountRequestLoginProviderEnum["TWITTER"] = "TWITTER";
57
+ AssociateOAuthAccountRequestLoginProviderEnum["UNKNOWN"] = "UNKNOWN";
58
+ })(AssociateOAuthAccountRequestLoginProviderEnum || (AssociateOAuthAccountRequestLoginProviderEnum = {}));
@@ -0,0 +1,45 @@
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 AssociateOAuthAccountResponse
16
+ */
17
+ export interface AssociateOAuthAccountResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AssociateOAuthAccountResponse
22
+ */
23
+ emailAddress?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AssociateOAuthAccountResponse
28
+ */
29
+ firstName?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AssociateOAuthAccountResponse
34
+ */
35
+ lastName?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof AssociateOAuthAccountResponse
40
+ */
41
+ signedProfilePictureUrl?: string;
42
+ }
43
+ export declare function AssociateOAuthAccountResponseFromJSON(json: any): AssociateOAuthAccountResponse;
44
+ export declare function AssociateOAuthAccountResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssociateOAuthAccountResponse;
45
+ export declare function AssociateOAuthAccountResponseToJSON(value?: AssociateOAuthAccountResponse | null): any;
@@ -0,0 +1,42 @@
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 AssociateOAuthAccountResponseFromJSON(json) {
16
+ return AssociateOAuthAccountResponseFromJSONTyped(json, false);
17
+ }
18
+ export function AssociateOAuthAccountResponseFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'emailAddress': !exists(json, 'emailAddress') ? undefined : json['emailAddress'],
24
+ 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
25
+ 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
26
+ 'signedProfilePictureUrl': !exists(json, 'signedProfilePictureUrl') ? undefined : json['signedProfilePictureUrl'],
27
+ };
28
+ }
29
+ export function AssociateOAuthAccountResponseToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ return {
37
+ 'emailAddress': value.emailAddress,
38
+ 'firstName': value.firstName,
39
+ 'lastName': value.lastName,
40
+ 'signedProfilePictureUrl': value.signedProfilePictureUrl,
41
+ };
42
+ }
@@ -58,6 +58,12 @@ export interface Case {
58
58
  * @memberof Case
59
59
  */
60
60
  gender?: CaseGenderEnum;
61
+ /**
62
+ *
63
+ * @type {boolean}
64
+ * @memberof Case
65
+ */
66
+ hasSubscriptionPlan?: boolean;
61
67
  /**
62
68
  *
63
69
  * @type {number}
@@ -28,6 +28,7 @@ export function CaseFromJSONTyped(json, ignoreDiscriminator) {
28
28
  'clientTotalCost': !exists(json, 'clientTotalCost') ? undefined : json['clientTotalCost'],
29
29
  'dob': !exists(json, 'dob') ? undefined : (new Date(json['dob'])),
30
30
  'gender': !exists(json, 'gender') ? undefined : json['gender'],
31
+ 'hasSubscriptionPlan': !exists(json, 'hasSubscriptionPlan') ? undefined : json['hasSubscriptionPlan'],
31
32
  'lawfirmId': !exists(json, 'lawfirmId') ? undefined : json['lawfirmId'],
32
33
  'lawfirmName': !exists(json, 'lawfirmName') ? undefined : json['lawfirmName'],
33
34
  'numPayments': !exists(json, 'numPayments') ? undefined : json['numPayments'],
@@ -56,6 +57,7 @@ export function CaseToJSON(value) {
56
57
  'clientTotalCost': value.clientTotalCost,
57
58
  'dob': value.dob === undefined ? undefined : (value.dob.toISOString()),
58
59
  'gender': value.gender,
60
+ 'hasSubscriptionPlan': value.hasSubscriptionPlan,
59
61
  'lawfirmId': value.lawfirmId,
60
62
  'lawfirmName': value.lawfirmName,
61
63
  'numPayments': value.numPayments,
@@ -33,6 +33,12 @@ export interface ListCaseBookingsRequest {
33
33
  * @memberof ListCaseBookingsRequest
34
34
  */
35
35
  genderFilterList?: Array<ListCaseBookingsRequestGenderFilterListEnum>;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof ListCaseBookingsRequest
40
+ */
41
+ hasSubscriptionPlanFilter?: boolean;
36
42
  /**
37
43
  *
38
44
  * @type {boolean}
@@ -23,6 +23,7 @@ export function ListCaseBookingsRequestFromJSONTyped(json, ignoreDiscriminator)
23
23
  'caseStatusFilter': !exists(json, 'caseStatusFilter') ? undefined : json['caseStatusFilter'],
24
24
  'endDate': !exists(json, 'endDate') ? undefined : (new Date(json['endDate'])),
25
25
  'genderFilterList': !exists(json, 'genderFilterList') ? undefined : json['genderFilterList'],
26
+ 'hasSubscriptionPlanFilter': !exists(json, 'hasSubscriptionPlanFilter') ? undefined : json['hasSubscriptionPlanFilter'],
26
27
  'includeDataRecords': !exists(json, 'includeDataRecords') ? undefined : json['includeDataRecords'],
27
28
  'lawfirmStringFilter': !exists(json, 'lawfirmStringFilter') ? undefined : json['lawfirmStringFilter'],
28
29
  'length': !exists(json, 'length') ? undefined : json['length'],
@@ -46,6 +47,7 @@ export function ListCaseBookingsRequestToJSON(value) {
46
47
  'caseStatusFilter': value.caseStatusFilter,
47
48
  'endDate': value.endDate === undefined ? undefined : (value.endDate.toISOString()),
48
49
  'genderFilterList': value.genderFilterList,
50
+ 'hasSubscriptionPlanFilter': value.hasSubscriptionPlanFilter,
49
51
  'includeDataRecords': value.includeDataRecords,
50
52
  'lawfirmStringFilter': value.lawfirmStringFilter,
51
53
  'length': value.length,
@@ -158,6 +158,7 @@ export declare enum ValidateDirectMailResponseOtrErrorEnum {
158
158
  INVALIDRESOLUTIONSTATUS = "INVALID_RESOLUTION_STATUS",
159
159
  INVALIDREVIEWCOPY = "INVALID_REVIEW_COPY",
160
160
  INVALIDROLETYPE = "INVALID_ROLE_TYPE",
161
+ INVALIDSOCIALLOGINPROVIDER = "INVALID_SOCIAL_LOGIN_PROVIDER",
161
162
  INVALIDSTATE = "INVALID_STATE",
162
163
  INVALIDSTRIPEACCOUNT = "INVALID_STRIPE_ACCOUNT",
163
164
  INVALIDSTRIPECHARGEID = "INVALID_STRIPE_CHARGE_ID",
@@ -168,6 +168,7 @@ export var ValidateDirectMailResponseOtrErrorEnum;
168
168
  ValidateDirectMailResponseOtrErrorEnum["INVALIDRESOLUTIONSTATUS"] = "INVALID_RESOLUTION_STATUS";
169
169
  ValidateDirectMailResponseOtrErrorEnum["INVALIDREVIEWCOPY"] = "INVALID_REVIEW_COPY";
170
170
  ValidateDirectMailResponseOtrErrorEnum["INVALIDROLETYPE"] = "INVALID_ROLE_TYPE";
171
+ ValidateDirectMailResponseOtrErrorEnum["INVALIDSOCIALLOGINPROVIDER"] = "INVALID_SOCIAL_LOGIN_PROVIDER";
171
172
  ValidateDirectMailResponseOtrErrorEnum["INVALIDSTATE"] = "INVALID_STATE";
172
173
  ValidateDirectMailResponseOtrErrorEnum["INVALIDSTRIPEACCOUNT"] = "INVALID_STRIPE_ACCOUNT";
173
174
  ValidateDirectMailResponseOtrErrorEnum["INVALIDSTRIPECHARGEID"] = "INVALID_STRIPE_CHARGE_ID";
@@ -45,6 +45,8 @@ export * from './AppEventCreateRequest';
45
45
  export * from './AppearanceAttorneyDomain';
46
46
  export * from './AppleLoginRequest';
47
47
  export * from './AssignCitationOwnerRequest';
48
+ export * from './AssociateOAuthAccountRequest';
49
+ export * from './AssociateOAuthAccountResponse';
48
50
  export * from './Attachment';
49
51
  export * from './AuditLog';
50
52
  export * from './Author';
@@ -45,6 +45,8 @@ export * from './AppEventCreateRequest';
45
45
  export * from './AppearanceAttorneyDomain';
46
46
  export * from './AppleLoginRequest';
47
47
  export * from './AssignCitationOwnerRequest';
48
+ export * from './AssociateOAuthAccountRequest';
49
+ export * from './AssociateOAuthAccountResponse';
48
50
  export * from './Attachment';
49
51
  export * from './AuditLog';
50
52
  export * from './Author';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.4.53",
3
+ "version": "2.4.55",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"