@otr-app/shared-backend-generated-client 2.5.33 → 2.5.35
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/caseTransferController.service.ts +7 -7
- package/dist/angular/model/caseUserDetailsModel.ts +5 -1
- package/dist/angular/model/defendantDetailsModel.ts +5 -1
- package/dist/angular/model/getCaseUserModel.ts +5 -1
- package/dist/angular/model/saveCaseUserRequest.ts +5 -1
- package/dist/otrBackendService.js +4 -3
- package/dist/otrBackendService.min.js +6 -6
- package/dist/typescript/api/CaseTransferControllerApi.d.ts +1 -1
- package/dist/typescript/api/CaseTransferControllerApi.js +4 -4
- package/dist/typescript/model/CaseUserDetailsModel.d.ts +4 -0
- package/dist/typescript/model/CaseUserDetailsModel.js +4 -0
- package/dist/typescript/model/DefendantDetailsModel.d.ts +4 -0
- package/dist/typescript/model/DefendantDetailsModel.js +4 -0
- package/dist/typescript/model/GetCaseUserModel.d.ts +4 -0
- package/dist/typescript/model/GetCaseUserModel.js +4 -0
- package/dist/typescript/model/SaveCaseUserRequest.d.ts +4 -0
- package/dist/typescript/model/SaveCaseUserRequest.js +4 -0
- package/dist/typescript-fetch/apis/CaseTransferControllerApi.d.ts +3 -3
- package/dist/typescript-fetch/apis/CaseTransferControllerApi.js +6 -6
- package/dist/typescript-fetch/models/CaseUserDetailsModel.d.ts +4 -0
- package/dist/typescript-fetch/models/CaseUserDetailsModel.js +4 -0
- package/dist/typescript-fetch/models/DefendantDetailsModel.d.ts +4 -0
- package/dist/typescript-fetch/models/DefendantDetailsModel.js +4 -0
- package/dist/typescript-fetch/models/GetCaseUserModel.d.ts +4 -0
- package/dist/typescript-fetch/models/GetCaseUserModel.js +4 -0
- package/dist/typescript-fetch/models/SaveCaseUserRequest.d.ts +4 -0
- package/dist/typescript-fetch/models/SaveCaseUserRequest.js +4 -0
- package/dist/typescript-open-api/otr-backend.d.ts +15 -4
- package/dist/typescript-open-api/otr-backend.js +4 -0
- package/package.json +1 -1
|
@@ -102,15 +102,15 @@ export class CaseTransferControllerService {
|
|
|
102
102
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
103
103
|
* @param reportProgress flag to report request and response progress.
|
|
104
104
|
*/
|
|
105
|
-
public
|
|
106
|
-
public
|
|
107
|
-
public
|
|
108
|
-
public
|
|
105
|
+
public calculateTransferFeeDifferenceUsingPOST(caseId: string, lawfirmId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<CalculateTransferFeeDifferenceResponse>;
|
|
106
|
+
public calculateTransferFeeDifferenceUsingPOST(caseId: string, lawfirmId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<CalculateTransferFeeDifferenceResponse>>;
|
|
107
|
+
public calculateTransferFeeDifferenceUsingPOST(caseId: string, lawfirmId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<CalculateTransferFeeDifferenceResponse>>;
|
|
108
|
+
public calculateTransferFeeDifferenceUsingPOST(caseId: string, lawfirmId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
109
109
|
if (caseId === null || caseId === undefined) {
|
|
110
|
-
throw new Error('Required parameter caseId was null or undefined when calling
|
|
110
|
+
throw new Error('Required parameter caseId was null or undefined when calling calculateTransferFeeDifferenceUsingPOST.');
|
|
111
111
|
}
|
|
112
112
|
if (lawfirmId === null || lawfirmId === undefined) {
|
|
113
|
-
throw new Error('Required parameter lawfirmId was null or undefined when calling
|
|
113
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling calculateTransferFeeDifferenceUsingPOST.');
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -145,7 +145,7 @@ export class CaseTransferControllerService {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
let localVarPath = `/api/v1/cases/${this.configuration.encodeParam({name: "caseId", value: caseId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/transfer/${this.configuration.encodeParam({name: "lawfirmId", value: lawfirmId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64"})}/calculate-fee-difference`;
|
|
148
|
-
return this.httpClient.request<CalculateTransferFeeDifferenceResponse>('
|
|
148
|
+
return this.httpClient.request<CalculateTransferFeeDifferenceResponse>('post', `${this.configuration.basePath}${localVarPath}`,
|
|
149
149
|
{
|
|
150
150
|
context: localVarHttpContext,
|
|
151
151
|
responseType: <any>responseType_,
|
|
@@ -25,14 +25,18 @@ export interface CaseUserDetailsModel {
|
|
|
25
25
|
relationshipToClientType?: CaseUserDetailsModel.RelationshipToClientTypeEnum;
|
|
26
26
|
}
|
|
27
27
|
export namespace CaseUserDetailsModel {
|
|
28
|
-
export type RelationshipToClientTypeEnum = 'EMPLOYER' | 'FAMILY_MEMBER' | 'FRIEND' | 'LAWYER' | 'OTHER' | 'SELF' | 'UNKNOWN';
|
|
28
|
+
export type RelationshipToClientTypeEnum = 'CHILD' | 'EMPLOYER' | 'FAMILY_MEMBER' | 'FRIEND' | 'LAWYER' | 'OTHER' | 'PARENT' | 'SELF' | 'SERVICE_PROVIDER' | 'SIGNIFICANT_OTHER' | 'UNKNOWN';
|
|
29
29
|
export const RelationshipToClientTypeEnum = {
|
|
30
|
+
Child: 'CHILD' as RelationshipToClientTypeEnum,
|
|
30
31
|
Employer: 'EMPLOYER' as RelationshipToClientTypeEnum,
|
|
31
32
|
FamilyMember: 'FAMILY_MEMBER' as RelationshipToClientTypeEnum,
|
|
32
33
|
Friend: 'FRIEND' as RelationshipToClientTypeEnum,
|
|
33
34
|
Lawyer: 'LAWYER' as RelationshipToClientTypeEnum,
|
|
34
35
|
Other: 'OTHER' as RelationshipToClientTypeEnum,
|
|
36
|
+
Parent: 'PARENT' as RelationshipToClientTypeEnum,
|
|
35
37
|
Self: 'SELF' as RelationshipToClientTypeEnum,
|
|
38
|
+
ServiceProvider: 'SERVICE_PROVIDER' as RelationshipToClientTypeEnum,
|
|
39
|
+
SignificantOther: 'SIGNIFICANT_OTHER' as RelationshipToClientTypeEnum,
|
|
36
40
|
Unknown: 'UNKNOWN' as RelationshipToClientTypeEnum
|
|
37
41
|
};
|
|
38
42
|
}
|
|
@@ -20,14 +20,18 @@ export interface DefendantDetailsModel {
|
|
|
20
20
|
userId?: number;
|
|
21
21
|
}
|
|
22
22
|
export namespace DefendantDetailsModel {
|
|
23
|
-
export type RelationshipToClientTypeEnum = 'EMPLOYER' | 'FAMILY_MEMBER' | 'FRIEND' | 'LAWYER' | 'OTHER' | 'SELF' | 'UNKNOWN';
|
|
23
|
+
export type RelationshipToClientTypeEnum = 'CHILD' | 'EMPLOYER' | 'FAMILY_MEMBER' | 'FRIEND' | 'LAWYER' | 'OTHER' | 'PARENT' | 'SELF' | 'SERVICE_PROVIDER' | 'SIGNIFICANT_OTHER' | 'UNKNOWN';
|
|
24
24
|
export const RelationshipToClientTypeEnum = {
|
|
25
|
+
Child: 'CHILD' as RelationshipToClientTypeEnum,
|
|
25
26
|
Employer: 'EMPLOYER' as RelationshipToClientTypeEnum,
|
|
26
27
|
FamilyMember: 'FAMILY_MEMBER' as RelationshipToClientTypeEnum,
|
|
27
28
|
Friend: 'FRIEND' as RelationshipToClientTypeEnum,
|
|
28
29
|
Lawyer: 'LAWYER' as RelationshipToClientTypeEnum,
|
|
29
30
|
Other: 'OTHER' as RelationshipToClientTypeEnum,
|
|
31
|
+
Parent: 'PARENT' as RelationshipToClientTypeEnum,
|
|
30
32
|
Self: 'SELF' as RelationshipToClientTypeEnum,
|
|
33
|
+
ServiceProvider: 'SERVICE_PROVIDER' as RelationshipToClientTypeEnum,
|
|
34
|
+
SignificantOther: 'SIGNIFICANT_OTHER' as RelationshipToClientTypeEnum,
|
|
31
35
|
Unknown: 'UNKNOWN' as RelationshipToClientTypeEnum
|
|
32
36
|
};
|
|
33
37
|
}
|
|
@@ -34,14 +34,18 @@ export interface GetCaseUserModel {
|
|
|
34
34
|
userId?: number;
|
|
35
35
|
}
|
|
36
36
|
export namespace GetCaseUserModel {
|
|
37
|
-
export type RelationshipToClientEnum = 'EMPLOYER' | 'FAMILY_MEMBER' | 'FRIEND' | 'LAWYER' | 'OTHER' | 'SELF' | 'UNKNOWN';
|
|
37
|
+
export type RelationshipToClientEnum = 'CHILD' | 'EMPLOYER' | 'FAMILY_MEMBER' | 'FRIEND' | 'LAWYER' | 'OTHER' | 'PARENT' | 'SELF' | 'SERVICE_PROVIDER' | 'SIGNIFICANT_OTHER' | 'UNKNOWN';
|
|
38
38
|
export const RelationshipToClientEnum = {
|
|
39
|
+
Child: 'CHILD' as RelationshipToClientEnum,
|
|
39
40
|
Employer: 'EMPLOYER' as RelationshipToClientEnum,
|
|
40
41
|
FamilyMember: 'FAMILY_MEMBER' as RelationshipToClientEnum,
|
|
41
42
|
Friend: 'FRIEND' as RelationshipToClientEnum,
|
|
42
43
|
Lawyer: 'LAWYER' as RelationshipToClientEnum,
|
|
43
44
|
Other: 'OTHER' as RelationshipToClientEnum,
|
|
45
|
+
Parent: 'PARENT' as RelationshipToClientEnum,
|
|
44
46
|
Self: 'SELF' as RelationshipToClientEnum,
|
|
47
|
+
ServiceProvider: 'SERVICE_PROVIDER' as RelationshipToClientEnum,
|
|
48
|
+
SignificantOther: 'SIGNIFICANT_OTHER' as RelationshipToClientEnum,
|
|
45
49
|
Unknown: 'UNKNOWN' as RelationshipToClientEnum
|
|
46
50
|
};
|
|
47
51
|
}
|
|
@@ -26,14 +26,18 @@ export interface SaveCaseUserRequest {
|
|
|
26
26
|
userId?: number;
|
|
27
27
|
}
|
|
28
28
|
export namespace SaveCaseUserRequest {
|
|
29
|
-
export type RelationshipToClientEnum = 'EMPLOYER' | 'FAMILY_MEMBER' | 'FRIEND' | 'LAWYER' | 'OTHER' | 'SELF' | 'UNKNOWN';
|
|
29
|
+
export type RelationshipToClientEnum = 'CHILD' | 'EMPLOYER' | 'FAMILY_MEMBER' | 'FRIEND' | 'LAWYER' | 'OTHER' | 'PARENT' | 'SELF' | 'SERVICE_PROVIDER' | 'SIGNIFICANT_OTHER' | 'UNKNOWN';
|
|
30
30
|
export const RelationshipToClientEnum = {
|
|
31
|
+
Child: 'CHILD' as RelationshipToClientEnum,
|
|
31
32
|
Employer: 'EMPLOYER' as RelationshipToClientEnum,
|
|
32
33
|
FamilyMember: 'FAMILY_MEMBER' as RelationshipToClientEnum,
|
|
33
34
|
Friend: 'FRIEND' as RelationshipToClientEnum,
|
|
34
35
|
Lawyer: 'LAWYER' as RelationshipToClientEnum,
|
|
35
36
|
Other: 'OTHER' as RelationshipToClientEnum,
|
|
37
|
+
Parent: 'PARENT' as RelationshipToClientEnum,
|
|
36
38
|
Self: 'SELF' as RelationshipToClientEnum,
|
|
39
|
+
ServiceProvider: 'SERVICE_PROVIDER' as RelationshipToClientEnum,
|
|
40
|
+
SignificantOther: 'SIGNIFICANT_OTHER' as RelationshipToClientEnum,
|
|
37
41
|
Unknown: 'UNKNOWN' as RelationshipToClientEnum
|
|
38
42
|
};
|
|
39
43
|
}
|
|
@@ -4235,12 +4235,12 @@ angular.module('otrBackendService', [])
|
|
|
4235
4235
|
/**
|
|
4236
4236
|
* calculateTransferFeeDifference
|
|
4237
4237
|
* @method
|
|
4238
|
-
* @name OtrService#
|
|
4238
|
+
* @name OtrService#calculateTransferFeeDifferenceUsingPOST
|
|
4239
4239
|
* @param {object} parameters - method options and parameters
|
|
4240
4240
|
* @param {string} parameters.caseId - caseId
|
|
4241
4241
|
* @param {integer} parameters.lawfirmId - lawfirmId
|
|
4242
4242
|
*/
|
|
4243
|
-
OtrService.prototype.
|
|
4243
|
+
OtrService.prototype.calculateTransferFeeDifferenceUsingPOST = function(parameters) {
|
|
4244
4244
|
if (parameters === undefined) {
|
|
4245
4245
|
parameters = {};
|
|
4246
4246
|
}
|
|
@@ -4253,6 +4253,7 @@ angular.module('otrBackendService', [])
|
|
|
4253
4253
|
form = {};
|
|
4254
4254
|
|
|
4255
4255
|
headers['Accept'] = ['*/*'];
|
|
4256
|
+
headers['Content-Type'] = ['application/json'];
|
|
4256
4257
|
|
|
4257
4258
|
path = path.replace('{caseId}', parameters['caseId']);
|
|
4258
4259
|
|
|
@@ -4270,7 +4271,7 @@ angular.module('otrBackendService', [])
|
|
|
4270
4271
|
|
|
4271
4272
|
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
4272
4273
|
|
|
4273
|
-
this.request('
|
|
4274
|
+
this.request('POST', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
4274
4275
|
|
|
4275
4276
|
return deferred.promise;
|
|
4276
4277
|
};
|