@otr-app/shared-backend-generated-client 2.5.70 → 2.5.71

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.
@@ -43,6 +43,8 @@ export interface DashboardCaseModel {
43
43
  messageBody?: string;
44
44
  overduePayment?: OverduePaymentModel;
45
45
  status?: DashboardStatusModel;
46
+ unread?: boolean;
47
+ unreadNotificationCount?: number;
46
48
  userId?: number;
47
49
  violations?: Array<ViolationModel0>;
48
50
  }
@@ -32,6 +32,8 @@ export interface DashboardCaseModel {
32
32
  "messageBody"?: string;
33
33
  "overduePayment"?: models.OverduePaymentModel;
34
34
  "status"?: models.DashboardStatusModel;
35
+ "unread"?: boolean;
36
+ "unreadNotificationCount"?: number;
35
37
  "userId"?: number;
36
38
  "violations"?: Array<models.ViolationModel0>;
37
39
  }
@@ -142,6 +142,18 @@ export interface DashboardCaseModel {
142
142
  * @memberof DashboardCaseModel
143
143
  */
144
144
  status?: DashboardStatusModel;
145
+ /**
146
+ *
147
+ * @type {boolean}
148
+ * @memberof DashboardCaseModel
149
+ */
150
+ unread?: boolean;
151
+ /**
152
+ *
153
+ * @type {number}
154
+ * @memberof DashboardCaseModel
155
+ */
156
+ unreadNotificationCount?: number;
145
157
  /**
146
158
  *
147
159
  * @type {number}
@@ -42,6 +42,8 @@ export function DashboardCaseModelFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'messageBody': !exists(json, 'messageBody') ? undefined : json['messageBody'],
43
43
  'overduePayment': !exists(json, 'overduePayment') ? undefined : OverduePaymentModelFromJSON(json['overduePayment']),
44
44
  'status': !exists(json, 'status') ? undefined : DashboardStatusModelFromJSON(json['status']),
45
+ 'unread': !exists(json, 'unread') ? undefined : json['unread'],
46
+ 'unreadNotificationCount': !exists(json, 'unreadNotificationCount') ? undefined : json['unreadNotificationCount'],
45
47
  'userId': !exists(json, 'userId') ? undefined : json['userId'],
46
48
  'violations': !exists(json, 'violations') ? undefined : (json['violations'].map(ViolationModel0FromJSON)),
47
49
  };
@@ -75,6 +77,8 @@ export function DashboardCaseModelToJSON(value) {
75
77
  'messageBody': value.messageBody,
76
78
  'overduePayment': OverduePaymentModelToJSON(value.overduePayment),
77
79
  'status': DashboardStatusModelToJSON(value.status),
80
+ 'unread': value.unread,
81
+ 'unreadNotificationCount': value.unreadNotificationCount,
78
82
  'userId': value.userId,
79
83
  'violations': value.violations === undefined ? undefined : (value.violations.map(ViolationModel0ToJSON)),
80
84
  };
@@ -9867,6 +9867,9 @@ export interface components {
9867
9867
  messageBody?: string;
9868
9868
  overduePayment?: components["schemas"]["OverduePaymentModel"];
9869
9869
  status?: components["schemas"]["DashboardStatusModel"];
9870
+ unread?: boolean;
9871
+ /** Format: int32 */
9872
+ unreadNotificationCount?: number;
9870
9873
  /** Format: int64 */
9871
9874
  userId?: number;
9872
9875
  violations?: components["schemas"]["ViolationModel0"][];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.70",
3
+ "version": "2.5.71",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"