@otr-app/shared-backend-generated-client 2.5.48 → 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.
@@ -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 {
@@ -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 {
@@ -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
  }
@@ -13400,14 +13400,16 @@ export interface components {
13400
13400
  /** NoteModel */
13401
13401
  NoteModel: {
13402
13402
  author?: components["schemas"]["NoteAuthor"];
13403
- deletedDateUtc?: components["schemas"]["Timestamp"];
13403
+ /** Format: date-time */
13404
+ deletedDateUtc?: string;
13404
13405
  isDeleted?: boolean;
13405
13406
  note?: string;
13406
13407
  /** Format: int64 */
13407
13408
  noteId?: number;
13408
13409
  /** @enum {string} */
13409
13410
  noteType?: PathsApiV2NotesSearchGetParametersQueryNoteType;
13410
- postedDateUtc?: components["schemas"]["Timestamp"];
13411
+ /** Format: date-time */
13412
+ postedDateUtc?: string;
13411
13413
  referenceId?: string;
13412
13414
  };
13413
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.48",
3
+ "version": "2.5.49",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"