files.com 1.0.292 → 1.0.293

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.0.292
1
+ 1.0.293
@@ -5,6 +5,11 @@
5
5
  ```
6
6
  {
7
7
  "code": "abc123",
8
+ "color_left": "#0066a7",
9
+ "color_link": "#d34f5d",
10
+ "color_text": "#0066a7",
11
+ "color_top": "#000000",
12
+ "color_top_text": "#ffffff",
8
13
  "url": "https://subdomain.files.com/f/12345678",
9
14
  "description": "The public description of the bundle.",
10
15
  "expires_at": "2000-01-01T01:00:00Z",
@@ -58,6 +63,11 @@
58
63
  ```
59
64
 
60
65
  * `code` (string): Bundle code. This code forms the end part of the Public URL.
66
+ * `color_left` (string): Page link and button color
67
+ * `color_link` (string): Top bar link color
68
+ * `color_text` (string): Page link and button color
69
+ * `color_top` (string): Top bar background color
70
+ * `color_top_text` (string): Top bar text color
61
71
  * `url` (string): Public URL of Share Link
62
72
  * `description` (string): Public description
63
73
  * `expires_at` (date-time): Bundle expiration date/time
@@ -283,6 +293,11 @@ await bundle.update({
283
293
  ```json
284
294
  {
285
295
  "code": "abc123",
296
+ "color_left": "#0066a7",
297
+ "color_link": "#d34f5d",
298
+ "color_text": "#0066a7",
299
+ "color_top": "#000000",
300
+ "color_top_text": "#ffffff",
286
301
  "url": "https://subdomain.files.com/f/12345678",
287
302
  "description": "The public description of the bundle.",
288
303
  "expires_at": "2000-01-01T01:00:00Z",
@@ -38,6 +38,41 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
38
38
  (0, _defineProperty2.default)(this, "setCode", function (value) {
39
39
  _this.attributes.code = value;
40
40
  });
41
+ // string # Page link and button color
42
+ (0, _defineProperty2.default)(this, "getColorLeft", function () {
43
+ return _this.attributes.color_left;
44
+ });
45
+ (0, _defineProperty2.default)(this, "setColorLeft", function (value) {
46
+ _this.attributes.color_left = value;
47
+ });
48
+ // string # Top bar link color
49
+ (0, _defineProperty2.default)(this, "getColorLink", function () {
50
+ return _this.attributes.color_link;
51
+ });
52
+ (0, _defineProperty2.default)(this, "setColorLink", function (value) {
53
+ _this.attributes.color_link = value;
54
+ });
55
+ // string # Page link and button color
56
+ (0, _defineProperty2.default)(this, "getColorText", function () {
57
+ return _this.attributes.color_text;
58
+ });
59
+ (0, _defineProperty2.default)(this, "setColorText", function (value) {
60
+ _this.attributes.color_text = value;
61
+ });
62
+ // string # Top bar background color
63
+ (0, _defineProperty2.default)(this, "getColorTop", function () {
64
+ return _this.attributes.color_top;
65
+ });
66
+ (0, _defineProperty2.default)(this, "setColorTop", function (value) {
67
+ _this.attributes.color_top = value;
68
+ });
69
+ // string # Top bar text color
70
+ (0, _defineProperty2.default)(this, "getColorTopText", function () {
71
+ return _this.attributes.color_top_text;
72
+ });
73
+ (0, _defineProperty2.default)(this, "setColorTopText", function (value) {
74
+ _this.attributes.color_top_text = value;
75
+ });
41
76
  // string # Public URL of Share Link
42
77
  (0, _defineProperty2.default)(this, "getUrl", function () {
43
78
  return _this.attributes.url;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.292",
3
+ "version": "1.0.293",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -30,6 +30,41 @@ class Bundle {
30
30
  this.attributes.code = value
31
31
  }
32
32
 
33
+ // string # Page link and button color
34
+ getColorLeft = () => this.attributes.color_left
35
+
36
+ setColorLeft = value => {
37
+ this.attributes.color_left = value
38
+ }
39
+
40
+ // string # Top bar link color
41
+ getColorLink = () => this.attributes.color_link
42
+
43
+ setColorLink = value => {
44
+ this.attributes.color_link = value
45
+ }
46
+
47
+ // string # Page link and button color
48
+ getColorText = () => this.attributes.color_text
49
+
50
+ setColorText = value => {
51
+ this.attributes.color_text = value
52
+ }
53
+
54
+ // string # Top bar background color
55
+ getColorTop = () => this.attributes.color_top
56
+
57
+ setColorTop = value => {
58
+ this.attributes.color_top = value
59
+ }
60
+
61
+ // string # Top bar text color
62
+ getColorTopText = () => this.attributes.color_top_text
63
+
64
+ setColorTopText = value => {
65
+ this.attributes.color_top_text = value
66
+ }
67
+
33
68
  // string # Public URL of Share Link
34
69
  getUrl = () => this.attributes.url
35
70