@connectreport/connectreport-js 2.71.4 → 2.78.6-rc1
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/.openapi-generator/FILES +0 -1
- package/README.md +1 -37
- package/api.ts +49 -1
- package/base.ts +1 -1
- package/common.ts +2 -4
- package/configuration.ts +3 -3
- package/dist/index.cjs +2286 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1530 -0
- package/dist/index.d.ts +1518 -4
- package/dist/index.js +2271 -54
- package/dist/index.js.map +1 -0
- package/index.ts +10 -4
- package/package.json +11 -6
- package/tsconfig.json +2 -1
- package/tsup.config.ts +14 -0
- package/dist/api.d.ts +0 -2739
- package/dist/api.js +0 -3924
- package/dist/base.d.ts +0 -55
- package/dist/base.js +0 -80
- package/dist/common.d.ts +0 -65
- package/dist/common.js +0 -234
- package/dist/configuration.d.ts +0 -85
- package/dist/configuration.js +0 -45
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
## @connectreport/connectreport-js@2.
|
|
1
|
+
## @connectreport/connectreport-js@2.78.6
|
|
2
2
|
|
|
3
3
|
- View the [Library Docs](https://connectreport.com/docs/classes/_index_.connectreport.html)
|
|
4
4
|
- View the [ConnectReport HTTP API Reference](https://connectreport.com/api-reference.html)
|
|
5
|
-
- [Download bundle](https://connectreport.com/docs/assets/2.71.4/connectreport.js) for use in client side applications
|
|
6
|
-
|
|
7
|
-
Environment
|
|
8
|
-
* Node.js
|
|
9
|
-
* Webpack
|
|
10
|
-
* Browserify
|
|
11
|
-
|
|
12
|
-
Language level
|
|
13
|
-
* ES5 - you must have a Promises/A+ library installed
|
|
14
|
-
* ES6
|
|
15
5
|
|
|
16
6
|
Module system
|
|
17
7
|
* CommonJS
|
|
@@ -19,29 +9,3 @@ Module system
|
|
|
19
9
|
|
|
20
10
|
It can be used in both TypeScript and JavaScript. In TypeScript, the definition should be automatically resolved via `package.json`. ([Reference](http://www.typescriptlang.org/docs/handbook/typings-for-npm-packages.html))
|
|
21
11
|
|
|
22
|
-
### Building
|
|
23
|
-
|
|
24
|
-
To build and compile the typescript sources to javascript use:
|
|
25
|
-
```
|
|
26
|
-
npm install
|
|
27
|
-
npm run build
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
### Publishing
|
|
31
|
-
|
|
32
|
-
First build the package then run ```npm publish```
|
|
33
|
-
|
|
34
|
-
### Consuming
|
|
35
|
-
|
|
36
|
-
navigate to the folder of your consuming project and run one of the following commands.
|
|
37
|
-
|
|
38
|
-
_published:_
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
npm install @connectreport/connectreport-js@2.71.4 --save
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
_unPublished (not recommended):_
|
|
45
|
-
|
|
46
|
-
```
|
|
47
|
-
npm install PATH_TO_GENERATED_PACKAGE --save
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ConnectReport Core API
|
|
5
5
|
* Leverage core reporting, templating, and document automation capabilities of ConnectReport Server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.
|
|
7
|
+
* The version of the OpenAPI document: 2.78.6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -153,6 +153,18 @@ export interface FilterCycle {
|
|
|
153
153
|
* @memberof FilterCycle
|
|
154
154
|
*/
|
|
155
155
|
trigger?: string;
|
|
156
|
+
/**
|
|
157
|
+
* The customized subject of the email to be sent if the report task is configured to email
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof FilterCycle
|
|
160
|
+
*/
|
|
161
|
+
emailSubject?: string;
|
|
162
|
+
/**
|
|
163
|
+
* The customized body of the email to be sent if the report task is configured to email
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof FilterCycle
|
|
166
|
+
*/
|
|
167
|
+
emailBody?: string;
|
|
156
168
|
/**
|
|
157
169
|
*
|
|
158
170
|
* @type {FilterCycleAllOfFieldInfo}
|
|
@@ -677,6 +689,18 @@ export interface ReportTask {
|
|
|
677
689
|
* @memberof ReportTask
|
|
678
690
|
*/
|
|
679
691
|
trigger?: string;
|
|
692
|
+
/**
|
|
693
|
+
* The customized subject of the email to be sent if the report task is configured to email
|
|
694
|
+
* @type {string}
|
|
695
|
+
* @memberof ReportTask
|
|
696
|
+
*/
|
|
697
|
+
emailSubject?: string;
|
|
698
|
+
/**
|
|
699
|
+
* The customized body of the email to be sent if the report task is configured to email
|
|
700
|
+
* @type {string}
|
|
701
|
+
* @memberof ReportTask
|
|
702
|
+
*/
|
|
703
|
+
emailBody?: string;
|
|
680
704
|
}
|
|
681
705
|
|
|
682
706
|
/**
|
|
@@ -911,6 +935,18 @@ export interface ReportTaskRequest {
|
|
|
911
935
|
* @memberof ReportTaskRequest
|
|
912
936
|
*/
|
|
913
937
|
trigger?: string;
|
|
938
|
+
/**
|
|
939
|
+
* The customized subject of the email to be sent if the report task is configured to email
|
|
940
|
+
* @type {string}
|
|
941
|
+
* @memberof ReportTaskRequest
|
|
942
|
+
*/
|
|
943
|
+
emailSubject?: string;
|
|
944
|
+
/**
|
|
945
|
+
* The customized body of the email to be sent if the report task is configured to email
|
|
946
|
+
* @type {string}
|
|
947
|
+
* @memberof ReportTaskRequest
|
|
948
|
+
*/
|
|
949
|
+
emailBody?: string;
|
|
914
950
|
/**
|
|
915
951
|
* Emails to send the report to. This is only allowed if \"Allow reports to be shared with any email\" is to true.
|
|
916
952
|
* @type {Array<string>}
|
|
@@ -1125,6 +1161,18 @@ export interface ReportTaskResponse {
|
|
|
1125
1161
|
* @memberof ReportTaskResponse
|
|
1126
1162
|
*/
|
|
1127
1163
|
trigger?: string;
|
|
1164
|
+
/**
|
|
1165
|
+
* The customized subject of the email to be sent if the report task is configured to email
|
|
1166
|
+
* @type {string}
|
|
1167
|
+
* @memberof ReportTaskResponse
|
|
1168
|
+
*/
|
|
1169
|
+
emailSubject?: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* The customized body of the email to be sent if the report task is configured to email
|
|
1172
|
+
* @type {string}
|
|
1173
|
+
* @memberof ReportTaskResponse
|
|
1174
|
+
*/
|
|
1175
|
+
emailBody?: string;
|
|
1128
1176
|
/**
|
|
1129
1177
|
* Users to share the published report with. This field will be updated entirely if provided
|
|
1130
1178
|
* @type {Array<ReportTaskResponseAllOfUsersToShareWith>}
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ConnectReport Core API
|
|
5
5
|
* Leverage core reporting, templating, and document automation capabilities of ConnectReport Server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.
|
|
7
|
+
* The version of the OpenAPI document: 2.78.6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ConnectReport Core API
|
|
5
5
|
* Leverage core reporting, templating, and document automation capabilities of ConnectReport Server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.
|
|
7
|
+
* The version of the OpenAPI document: 2.78.6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -40,9 +40,7 @@ export const assertParamExists = function (functionName: string, paramName: stri
|
|
|
40
40
|
*/
|
|
41
41
|
export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {
|
|
42
42
|
if (configuration && configuration.apiKey) {
|
|
43
|
-
const localVarApiKeyValue =
|
|
44
|
-
? await configuration.apiKey(keyParamName)
|
|
45
|
-
: await configuration.apiKey;
|
|
43
|
+
const localVarApiKeyValue = await configuration.apiKey;
|
|
46
44
|
object[keyParamName] = localVarApiKeyValue;
|
|
47
45
|
}
|
|
48
46
|
}
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ConnectReport Core API
|
|
5
5
|
* Leverage core reporting, templating, and document automation capabilities of ConnectReport Server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.
|
|
7
|
+
* The version of the OpenAPI document: 2.78.6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
export interface ConfigurationParameters {
|
|
17
|
-
apiKey?: string
|
|
17
|
+
apiKey?: string;
|
|
18
18
|
httpsAgent?: any;
|
|
19
19
|
username?: string;
|
|
20
20
|
password?: string;
|
|
@@ -30,7 +30,7 @@ export class Configuration {
|
|
|
30
30
|
* @param name security name
|
|
31
31
|
* @memberof Configuration
|
|
32
32
|
*/
|
|
33
|
-
apiKey?: string
|
|
33
|
+
apiKey?: string;
|
|
34
34
|
/**
|
|
35
35
|
* parameter for basic security
|
|
36
36
|
*
|