@otr-app/shared-backend-generated-client 2.5.35 → 2.5.37
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.
- package/dist/angular/api/caseUserController.service.ts +61 -0
- package/dist/angular/model/defendantDetailsModel.ts +17 -0
- package/dist/angular/model/validateDirectMailResponse.ts +2 -1
- package/dist/otrBackendService.js +42 -0
- package/dist/otrBackendService.min.js +7 -7
- package/dist/typescript/api/CaseUserControllerApi.d.ts +7 -0
- package/dist/typescript/api/CaseUserControllerApi.js +31 -0
- package/dist/typescript/model/DefendantDetailsModel.d.ts +16 -0
- package/dist/typescript/model/DefendantDetailsModel.js +14 -0
- package/dist/typescript/model/ValidateDirectMailResponse.d.ts +1 -0
- package/dist/typescript/model/ValidateDirectMailResponse.js +1 -0
- package/dist/typescript-fetch/apis/CaseUserControllerApi.d.ts +12 -0
- package/dist/typescript-fetch/apis/CaseUserControllerApi.js +30 -0
- package/dist/typescript-fetch/models/DefendantDetailsModel.d.ts +35 -0
- package/dist/typescript-fetch/models/DefendantDetailsModel.js +24 -0
- package/dist/typescript-fetch/models/ValidateDirectMailResponse.d.ts +1 -0
- package/dist/typescript-fetch/models/ValidateDirectMailResponse.js +1 -0
- package/dist/typescript-open-api/otr-backend.d.ts +67 -0
- package/dist/typescript-open-api/otr-backend.js +1 -0
- package/package.json +1 -1
|
@@ -17,6 +17,13 @@ export declare class CaseUserControllerApi {
|
|
|
17
17
|
defaultHeaders: any;
|
|
18
18
|
static $inject: string[];
|
|
19
19
|
constructor($http: ng.IHttpService, $httpParamSerializer?: (d: any) => any, basePath?: string);
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @summary deleteCaseUser
|
|
23
|
+
* @param caseId caseId
|
|
24
|
+
* @param caseUsersId caseUsersId
|
|
25
|
+
*/
|
|
26
|
+
deleteCaseUserUsingDELETE(caseId: string, caseUsersId: number, extraHttpRequestParams?: any): ng.IHttpPromise<{}>;
|
|
20
27
|
/**
|
|
21
28
|
*
|
|
22
29
|
* @summary getCaseUsersByCase
|
|
@@ -20,6 +20,37 @@ export class CaseUserControllerApi {
|
|
|
20
20
|
this.basePath = basePath;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @summary deleteCaseUser
|
|
26
|
+
* @param caseId caseId
|
|
27
|
+
* @param caseUsersId caseUsersId
|
|
28
|
+
*/
|
|
29
|
+
deleteCaseUserUsingDELETE(caseId, caseUsersId, extraHttpRequestParams) {
|
|
30
|
+
const localVarPath = this.basePath + '/api/v1/case-users/{caseUsersId}/cases/{caseId}'
|
|
31
|
+
.replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)))
|
|
32
|
+
.replace('{' + 'caseUsersId' + '}', encodeURIComponent(String(caseUsersId)));
|
|
33
|
+
let queryParameters = {};
|
|
34
|
+
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
35
|
+
// verify required parameter 'caseId' is not null or undefined
|
|
36
|
+
if (caseId === null || caseId === undefined) {
|
|
37
|
+
throw new Error('Required parameter caseId was null or undefined when calling deleteCaseUserUsingDELETE.');
|
|
38
|
+
}
|
|
39
|
+
// verify required parameter 'caseUsersId' is not null or undefined
|
|
40
|
+
if (caseUsersId === null || caseUsersId === undefined) {
|
|
41
|
+
throw new Error('Required parameter caseUsersId was null or undefined when calling deleteCaseUserUsingDELETE.');
|
|
42
|
+
}
|
|
43
|
+
let httpRequestParams = {
|
|
44
|
+
method: 'DELETE',
|
|
45
|
+
url: localVarPath,
|
|
46
|
+
params: queryParameters,
|
|
47
|
+
headers: headerParams
|
|
48
|
+
};
|
|
49
|
+
if (extraHttpRequestParams) {
|
|
50
|
+
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
51
|
+
}
|
|
52
|
+
return this.$http(httpRequestParams);
|
|
53
|
+
}
|
|
23
54
|
/**
|
|
24
55
|
*
|
|
25
56
|
* @summary getCaseUsersByCase
|
|
@@ -11,13 +11,29 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export interface DefendantDetailsModel {
|
|
13
13
|
"additionalNote"?: string;
|
|
14
|
+
"caseUsersId"?: number;
|
|
14
15
|
"emailAddress"?: string;
|
|
15
16
|
"firstName"?: string;
|
|
17
|
+
"hasFinancialAccess"?: boolean;
|
|
16
18
|
"lastName"?: string;
|
|
19
|
+
"ownerRelationshipToClientType"?: DefendantDetailsModel.OwnerRelationshipToClientTypeEnum;
|
|
17
20
|
"relationshipToClientType"?: DefendantDetailsModel.RelationshipToClientTypeEnum;
|
|
18
21
|
"userId"?: number;
|
|
19
22
|
}
|
|
20
23
|
export declare namespace DefendantDetailsModel {
|
|
24
|
+
enum OwnerRelationshipToClientTypeEnum {
|
|
25
|
+
CHILD,
|
|
26
|
+
EMPLOYER,
|
|
27
|
+
FAMILYMEMBER,
|
|
28
|
+
FRIEND,
|
|
29
|
+
LAWYER,
|
|
30
|
+
OTHER,
|
|
31
|
+
PARENT,
|
|
32
|
+
SELF,
|
|
33
|
+
SERVICEPROVIDER,
|
|
34
|
+
SIGNIFICANTOTHER,
|
|
35
|
+
UNKNOWN
|
|
36
|
+
}
|
|
21
37
|
enum RelationshipToClientTypeEnum {
|
|
22
38
|
CHILD,
|
|
23
39
|
EMPLOYER,
|
|
@@ -11,6 +11,20 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export var DefendantDetailsModel;
|
|
13
13
|
(function (DefendantDetailsModel) {
|
|
14
|
+
let OwnerRelationshipToClientTypeEnum;
|
|
15
|
+
(function (OwnerRelationshipToClientTypeEnum) {
|
|
16
|
+
OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["CHILD"] = 'CHILD'] = "CHILD";
|
|
17
|
+
OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["EMPLOYER"] = 'EMPLOYER'] = "EMPLOYER";
|
|
18
|
+
OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["FAMILYMEMBER"] = 'FAMILY_MEMBER'] = "FAMILYMEMBER";
|
|
19
|
+
OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["FRIEND"] = 'FRIEND'] = "FRIEND";
|
|
20
|
+
OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["LAWYER"] = 'LAWYER'] = "LAWYER";
|
|
21
|
+
OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["OTHER"] = 'OTHER'] = "OTHER";
|
|
22
|
+
OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["PARENT"] = 'PARENT'] = "PARENT";
|
|
23
|
+
OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["SELF"] = 'SELF'] = "SELF";
|
|
24
|
+
OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["SERVICEPROVIDER"] = 'SERVICE_PROVIDER'] = "SERVICEPROVIDER";
|
|
25
|
+
OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["SIGNIFICANTOTHER"] = 'SIGNIFICANT_OTHER'] = "SIGNIFICANTOTHER";
|
|
26
|
+
OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["UNKNOWN"] = 'UNKNOWN'] = "UNKNOWN";
|
|
27
|
+
})(OwnerRelationshipToClientTypeEnum = DefendantDetailsModel.OwnerRelationshipToClientTypeEnum || (DefendantDetailsModel.OwnerRelationshipToClientTypeEnum = {}));
|
|
14
28
|
let RelationshipToClientTypeEnum;
|
|
15
29
|
(function (RelationshipToClientTypeEnum) {
|
|
16
30
|
RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["CHILD"] = 'CHILD'] = "CHILD";
|
|
@@ -41,6 +41,7 @@ export var ValidateDirectMailResponse;
|
|
|
41
41
|
OtrErrorEnum[OtrErrorEnum["CASEPAYMENTHASSTRIPECHARGE"] = 'CASE_PAYMENT_HAS_STRIPE_CHARGE'] = "CASEPAYMENTHASSTRIPECHARGE";
|
|
42
42
|
OtrErrorEnum[OtrErrorEnum["CASESTATUSNOTALLOWED"] = 'CASE_STATUS_NOT_ALLOWED'] = "CASESTATUSNOTALLOWED";
|
|
43
43
|
OtrErrorEnum[OtrErrorEnum["CASEUSERMISMATCH"] = 'CASE_USER_MISMATCH'] = "CASEUSERMISMATCH";
|
|
44
|
+
OtrErrorEnum[OtrErrorEnum["CASEUSERNOTFOUND"] = 'CASE_USER_NOT_FOUND'] = "CASEUSERNOTFOUND";
|
|
44
45
|
OtrErrorEnum[OtrErrorEnum["CCWILLEXPIREBEFOREPAYMENTPLAN"] = 'CC_WILL_EXPIRE_BEFORE_PAYMENT_PLAN'] = "CCWILLEXPIREBEFOREPAYMENTPLAN";
|
|
45
46
|
OtrErrorEnum[OtrErrorEnum["CHARGEALREADYCAPTURED"] = 'CHARGE_ALREADY_CAPTURED'] = "CHARGEALREADYCAPTURED";
|
|
46
47
|
OtrErrorEnum[OtrErrorEnum["CHARGEEXPIRED"] = 'CHARGE_EXPIRED'] = "CHARGEEXPIRED";
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import { GetCaseUsersResponse, ListDashboardCaseUsersResponse, SaveCaseUserRequest } from '../models';
|
|
14
|
+
export interface DeleteCaseUserUsingDELETERequest {
|
|
15
|
+
caseId: string;
|
|
16
|
+
caseUsersId: number;
|
|
17
|
+
}
|
|
14
18
|
export interface GetCaseUsersByCaseUsingGETRequest {
|
|
15
19
|
caseId: string;
|
|
16
20
|
getRemovedUsers?: boolean;
|
|
@@ -28,6 +32,14 @@ export interface SaveCaseUserUsingPOSTRequest {
|
|
|
28
32
|
*
|
|
29
33
|
*/
|
|
30
34
|
export declare class CaseUserControllerApi extends runtime.BaseAPI {
|
|
35
|
+
/**
|
|
36
|
+
* deleteCaseUser
|
|
37
|
+
*/
|
|
38
|
+
deleteCaseUserUsingDELETERaw(requestParameters: DeleteCaseUserUsingDELETERequest): Promise<runtime.ApiResponse<void>>;
|
|
39
|
+
/**
|
|
40
|
+
* deleteCaseUser
|
|
41
|
+
*/
|
|
42
|
+
deleteCaseUserUsingDELETE(requestParameters: DeleteCaseUserUsingDELETERequest): Promise<void>;
|
|
31
43
|
/**
|
|
32
44
|
* getCaseUsersByCase
|
|
33
45
|
*/
|
|
@@ -26,6 +26,36 @@ import { GetCaseUsersResponseFromJSON, ListDashboardCaseUsersResponseFromJSON, S
|
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export class CaseUserControllerApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* deleteCaseUser
|
|
31
|
+
*/
|
|
32
|
+
deleteCaseUserUsingDELETERaw(requestParameters) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters.caseId === null || requestParameters.caseId === undefined) {
|
|
35
|
+
throw new runtime.RequiredError('caseId', 'Required parameter requestParameters.caseId was null or undefined when calling deleteCaseUserUsingDELETE.');
|
|
36
|
+
}
|
|
37
|
+
if (requestParameters.caseUsersId === null || requestParameters.caseUsersId === undefined) {
|
|
38
|
+
throw new runtime.RequiredError('caseUsersId', 'Required parameter requestParameters.caseUsersId was null or undefined when calling deleteCaseUserUsingDELETE.');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
const response = yield this.request({
|
|
43
|
+
path: `/api/v1/case-users/{caseUsersId}/cases/{caseId}`.replace(`{${"caseId"}}`, encodeURIComponent(String(requestParameters.caseId))).replace(`{${"caseUsersId"}}`, encodeURIComponent(String(requestParameters.caseUsersId))),
|
|
44
|
+
method: 'DELETE',
|
|
45
|
+
headers: headerParameters,
|
|
46
|
+
query: queryParameters,
|
|
47
|
+
});
|
|
48
|
+
return new runtime.VoidApiResponse(response);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* deleteCaseUser
|
|
53
|
+
*/
|
|
54
|
+
deleteCaseUserUsingDELETE(requestParameters) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
yield this.deleteCaseUserUsingDELETERaw(requestParameters);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
29
59
|
/**
|
|
30
60
|
* getCaseUsersByCase
|
|
31
61
|
*/
|
|
@@ -21,6 +21,12 @@ export interface DefendantDetailsModel {
|
|
|
21
21
|
* @memberof DefendantDetailsModel
|
|
22
22
|
*/
|
|
23
23
|
additionalNote?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof DefendantDetailsModel
|
|
28
|
+
*/
|
|
29
|
+
caseUsersId?: number;
|
|
24
30
|
/**
|
|
25
31
|
*
|
|
26
32
|
* @type {string}
|
|
@@ -33,12 +39,24 @@ export interface DefendantDetailsModel {
|
|
|
33
39
|
* @memberof DefendantDetailsModel
|
|
34
40
|
*/
|
|
35
41
|
firstName?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof DefendantDetailsModel
|
|
46
|
+
*/
|
|
47
|
+
hasFinancialAccess?: boolean;
|
|
36
48
|
/**
|
|
37
49
|
*
|
|
38
50
|
* @type {string}
|
|
39
51
|
* @memberof DefendantDetailsModel
|
|
40
52
|
*/
|
|
41
53
|
lastName?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof DefendantDetailsModel
|
|
58
|
+
*/
|
|
59
|
+
ownerRelationshipToClientType?: DefendantDetailsModelOwnerRelationshipToClientTypeEnum;
|
|
42
60
|
/**
|
|
43
61
|
*
|
|
44
62
|
* @type {string}
|
|
@@ -59,6 +77,23 @@ export declare function DefendantDetailsModelToJSON(value?: DefendantDetailsMode
|
|
|
59
77
|
* @export
|
|
60
78
|
* @enum {string}
|
|
61
79
|
*/
|
|
80
|
+
export declare enum DefendantDetailsModelOwnerRelationshipToClientTypeEnum {
|
|
81
|
+
CHILD = "CHILD",
|
|
82
|
+
EMPLOYER = "EMPLOYER",
|
|
83
|
+
FAMILYMEMBER = "FAMILY_MEMBER",
|
|
84
|
+
FRIEND = "FRIEND",
|
|
85
|
+
LAWYER = "LAWYER",
|
|
86
|
+
OTHER = "OTHER",
|
|
87
|
+
PARENT = "PARENT",
|
|
88
|
+
SELF = "SELF",
|
|
89
|
+
SERVICEPROVIDER = "SERVICE_PROVIDER",
|
|
90
|
+
SIGNIFICANTOTHER = "SIGNIFICANT_OTHER",
|
|
91
|
+
UNKNOWN = "UNKNOWN"
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @export
|
|
95
|
+
* @enum {string}
|
|
96
|
+
*/
|
|
62
97
|
export declare enum DefendantDetailsModelRelationshipToClientTypeEnum {
|
|
63
98
|
CHILD = "CHILD",
|
|
64
99
|
EMPLOYER = "EMPLOYER",
|
|
@@ -21,9 +21,12 @@ export function DefendantDetailsModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
23
|
'additionalNote': !exists(json, 'additionalNote') ? undefined : json['additionalNote'],
|
|
24
|
+
'caseUsersId': !exists(json, 'caseUsersId') ? undefined : json['caseUsersId'],
|
|
24
25
|
'emailAddress': !exists(json, 'emailAddress') ? undefined : json['emailAddress'],
|
|
25
26
|
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
27
|
+
'hasFinancialAccess': !exists(json, 'hasFinancialAccess') ? undefined : json['hasFinancialAccess'],
|
|
26
28
|
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
29
|
+
'ownerRelationshipToClientType': !exists(json, 'ownerRelationshipToClientType') ? undefined : json['ownerRelationshipToClientType'],
|
|
27
30
|
'relationshipToClientType': !exists(json, 'relationshipToClientType') ? undefined : json['relationshipToClientType'],
|
|
28
31
|
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
29
32
|
};
|
|
@@ -37,9 +40,12 @@ export function DefendantDetailsModelToJSON(value) {
|
|
|
37
40
|
}
|
|
38
41
|
return {
|
|
39
42
|
'additionalNote': value.additionalNote,
|
|
43
|
+
'caseUsersId': value.caseUsersId,
|
|
40
44
|
'emailAddress': value.emailAddress,
|
|
41
45
|
'firstName': value.firstName,
|
|
46
|
+
'hasFinancialAccess': value.hasFinancialAccess,
|
|
42
47
|
'lastName': value.lastName,
|
|
48
|
+
'ownerRelationshipToClientType': value.ownerRelationshipToClientType,
|
|
43
49
|
'relationshipToClientType': value.relationshipToClientType,
|
|
44
50
|
'userId': value.userId,
|
|
45
51
|
};
|
|
@@ -48,6 +54,24 @@ export function DefendantDetailsModelToJSON(value) {
|
|
|
48
54
|
* @export
|
|
49
55
|
* @enum {string}
|
|
50
56
|
*/
|
|
57
|
+
export var DefendantDetailsModelOwnerRelationshipToClientTypeEnum;
|
|
58
|
+
(function (DefendantDetailsModelOwnerRelationshipToClientTypeEnum) {
|
|
59
|
+
DefendantDetailsModelOwnerRelationshipToClientTypeEnum["CHILD"] = "CHILD";
|
|
60
|
+
DefendantDetailsModelOwnerRelationshipToClientTypeEnum["EMPLOYER"] = "EMPLOYER";
|
|
61
|
+
DefendantDetailsModelOwnerRelationshipToClientTypeEnum["FAMILYMEMBER"] = "FAMILY_MEMBER";
|
|
62
|
+
DefendantDetailsModelOwnerRelationshipToClientTypeEnum["FRIEND"] = "FRIEND";
|
|
63
|
+
DefendantDetailsModelOwnerRelationshipToClientTypeEnum["LAWYER"] = "LAWYER";
|
|
64
|
+
DefendantDetailsModelOwnerRelationshipToClientTypeEnum["OTHER"] = "OTHER";
|
|
65
|
+
DefendantDetailsModelOwnerRelationshipToClientTypeEnum["PARENT"] = "PARENT";
|
|
66
|
+
DefendantDetailsModelOwnerRelationshipToClientTypeEnum["SELF"] = "SELF";
|
|
67
|
+
DefendantDetailsModelOwnerRelationshipToClientTypeEnum["SERVICEPROVIDER"] = "SERVICE_PROVIDER";
|
|
68
|
+
DefendantDetailsModelOwnerRelationshipToClientTypeEnum["SIGNIFICANTOTHER"] = "SIGNIFICANT_OTHER";
|
|
69
|
+
DefendantDetailsModelOwnerRelationshipToClientTypeEnum["UNKNOWN"] = "UNKNOWN";
|
|
70
|
+
})(DefendantDetailsModelOwnerRelationshipToClientTypeEnum || (DefendantDetailsModelOwnerRelationshipToClientTypeEnum = {}));
|
|
71
|
+
/**
|
|
72
|
+
* @export
|
|
73
|
+
* @enum {string}
|
|
74
|
+
*/
|
|
51
75
|
export var DefendantDetailsModelRelationshipToClientTypeEnum;
|
|
52
76
|
(function (DefendantDetailsModelRelationshipToClientTypeEnum) {
|
|
53
77
|
DefendantDetailsModelRelationshipToClientTypeEnum["CHILD"] = "CHILD";
|
|
@@ -58,6 +58,7 @@ export declare enum ValidateDirectMailResponseOtrErrorEnum {
|
|
|
58
58
|
CASEPAYMENTHASSTRIPECHARGE = "CASE_PAYMENT_HAS_STRIPE_CHARGE",
|
|
59
59
|
CASESTATUSNOTALLOWED = "CASE_STATUS_NOT_ALLOWED",
|
|
60
60
|
CASEUSERMISMATCH = "CASE_USER_MISMATCH",
|
|
61
|
+
CASEUSERNOTFOUND = "CASE_USER_NOT_FOUND",
|
|
61
62
|
CCWILLEXPIREBEFOREPAYMENTPLAN = "CC_WILL_EXPIRE_BEFORE_PAYMENT_PLAN",
|
|
62
63
|
CHARGEALREADYCAPTURED = "CHARGE_ALREADY_CAPTURED",
|
|
63
64
|
CHARGEEXPIRED = "CHARGE_EXPIRED",
|
|
@@ -68,6 +68,7 @@ export var ValidateDirectMailResponseOtrErrorEnum;
|
|
|
68
68
|
ValidateDirectMailResponseOtrErrorEnum["CASEPAYMENTHASSTRIPECHARGE"] = "CASE_PAYMENT_HAS_STRIPE_CHARGE";
|
|
69
69
|
ValidateDirectMailResponseOtrErrorEnum["CASESTATUSNOTALLOWED"] = "CASE_STATUS_NOT_ALLOWED";
|
|
70
70
|
ValidateDirectMailResponseOtrErrorEnum["CASEUSERMISMATCH"] = "CASE_USER_MISMATCH";
|
|
71
|
+
ValidateDirectMailResponseOtrErrorEnum["CASEUSERNOTFOUND"] = "CASE_USER_NOT_FOUND";
|
|
71
72
|
ValidateDirectMailResponseOtrErrorEnum["CCWILLEXPIREBEFOREPAYMENTPLAN"] = "CC_WILL_EXPIRE_BEFORE_PAYMENT_PLAN";
|
|
72
73
|
ValidateDirectMailResponseOtrErrorEnum["CHARGEALREADYCAPTURED"] = "CHARGE_ALREADY_CAPTURED";
|
|
73
74
|
ValidateDirectMailResponseOtrErrorEnum["CHARGEEXPIRED"] = "CHARGE_EXPIRED";
|
|
@@ -1267,6 +1267,23 @@ export interface paths {
|
|
|
1267
1267
|
patch?: never;
|
|
1268
1268
|
trace?: never;
|
|
1269
1269
|
};
|
|
1270
|
+
"/api/v1/case-users/{caseUsersId}/cases/{caseId}": {
|
|
1271
|
+
parameters: {
|
|
1272
|
+
query?: never;
|
|
1273
|
+
header?: never;
|
|
1274
|
+
path?: never;
|
|
1275
|
+
cookie?: never;
|
|
1276
|
+
};
|
|
1277
|
+
get?: never;
|
|
1278
|
+
put?: never;
|
|
1279
|
+
post?: never;
|
|
1280
|
+
/** deleteCaseUser */
|
|
1281
|
+
delete: operations["deleteCaseUserUsingDELETE"];
|
|
1282
|
+
options?: never;
|
|
1283
|
+
head?: never;
|
|
1284
|
+
patch?: never;
|
|
1285
|
+
trace?: never;
|
|
1286
|
+
};
|
|
1270
1287
|
"/api/v1/cases/{caseId}/users": {
|
|
1271
1288
|
parameters: {
|
|
1272
1289
|
query?: never;
|
|
@@ -9857,10 +9874,15 @@ export interface components {
|
|
|
9857
9874
|
/** DefendantDetailsModel */
|
|
9858
9875
|
DefendantDetailsModel: {
|
|
9859
9876
|
additionalNote?: string;
|
|
9877
|
+
/** Format: int32 */
|
|
9878
|
+
caseUsersId?: number;
|
|
9860
9879
|
emailAddress?: string;
|
|
9861
9880
|
firstName?: string;
|
|
9881
|
+
hasFinancialAccess?: boolean;
|
|
9862
9882
|
lastName?: string;
|
|
9863
9883
|
/** @enum {string} */
|
|
9884
|
+
ownerRelationshipToClientType?: CaseUserDetailsModelRelationshipToClientType;
|
|
9885
|
+
/** @enum {string} */
|
|
9864
9886
|
relationshipToClientType?: CaseUserDetailsModelRelationshipToClientType;
|
|
9865
9887
|
/** Format: int64 */
|
|
9866
9888
|
userId?: number;
|
|
@@ -20453,6 +20475,50 @@ export interface operations {
|
|
|
20453
20475
|
};
|
|
20454
20476
|
};
|
|
20455
20477
|
};
|
|
20478
|
+
deleteCaseUserUsingDELETE: {
|
|
20479
|
+
parameters: {
|
|
20480
|
+
query?: never;
|
|
20481
|
+
header?: never;
|
|
20482
|
+
path: {
|
|
20483
|
+
/** @description caseUsersId */
|
|
20484
|
+
caseUsersId: number;
|
|
20485
|
+
/** @description caseId */
|
|
20486
|
+
caseId: string;
|
|
20487
|
+
};
|
|
20488
|
+
cookie?: never;
|
|
20489
|
+
};
|
|
20490
|
+
requestBody?: never;
|
|
20491
|
+
responses: {
|
|
20492
|
+
/** @description OK */
|
|
20493
|
+
200: {
|
|
20494
|
+
headers: {
|
|
20495
|
+
[name: string]: unknown;
|
|
20496
|
+
};
|
|
20497
|
+
content?: never;
|
|
20498
|
+
};
|
|
20499
|
+
/** @description No Content */
|
|
20500
|
+
204: {
|
|
20501
|
+
headers: {
|
|
20502
|
+
[name: string]: unknown;
|
|
20503
|
+
};
|
|
20504
|
+
content?: never;
|
|
20505
|
+
};
|
|
20506
|
+
/** @description Unauthorized */
|
|
20507
|
+
401: {
|
|
20508
|
+
headers: {
|
|
20509
|
+
[name: string]: unknown;
|
|
20510
|
+
};
|
|
20511
|
+
content?: never;
|
|
20512
|
+
};
|
|
20513
|
+
/** @description Forbidden */
|
|
20514
|
+
403: {
|
|
20515
|
+
headers: {
|
|
20516
|
+
[name: string]: unknown;
|
|
20517
|
+
};
|
|
20518
|
+
content?: never;
|
|
20519
|
+
};
|
|
20520
|
+
};
|
|
20521
|
+
};
|
|
20456
20522
|
getCaseUsersByCaseUsingGET: {
|
|
20457
20523
|
parameters: {
|
|
20458
20524
|
query?: {
|
|
@@ -40950,6 +41016,7 @@ export declare enum ValidateDirectMailResponseOtrError {
|
|
|
40950
41016
|
CASE_PAYMENT_HAS_STRIPE_CHARGE = "CASE_PAYMENT_HAS_STRIPE_CHARGE",
|
|
40951
41017
|
CASE_STATUS_NOT_ALLOWED = "CASE_STATUS_NOT_ALLOWED",
|
|
40952
41018
|
CASE_USER_MISMATCH = "CASE_USER_MISMATCH",
|
|
41019
|
+
CASE_USER_NOT_FOUND = "CASE_USER_NOT_FOUND",
|
|
40953
41020
|
CC_WILL_EXPIRE_BEFORE_PAYMENT_PLAN = "CC_WILL_EXPIRE_BEFORE_PAYMENT_PLAN",
|
|
40954
41021
|
CHARGE_ALREADY_CAPTURED = "CHARGE_ALREADY_CAPTURED",
|
|
40955
41022
|
CHARGE_EXPIRED = "CHARGE_EXPIRED",
|
|
@@ -1333,6 +1333,7 @@ export var ValidateDirectMailResponseOtrError;
|
|
|
1333
1333
|
ValidateDirectMailResponseOtrError["CASE_PAYMENT_HAS_STRIPE_CHARGE"] = "CASE_PAYMENT_HAS_STRIPE_CHARGE";
|
|
1334
1334
|
ValidateDirectMailResponseOtrError["CASE_STATUS_NOT_ALLOWED"] = "CASE_STATUS_NOT_ALLOWED";
|
|
1335
1335
|
ValidateDirectMailResponseOtrError["CASE_USER_MISMATCH"] = "CASE_USER_MISMATCH";
|
|
1336
|
+
ValidateDirectMailResponseOtrError["CASE_USER_NOT_FOUND"] = "CASE_USER_NOT_FOUND";
|
|
1336
1337
|
ValidateDirectMailResponseOtrError["CC_WILL_EXPIRE_BEFORE_PAYMENT_PLAN"] = "CC_WILL_EXPIRE_BEFORE_PAYMENT_PLAN";
|
|
1337
1338
|
ValidateDirectMailResponseOtrError["CHARGE_ALREADY_CAPTURED"] = "CHARGE_ALREADY_CAPTURED";
|
|
1338
1339
|
ValidateDirectMailResponseOtrError["CHARGE_EXPIRED"] = "CHARGE_EXPIRED";
|