@managespace/sdk 0.0.210 → 0.0.211

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.
@@ -82,6 +82,18 @@ export interface JournalEntry {
82
82
  * @memberof JournalEntry
83
83
  */
84
84
  transactionAmount: string;
85
+ /**
86
+ * The date the journal entry was created
87
+ * @type {string}
88
+ * @memberof JournalEntry
89
+ */
90
+ createdAt: string;
91
+ /**
92
+ * The date the journal entry was updated
93
+ * @type {string}
94
+ * @memberof JournalEntry
95
+ */
96
+ updatedAt: string;
85
97
  }
86
98
  /**
87
99
  * Check if a given object implements the JournalEntry interface.
@@ -1 +1 @@
1
- {"version":3,"file":"journal-entry.d.ts","sourceRoot":"","sources":["../../../src/generated/models/journal-entry.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACpC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAW3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAkB/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAmB9G"}
1
+ {"version":3,"file":"journal-entry.d.ts","sourceRoot":"","sources":["../../../src/generated/models/journal-entry.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACpC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAa3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAoB/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAqB9G"}
@@ -37,6 +37,10 @@ function instanceOfJournalEntry(value) {
37
37
  return false;
38
38
  if (!('transactionAmount' in value) || value['transactionAmount'] === undefined)
39
39
  return false;
40
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
41
+ return false;
42
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
43
+ return false;
40
44
  return true;
41
45
  }
42
46
  exports.instanceOfJournalEntry = instanceOfJournalEntry;
@@ -60,6 +64,8 @@ function JournalEntryFromJSONTyped(json, ignoreDiscriminator) {
60
64
  'transactionCurrency': json['transactionCurrency'],
61
65
  'transactionConversionRate': json['transactionConversionRate'],
62
66
  'transactionAmount': json['transactionAmount'],
67
+ 'createdAt': json['createdAt'],
68
+ 'updatedAt': json['updatedAt'],
63
69
  };
64
70
  }
65
71
  exports.JournalEntryFromJSONTyped = JournalEntryFromJSONTyped;
@@ -83,6 +89,8 @@ function JournalEntryToJSONTyped(value, ignoreDiscriminator = false) {
83
89
  'transactionCurrency': value['transactionCurrency'],
84
90
  'transactionConversionRate': value['transactionConversionRate'],
85
91
  'transactionAmount': value['transactionAmount'],
92
+ 'createdAt': value['createdAt'],
93
+ 'updatedAt': value['updatedAt'],
86
94
  };
87
95
  }
88
96
  exports.JournalEntryToJSONTyped = JournalEntryToJSONTyped;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managespace/sdk",
3
- "version": "0.0.210",
3
+ "version": "0.0.211",
4
4
  "scripts": {
5
5
  "dev": "tsc -w --preserveWatchOutput",
6
6
  "build": "tsc",
@@ -93,6 +93,18 @@ export interface JournalEntry {
93
93
  * @memberof JournalEntry
94
94
  */
95
95
  transactionAmount: string;
96
+ /**
97
+ * The date the journal entry was created
98
+ * @type {string}
99
+ * @memberof JournalEntry
100
+ */
101
+ createdAt: string;
102
+ /**
103
+ * The date the journal entry was updated
104
+ * @type {string}
105
+ * @memberof JournalEntry
106
+ */
107
+ updatedAt: string;
96
108
  }
97
109
 
98
110
  /**
@@ -108,6 +120,8 @@ export function instanceOfJournalEntry(value: object): value is JournalEntry {
108
120
  if (!('transactionCurrency' in value) || value['transactionCurrency'] === undefined) return false;
109
121
  if (!('transactionConversionRate' in value) || value['transactionConversionRate'] === undefined) return false;
110
122
  if (!('transactionAmount' in value) || value['transactionAmount'] === undefined) return false;
123
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
124
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
111
125
  return true;
112
126
  }
113
127
 
@@ -132,6 +146,8 @@ export function JournalEntryFromJSONTyped(json: any, ignoreDiscriminator: boolea
132
146
  'transactionCurrency': json['transactionCurrency'],
133
147
  'transactionConversionRate': json['transactionConversionRate'],
134
148
  'transactionAmount': json['transactionAmount'],
149
+ 'createdAt': json['createdAt'],
150
+ 'updatedAt': json['updatedAt'],
135
151
  };
136
152
  }
137
153
 
@@ -157,6 +173,8 @@ export function JournalEntryToJSONTyped(value?: JournalEntry | null, ignoreDiscr
157
173
  'transactionCurrency': value['transactionCurrency'],
158
174
  'transactionConversionRate': value['transactionConversionRate'],
159
175
  'transactionAmount': value['transactionAmount'],
176
+ 'createdAt': value['createdAt'],
177
+ 'updatedAt': value['updatedAt'],
160
178
  };
161
179
  }
162
180