files.com 1.2.13 → 1.2.14

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/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.13
1
+ 1.2.14
@@ -18,7 +18,6 @@
18
18
  "type": "invoice",
19
19
  "service_end_at": "2000-01-01T01:00:00Z",
20
20
  "service_start_at": "2000-01-01T01:00:00Z",
21
- "updated_at": "2000-01-01T01:00:00Z",
22
21
  "plan": "Premier",
23
22
  "site": "My site"
24
23
  }
@@ -35,8 +34,7 @@
35
34
  "payment_reversed_at": "2000-01-01T01:00:00Z",
36
35
  "payment_type": "example",
37
36
  "site_name": "My Site",
38
- "type": "invoice",
39
- "updated_at": "2000-01-01T01:00:00Z"
37
+ "type": "invoice"
40
38
  }
41
39
  ```
42
40
 
@@ -53,4 +51,3 @@
53
51
  * `payment_type` (string): Type of payment if applicable
54
52
  * `site_name` (string): Site name this line item is for
55
53
  * `type` (string): Type of line item, either payment or invoice
56
- * `updated_at` (date-time): Line item updated at
@@ -18,7 +18,6 @@
18
18
  "type": "invoice",
19
19
  "service_end_at": "2000-01-01T01:00:00Z",
20
20
  "service_start_at": "2000-01-01T01:00:00Z",
21
- "updated_at": "2000-01-01T01:00:00Z",
22
21
  "plan": "Premier",
23
22
  "site": "My site"
24
23
  }
@@ -35,8 +34,7 @@
35
34
  "payment_reversed_at": "2000-01-01T01:00:00Z",
36
35
  "payment_type": "example",
37
36
  "site_name": "My Site",
38
- "type": "invoice",
39
- "updated_at": "2000-01-01T01:00:00Z"
37
+ "type": "invoice"
40
38
  }
41
39
  ```
42
40
 
@@ -53,7 +51,6 @@
53
51
  * `payment_type` (string): Type of payment if applicable
54
52
  * `site_name` (string): Site name this line item is for
55
53
  * `type` (string): Type of line item, either payment or invoice
56
- * `updated_at` (date-time): Line item updated at
57
54
 
58
55
  ---
59
56
 
@@ -10,7 +10,6 @@
10
10
  "type": "invoice",
11
11
  "service_end_at": "2000-01-01T01:00:00Z",
12
12
  "service_start_at": "2000-01-01T01:00:00Z",
13
- "updated_at": "2000-01-01T01:00:00Z",
14
13
  "plan": "Premier",
15
14
  "site": "My site"
16
15
  }
@@ -22,6 +21,5 @@
22
21
  * `type` (string): Invoice line item type
23
22
  * `service_end_at` (date-time): Invoice line item service end date/time
24
23
  * `service_start_at` (date-time): Invoice line item service start date/time
25
- * `updated_at` (date-time): Invoice line item updated date/time
26
24
  * `plan` (string): Plan name
27
25
  * `site` (string): Site name
@@ -18,7 +18,6 @@
18
18
  "type": "invoice",
19
19
  "service_end_at": "2000-01-01T01:00:00Z",
20
20
  "service_start_at": "2000-01-01T01:00:00Z",
21
- "updated_at": "2000-01-01T01:00:00Z",
22
21
  "plan": "Premier",
23
22
  "site": "My site"
24
23
  }
@@ -35,8 +34,7 @@
35
34
  "payment_reversed_at": "2000-01-01T01:00:00Z",
36
35
  "payment_type": "example",
37
36
  "site_name": "My Site",
38
- "type": "invoice",
39
- "updated_at": "2000-01-01T01:00:00Z"
37
+ "type": "invoice"
40
38
  }
41
39
  ```
42
40
 
@@ -53,7 +51,6 @@
53
51
  * `payment_type` (string): Type of payment if applicable
54
52
  * `site_name` (string): Site name this line item is for
55
53
  * `type` (string): Type of line item, either payment or invoice
56
- * `updated_at` (date-time): Line item updated at
57
54
 
58
55
  ---
59
56
 
@@ -186,7 +186,6 @@
186
186
  "tls_disabled": true,
187
187
  "trial_days_left": 1,
188
188
  "trial_until": "2000-01-01T01:00:00Z",
189
- "updated_at": "2000-01-01T01:00:00Z",
190
189
  "use_provided_modified_at": true,
191
190
  "user": {
192
191
  "id": 1,
@@ -406,7 +405,6 @@
406
405
  * `tls_disabled` (boolean): Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
407
406
  * `trial_days_left` (int64): Number of days left in trial
408
407
  * `trial_until` (date-time): When does this Site trial expire?
409
- * `updated_at` (date-time): Last time this Site was updated
410
408
  * `use_provided_modified_at` (boolean): Allow uploaders to set `provided_modified_at` for uploaded files?
411
409
  * `user` (User): User of current session
412
410
  * `user_lockout` (boolean): Will users be locked out after incorrect login attempts?
package/lib/Files.js CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
11
11
  var apiKey;
12
12
  var baseUrl = 'https://app.files.com';
13
13
  var sessionId = null;
14
- var version = '1.2.13';
14
+ var version = '1.2.14';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -81,10 +81,6 @@ var AccountLineItem = /*#__PURE__*/(0, _createClass2.default)(function AccountLi
81
81
  (0, _defineProperty2.default)(this, "getType", function () {
82
82
  return _this.attributes.type;
83
83
  });
84
- // date-time # Line item updated at
85
- (0, _defineProperty2.default)(this, "getUpdatedAt", function () {
86
- return _this.attributes.updated_at;
87
- });
88
84
  Object.entries(attributes).forEach(function (_ref) {
89
85
  var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
90
86
  key = _ref2[0],
@@ -85,10 +85,6 @@ var Invoice = /*#__PURE__*/(0, _createClass2.default)(function Invoice() {
85
85
  (0, _defineProperty2.default)(this, "getType", function () {
86
86
  return _this.attributes.type;
87
87
  });
88
- // date-time # Line item updated at
89
- (0, _defineProperty2.default)(this, "getUpdatedAt", function () {
90
- return _this.attributes.updated_at;
91
- });
92
88
  Object.entries(attributes).forEach(function (_ref) {
93
89
  var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
94
90
  key = _ref2[0],
@@ -53,10 +53,6 @@ var InvoiceLineItem = /*#__PURE__*/(0, _createClass2.default)(function InvoiceLi
53
53
  (0, _defineProperty2.default)(this, "getServiceStartAt", function () {
54
54
  return _this.attributes.service_start_at;
55
55
  });
56
- // date-time # Invoice line item updated date/time
57
- (0, _defineProperty2.default)(this, "getUpdatedAt", function () {
58
- return _this.attributes.updated_at;
59
- });
60
56
  // string # Plan name
61
57
  (0, _defineProperty2.default)(this, "getPlan", function () {
62
58
  return _this.attributes.plan;
@@ -85,10 +85,6 @@ var Payment = /*#__PURE__*/(0, _createClass2.default)(function Payment() {
85
85
  (0, _defineProperty2.default)(this, "getType", function () {
86
86
  return _this.attributes.type;
87
87
  });
88
- // date-time # Line item updated at
89
- (0, _defineProperty2.default)(this, "getUpdatedAt", function () {
90
- return _this.attributes.updated_at;
91
- });
92
88
  Object.entries(attributes).forEach(function (_ref) {
93
89
  var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
94
90
  key = _ref2[0],
@@ -577,10 +577,6 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
577
577
  (0, _defineProperty2.default)(this, "getTrialUntil", function () {
578
578
  return _this.attributes.trial_until;
579
579
  });
580
- // date-time # Last time this Site was updated
581
- (0, _defineProperty2.default)(this, "getUpdatedAt", function () {
582
- return _this.attributes.updated_at;
583
- });
584
580
  // boolean # Allow uploaders to set `provided_modified_at` for uploaded files?
585
581
  (0, _defineProperty2.default)(this, "getUseProvidedModifiedAt", function () {
586
582
  return _this.attributes.use_provided_modified_at;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -5,7 +5,7 @@ const endpointPrefix = '/api/rest/v1'
5
5
  let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
- const version = '1.2.13'
8
+ const version = '1.2.14'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -66,9 +66,6 @@ class AccountLineItem {
66
66
 
67
67
  // string # Type of line item, either payment or invoice
68
68
  getType = () => this.attributes.type
69
-
70
- // date-time # Line item updated at
71
- getUpdatedAt = () => this.attributes.updated_at
72
69
  }
73
70
 
74
71
  export default AccountLineItem
@@ -67,9 +67,6 @@ class Invoice {
67
67
  // string # Type of line item, either payment or invoice
68
68
  getType = () => this.attributes.type
69
69
 
70
- // date-time # Line item updated at
71
- getUpdatedAt = () => this.attributes.updated_at
72
-
73
70
  // Parameters:
74
71
  // cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
75
72
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
@@ -46,9 +46,6 @@ class InvoiceLineItem {
46
46
  // date-time # Invoice line item service start date/time
47
47
  getServiceStartAt = () => this.attributes.service_start_at
48
48
 
49
- // date-time # Invoice line item updated date/time
50
- getUpdatedAt = () => this.attributes.updated_at
51
-
52
49
  // string # Plan name
53
50
  getPlan = () => this.attributes.plan
54
51
 
@@ -67,9 +67,6 @@ class Payment {
67
67
  // string # Type of line item, either payment or invoice
68
68
  getType = () => this.attributes.type
69
69
 
70
- // date-time # Line item updated at
71
- getUpdatedAt = () => this.attributes.updated_at
72
-
73
70
  // Parameters:
74
71
  // cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
75
72
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
@@ -436,9 +436,6 @@ class Site {
436
436
  // date-time # When does this Site trial expire?
437
437
  getTrialUntil = () => this.attributes.trial_until
438
438
 
439
- // date-time # Last time this Site was updated
440
- getUpdatedAt = () => this.attributes.updated_at
441
-
442
439
  // boolean # Allow uploaders to set `provided_modified_at` for uploaded files?
443
440
  getUseProvidedModifiedAt = () => this.attributes.use_provided_modified_at
444
441