@coherentglobal/spark-execute-sdk 0.3.8 → 0.3.10
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/dist/browser.js +266 -116
- package/examples/v16UpstreamDownStream/config.js +151 -0
- package/examples/v16UpstreamDownStream/configs/Downstream.json +93 -0
- package/examples/v16UpstreamDownStream/configs/Upstream.json +102 -0
- package/examples/v16UpstreamDownStream/index.html +216 -0
- package/examples/v16UpstreamDownStream/inputs/Downstream.json +15 -0
- package/examples/v16UpstreamDownStream/inputs/Upstream.json +13 -0
- package/examples/v16UpstreamDownStream/models/DownstreamService_example/DownstreamService_example.data +0 -0
- package/examples/v16UpstreamDownStream/models/DownstreamService_example/DownstreamService_example.js +21 -0
- package/examples/v16UpstreamDownStream/models/DownstreamService_example/DownstreamService_example.wasm +0 -0
- package/examples/v16UpstreamDownStream/models/DownstreamService_example.zip +0 -0
- package/examples/v16UpstreamDownStream/models/UpstreamService_example.zip +0 -0
- package/examples/v16UpstreamDownStream/models/base64modelA.txt +1 -0
- package/examples/v16UpstreamDownStream/models/base64modelB.txt +1 -0
- package/examples/v16UpstreamDownStream/node.js +226 -0
- package/examples/v16UpstreamDownStream/tools.js +25 -0
- package/package.json +2 -2
- package/src/browser.js +53 -5
- package/src/validate.js +1 -1
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"message": null,
|
|
3
|
+
"data": {
|
|
4
|
+
"id": "9c44848e-3ba2-4255-b5af-36eae74be4eb",
|
|
5
|
+
"url": "/docstore/api/v1/documents/versions/tokens/hsS%2FOAkKXPs1zv6pMSr95sQ6aMf0BjLQ%2FAZvT3e71jMLRxC%2FjiD2P9tKR8FLgb7hkydeJZYF5vyjmJLddVcPoLn51fr05h8fddOCD4ESbY%2Bj7OpnN9dcbXZrAsujOTS%2B8MCyZxKlIhdo9tKRZyp7JVHCTk0xeUvCQxE0LxBASRkhZpm5jpV5NBe8y3PvUQqeU2dzb8BIisPBZlxAZlX6SzGoFf4PZL%2Fltlcndcp07%2F4%3D/DownstreamService_example.c1engine",
|
|
6
|
+
"dataJson": {
|
|
7
|
+
"EngineInformation": {
|
|
8
|
+
"FileSize": 16930,
|
|
9
|
+
"Author": "vu.nguyen@coherent.global",
|
|
10
|
+
"ProductName": "XCallTest",
|
|
11
|
+
"Revision": "1.0.0",
|
|
12
|
+
"Description": null,
|
|
13
|
+
"FileMD5Hash": "956883C5D680CD4FF71EC70D2D7F37C8",
|
|
14
|
+
"UniversalFileHash": null,
|
|
15
|
+
"ReleaseDate": "2022-08-31T04:19:23.304Z",
|
|
16
|
+
"ServiceName": "DownstreamService_example",
|
|
17
|
+
"NoOfInstance": 1,
|
|
18
|
+
"UploaderEmail": "vu.nguyen@coherent.global",
|
|
19
|
+
"DefaultEngineType": "NodeGen",
|
|
20
|
+
"OriginalFileName": "DownstreamService_example.xlsx",
|
|
21
|
+
"SizeOfUploadedFile": 16930,
|
|
22
|
+
"ReleaseNote": null,
|
|
23
|
+
"IsTypeScriptFile": false,
|
|
24
|
+
"IsJsSheetEngineGenerated": false,
|
|
25
|
+
"EngineUpgradeType": "minor",
|
|
26
|
+
"PublicAPI": true,
|
|
27
|
+
"FileGuid": "f716f016-f7da-4214-8d31-515557580e49",
|
|
28
|
+
"ServiceGuid": "b17a7e10-ed4e-4124-a810-4ae610460b06",
|
|
29
|
+
"ServiceVersionGuid": "cf11d6fe-f8b4-41fb-8962-a59e0f102b8b",
|
|
30
|
+
"BaseUrl": "https://excel.sit.coherent.global",
|
|
31
|
+
"Tenant": "coherent",
|
|
32
|
+
"AllowToStoreHistory": true,
|
|
33
|
+
"CalcMode": "AUTO",
|
|
34
|
+
"ForceInputsWriteBeforeCalcModeChanges": true,
|
|
35
|
+
"Provenance": null,
|
|
36
|
+
"VersionLabel": "DownstreamService_example",
|
|
37
|
+
"ExplainerType": "",
|
|
38
|
+
"IsXParameter": false,
|
|
39
|
+
"XParameterSetVersionId": "",
|
|
40
|
+
"VersionUpgradeAssert": "OFF"
|
|
41
|
+
},
|
|
42
|
+
"XInputTable": [
|
|
43
|
+
{
|
|
44
|
+
"Input Name": "Input",
|
|
45
|
+
"Description": null,
|
|
46
|
+
"Address": "C2"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"XOutputTable": [
|
|
50
|
+
{
|
|
51
|
+
"Output Name": "Output1",
|
|
52
|
+
"Description": null,
|
|
53
|
+
"Address": "C3"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"Output Name": "Output2",
|
|
57
|
+
"Description": null,
|
|
58
|
+
"Address": "B6:C11"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"FormsService": null,
|
|
62
|
+
"StaticService": null,
|
|
63
|
+
"VersionId": "cf11d6fe-f8b4-41fb-8962-a59e0f102b8b"
|
|
64
|
+
},
|
|
65
|
+
"created": "2022-08-31T04:19:31.748618Z",
|
|
66
|
+
"effectiveStartDate": "2009-12-31T16:00:00Z",
|
|
67
|
+
"effectiveEndDate": "2119-12-31T16:00:00Z",
|
|
68
|
+
"path": "/products/XCallTest/productfactory/engines/DownstreamService_example/DownstreamService_example.c1engine",
|
|
69
|
+
"privacyLevel": "Private",
|
|
70
|
+
"dateTime1": "2009-12-31T16:00:00Z",
|
|
71
|
+
"dateTime2": "2119-12-31T16:00:00Z",
|
|
72
|
+
"status1": "nodegen",
|
|
73
|
+
"status2": "DownstreamService_example.xlsx",
|
|
74
|
+
"email1": null,
|
|
75
|
+
"email2": null,
|
|
76
|
+
"amount1": 16930,
|
|
77
|
+
"amount2": 15312,
|
|
78
|
+
"amount3": null,
|
|
79
|
+
"type": "EngineDocument",
|
|
80
|
+
"policyNumber": "vu.nguyen@coherent.global",
|
|
81
|
+
"name1": "DownstreamService_example",
|
|
82
|
+
"name2": "DownstreamService_example.c1engine",
|
|
83
|
+
"otherString1": "1.0.0",
|
|
84
|
+
"otherString2": "EngineFile",
|
|
85
|
+
"referenceId": "XCallTest~DownstreamService_example.c1engine",
|
|
86
|
+
"disposition": null,
|
|
87
|
+
"productName": "XCallTest",
|
|
88
|
+
"content": null,
|
|
89
|
+
"latestVersionId": "cf11d6fe-f8b4-41fb-8962-a59e0f102b8b"
|
|
90
|
+
},
|
|
91
|
+
"errorCode": null,
|
|
92
|
+
"status": "Success"
|
|
93
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"message": null,
|
|
3
|
+
"data": {
|
|
4
|
+
"id": "f6bd5a64-b278-49e0-b453-84f01cb4f4db",
|
|
5
|
+
"url": "/docstore/api/v1/documents/versions/tokens/hsS%2FOAkKXPs1zv6pMSr95sQ6aMf0BjLQ%2FAZvT3e71jMVDIG%2BVGu3TriLohXjz2%2FwUL8pggM9%2BXkmzqkhHiDfIv5IXw04belP1MDoq7WwbYjyaQv%2FSRSvQd%2F4ZCZyGaXDFtx4waSH%2FOumUtD2U9TEdRE3A3YBtiho2OFpCcVd%2BJcZEZDew20BvPGz53mGV38VTZ7cmGWdKJeHw9PIKKOgDPs5YZozUueUeiefrHWCPvM%3D/UpstreamService_example.c1engine",
|
|
6
|
+
"dataJson": {
|
|
7
|
+
"EngineInformation": {
|
|
8
|
+
"FileSize": 13773,
|
|
9
|
+
"Author": "vu.nguyen@coherent.global",
|
|
10
|
+
"ProductName": "XCallTest",
|
|
11
|
+
"Revision": "1.0.0",
|
|
12
|
+
"Description": null,
|
|
13
|
+
"FileMD5Hash": "F5B37572D96AB254F1872AEB28B3694E",
|
|
14
|
+
"UniversalFileHash": null,
|
|
15
|
+
"ReleaseDate": "2022-08-31T04:21:53.577Z",
|
|
16
|
+
"ServiceName": "UpstreamService_example",
|
|
17
|
+
"NoOfInstance": 1,
|
|
18
|
+
"UploaderEmail": "vu.nguyen@coherent.global",
|
|
19
|
+
"DefaultEngineType": "NodeGen",
|
|
20
|
+
"OriginalFileName": "UpstreamService_example.xlsx",
|
|
21
|
+
"SizeOfUploadedFile": 13773,
|
|
22
|
+
"ReleaseNote": null,
|
|
23
|
+
"IsTypeScriptFile": false,
|
|
24
|
+
"IsJsSheetEngineGenerated": false,
|
|
25
|
+
"EngineUpgradeType": "minor",
|
|
26
|
+
"PublicAPI": true,
|
|
27
|
+
"FileGuid": "4539bbe0-91fa-42f8-8756-0498d0fe899d",
|
|
28
|
+
"ServiceGuid": "be60d87c-a99a-481a-888f-4843e6631434",
|
|
29
|
+
"ServiceVersionGuid": "ba075f6c-ca1b-4680-8b82-9a19f71f3d66",
|
|
30
|
+
"BaseUrl": "https://excel.sit.coherent.global",
|
|
31
|
+
"Tenant": "coherent",
|
|
32
|
+
"AllowToStoreHistory": true,
|
|
33
|
+
"CalcMode": "AUTO",
|
|
34
|
+
"ForceInputsWriteBeforeCalcModeChanges": true,
|
|
35
|
+
"Provenance": null,
|
|
36
|
+
"VersionLabel": "UpstreamService_example",
|
|
37
|
+
"ExplainerType": "",
|
|
38
|
+
"IsXParameter": false,
|
|
39
|
+
"XParameterSetVersionId": "",
|
|
40
|
+
"VersionUpgradeAssert": "OFF"
|
|
41
|
+
},
|
|
42
|
+
"XInputTable": [],
|
|
43
|
+
"XOutputTable": [
|
|
44
|
+
{
|
|
45
|
+
"Output Name": "Spark_Output1",
|
|
46
|
+
"Description": null,
|
|
47
|
+
"Address": "C15"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"Output Name": "Spark_Response",
|
|
51
|
+
"Description": null,
|
|
52
|
+
"Address": "C14"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"Output Name": "Spark_Row1",
|
|
56
|
+
"Description": null,
|
|
57
|
+
"Address": "C16"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"Output Name": "Spark_Row3Key",
|
|
61
|
+
"Description": null,
|
|
62
|
+
"Address": "C17"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"Output Name": "Spark_Row3ValuePlus1",
|
|
66
|
+
"Description": null,
|
|
67
|
+
"Address": "C18"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"FormsService": null,
|
|
71
|
+
"StaticService": null,
|
|
72
|
+
"VersionId": "ba075f6c-ca1b-4680-8b82-9a19f71f3d66"
|
|
73
|
+
},
|
|
74
|
+
"created": "2022-08-31T04:22:10.741639Z",
|
|
75
|
+
"effectiveStartDate": "2009-12-31T16:00:00Z",
|
|
76
|
+
"effectiveEndDate": "2119-12-31T16:00:00Z",
|
|
77
|
+
"path": "/products/XCallTest/productfactory/engines/UpstreamService_example/UpstreamService_example.c1engine",
|
|
78
|
+
"privacyLevel": "Private",
|
|
79
|
+
"dateTime1": "2009-12-31T16:00:00Z",
|
|
80
|
+
"dateTime2": "2119-12-31T16:00:00Z",
|
|
81
|
+
"status1": "nodegen",
|
|
82
|
+
"status2": "UpstreamService_example.xlsx",
|
|
83
|
+
"email1": null,
|
|
84
|
+
"email2": null,
|
|
85
|
+
"amount1": 13773,
|
|
86
|
+
"amount2": 12688,
|
|
87
|
+
"amount3": null,
|
|
88
|
+
"type": "EngineDocument",
|
|
89
|
+
"policyNumber": "vu.nguyen@coherent.global",
|
|
90
|
+
"name1": "UpstreamService_example",
|
|
91
|
+
"name2": "UpstreamService_example.c1engine",
|
|
92
|
+
"otherString1": "1.0.0",
|
|
93
|
+
"otherString2": "EngineFile",
|
|
94
|
+
"referenceId": "XCallTest~UpstreamService_example.c1engine",
|
|
95
|
+
"disposition": null,
|
|
96
|
+
"productName": "XCallTest",
|
|
97
|
+
"content": null,
|
|
98
|
+
"latestVersionId": "ba075f6c-ca1b-4680-8b82-9a19f71f3d66"
|
|
99
|
+
},
|
|
100
|
+
"errorCode": null,
|
|
101
|
+
"status": "Success"
|
|
102
|
+
}
|