@otr-app/shared-backend-generated-client 2.5.121 → 2.5.122

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.
@@ -34,6 +34,7 @@ export interface DashboardCaseModel {
34
34
  engagementLetter?: EngagementLetterModel;
35
35
  hasLeftLawyerReview?: boolean;
36
36
  lastActivityDateUtc?: string;
37
+ lastMessageType?: DashboardCaseModel.LastMessageTypeEnum;
37
38
  lawfirmId?: number;
38
39
  lawfirmName?: string;
39
40
  lawfirmProfilePictureUrl?: string;
@@ -49,4 +50,12 @@ export interface DashboardCaseModel {
49
50
  userId?: number;
50
51
  violations?: Array<ListDashboardCasesViolationModel>;
51
52
  }
53
+ export namespace DashboardCaseModel {
54
+ export type LastMessageTypeEnum = 'attachment' | 'message';
55
+ export const LastMessageTypeEnum = {
56
+ Attachment: 'attachment' as LastMessageTypeEnum,
57
+ Message: 'message' as LastMessageTypeEnum
58
+ };
59
+ }
60
+
52
61
 
@@ -23,6 +23,7 @@ export interface DashboardCaseModel {
23
23
  "engagementLetter"?: models.EngagementLetterModel;
24
24
  "hasLeftLawyerReview"?: boolean;
25
25
  "lastActivityDateUtc"?: string;
26
+ "lastMessageType"?: DashboardCaseModel.LastMessageTypeEnum;
26
27
  "lawfirmId"?: number;
27
28
  "lawfirmName"?: string;
28
29
  "lawfirmProfilePictureUrl"?: string;
@@ -38,3 +39,9 @@ export interface DashboardCaseModel {
38
39
  "userId"?: number;
39
40
  "violations"?: Array<models.ListDashboardCasesViolationModel>;
40
41
  }
42
+ export declare namespace DashboardCaseModel {
43
+ enum LastMessageTypeEnum {
44
+ Attachment,
45
+ Message
46
+ }
47
+ }
@@ -9,4 +9,11 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export {};
12
+ export var DashboardCaseModel;
13
+ (function (DashboardCaseModel) {
14
+ let LastMessageTypeEnum;
15
+ (function (LastMessageTypeEnum) {
16
+ LastMessageTypeEnum[LastMessageTypeEnum["Attachment"] = 'attachment'] = "Attachment";
17
+ LastMessageTypeEnum[LastMessageTypeEnum["Message"] = 'message'] = "Message";
18
+ })(LastMessageTypeEnum = DashboardCaseModel.LastMessageTypeEnum || (DashboardCaseModel.LastMessageTypeEnum = {}));
19
+ })(DashboardCaseModel || (DashboardCaseModel = {}));
@@ -88,6 +88,12 @@ export interface DashboardCaseModel {
88
88
  * @memberof DashboardCaseModel
89
89
  */
90
90
  lastActivityDateUtc?: Date;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof DashboardCaseModel
95
+ */
96
+ lastMessageType?: DashboardCaseModelLastMessageTypeEnum;
91
97
  /**
92
98
  *
93
99
  * @type {number}
@@ -176,3 +182,11 @@ export interface DashboardCaseModel {
176
182
  export declare function DashboardCaseModelFromJSON(json: any): DashboardCaseModel;
177
183
  export declare function DashboardCaseModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardCaseModel;
178
184
  export declare function DashboardCaseModelToJSON(value?: DashboardCaseModel | null): any;
185
+ /**
186
+ * @export
187
+ * @enum {string}
188
+ */
189
+ export declare enum DashboardCaseModelLastMessageTypeEnum {
190
+ Attachment = "attachment",
191
+ Message = "message"
192
+ }
@@ -33,6 +33,7 @@ export function DashboardCaseModelFromJSONTyped(json, ignoreDiscriminator) {
33
33
  'engagementLetter': !exists(json, 'engagementLetter') ? undefined : EngagementLetterModelFromJSON(json['engagementLetter']),
34
34
  'hasLeftLawyerReview': !exists(json, 'hasLeftLawyerReview') ? undefined : json['hasLeftLawyerReview'],
35
35
  'lastActivityDateUtc': !exists(json, 'lastActivityDateUtc') ? undefined : (new Date(json['lastActivityDateUtc'])),
36
+ 'lastMessageType': !exists(json, 'lastMessageType') ? undefined : json['lastMessageType'],
36
37
  'lawfirmId': !exists(json, 'lawfirmId') ? undefined : json['lawfirmId'],
37
38
  'lawfirmName': !exists(json, 'lawfirmName') ? undefined : json['lawfirmName'],
38
39
  'lawfirmProfilePictureUrl': !exists(json, 'lawfirmProfilePictureUrl') ? undefined : json['lawfirmProfilePictureUrl'],
@@ -69,6 +70,7 @@ export function DashboardCaseModelToJSON(value) {
69
70
  'engagementLetter': EngagementLetterModelToJSON(value.engagementLetter),
70
71
  'hasLeftLawyerReview': value.hasLeftLawyerReview,
71
72
  'lastActivityDateUtc': value.lastActivityDateUtc === undefined ? undefined : (value.lastActivityDateUtc.toISOString()),
73
+ 'lastMessageType': value.lastMessageType,
72
74
  'lawfirmId': value.lawfirmId,
73
75
  'lawfirmName': value.lawfirmName,
74
76
  'lawfirmProfilePictureUrl': value.lawfirmProfilePictureUrl,
@@ -85,3 +87,12 @@ export function DashboardCaseModelToJSON(value) {
85
87
  'violations': value.violations === undefined ? undefined : (value.violations.map(ListDashboardCasesViolationModelToJSON)),
86
88
  };
87
89
  }
90
+ /**
91
+ * @export
92
+ * @enum {string}
93
+ */
94
+ export var DashboardCaseModelLastMessageTypeEnum;
95
+ (function (DashboardCaseModelLastMessageTypeEnum) {
96
+ DashboardCaseModelLastMessageTypeEnum["Attachment"] = "attachment";
97
+ DashboardCaseModelLastMessageTypeEnum["Message"] = "message";
98
+ })(DashboardCaseModelLastMessageTypeEnum || (DashboardCaseModelLastMessageTypeEnum = {}));
@@ -9942,6 +9942,8 @@ export interface components {
9942
9942
  hasLeftLawyerReview?: boolean;
9943
9943
  /** Format: date-time */
9944
9944
  lastActivityDateUtc?: string;
9945
+ /** @enum {string} */
9946
+ lastMessageType?: DashboardCaseModelLastMessageType;
9945
9947
  /** Format: int64 */
9946
9948
  lawfirmId?: number;
9947
9949
  lawfirmName?: string;
@@ -41334,6 +41336,10 @@ export declare enum DashboardCaseCounterOfferModelCounterOfferStatus {
41334
41336
  PENDING = "PENDING",
41335
41337
  WITHDRAWN = "WITHDRAWN"
41336
41338
  }
41339
+ export declare enum DashboardCaseModelLastMessageType {
41340
+ attachment = "attachment",
41341
+ message = "message"
41342
+ }
41337
41343
  export declare enum DashboardCaseUserModelVerificationStatus {
41338
41344
  CANCELLED = "CANCELLED",
41339
41345
  PENDING = "PENDING",
@@ -840,6 +840,11 @@ export var DashboardCaseCounterOfferModelCounterOfferStatus;
840
840
  DashboardCaseCounterOfferModelCounterOfferStatus["PENDING"] = "PENDING";
841
841
  DashboardCaseCounterOfferModelCounterOfferStatus["WITHDRAWN"] = "WITHDRAWN";
842
842
  })(DashboardCaseCounterOfferModelCounterOfferStatus || (DashboardCaseCounterOfferModelCounterOfferStatus = {}));
843
+ export var DashboardCaseModelLastMessageType;
844
+ (function (DashboardCaseModelLastMessageType) {
845
+ DashboardCaseModelLastMessageType["attachment"] = "attachment";
846
+ DashboardCaseModelLastMessageType["message"] = "message";
847
+ })(DashboardCaseModelLastMessageType || (DashboardCaseModelLastMessageType = {}));
843
848
  export var DashboardCaseUserModelVerificationStatus;
844
849
  (function (DashboardCaseUserModelVerificationStatus) {
845
850
  DashboardCaseUserModelVerificationStatus["CANCELLED"] = "CANCELLED";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.121",
3
+ "version": "2.5.122",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"