impossiblefxv1 1.13.2

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.
Files changed (68) hide show
  1. package/HOWTO-PUBLISH.txt +15 -0
  2. package/README.md +21 -0
  3. package/apis/edit-2016-06-02.json +15 -0
  4. package/apis/metadata.json +31 -0
  5. package/apis/project-2016-06-01.json +56 -0
  6. package/apis/project-2016-06-02.json +767 -0
  7. package/apis/project-2023-03-07.json +767 -0
  8. package/apis/project-2023-12-11.json +767 -0
  9. package/apis/render-2016-06-02.json +764 -0
  10. package/apis/render-2023-12-11.json +764 -0
  11. package/dist/fx-sdk-latest.js +22494 -0
  12. package/dist-tools/build-browser.js +109 -0
  13. package/dist-tools/build-sdk.sh +6 -0
  14. package/dist-tools/es6-promise.js +957 -0
  15. package/dist-tools/foo.sh +4 -0
  16. package/dist-tools/publish.sh +6 -0
  17. package/lib/browser.js +58 -0
  18. package/lib/config.js +125 -0
  19. package/lib/core.js +15 -0
  20. package/lib/credentials/chain.js +54 -0
  21. package/lib/credentials/environment.js +69 -0
  22. package/lib/credentials/inifile.js +57 -0
  23. package/lib/credentials/token.js +38 -0
  24. package/lib/credentials.js +53 -0
  25. package/lib/encoding.js +36 -0
  26. package/lib/endpoint.js +18 -0
  27. package/lib/fx.js +50 -0
  28. package/lib/http/node.js +69 -0
  29. package/lib/http/xhr.js +12 -0
  30. package/lib/http.js +57 -0
  31. package/lib/proto.js +38 -0
  32. package/lib/protocol.js +56 -0
  33. package/lib/request.js +252 -0
  34. package/lib/response.js +24 -0
  35. package/lib/service.js +182 -0
  36. package/lib/services/batch.js +5 -0
  37. package/lib/services/edit.js +9 -0
  38. package/lib/services/project.js +102 -0
  39. package/lib/services/render.js +63 -0
  40. package/lib/services/story.js +5 -0
  41. package/lib/services.js +30 -0
  42. package/lib/util.js +126 -0
  43. package/package.json +37 -0
  44. package/package.json.save +36 -0
  45. package/proto/Movie.proto +4081 -0
  46. package/proto/fx.proto +43 -0
  47. package/templates/config.html +91 -0
  48. package/templates/examples.html +69 -0
  49. package/templates/getstarted.html +30 -0
  50. package/templates/index.html +6 -0
  51. package/templates/makeexample.py +57 -0
  52. package/templates/makerequests.html +210 -0
  53. package/templates/operation.html +36 -0
  54. package/templates/service.html +9 -0
  55. package/templates/services.html +19 -0
  56. package/templates/version.html +12 -0
  57. package/templates/versions.html +10 -0
  58. package/templates/workservice.html +68 -0
  59. package/test/circles.mp4 +0 -0
  60. package/test/config.js +131 -0
  61. package/test/index.html +35 -0
  62. package/test/mocha.opts +4 -0
  63. package/test/project.js +148 -0
  64. package/test/render.js +136 -0
  65. package/test/retry.js +53 -0
  66. package/test/sdktests.js +62 -0
  67. package/test/sdl.js +125 -0
  68. package/test/servertest/simple.js +20 -0
@@ -0,0 +1,15 @@
1
+
2
+ Do not forget to set the npm_config_registry to avoid publishing to an internal repo
3
+
4
+ export npm_config_registry=https://registry.npmjs.org
5
+
6
+ For patch level changes:
7
+
8
+ npm version patch
9
+
10
+ For larger version bumps, e.g. 1.5 -> 1.6
11
+
12
+ npm version minor
13
+
14
+ These commands will build and publish the SDK to NPM and S3
15
+
package/README.md ADDED
@@ -0,0 +1,21 @@
1
+ impossiblefx-sdk
2
+ ================
3
+
4
+ Javascript SDK for Impossible Software's FX Realtime Video Rendering Platform.
5
+
6
+ ## Installation
7
+
8
+ npm install impossiblefx --save
9
+
10
+ ## Usage
11
+ ```javascript
12
+ var FX = require('impossiblefx')
13
+ FX.config.apikey = APIKEY
14
+ FX.config.apisecret = APISECRET
15
+ FX.config.region = REGION
16
+
17
+ var prj = new FX.Project()
18
+ prj.listProjects(function(err, data){
19
+ console.log(data.Projects)
20
+ })
21
+ ```
@@ -0,0 +1,15 @@
1
+ {
2
+ "version": "2.0",
3
+ "metadata":{
4
+ "apiVersion": "2016-06-02",
5
+ "nameSpace": "Edit",
6
+ "protocol": "json",
7
+ "serviceFullName": "Impossible FX Edit API"
8
+ },
9
+
10
+ "globalEndpoint": true,
11
+
12
+
13
+ "operations": {
14
+ }
15
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "project": {
3
+ "enabled": true,
4
+ "domain": "Project",
5
+ "documentation": "Project and Asset Management",
6
+ "versions": ["2016-06-01", "2016-06-02", "2023-03-07", "2023-12-11"]
7
+ },
8
+ "edit": {
9
+ "enabled": false,
10
+ "domain": "Edit",
11
+ "versions": ["2016-06-02"]
12
+ },
13
+ "story": {
14
+ "enabled": false,
15
+ "domain": "Story",
16
+ "versions": ["2016-06-02"]
17
+ },
18
+ "batch": {
19
+ "enabled": false,
20
+ "domain": "Batch",
21
+ "versions": ["2016-06-02"]
22
+ },
23
+ "render": {
24
+ "enabled": true,
25
+ "domain": "Render",
26
+ "documentation": "Render Requests",
27
+ "versions": ["2016-06-02", "2023-12-11"]
28
+ }
29
+
30
+
31
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "version": "2.0",
3
+ "metadata":{
4
+ "apiVersion": "2016-06-01",
5
+ "nameSpace": "Project",
6
+ "protocol": "json",
7
+ "serviceFullName": "Impossible FX Project API"
8
+ },
9
+
10
+ "endpoint": "api-{region}.impossible.io",
11
+
12
+ "operations": {
13
+ "ListProjects": {
14
+ "http": {
15
+ "method": "GET",
16
+ "path": "/v1/list/project/"
17
+ },
18
+ "output": {
19
+ "shape": "ProjectList"
20
+ },
21
+ "transform": {
22
+ "output": {"function": "TransformProjectList"}
23
+ },
24
+ "documentation": ""
25
+ }
26
+ },
27
+
28
+ "shapes": {
29
+ "Project": {
30
+ "type": "structure",
31
+ "members": {
32
+ "prjuid": {
33
+ "type": "string",
34
+ "documentation": ""
35
+ },
36
+ "name": {
37
+ "type": "string",
38
+ "documentation": ""
39
+ },
40
+ "created": {
41
+ "type": "datetime",
42
+ "documentation": ""
43
+ },
44
+ "modified": {
45
+ "type": "datetime",
46
+ "documentation": ""
47
+ }
48
+ }
49
+ },
50
+
51
+ "ProjectList": {
52
+ "type": "list",
53
+ "shape": "Project"
54
+ }
55
+ }
56
+ }