@otr-app/shared-backend-generated-client 2.5.62 → 2.5.63

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.
@@ -14,12 +14,12 @@ import { NoteAuthor } from './noteAuthor';
14
14
 
15
15
  export interface NoteModel {
16
16
  author?: NoteAuthor;
17
- deletedDateUtc?: string;
17
+ deletedDateUtc?: number;
18
18
  isDeleted?: boolean;
19
19
  note?: string;
20
20
  noteId?: number;
21
21
  noteType?: NoteModel.NoteTypeEnum;
22
- postedDateUtc?: string;
22
+ postedDateUtc?: number;
23
23
  referenceId?: string;
24
24
  }
25
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"?: string;
15
+ "deletedDateUtc"?: number;
16
16
  "isDeleted"?: boolean;
17
17
  "note"?: string;
18
18
  "noteId"?: number;
19
19
  "noteType"?: NoteModel.NoteTypeEnum;
20
- "postedDateUtc"?: string;
20
+ "postedDateUtc"?: number;
21
21
  "referenceId"?: string;
22
22
  }
23
23
  export declare namespace NoteModel {
@@ -24,10 +24,10 @@ export interface NoteModel {
24
24
  author?: NoteAuthor;
25
25
  /**
26
26
  *
27
- * @type {Date}
27
+ * @type {number}
28
28
  * @memberof NoteModel
29
29
  */
30
- deletedDateUtc?: Date;
30
+ deletedDateUtc?: number;
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 {Date}
57
+ * @type {number}
58
58
  * @memberof NoteModel
59
59
  */
60
- postedDateUtc?: Date;
60
+ postedDateUtc?: number;
61
61
  /**
62
62
  *
63
63
  * @type {string}
@@ -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 : (new Date(json['deletedDateUtc'])),
25
+ 'deletedDateUtc': !exists(json, 'deletedDateUtc') ? undefined : 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 : (new Date(json['postedDateUtc'])),
30
+ 'postedDateUtc': !exists(json, 'postedDateUtc') ? undefined : 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': value.deletedDateUtc === undefined ? undefined : (value.deletedDateUtc.toISOString()),
43
+ 'deletedDateUtc': value.deletedDateUtc,
44
44
  'isDeleted': value.isDeleted,
45
45
  'note': value.note,
46
46
  'noteId': value.noteId,
47
47
  'noteType': value.noteType,
48
- 'postedDateUtc': value.postedDateUtc === undefined ? undefined : (value.postedDateUtc.toISOString()),
48
+ 'postedDateUtc': value.postedDateUtc,
49
49
  'referenceId': value.referenceId,
50
50
  };
51
51
  }
@@ -13481,16 +13481,16 @@ export interface components {
13481
13481
  /** NoteModel */
13482
13482
  NoteModel: {
13483
13483
  author?: components["schemas"]["NoteAuthor"];
13484
- /** Format: date-time */
13485
- deletedDateUtc?: string;
13484
+ /** Format: int64 */
13485
+ deletedDateUtc?: number;
13486
13486
  isDeleted?: boolean;
13487
13487
  note?: string;
13488
13488
  /** Format: int64 */
13489
13489
  noteId?: number;
13490
13490
  /** @enum {string} */
13491
13491
  noteType?: PathsApiV2NotesSearchGetParametersQueryNoteType;
13492
- /** Format: date-time */
13493
- postedDateUtc?: string;
13492
+ /** Format: int64 */
13493
+ postedDateUtc?: number;
13494
13494
  referenceId?: string;
13495
13495
  };
13496
13496
  /** NotificationEvent */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.62",
3
+ "version": "2.5.63",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"