@otr-app/shared-backend-generated-client 2.5.74 → 2.5.76
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/model/caseMessageDomain.ts +2 -0
- package/dist/angular/model/dashboardCaseModel.ts +1 -0
- package/dist/angular/model/getCaseMessagesResponse.ts +1 -0
- package/dist/angular/model/timelineItem.ts +2 -1
- package/dist/typescript/model/CaseMessageDomain.d.ts +2 -0
- package/dist/typescript/model/DashboardCaseModel.d.ts +1 -0
- package/dist/typescript/model/GetCaseMessagesResponse.d.ts +1 -0
- package/dist/typescript/model/TimelineItem.d.ts +1 -0
- package/dist/typescript/model/TimelineItem.js +1 -0
- package/dist/typescript-fetch/models/CaseMessageDomain.d.ts +12 -0
- package/dist/typescript-fetch/models/CaseMessageDomain.js +4 -0
- package/dist/typescript-fetch/models/DashboardCaseModel.d.ts +6 -0
- package/dist/typescript-fetch/models/DashboardCaseModel.js +2 -0
- package/dist/typescript-fetch/models/GetCaseMessagesResponse.d.ts +6 -0
- package/dist/typescript-fetch/models/GetCaseMessagesResponse.js +2 -0
- package/dist/typescript-fetch/models/TimelineItem.d.ts +1 -0
- package/dist/typescript-fetch/models/TimelineItem.js +1 -0
- package/dist/typescript-open-api/otr-backend.d.ts +7 -0
- package/dist/typescript-open-api/otr-backend.js +1 -0
- package/package.json +1 -1
|
@@ -17,12 +17,14 @@ export interface CaseMessageDomain {
|
|
|
17
17
|
authorProfilePicUrl?: string;
|
|
18
18
|
authorRoleType?: CaseMessageDomain.AuthorRoleTypeEnum;
|
|
19
19
|
authorUserId?: number;
|
|
20
|
+
filename?: string;
|
|
20
21
|
isDeleted?: boolean;
|
|
21
22
|
mediaType?: CaseMessageDomain.MediaTypeEnum;
|
|
22
23
|
mediaUrl?: string;
|
|
23
24
|
messageBody?: string;
|
|
24
25
|
messageId?: number;
|
|
25
26
|
messageSentDateUtc?: string;
|
|
27
|
+
signedMediaUrl?: string;
|
|
26
28
|
}
|
|
27
29
|
export namespace CaseMessageDomain {
|
|
28
30
|
export type AuthorRoleTypeEnum = 'ADMIN' | 'DEFENDANT' | 'LAWFIRM_ADMIN' | 'LAWYER' | 'PARTNER' | 'UNKNOWN';
|
|
@@ -33,6 +33,7 @@ export interface DashboardCaseModel {
|
|
|
33
33
|
disputeModel?: DashboardDisputeModel;
|
|
34
34
|
engagementLetter?: EngagementLetterModel;
|
|
35
35
|
hasLeftLawyerReview?: boolean;
|
|
36
|
+
lastActivityDateUtc?: string;
|
|
36
37
|
lawfirmId?: number;
|
|
37
38
|
lawfirmName?: string;
|
|
38
39
|
lawfirmProfilePictureUrl?: string;
|
|
@@ -20,9 +20,10 @@ export interface TimelineItem {
|
|
|
20
20
|
timestamp?: string;
|
|
21
21
|
}
|
|
22
22
|
export namespace TimelineItem {
|
|
23
|
-
export type ItemTypeEnum = 'ACTION' | 'MESSAGE';
|
|
23
|
+
export type ItemTypeEnum = 'ACTION' | 'ATTACHMENT' | 'MESSAGE';
|
|
24
24
|
export const ItemTypeEnum = {
|
|
25
25
|
Action: 'ACTION' as ItemTypeEnum,
|
|
26
|
+
Attachment: 'ATTACHMENT' as ItemTypeEnum,
|
|
26
27
|
Message: 'MESSAGE' as ItemTypeEnum
|
|
27
28
|
};
|
|
28
29
|
}
|
|
@@ -15,12 +15,14 @@ export interface CaseMessageDomain {
|
|
|
15
15
|
"authorProfilePicUrl"?: string;
|
|
16
16
|
"authorRoleType"?: CaseMessageDomain.AuthorRoleTypeEnum;
|
|
17
17
|
"authorUserId"?: number;
|
|
18
|
+
"filename"?: string;
|
|
18
19
|
"isDeleted"?: boolean;
|
|
19
20
|
"mediaType"?: CaseMessageDomain.MediaTypeEnum;
|
|
20
21
|
"mediaUrl"?: string;
|
|
21
22
|
"messageBody"?: string;
|
|
22
23
|
"messageId"?: number;
|
|
23
24
|
"messageSentDateUtc"?: string;
|
|
25
|
+
"signedMediaUrl"?: string;
|
|
24
26
|
}
|
|
25
27
|
export declare namespace CaseMessageDomain {
|
|
26
28
|
enum AuthorRoleTypeEnum {
|
|
@@ -22,6 +22,7 @@ export interface DashboardCaseModel {
|
|
|
22
22
|
"disputeModel"?: models.DashboardDisputeModel;
|
|
23
23
|
"engagementLetter"?: models.EngagementLetterModel;
|
|
24
24
|
"hasLeftLawyerReview"?: boolean;
|
|
25
|
+
"lastActivityDateUtc"?: string;
|
|
25
26
|
"lawfirmId"?: number;
|
|
26
27
|
"lawfirmName"?: string;
|
|
27
28
|
"lawfirmProfilePictureUrl"?: string;
|
|
@@ -14,6 +14,7 @@ export var TimelineItem;
|
|
|
14
14
|
let ItemTypeEnum;
|
|
15
15
|
(function (ItemTypeEnum) {
|
|
16
16
|
ItemTypeEnum[ItemTypeEnum["ACTION"] = 'ACTION'] = "ACTION";
|
|
17
|
+
ItemTypeEnum[ItemTypeEnum["ATTACHMENT"] = 'ATTACHMENT'] = "ATTACHMENT";
|
|
17
18
|
ItemTypeEnum[ItemTypeEnum["MESSAGE"] = 'MESSAGE'] = "MESSAGE";
|
|
18
19
|
})(ItemTypeEnum = TimelineItem.ItemTypeEnum || (TimelineItem.ItemTypeEnum = {}));
|
|
19
20
|
})(TimelineItem || (TimelineItem = {}));
|
|
@@ -45,6 +45,12 @@ export interface CaseMessageDomain {
|
|
|
45
45
|
* @memberof CaseMessageDomain
|
|
46
46
|
*/
|
|
47
47
|
authorUserId?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CaseMessageDomain
|
|
52
|
+
*/
|
|
53
|
+
filename?: string;
|
|
48
54
|
/**
|
|
49
55
|
*
|
|
50
56
|
* @type {boolean}
|
|
@@ -81,6 +87,12 @@ export interface CaseMessageDomain {
|
|
|
81
87
|
* @memberof CaseMessageDomain
|
|
82
88
|
*/
|
|
83
89
|
messageSentDateUtc?: Date;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof CaseMessageDomain
|
|
94
|
+
*/
|
|
95
|
+
signedMediaUrl?: string;
|
|
84
96
|
}
|
|
85
97
|
export declare function CaseMessageDomainFromJSON(json: any): CaseMessageDomain;
|
|
86
98
|
export declare function CaseMessageDomainFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaseMessageDomain;
|
|
@@ -25,12 +25,14 @@ export function CaseMessageDomainFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
'authorProfilePicUrl': !exists(json, 'authorProfilePicUrl') ? undefined : json['authorProfilePicUrl'],
|
|
26
26
|
'authorRoleType': !exists(json, 'authorRoleType') ? undefined : json['authorRoleType'],
|
|
27
27
|
'authorUserId': !exists(json, 'authorUserId') ? undefined : json['authorUserId'],
|
|
28
|
+
'filename': !exists(json, 'filename') ? undefined : json['filename'],
|
|
28
29
|
'isDeleted': !exists(json, 'isDeleted') ? undefined : json['isDeleted'],
|
|
29
30
|
'mediaType': !exists(json, 'mediaType') ? undefined : json['mediaType'],
|
|
30
31
|
'mediaUrl': !exists(json, 'mediaUrl') ? undefined : json['mediaUrl'],
|
|
31
32
|
'messageBody': !exists(json, 'messageBody') ? undefined : json['messageBody'],
|
|
32
33
|
'messageId': !exists(json, 'messageId') ? undefined : json['messageId'],
|
|
33
34
|
'messageSentDateUtc': !exists(json, 'messageSentDateUtc') ? undefined : (new Date(json['messageSentDateUtc'])),
|
|
35
|
+
'signedMediaUrl': !exists(json, 'signedMediaUrl') ? undefined : json['signedMediaUrl'],
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
export function CaseMessageDomainToJSON(value) {
|
|
@@ -46,12 +48,14 @@ export function CaseMessageDomainToJSON(value) {
|
|
|
46
48
|
'authorProfilePicUrl': value.authorProfilePicUrl,
|
|
47
49
|
'authorRoleType': value.authorRoleType,
|
|
48
50
|
'authorUserId': value.authorUserId,
|
|
51
|
+
'filename': value.filename,
|
|
49
52
|
'isDeleted': value.isDeleted,
|
|
50
53
|
'mediaType': value.mediaType,
|
|
51
54
|
'mediaUrl': value.mediaUrl,
|
|
52
55
|
'messageBody': value.messageBody,
|
|
53
56
|
'messageId': value.messageId,
|
|
54
57
|
'messageSentDateUtc': value.messageSentDateUtc === undefined ? undefined : (value.messageSentDateUtc.toISOString()),
|
|
58
|
+
'signedMediaUrl': value.signedMediaUrl,
|
|
55
59
|
};
|
|
56
60
|
}
|
|
57
61
|
/**
|
|
@@ -32,6 +32,7 @@ export function DashboardCaseModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'disputeModel': !exists(json, 'disputeModel') ? undefined : DashboardDisputeModelFromJSON(json['disputeModel']),
|
|
33
33
|
'engagementLetter': !exists(json, 'engagementLetter') ? undefined : EngagementLetterModelFromJSON(json['engagementLetter']),
|
|
34
34
|
'hasLeftLawyerReview': !exists(json, 'hasLeftLawyerReview') ? undefined : json['hasLeftLawyerReview'],
|
|
35
|
+
'lastActivityDateUtc': !exists(json, 'lastActivityDateUtc') ? undefined : (new Date(json['lastActivityDateUtc'])),
|
|
35
36
|
'lawfirmId': !exists(json, 'lawfirmId') ? undefined : json['lawfirmId'],
|
|
36
37
|
'lawfirmName': !exists(json, 'lawfirmName') ? undefined : json['lawfirmName'],
|
|
37
38
|
'lawfirmProfilePictureUrl': !exists(json, 'lawfirmProfilePictureUrl') ? undefined : json['lawfirmProfilePictureUrl'],
|
|
@@ -67,6 +68,7 @@ export function DashboardCaseModelToJSON(value) {
|
|
|
67
68
|
'disputeModel': DashboardDisputeModelToJSON(value.disputeModel),
|
|
68
69
|
'engagementLetter': EngagementLetterModelToJSON(value.engagementLetter),
|
|
69
70
|
'hasLeftLawyerReview': value.hasLeftLawyerReview,
|
|
71
|
+
'lastActivityDateUtc': value.lastActivityDateUtc === undefined ? undefined : (value.lastActivityDateUtc.toISOString()),
|
|
70
72
|
'lawfirmId': value.lawfirmId,
|
|
71
73
|
'lawfirmName': value.lawfirmName,
|
|
72
74
|
'lawfirmProfilePictureUrl': value.lawfirmProfilePictureUrl,
|
|
@@ -16,6 +16,12 @@ import { CaseMessageDomain, TimelineItem } from './';
|
|
|
16
16
|
* @interface GetCaseMessagesResponse
|
|
17
17
|
*/
|
|
18
18
|
export interface GetCaseMessagesResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Date}
|
|
22
|
+
* @memberof GetCaseMessagesResponse
|
|
23
|
+
*/
|
|
24
|
+
courtDateUtc?: Date;
|
|
19
25
|
/**
|
|
20
26
|
*
|
|
21
27
|
* @type {Array<CaseMessageDomain>}
|
|
@@ -21,6 +21,7 @@ export function GetCaseMessagesResponseFromJSONTyped(json, ignoreDiscriminator)
|
|
|
21
21
|
return json;
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
|
+
'courtDateUtc': !exists(json, 'courtDateUtc') ? undefined : (new Date(json['courtDateUtc'])),
|
|
24
25
|
'messages': !exists(json, 'messages') ? undefined : (json['messages'].map(CaseMessageDomainFromJSON)),
|
|
25
26
|
'timeline': !exists(json, 'timeline') ? undefined : (json['timeline'].map(TimelineItemFromJSON)),
|
|
26
27
|
'totalRecords': !exists(json, 'totalRecords') ? undefined : json['totalRecords'],
|
|
@@ -34,6 +35,7 @@ export function GetCaseMessagesResponseToJSON(value) {
|
|
|
34
35
|
return null;
|
|
35
36
|
}
|
|
36
37
|
return {
|
|
38
|
+
'courtDateUtc': value.courtDateUtc === undefined ? undefined : (value.courtDateUtc.toISOString()),
|
|
37
39
|
'messages': value.messages === undefined ? undefined : (value.messages.map(CaseMessageDomainToJSON)),
|
|
38
40
|
'timeline': value.timeline === undefined ? undefined : (value.timeline.map(TimelineItemToJSON)),
|
|
39
41
|
'totalRecords': value.totalRecords,
|
|
@@ -48,5 +48,6 @@ export function TimelineItemToJSON(value) {
|
|
|
48
48
|
export var TimelineItemItemTypeEnum;
|
|
49
49
|
(function (TimelineItemItemTypeEnum) {
|
|
50
50
|
TimelineItemItemTypeEnum["ACTION"] = "ACTION";
|
|
51
|
+
TimelineItemItemTypeEnum["ATTACHMENT"] = "ATTACHMENT";
|
|
51
52
|
TimelineItemItemTypeEnum["MESSAGE"] = "MESSAGE";
|
|
52
53
|
})(TimelineItemItemTypeEnum || (TimelineItemItemTypeEnum = {}));
|
|
@@ -8478,6 +8478,7 @@ export interface components {
|
|
|
8478
8478
|
authorRoleType?: AuthorModelUserRole;
|
|
8479
8479
|
/** Format: int64 */
|
|
8480
8480
|
authorUserId?: number;
|
|
8481
|
+
filename?: string;
|
|
8481
8482
|
isDeleted?: boolean;
|
|
8482
8483
|
/** @enum {string} */
|
|
8483
8484
|
mediaType?: CaseMessageDomainMediaType;
|
|
@@ -8487,6 +8488,7 @@ export interface components {
|
|
|
8487
8488
|
messageId?: number;
|
|
8488
8489
|
/** Format: date-time */
|
|
8489
8490
|
messageSentDateUtc?: string;
|
|
8491
|
+
signedMediaUrl?: string;
|
|
8490
8492
|
};
|
|
8491
8493
|
/** CaseModel */
|
|
8492
8494
|
CaseModel: {
|
|
@@ -9852,6 +9854,8 @@ export interface components {
|
|
|
9852
9854
|
disputeModel?: components["schemas"]["DashboardDisputeModel"];
|
|
9853
9855
|
engagementLetter?: components["schemas"]["EngagementLetterModel"];
|
|
9854
9856
|
hasLeftLawyerReview?: boolean;
|
|
9857
|
+
/** Format: date-time */
|
|
9858
|
+
lastActivityDateUtc?: string;
|
|
9855
9859
|
/** Format: int64 */
|
|
9856
9860
|
lawfirmId?: number;
|
|
9857
9861
|
lawfirmName?: string;
|
|
@@ -10718,6 +10722,8 @@ export interface components {
|
|
|
10718
10722
|
};
|
|
10719
10723
|
/** GetCaseMessagesResponse */
|
|
10720
10724
|
GetCaseMessagesResponse: {
|
|
10725
|
+
/** Format: date-time */
|
|
10726
|
+
courtDateUtc?: string;
|
|
10721
10727
|
messages?: components["schemas"]["CaseMessageDomain"][];
|
|
10722
10728
|
timeline?: components["schemas"]["TimelineItem"][];
|
|
10723
10729
|
/** Format: int32 */
|
|
@@ -41421,6 +41427,7 @@ export declare enum SubscriptionPlanEligibilitySubscriptionDiscountEligibilityTy
|
|
|
41421
41427
|
}
|
|
41422
41428
|
export declare enum TimelineItemItemType {
|
|
41423
41429
|
ACTION = "ACTION",
|
|
41430
|
+
ATTACHMENT = "ATTACHMENT",
|
|
41424
41431
|
MESSAGE = "MESSAGE"
|
|
41425
41432
|
}
|
|
41426
41433
|
export declare enum UserReferralLinkModelReferralLinkType {
|
|
@@ -1336,6 +1336,7 @@ export var SubscriptionPlanEligibilitySubscriptionDiscountEligibilityType;
|
|
|
1336
1336
|
export var TimelineItemItemType;
|
|
1337
1337
|
(function (TimelineItemItemType) {
|
|
1338
1338
|
TimelineItemItemType["ACTION"] = "ACTION";
|
|
1339
|
+
TimelineItemItemType["ATTACHMENT"] = "ATTACHMENT";
|
|
1339
1340
|
TimelineItemItemType["MESSAGE"] = "MESSAGE";
|
|
1340
1341
|
})(TimelineItemItemType || (TimelineItemItemType = {}));
|
|
1341
1342
|
export var UserReferralLinkModelReferralLinkType;
|