files.com 1.0.439 → 1.0.441

Sign up to get free protection for your applications and to get access to all the features.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.439
1
+ 1.0.441
@@ -4,45 +4,53 @@
4
4
 
5
5
  ```
6
6
  {
7
- "name": "example",
8
- "extended_description": "example",
9
- "short_description": "example",
7
+ "app_type": "example",
10
8
  "documentation_links": {
11
9
  "Important Info": "http://files.test/learn-more"
12
10
  },
11
+ "extended_description": "example",
12
+ "extended_description_for_marketing_site": "example",
13
+ "external_homepage_url": "example",
14
+ "featured": true,
15
+ "folder_behavior_type": "example",
13
16
  "icon_url": "example",
17
+ "logo_thumbnail_url": "example",
14
18
  "logo_url": "example",
19
+ "marketing_intro": "example",
20
+ "marketing_youtube_url": "example",
21
+ "name": "example",
22
+ "package_manager_install_command": "example",
23
+ "remote_server_type": "example",
15
24
  "screenshot_list_urls": [
16
25
  "example"
17
26
  ],
18
- "logo_thumbnail_url": "example",
27
+ "sdk_installation_instructions_link": "example",
28
+ "short_description": "example",
19
29
  "sso_strategy_type": "example",
20
- "remote_server_type": "example",
21
- "folder_behavior_type": "example",
22
- "external_homepage_url": "example",
23
- "marketing_youtube_url": "example",
24
- "tutorial_youtube_url": "example",
25
- "app_type": "example",
26
- "featured": true
30
+ "tutorial_youtube_url": "example"
27
31
  }
28
32
  ```
29
33
 
30
- * `name` (string): Name of the App
31
- * `extended_description` (string): Long form description of the App
32
- * `short_description` (string): Short description of the App
34
+ * `app_type` (string): The type of the App
33
35
  * `documentation_links` (object): Collection of named links to documentation
36
+ * `extended_description` (string): Long description for the in-App landing page
37
+ * `extended_description_for_marketing_site` (string): Long form description of the App
38
+ * `external_homepage_url` (string): Link to external homepage
39
+ * `featured` (boolean): Is featured on the App listing?
40
+ * `folder_behavior_type` (string): Associated Folder Behavior type, if any
34
41
  * `icon_url` (string): App icon
42
+ * `logo_thumbnail_url` (string): Logo thumbnail for the App
35
43
  * `logo_url` (string): Full size logo for the App
44
+ * `marketing_intro` (string): Marketing introdution of the App
45
+ * `marketing_youtube_url` (string): Marketing video page
46
+ * `name` (string): Name of the App
47
+ * `package_manager_install_command` (string): Package manager install command
48
+ * `remote_server_type` (string): Associated Remote Server type, if any
36
49
  * `screenshot_list_urls` (array): Screenshots of the App
37
- * `logo_thumbnail_url` (string): Logo thumbnail for the App
50
+ * `sdk_installation_instructions_link` (string): Link to SDK installation instructions
51
+ * `short_description` (string): Short description of the App
38
52
  * `sso_strategy_type` (string): Associated SSO Strategy type, if any
39
- * `remote_server_type` (string): Associated Remote Server type, if any
40
- * `folder_behavior_type` (string): Associated Folder Behavior type, if any
41
- * `external_homepage_url` (string): Link to external homepage
42
- * `marketing_youtube_url` (string): Marketing video page
43
53
  * `tutorial_youtube_url` (string): Tutorial video page
44
- * `app_type` (string): The type of the App
45
- * `featured` (boolean): Is featured on the App listing?
46
54
 
47
55
  ---
48
56
 
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.0.439';
14
+ var version = '1.0.441';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
package/lib/models/App.js CHANGED
@@ -33,70 +33,86 @@ var App = /*#__PURE__*/(0, _createClass2.default)(function App() {
33
33
  (0, _defineProperty2.default)(this, "isLoaded", function () {
34
34
  return !!_this.attributes.id;
35
35
  });
36
- // string # Name of the App
37
- (0, _defineProperty2.default)(this, "getName", function () {
38
- return _this.attributes.name;
36
+ // string # The type of the App
37
+ (0, _defineProperty2.default)(this, "getAppType", function () {
38
+ return _this.attributes.app_type;
39
39
  });
40
- // string # Long form description of the App
40
+ // object # Collection of named links to documentation
41
+ (0, _defineProperty2.default)(this, "getDocumentationLinks", function () {
42
+ return _this.attributes.documentation_links;
43
+ });
44
+ // string # Long description for the in-App landing page
41
45
  (0, _defineProperty2.default)(this, "getExtendedDescription", function () {
42
46
  return _this.attributes.extended_description;
43
47
  });
44
- // string # Short description of the App
45
- (0, _defineProperty2.default)(this, "getShortDescription", function () {
46
- return _this.attributes.short_description;
48
+ // string # Long form description of the App
49
+ (0, _defineProperty2.default)(this, "getExtendedDescriptionForMarketingSite", function () {
50
+ return _this.attributes.extended_description_for_marketing_site;
47
51
  });
48
- // object # Collection of named links to documentation
49
- (0, _defineProperty2.default)(this, "getDocumentationLinks", function () {
50
- return _this.attributes.documentation_links;
52
+ // string # Link to external homepage
53
+ (0, _defineProperty2.default)(this, "getExternalHomepageUrl", function () {
54
+ return _this.attributes.external_homepage_url;
55
+ });
56
+ // boolean # Is featured on the App listing?
57
+ (0, _defineProperty2.default)(this, "getFeatured", function () {
58
+ return _this.attributes.featured;
59
+ });
60
+ // string # Associated Folder Behavior type, if any
61
+ (0, _defineProperty2.default)(this, "getFolderBehaviorType", function () {
62
+ return _this.attributes.folder_behavior_type;
51
63
  });
52
64
  // string # App icon
53
65
  (0, _defineProperty2.default)(this, "getIconUrl", function () {
54
66
  return _this.attributes.icon_url;
55
67
  });
68
+ // string # Logo thumbnail for the App
69
+ (0, _defineProperty2.default)(this, "getLogoThumbnailUrl", function () {
70
+ return _this.attributes.logo_thumbnail_url;
71
+ });
56
72
  // string # Full size logo for the App
57
73
  (0, _defineProperty2.default)(this, "getLogoUrl", function () {
58
74
  return _this.attributes.logo_url;
59
75
  });
60
- // array # Screenshots of the App
61
- (0, _defineProperty2.default)(this, "getScreenshotListUrls", function () {
62
- return _this.attributes.screenshot_list_urls;
76
+ // string # Marketing introdution of the App
77
+ (0, _defineProperty2.default)(this, "getMarketingIntro", function () {
78
+ return _this.attributes.marketing_intro;
63
79
  });
64
- // string # Logo thumbnail for the App
65
- (0, _defineProperty2.default)(this, "getLogoThumbnailUrl", function () {
66
- return _this.attributes.logo_thumbnail_url;
80
+ // string # Marketing video page
81
+ (0, _defineProperty2.default)(this, "getMarketingYoutubeUrl", function () {
82
+ return _this.attributes.marketing_youtube_url;
67
83
  });
68
- // string # Associated SSO Strategy type, if any
69
- (0, _defineProperty2.default)(this, "getSsoStrategyType", function () {
70
- return _this.attributes.sso_strategy_type;
84
+ // string # Name of the App
85
+ (0, _defineProperty2.default)(this, "getName", function () {
86
+ return _this.attributes.name;
87
+ });
88
+ // string # Package manager install command
89
+ (0, _defineProperty2.default)(this, "getPackageManagerInstallCommand", function () {
90
+ return _this.attributes.package_manager_install_command;
71
91
  });
72
92
  // string # Associated Remote Server type, if any
73
93
  (0, _defineProperty2.default)(this, "getRemoteServerType", function () {
74
94
  return _this.attributes.remote_server_type;
75
95
  });
76
- // string # Associated Folder Behavior type, if any
77
- (0, _defineProperty2.default)(this, "getFolderBehaviorType", function () {
78
- return _this.attributes.folder_behavior_type;
96
+ // array # Screenshots of the App
97
+ (0, _defineProperty2.default)(this, "getScreenshotListUrls", function () {
98
+ return _this.attributes.screenshot_list_urls;
79
99
  });
80
- // string # Link to external homepage
81
- (0, _defineProperty2.default)(this, "getExternalHomepageUrl", function () {
82
- return _this.attributes.external_homepage_url;
100
+ // string # Link to SDK installation instructions
101
+ (0, _defineProperty2.default)(this, "getSdkInstallationInstructionsLink", function () {
102
+ return _this.attributes.sdk_installation_instructions_link;
83
103
  });
84
- // string # Marketing video page
85
- (0, _defineProperty2.default)(this, "getMarketingYoutubeUrl", function () {
86
- return _this.attributes.marketing_youtube_url;
104
+ // string # Short description of the App
105
+ (0, _defineProperty2.default)(this, "getShortDescription", function () {
106
+ return _this.attributes.short_description;
107
+ });
108
+ // string # Associated SSO Strategy type, if any
109
+ (0, _defineProperty2.default)(this, "getSsoStrategyType", function () {
110
+ return _this.attributes.sso_strategy_type;
87
111
  });
88
112
  // string # Tutorial video page
89
113
  (0, _defineProperty2.default)(this, "getTutorialYoutubeUrl", function () {
90
114
  return _this.attributes.tutorial_youtube_url;
91
115
  });
92
- // string # The type of the App
93
- (0, _defineProperty2.default)(this, "getAppType", function () {
94
- return _this.attributes.app_type;
95
- });
96
- // boolean # Is featured on the App listing?
97
- (0, _defineProperty2.default)(this, "getFeatured", function () {
98
- return _this.attributes.featured;
99
- });
100
116
  Object.entries(attributes).forEach(function (_ref) {
101
117
  var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
102
118
  key = _ref2[0],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.439",
3
+ "version": "1.0.441",
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.0.439'
8
+ const version = '1.0.441'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
package/src/models/App.js CHANGED
@@ -24,54 +24,66 @@ class App {
24
24
  }
25
25
 
26
26
  isLoaded = () => !!this.attributes.id
27
- // string # Name of the App
28
- getName = () => this.attributes.name
27
+ // string # The type of the App
28
+ getAppType = () => this.attributes.app_type
29
29
 
30
- // string # Long form description of the App
30
+ // object # Collection of named links to documentation
31
+ getDocumentationLinks = () => this.attributes.documentation_links
32
+
33
+ // string # Long description for the in-App landing page
31
34
  getExtendedDescription = () => this.attributes.extended_description
32
35
 
33
- // string # Short description of the App
34
- getShortDescription = () => this.attributes.short_description
36
+ // string # Long form description of the App
37
+ getExtendedDescriptionForMarketingSite = () => this.attributes.extended_description_for_marketing_site
35
38
 
36
- // object # Collection of named links to documentation
37
- getDocumentationLinks = () => this.attributes.documentation_links
39
+ // string # Link to external homepage
40
+ getExternalHomepageUrl = () => this.attributes.external_homepage_url
41
+
42
+ // boolean # Is featured on the App listing?
43
+ getFeatured = () => this.attributes.featured
44
+
45
+ // string # Associated Folder Behavior type, if any
46
+ getFolderBehaviorType = () => this.attributes.folder_behavior_type
38
47
 
39
48
  // string # App icon
40
49
  getIconUrl = () => this.attributes.icon_url
41
50
 
51
+ // string # Logo thumbnail for the App
52
+ getLogoThumbnailUrl = () => this.attributes.logo_thumbnail_url
53
+
42
54
  // string # Full size logo for the App
43
55
  getLogoUrl = () => this.attributes.logo_url
44
56
 
45
- // array # Screenshots of the App
46
- getScreenshotListUrls = () => this.attributes.screenshot_list_urls
57
+ // string # Marketing introdution of the App
58
+ getMarketingIntro = () => this.attributes.marketing_intro
47
59
 
48
- // string # Logo thumbnail for the App
49
- getLogoThumbnailUrl = () => this.attributes.logo_thumbnail_url
60
+ // string # Marketing video page
61
+ getMarketingYoutubeUrl = () => this.attributes.marketing_youtube_url
50
62
 
51
- // string # Associated SSO Strategy type, if any
52
- getSsoStrategyType = () => this.attributes.sso_strategy_type
63
+ // string # Name of the App
64
+ getName = () => this.attributes.name
65
+
66
+ // string # Package manager install command
67
+ getPackageManagerInstallCommand = () => this.attributes.package_manager_install_command
53
68
 
54
69
  // string # Associated Remote Server type, if any
55
70
  getRemoteServerType = () => this.attributes.remote_server_type
56
71
 
57
- // string # Associated Folder Behavior type, if any
58
- getFolderBehaviorType = () => this.attributes.folder_behavior_type
72
+ // array # Screenshots of the App
73
+ getScreenshotListUrls = () => this.attributes.screenshot_list_urls
59
74
 
60
- // string # Link to external homepage
61
- getExternalHomepageUrl = () => this.attributes.external_homepage_url
75
+ // string # Link to SDK installation instructions
76
+ getSdkInstallationInstructionsLink = () => this.attributes.sdk_installation_instructions_link
62
77
 
63
- // string # Marketing video page
64
- getMarketingYoutubeUrl = () => this.attributes.marketing_youtube_url
78
+ // string # Short description of the App
79
+ getShortDescription = () => this.attributes.short_description
80
+
81
+ // string # Associated SSO Strategy type, if any
82
+ getSsoStrategyType = () => this.attributes.sso_strategy_type
65
83
 
66
84
  // string # Tutorial video page
67
85
  getTutorialYoutubeUrl = () => this.attributes.tutorial_youtube_url
68
86
 
69
- // string # The type of the App
70
- getAppType = () => this.attributes.app_type
71
-
72
- // boolean # Is featured on the App listing?
73
- getFeatured = () => this.attributes.featured
74
-
75
87
 
76
88
  // Parameters:
77
89
  // 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.