@otr-app/shared-backend-generated-client 2.5.47 → 2.5.49

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.
@@ -17,6 +17,7 @@ export interface ListDashboardCasesResponse {
17
17
  cases?: Array<DashboardCaseModel>;
18
18
  counts?: DashboardCaseCountsDto;
19
19
  filteredCaseCount?: number;
20
+ needsAttentionCaseCount?: number;
20
21
  previousPageToken?: string;
21
22
  totalCaseCount?: number;
22
23
  }
@@ -10,17 +10,16 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { NoteAuthor } from './noteAuthor';
13
- import { Timestamp } from './timestamp';
14
13
 
15
14
 
16
15
  export interface NoteModel {
17
16
  author?: NoteAuthor;
18
- deletedDateUtc?: Timestamp;
17
+ deletedDateUtc?: string;
19
18
  isDeleted?: boolean;
20
19
  note?: string;
21
20
  noteId?: number;
22
21
  noteType?: NoteModel.NoteTypeEnum;
23
- postedDateUtc?: Timestamp;
22
+ postedDateUtc?: string;
24
23
  referenceId?: string;
25
24
  }
26
25
  export namespace NoteModel {
@@ -14,6 +14,7 @@ export interface ListDashboardCasesResponse {
14
14
  "cases"?: Array<models.DashboardCaseModel>;
15
15
  "counts"?: models.DashboardCaseCountsDto;
16
16
  "filteredCaseCount"?: number;
17
+ "needsAttentionCaseCount"?: number;
17
18
  "previousPageToken"?: string;
18
19
  "totalCaseCount"?: number;
19
20
  }
@@ -12,12 +12,12 @@
12
12
  import * as models from './models';
13
13
  export interface NoteModel {
14
14
  "author"?: models.NoteAuthor;
15
- "deletedDateUtc"?: models.Timestamp;
15
+ "deletedDateUtc"?: string;
16
16
  "isDeleted"?: boolean;
17
17
  "note"?: string;
18
18
  "noteId"?: number;
19
19
  "noteType"?: NoteModel.NoteTypeEnum;
20
- "postedDateUtc"?: models.Timestamp;
20
+ "postedDateUtc"?: string;
21
21
  "referenceId"?: string;
22
22
  }
23
23
  export declare namespace NoteModel {
@@ -34,6 +34,12 @@ export interface ListDashboardCasesResponse {
34
34
  * @memberof ListDashboardCasesResponse
35
35
  */
36
36
  filteredCaseCount?: number;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ListDashboardCasesResponse
41
+ */
42
+ needsAttentionCaseCount?: number;
37
43
  /**
38
44
  *
39
45
  * @type {string}
@@ -24,6 +24,7 @@ export function ListDashboardCasesResponseFromJSONTyped(json, ignoreDiscriminato
24
24
  'cases': !exists(json, 'cases') ? undefined : (json['cases'].map(DashboardCaseModelFromJSON)),
25
25
  'counts': !exists(json, 'counts') ? undefined : DashboardCaseCountsDtoFromJSON(json['counts']),
26
26
  'filteredCaseCount': !exists(json, 'filteredCaseCount') ? undefined : json['filteredCaseCount'],
27
+ 'needsAttentionCaseCount': !exists(json, 'needsAttentionCaseCount') ? undefined : json['needsAttentionCaseCount'],
27
28
  'previousPageToken': !exists(json, 'previousPageToken') ? undefined : json['previousPageToken'],
28
29
  'totalCaseCount': !exists(json, 'totalCaseCount') ? undefined : json['totalCaseCount'],
29
30
  };
@@ -39,6 +40,7 @@ export function ListDashboardCasesResponseToJSON(value) {
39
40
  'cases': value.cases === undefined ? undefined : (value.cases.map(DashboardCaseModelToJSON)),
40
41
  'counts': DashboardCaseCountsDtoToJSON(value.counts),
41
42
  'filteredCaseCount': value.filteredCaseCount,
43
+ 'needsAttentionCaseCount': value.needsAttentionCaseCount,
42
44
  'previousPageToken': value.previousPageToken,
43
45
  'totalCaseCount': value.totalCaseCount,
44
46
  };
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { NoteAuthor, Timestamp } from './';
12
+ import { NoteAuthor } from './';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -24,10 +24,10 @@ export interface NoteModel {
24
24
  author?: NoteAuthor;
25
25
  /**
26
26
  *
27
- * @type {Timestamp}
27
+ * @type {Date}
28
28
  * @memberof NoteModel
29
29
  */
30
- deletedDateUtc?: Timestamp;
30
+ deletedDateUtc?: Date;
31
31
  /**
32
32
  *
33
33
  * @type {boolean}
@@ -54,10 +54,10 @@ export interface NoteModel {
54
54
  noteType?: NoteModelNoteTypeEnum;
55
55
  /**
56
56
  *
57
- * @type {Timestamp}
57
+ * @type {Date}
58
58
  * @memberof NoteModel
59
59
  */
60
- postedDateUtc?: Timestamp;
60
+ postedDateUtc?: Date;
61
61
  /**
62
62
  *
63
63
  * @type {string}
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { NoteAuthorFromJSON, NoteAuthorToJSON, TimestampFromJSON, TimestampToJSON, } from './';
15
+ import { NoteAuthorFromJSON, NoteAuthorToJSON, } from './';
16
16
  export function NoteModelFromJSON(json) {
17
17
  return NoteModelFromJSONTyped(json, false);
18
18
  }
@@ -22,12 +22,12 @@ export function NoteModelFromJSONTyped(json, ignoreDiscriminator) {
22
22
  }
23
23
  return {
24
24
  'author': !exists(json, 'author') ? undefined : NoteAuthorFromJSON(json['author']),
25
- 'deletedDateUtc': !exists(json, 'deletedDateUtc') ? undefined : TimestampFromJSON(json['deletedDateUtc']),
25
+ 'deletedDateUtc': !exists(json, 'deletedDateUtc') ? undefined : (new Date(json['deletedDateUtc'])),
26
26
  'isDeleted': !exists(json, 'isDeleted') ? undefined : json['isDeleted'],
27
27
  'note': !exists(json, 'note') ? undefined : json['note'],
28
28
  'noteId': !exists(json, 'noteId') ? undefined : json['noteId'],
29
29
  'noteType': !exists(json, 'noteType') ? undefined : json['noteType'],
30
- 'postedDateUtc': !exists(json, 'postedDateUtc') ? undefined : TimestampFromJSON(json['postedDateUtc']),
30
+ 'postedDateUtc': !exists(json, 'postedDateUtc') ? undefined : (new Date(json['postedDateUtc'])),
31
31
  'referenceId': !exists(json, 'referenceId') ? undefined : json['referenceId'],
32
32
  };
33
33
  }
@@ -40,12 +40,12 @@ export function NoteModelToJSON(value) {
40
40
  }
41
41
  return {
42
42
  'author': NoteAuthorToJSON(value.author),
43
- 'deletedDateUtc': TimestampToJSON(value.deletedDateUtc),
43
+ 'deletedDateUtc': value.deletedDateUtc === undefined ? undefined : (value.deletedDateUtc.toISOString()),
44
44
  'isDeleted': value.isDeleted,
45
45
  'note': value.note,
46
46
  'noteId': value.noteId,
47
47
  'noteType': value.noteType,
48
- 'postedDateUtc': TimestampToJSON(value.postedDateUtc),
48
+ 'postedDateUtc': value.postedDateUtc === undefined ? undefined : (value.postedDateUtc.toISOString()),
49
49
  'referenceId': value.referenceId,
50
50
  };
51
51
  }
@@ -12747,6 +12747,8 @@ export interface components {
12747
12747
  counts?: components["schemas"]["DashboardCaseCountsDto"];
12748
12748
  /** Format: int32 */
12749
12749
  filteredCaseCount?: number;
12750
+ /** Format: int32 */
12751
+ needsAttentionCaseCount?: number;
12750
12752
  previousPageToken?: string;
12751
12753
  /** Format: int32 */
12752
12754
  totalCaseCount?: number;
@@ -13398,14 +13400,16 @@ export interface components {
13398
13400
  /** NoteModel */
13399
13401
  NoteModel: {
13400
13402
  author?: components["schemas"]["NoteAuthor"];
13401
- deletedDateUtc?: components["schemas"]["Timestamp"];
13403
+ /** Format: date-time */
13404
+ deletedDateUtc?: string;
13402
13405
  isDeleted?: boolean;
13403
13406
  note?: string;
13404
13407
  /** Format: int64 */
13405
13408
  noteId?: number;
13406
13409
  /** @enum {string} */
13407
13410
  noteType?: PathsApiV2NotesSearchGetParametersQueryNoteType;
13408
- postedDateUtc?: components["schemas"]["Timestamp"];
13411
+ /** Format: date-time */
13412
+ postedDateUtc?: string;
13409
13413
  referenceId?: string;
13410
13414
  };
13411
13415
  /** NotificationEvent */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.47",
3
+ "version": "2.5.49",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"