files.com 1.2.296 → 1.2.298
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.
- package/README.md +6 -1
- package/_VERSION +1 -1
- package/docs/Errors.md +6 -1
- package/docs/models/AccountLineItem.md +1 -0
- package/docs/models/Invoice.md +1 -0
- package/docs/models/InvoiceLineItem.md +2 -0
- package/docs/models/Payment.md +1 -0
- package/docs/models/Sync.md +68 -2
- package/docs/models/SyncRun.md +8 -6
- package/lib/Errors.js +598 -538
- package/lib/Files.js +1 -1
- package/lib/models/InvoiceLineItem.js +4 -0
- package/lib/models/Sync.js +174 -118
- package/lib/models/SyncRun.js +23 -28
- package/package.json +1 -1
- package/src/Errors.js +6 -1
- package/src/Files.js +1 -1
- package/src/models/InvoiceLineItem.js +3 -0
- package/src/models/Sync.js +33 -0
- package/src/models/SyncRun.js +11 -14
package/lib/Files.js
CHANGED
|
@@ -12,7 +12,7 @@ var apiKey;
|
|
|
12
12
|
var baseUrl = 'https://app.files.com';
|
|
13
13
|
var sessionId = null;
|
|
14
14
|
var language = null;
|
|
15
|
-
var version = '1.2.
|
|
15
|
+
var version = '1.2.298';
|
|
16
16
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
|
17
17
|
var logLevel = _Logger.LogLevel.INFO;
|
|
18
18
|
var debugRequest = false;
|
|
@@ -28,6 +28,10 @@ var InvoiceLineItem = /*#__PURE__*/(0, _createClass2.default)(function InvoiceLi
|
|
|
28
28
|
(0, _defineProperty2.default)(this, "isLoaded", function () {
|
|
29
29
|
return !!_this.attributes.id;
|
|
30
30
|
});
|
|
31
|
+
// int64 # Invoice Line item Id
|
|
32
|
+
(0, _defineProperty2.default)(this, "getId", function () {
|
|
33
|
+
return _this.attributes.id;
|
|
34
|
+
});
|
|
31
35
|
// double # Invoice line item amount
|
|
32
36
|
(0, _defineProperty2.default)(this, "getAmount", function () {
|
|
33
37
|
return _this.attributes.amount;
|