cybersource-rest-client 0.0.32 → 0.0.33
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/docs/ChargebackDetailsApi.md +62 -0
- package/docs/ChargebackSummariesApi.md +62 -0
- package/docs/ConversionDetailsApi.md +2 -2
- package/docs/InterchangeClearingLevelDetailsApi.md +62 -0
- package/docs/NetFundingsApi.md +2 -2
- package/docs/PaymentBatchSummariesApi.md +2 -2
- package/docs/Ptsv2paymentsClientReferenceInformation.md +1 -0
- package/docs/PurchaseAndRefundDetailsApi.md +2 -2
- package/docs/ReportDefinitionsApi.md +4 -4
- package/docs/ReportDownloadsApi.md +2 -2
- package/docs/ReportSubscriptionsApi.md +10 -10
- package/docs/ReportingV3ChargebackDetailsGet200Response.md +11 -0
- package/docs/ReportingV3ChargebackDetailsGet200ResponseChargebackDetails.md +29 -0
- package/docs/ReportingV3ChargebackSummariesGet200Response.md +11 -0
- package/docs/ReportingV3ChargebackSummariesGet200ResponseChargebackSummaries.md +10 -0
- package/docs/ReportingV3InterchangeClearingLevelDetailsGet200Response.md +10 -0
- package/docs/ReportingV3InterchangeClearingLevelDetailsGet200ResponseInterchangeClearingLevelDetails.md +58 -0
- package/docs/ReportingV3RetrievalDetailsGet200Response.md +11 -0
- package/docs/ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.md +29 -0
- package/docs/ReportingV3RetrievalSummariesGet200Response.md +11 -0
- package/docs/ReportsApi.md +6 -6
- package/docs/RetrievalDetailsApi.md +62 -0
- package/docs/RetrievalSummariesApi.md +62 -0
- package/package.json +2 -2
- package/src/api/ChargebackDetailsApi.js +111 -0
- package/src/api/ChargebackSummariesApi.js +111 -0
- package/src/api/ConversionDetailsApi.js +1 -1
- package/src/api/InterchangeClearingLevelDetailsApi.js +111 -0
- package/src/api/NetFundingsApi.js +1 -1
- package/src/api/PaymentBatchSummariesApi.js +1 -1
- package/src/api/PurchaseAndRefundDetailsApi.js +1 -1
- package/src/api/ReportDefinitionsApi.js +2 -2
- package/src/api/ReportDownloadsApi.js +1 -1
- package/src/api/ReportSubscriptionsApi.js +5 -5
- package/src/api/ReportsApi.js +3 -3
- package/src/api/RetrievalDetailsApi.js +111 -0
- package/src/api/RetrievalSummariesApi.js +111 -0
- package/src/index.js +73 -3
- package/src/model/Ptsv2paymentsClientReferenceInformation.js +9 -0
- package/src/model/ReportingV3ChargebackDetailsGet200Response.js +109 -0
- package/src/model/ReportingV3ChargebackDetailsGet200ResponseChargebackDetails.js +271 -0
- package/src/model/ReportingV3ChargebackSummariesGet200Response.js +109 -0
- package/src/model/ReportingV3ChargebackSummariesGet200ResponseChargebackSummaries.js +100 -0
- package/src/model/ReportingV3InterchangeClearingLevelDetailsGet200Response.js +100 -0
- package/src/model/ReportingV3InterchangeClearingLevelDetailsGet200ResponseInterchangeClearingLevelDetails.js +485 -0
- package/src/model/ReportingV3RetrievalDetailsGet200Response.js +109 -0
- package/src/model/ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.js +271 -0
- package/src/model/ReportingV3RetrievalSummariesGet200Response.js +109 -0
package/docs/ReportsApi.md
CHANGED
|
@@ -26,7 +26,7 @@ var apiInstance = new CyberSource.ReportsApi();
|
|
|
26
26
|
var createAdhocReportRequest = new CyberSource.CreateAdhocReportRequest(); // CreateAdhocReportRequest | Report subscription request payload
|
|
27
27
|
|
|
28
28
|
var opts = {
|
|
29
|
-
'organizationId': "organizationId_example" // String | Valid
|
|
29
|
+
'organizationId': "organizationId_example" // String | Valid Organization Id
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
var callback = function(error, data, response) {
|
|
@@ -44,7 +44,7 @@ apiInstance.createReport(createAdhocReportRequest, opts, callback);
|
|
|
44
44
|
Name | Type | Description | Notes
|
|
45
45
|
------------- | ------------- | ------------- | -------------
|
|
46
46
|
**createAdhocReportRequest** | [**CreateAdhocReportRequest**](CreateAdhocReportRequest.md)| Report subscription request payload |
|
|
47
|
-
**organizationId** | **String**| Valid
|
|
47
|
+
**organizationId** | **String**| Valid Organization Id | [optional]
|
|
48
48
|
|
|
49
49
|
### Return type
|
|
50
50
|
|
|
@@ -76,7 +76,7 @@ var apiInstance = new CyberSource.ReportsApi();
|
|
|
76
76
|
var reportId = "reportId_example"; // String | Valid Report Id
|
|
77
77
|
|
|
78
78
|
var opts = {
|
|
79
|
-
'organizationId': "organizationId_example" // String | Valid
|
|
79
|
+
'organizationId': "organizationId_example" // String | Valid Organization Id
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
var callback = function(error, data, response) {
|
|
@@ -94,7 +94,7 @@ apiInstance.getReportByReportId(reportId, opts, callback);
|
|
|
94
94
|
Name | Type | Description | Notes
|
|
95
95
|
------------- | ------------- | ------------- | -------------
|
|
96
96
|
**reportId** | **String**| Valid Report Id |
|
|
97
|
-
**organizationId** | **String**| Valid
|
|
97
|
+
**organizationId** | **String**| Valid Organization Id | [optional]
|
|
98
98
|
|
|
99
99
|
### Return type
|
|
100
100
|
|
|
@@ -130,7 +130,7 @@ var endTime = new Date("2013-10-20T19:20:30+01:00"); // Date | Valid report End
|
|
|
130
130
|
var timeQueryType = "timeQueryType_example"; // String | Specify time you would like to search Valid values: - reportTimeFrame - executedTime
|
|
131
131
|
|
|
132
132
|
var opts = {
|
|
133
|
-
'organizationId': "organizationId_example", // String | Valid
|
|
133
|
+
'organizationId': "organizationId_example", // String | Valid Organization Id
|
|
134
134
|
'reportMimeType': "reportMimeType_example", // String | Valid Report Format Valid values: - application/xml - text/csv
|
|
135
135
|
'reportFrequency': "reportFrequency_example", // String | Valid Report Frequency Valid values: - DAILY - WEEKLY - MONTHLY - USER_DEFINED - ADHOC
|
|
136
136
|
'reportName': "reportName_example", // String | Valid Report Name
|
|
@@ -155,7 +155,7 @@ Name | Type | Description | Notes
|
|
|
155
155
|
**startTime** | **Date**| Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) |
|
|
156
156
|
**endTime** | **Date**| Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) |
|
|
157
157
|
**timeQueryType** | **String**| Specify time you would like to search Valid values: - reportTimeFrame - executedTime |
|
|
158
|
-
**organizationId** | **String**| Valid
|
|
158
|
+
**organizationId** | **String**| Valid Organization Id | [optional]
|
|
159
159
|
**reportMimeType** | **String**| Valid Report Format Valid values: - application/xml - text/csv | [optional]
|
|
160
160
|
**reportFrequency** | **String**| Valid Report Frequency Valid values: - DAILY - WEEKLY - MONTHLY - USER_DEFINED - ADHOC | [optional]
|
|
161
161
|
**reportName** | **String**| Valid Report Name | [optional]
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# CyberSource.RetrievalDetailsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://apitest.cybersource.com*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**getRetrievalDetails**](RetrievalDetailsApi.md#getRetrievalDetails) | **GET** /reporting/v3/retrieval-details | Get Retrieval Details
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
<a name="getRetrievalDetails"></a>
|
|
11
|
+
# **getRetrievalDetails**
|
|
12
|
+
> ReportingV3RetrievalDetailsGet200Response getRetrievalDetails(startTime, endTime, opts)
|
|
13
|
+
|
|
14
|
+
Get Retrieval Details
|
|
15
|
+
|
|
16
|
+
Retrieval Detail Report Description
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
```javascript
|
|
20
|
+
var CyberSource = require('CyberSource');
|
|
21
|
+
|
|
22
|
+
var apiInstance = new CyberSource.RetrievalDetailsApi();
|
|
23
|
+
|
|
24
|
+
var startTime = new Date("2013-10-20T19:20:30+01:00"); // Date | Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
25
|
+
|
|
26
|
+
var endTime = new Date("2013-10-20T19:20:30+01:00"); // Date | Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
27
|
+
|
|
28
|
+
var opts = {
|
|
29
|
+
'organizationId': "organizationId_example" // String | Valid Organization Id
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
var callback = function(error, data, response) {
|
|
33
|
+
if (error) {
|
|
34
|
+
console.error(error);
|
|
35
|
+
} else {
|
|
36
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
apiInstance.getRetrievalDetails(startTime, endTime, opts, callback);
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Parameters
|
|
43
|
+
|
|
44
|
+
Name | Type | Description | Notes
|
|
45
|
+
------------- | ------------- | ------------- | -------------
|
|
46
|
+
**startTime** | **Date**| Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) |
|
|
47
|
+
**endTime** | **Date**| Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) |
|
|
48
|
+
**organizationId** | **String**| Valid Organization Id | [optional]
|
|
49
|
+
|
|
50
|
+
### Return type
|
|
51
|
+
|
|
52
|
+
[**ReportingV3RetrievalDetailsGet200Response**](ReportingV3RetrievalDetailsGet200Response.md)
|
|
53
|
+
|
|
54
|
+
### Authorization
|
|
55
|
+
|
|
56
|
+
No authorization required
|
|
57
|
+
|
|
58
|
+
### HTTP request headers
|
|
59
|
+
|
|
60
|
+
- **Content-Type**: application/json;charset=utf-8
|
|
61
|
+
- **Accept**: application/hal+json, application/xml
|
|
62
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# CyberSource.RetrievalSummariesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://apitest.cybersource.com*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**getRetrievalSummary**](RetrievalSummariesApi.md#getRetrievalSummary) | **GET** /reporting/v3/retrieval-summaries | Get Retrieval Summaries
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
<a name="getRetrievalSummary"></a>
|
|
11
|
+
# **getRetrievalSummary**
|
|
12
|
+
> ReportingV3RetrievalSummariesGet200Response getRetrievalSummary(startTime, endTime, opts)
|
|
13
|
+
|
|
14
|
+
Get Retrieval Summaries
|
|
15
|
+
|
|
16
|
+
Retrieval Summary Report Description
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
```javascript
|
|
20
|
+
var CyberSource = require('CyberSource');
|
|
21
|
+
|
|
22
|
+
var apiInstance = new CyberSource.RetrievalSummariesApi();
|
|
23
|
+
|
|
24
|
+
var startTime = new Date("2013-10-20T19:20:30+01:00"); // Date | Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
25
|
+
|
|
26
|
+
var endTime = new Date("2013-10-20T19:20:30+01:00"); // Date | Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
27
|
+
|
|
28
|
+
var opts = {
|
|
29
|
+
'organizationId': "organizationId_example" // String | Valid Organization Id
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
var callback = function(error, data, response) {
|
|
33
|
+
if (error) {
|
|
34
|
+
console.error(error);
|
|
35
|
+
} else {
|
|
36
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
apiInstance.getRetrievalSummary(startTime, endTime, opts, callback);
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Parameters
|
|
43
|
+
|
|
44
|
+
Name | Type | Description | Notes
|
|
45
|
+
------------- | ------------- | ------------- | -------------
|
|
46
|
+
**startTime** | **Date**| Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) |
|
|
47
|
+
**endTime** | **Date**| Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) |
|
|
48
|
+
**organizationId** | **String**| Valid Organization Id | [optional]
|
|
49
|
+
|
|
50
|
+
### Return type
|
|
51
|
+
|
|
52
|
+
[**ReportingV3RetrievalSummariesGet200Response**](ReportingV3RetrievalSummariesGet200Response.md)
|
|
53
|
+
|
|
54
|
+
### Authorization
|
|
55
|
+
|
|
56
|
+
No authorization required
|
|
57
|
+
|
|
58
|
+
### HTTP request headers
|
|
59
|
+
|
|
60
|
+
- **Content-Type**: application/json;charset=utf-8
|
|
61
|
+
- **Accept**: application/hal+json, application/xml
|
|
62
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cybersource-rest-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"description": "Node.js SDK for the CyberSource REST API",
|
|
5
5
|
"author": "developer@cybersource.com",
|
|
6
6
|
"license": "CyberSource",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"superagent": "3.8.3",
|
|
16
|
-
"superagent-proxy": "^
|
|
16
|
+
"superagent-proxy": "^3.0.0",
|
|
17
17
|
"app-root-path": "^2.1.0",
|
|
18
18
|
"chai": "^4.1.2",
|
|
19
19
|
"chai-as-promised": "^7.1.1",
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CyberSource Merged Spec
|
|
3
|
+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
*
|
|
10
|
+
* Swagger Codegen version: 2.3.0
|
|
11
|
+
*
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
(function(root, factory) {
|
|
17
|
+
if (typeof define === 'function' && define.amd) {
|
|
18
|
+
// AMD. Register as an anonymous module.
|
|
19
|
+
define(['ApiClient', 'model/ReportingV3ChargebackDetailsGet200Response'], factory);
|
|
20
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
+
module.exports = factory(require('../ApiClient'), require('../model/ReportingV3ChargebackDetailsGet200Response'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
if (!root.CyberSource) {
|
|
26
|
+
root.CyberSource = {};
|
|
27
|
+
}
|
|
28
|
+
root.CyberSource.ChargebackDetailsApi = factory(root.CyberSource.ApiClient, root.CyberSource.ReportingV3ChargebackDetailsGet200Response);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient, ReportingV3ChargebackDetailsGet200Response) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* ChargebackDetails service.
|
|
35
|
+
* @module api/ChargebackDetailsApi
|
|
36
|
+
* @version 0.0.1
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Constructs a new ChargebackDetailsApi.
|
|
41
|
+
* @alias module:api/ChargebackDetailsApi
|
|
42
|
+
* @class
|
|
43
|
+
* @param {module:ApiClient} apiClient Optional API client implementation to use,
|
|
44
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
45
|
+
*/
|
|
46
|
+
var exports = function(configObject, apiClient) {
|
|
47
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
48
|
+
|
|
49
|
+
this.apiClient.setConfiguration(configObject);
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Callback function to receive the result of the getChargebackDetails operation.
|
|
54
|
+
* @callback module:api/ChargebackDetailsApi~getChargebackDetailsCallback
|
|
55
|
+
* @param {String} error Error message, if any.
|
|
56
|
+
* @param {module:model/ReportingV3ChargebackDetailsGet200Response} data The data returned by the service call.
|
|
57
|
+
* @param {String} response The complete HTTP response.
|
|
58
|
+
*/
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Get Chargeback Details
|
|
62
|
+
* Chargeback Detail Report Description
|
|
63
|
+
* @param {Date} startTime Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
64
|
+
* @param {Date} endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
65
|
+
* @param {Object} opts Optional parameters
|
|
66
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
67
|
+
* @param {module:api/ChargebackDetailsApi~getChargebackDetailsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
68
|
+
* data is of type: {@link module:model/ReportingV3ChargebackDetailsGet200Response}
|
|
69
|
+
*/
|
|
70
|
+
this.getChargebackDetails = function(startTime, endTime, opts, callback) {
|
|
71
|
+
opts = opts || {};
|
|
72
|
+
var postBody = null;
|
|
73
|
+
|
|
74
|
+
// verify the required parameter 'startTime' is set
|
|
75
|
+
if (startTime === undefined || startTime === null) {
|
|
76
|
+
throw new Error("Missing the required parameter 'startTime' when calling getChargebackDetails");
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// verify the required parameter 'endTime' is set
|
|
80
|
+
if (endTime === undefined || endTime === null) {
|
|
81
|
+
throw new Error("Missing the required parameter 'endTime' when calling getChargebackDetails");
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
var pathParams = {
|
|
86
|
+
};
|
|
87
|
+
var queryParams = {
|
|
88
|
+
'startTime': startTime,
|
|
89
|
+
'endTime': endTime,
|
|
90
|
+
'organizationId': opts['organizationId']
|
|
91
|
+
};
|
|
92
|
+
var headerParams = {
|
|
93
|
+
};
|
|
94
|
+
var formParams = {
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
var authNames = [];
|
|
98
|
+
var contentTypes = ['application/json;charset=utf-8'];
|
|
99
|
+
var accepts = ['application/hal+json', 'application/xml'];
|
|
100
|
+
var returnType = ReportingV3ChargebackDetailsGet200Response;
|
|
101
|
+
|
|
102
|
+
return this.apiClient.callApi(
|
|
103
|
+
'/reporting/v3/chargeback-details', 'GET',
|
|
104
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
105
|
+
authNames, contentTypes, accepts, returnType, callback
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
return exports;
|
|
111
|
+
}));
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CyberSource Merged Spec
|
|
3
|
+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
*
|
|
10
|
+
* Swagger Codegen version: 2.3.0
|
|
11
|
+
*
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
(function(root, factory) {
|
|
17
|
+
if (typeof define === 'function' && define.amd) {
|
|
18
|
+
// AMD. Register as an anonymous module.
|
|
19
|
+
define(['ApiClient', 'model/ReportingV3ChargebackSummariesGet200Response'], factory);
|
|
20
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
+
module.exports = factory(require('../ApiClient'), require('../model/ReportingV3ChargebackSummariesGet200Response'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
if (!root.CyberSource) {
|
|
26
|
+
root.CyberSource = {};
|
|
27
|
+
}
|
|
28
|
+
root.CyberSource.ChargebackSummariesApi = factory(root.CyberSource.ApiClient, root.CyberSource.ReportingV3ChargebackSummariesGet200Response);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient, ReportingV3ChargebackSummariesGet200Response) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* ChargebackSummaries service.
|
|
35
|
+
* @module api/ChargebackSummariesApi
|
|
36
|
+
* @version 0.0.1
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Constructs a new ChargebackSummariesApi.
|
|
41
|
+
* @alias module:api/ChargebackSummariesApi
|
|
42
|
+
* @class
|
|
43
|
+
* @param {module:ApiClient} apiClient Optional API client implementation to use,
|
|
44
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
45
|
+
*/
|
|
46
|
+
var exports = function(configObject, apiClient) {
|
|
47
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
48
|
+
|
|
49
|
+
this.apiClient.setConfiguration(configObject);
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Callback function to receive the result of the getChargebackSummaries operation.
|
|
54
|
+
* @callback module:api/ChargebackSummariesApi~getChargebackSummariesCallback
|
|
55
|
+
* @param {String} error Error message, if any.
|
|
56
|
+
* @param {module:model/ReportingV3ChargebackSummariesGet200Response} data The data returned by the service call.
|
|
57
|
+
* @param {String} response The complete HTTP response.
|
|
58
|
+
*/
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Get Chargeback Summaries
|
|
62
|
+
* Chargeback Summary Report Description
|
|
63
|
+
* @param {Date} startTime Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
64
|
+
* @param {Date} endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
65
|
+
* @param {Object} opts Optional parameters
|
|
66
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
67
|
+
* @param {module:api/ChargebackSummariesApi~getChargebackSummariesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
68
|
+
* data is of type: {@link module:model/ReportingV3ChargebackSummariesGet200Response}
|
|
69
|
+
*/
|
|
70
|
+
this.getChargebackSummaries = function(startTime, endTime, opts, callback) {
|
|
71
|
+
opts = opts || {};
|
|
72
|
+
var postBody = null;
|
|
73
|
+
|
|
74
|
+
// verify the required parameter 'startTime' is set
|
|
75
|
+
if (startTime === undefined || startTime === null) {
|
|
76
|
+
throw new Error("Missing the required parameter 'startTime' when calling getChargebackSummaries");
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// verify the required parameter 'endTime' is set
|
|
80
|
+
if (endTime === undefined || endTime === null) {
|
|
81
|
+
throw new Error("Missing the required parameter 'endTime' when calling getChargebackSummaries");
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
var pathParams = {
|
|
86
|
+
};
|
|
87
|
+
var queryParams = {
|
|
88
|
+
'startTime': startTime,
|
|
89
|
+
'endTime': endTime,
|
|
90
|
+
'organizationId': opts['organizationId']
|
|
91
|
+
};
|
|
92
|
+
var headerParams = {
|
|
93
|
+
};
|
|
94
|
+
var formParams = {
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
var authNames = [];
|
|
98
|
+
var contentTypes = ['application/json;charset=utf-8'];
|
|
99
|
+
var accepts = ['application/hal+json', 'application/xml'];
|
|
100
|
+
var returnType = ReportingV3ChargebackSummariesGet200Response;
|
|
101
|
+
|
|
102
|
+
return this.apiClient.callApi(
|
|
103
|
+
'/reporting/v3/chargeback-summaries', 'GET',
|
|
104
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
105
|
+
authNames, contentTypes, accepts, returnType, callback
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
return exports;
|
|
111
|
+
}));
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
* @param {Date} startTime Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
64
64
|
* @param {Date} endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
65
65
|
* @param {Object} opts Optional parameters
|
|
66
|
-
* @param {String} opts.organizationId Valid
|
|
66
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
67
67
|
* @param {module:api/ConversionDetailsApi~getConversionDetailCallback} callback The callback function, accepting three arguments: error, data, response
|
|
68
68
|
* data is of type: {@link module:model/ReportingV3ConversionDetailsGet200Response}
|
|
69
69
|
*/
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CyberSource Merged Spec
|
|
3
|
+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
*
|
|
10
|
+
* Swagger Codegen version: 2.3.0
|
|
11
|
+
*
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
(function(root, factory) {
|
|
17
|
+
if (typeof define === 'function' && define.amd) {
|
|
18
|
+
// AMD. Register as an anonymous module.
|
|
19
|
+
define(['ApiClient', 'model/ReportingV3InterchangeClearingLevelDetailsGet200Response'], factory);
|
|
20
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
+
module.exports = factory(require('../ApiClient'), require('../model/ReportingV3InterchangeClearingLevelDetailsGet200Response'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
if (!root.CyberSource) {
|
|
26
|
+
root.CyberSource = {};
|
|
27
|
+
}
|
|
28
|
+
root.CyberSource.InterchangeClearingLevelDetailsApi = factory(root.CyberSource.ApiClient, root.CyberSource.ReportingV3InterchangeClearingLevelDetailsGet200Response);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient, ReportingV3InterchangeClearingLevelDetailsGet200Response) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* InterchangeClearingLevelDetails service.
|
|
35
|
+
* @module api/InterchangeClearingLevelDetailsApi
|
|
36
|
+
* @version 0.0.1
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Constructs a new InterchangeClearingLevelDetailsApi.
|
|
41
|
+
* @alias module:api/InterchangeClearingLevelDetailsApi
|
|
42
|
+
* @class
|
|
43
|
+
* @param {module:ApiClient} apiClient Optional API client implementation to use,
|
|
44
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
45
|
+
*/
|
|
46
|
+
var exports = function(configObject, apiClient) {
|
|
47
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
48
|
+
|
|
49
|
+
this.apiClient.setConfiguration(configObject);
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Callback function to receive the result of the getInterchangeClearingLevelDetails operation.
|
|
54
|
+
* @callback module:api/InterchangeClearingLevelDetailsApi~getInterchangeClearingLevelDetailsCallback
|
|
55
|
+
* @param {String} error Error message, if any.
|
|
56
|
+
* @param {module:model/ReportingV3InterchangeClearingLevelDetailsGet200Response} data The data returned by the service call.
|
|
57
|
+
* @param {String} response The complete HTTP response.
|
|
58
|
+
*/
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Interchange Clearing Level data for an account or a merchant
|
|
62
|
+
* Interchange Clearing Level data for an account or a merchant
|
|
63
|
+
* @param {Date} startTime Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
64
|
+
* @param {Date} endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
65
|
+
* @param {Object} opts Optional parameters
|
|
66
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
67
|
+
* @param {module:api/InterchangeClearingLevelDetailsApi~getInterchangeClearingLevelDetailsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
68
|
+
* data is of type: {@link module:model/ReportingV3InterchangeClearingLevelDetailsGet200Response}
|
|
69
|
+
*/
|
|
70
|
+
this.getInterchangeClearingLevelDetails = function(startTime, endTime, opts, callback) {
|
|
71
|
+
opts = opts || {};
|
|
72
|
+
var postBody = null;
|
|
73
|
+
|
|
74
|
+
// verify the required parameter 'startTime' is set
|
|
75
|
+
if (startTime === undefined || startTime === null) {
|
|
76
|
+
throw new Error("Missing the required parameter 'startTime' when calling getInterchangeClearingLevelDetails");
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// verify the required parameter 'endTime' is set
|
|
80
|
+
if (endTime === undefined || endTime === null) {
|
|
81
|
+
throw new Error("Missing the required parameter 'endTime' when calling getInterchangeClearingLevelDetails");
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
var pathParams = {
|
|
86
|
+
};
|
|
87
|
+
var queryParams = {
|
|
88
|
+
'startTime': startTime,
|
|
89
|
+
'endTime': endTime,
|
|
90
|
+
'organizationId': opts['organizationId']
|
|
91
|
+
};
|
|
92
|
+
var headerParams = {
|
|
93
|
+
};
|
|
94
|
+
var formParams = {
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
var authNames = [];
|
|
98
|
+
var contentTypes = ['application/json;charset=utf-8'];
|
|
99
|
+
var accepts = ['application/hal+json', 'application/xml'];
|
|
100
|
+
var returnType = ReportingV3InterchangeClearingLevelDetailsGet200Response;
|
|
101
|
+
|
|
102
|
+
return this.apiClient.callApi(
|
|
103
|
+
'/reporting/v3/interchange-clearing-level-details', 'GET',
|
|
104
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
105
|
+
authNames, contentTypes, accepts, returnType, callback
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
return exports;
|
|
111
|
+
}));
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
* @param {Date} startTime Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
64
64
|
* @param {Date} endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
65
65
|
* @param {Object} opts Optional parameters
|
|
66
|
-
* @param {String} opts.organizationId Valid
|
|
66
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
67
67
|
* @param {String} opts.groupName Valid CyberSource Group Name.
|
|
68
68
|
* @param {module:api/NetFundingsApi~getNetFundingDetailsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
69
69
|
* data is of type: {@link module:model/ReportingV3NetFundingsGet200Response}
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
* @param {Date} startTime Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
64
64
|
* @param {Date} endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
65
65
|
* @param {Object} opts Optional parameters
|
|
66
|
-
* @param {String} opts.organizationId Valid
|
|
66
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
67
67
|
* @param {String} opts.rollUp Conditional - RollUp for data for day/week/month. Required while getting breakdown data for a Merchant
|
|
68
68
|
* @param {String} opts.breakdown Conditional - Breakdown on account_rollup/all_merchant/selected_merchant. Required while getting breakdown data for a Merchant.
|
|
69
69
|
* @param {Number} opts.startDayOfWeek Optional - Start day of week to breakdown data for weeks in a month
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
* @param {Date} startTime Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
64
64
|
* @param {Date} endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
|
65
65
|
* @param {Object} opts Optional parameters
|
|
66
|
-
* @param {String} opts.organizationId Valid
|
|
66
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
67
67
|
* @param {String} opts.paymentSubtype Payment Subtypes. - **ALL**: All Payment Subtypes - **VI** : Visa - **MC** : Master Card - **AX** : American Express - **DI** : Discover - **DP** : Pinless Debit (default to ALL)
|
|
68
68
|
* @param {String} opts.viewBy View results by Request Date or Submission Date. - **requestDate** : Request Date - **submissionDate**: Submission Date (default to requestDate)
|
|
69
69
|
* @param {String} opts.groupName Valid CyberSource Group Name.User can define groups using CBAPI and Group Management Module in EBC2. Groups are collection of organizationIds
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
* @param {Object} opts Optional parameters
|
|
65
65
|
* @param {String} opts.subscriptionType The subscription type for which report definition is required. By default the type will be CUSTOM. Valid Values: - CLASSIC - CUSTOM - STANDARD
|
|
66
66
|
* @param {String} opts.reportMimeType The format for which the report definition is required. By default the value will be CSV. Valid Values: - application/xml - text/csv
|
|
67
|
-
* @param {String} opts.organizationId Valid
|
|
67
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
68
68
|
* @param {module:api/ReportDefinitionsApi~getResourceInfoByReportDefinitionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
69
69
|
* data is of type: {@link module:model/ReportingV3ReportDefinitionsNameGet200Response}
|
|
70
70
|
*/
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
* View a list of supported reports and their attributes before subscribing to them.
|
|
117
117
|
* @param {Object} opts Optional parameters
|
|
118
118
|
* @param {String} opts.subscriptionType Valid Values: - CLASSIC - CUSTOM - STANDARD
|
|
119
|
-
* @param {String} opts.organizationId Valid
|
|
119
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
120
120
|
* @param {module:api/ReportDefinitionsApi~getResourceV2InfoCallback} callback The callback function, accepting three arguments: error, data, response
|
|
121
121
|
* data is of type: {@link module:model/ReportingV3ReportDefinitionsGet200Response}
|
|
122
122
|
*/
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
* @param {Date} reportDate Valid date on which to download the report in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** yyyy-mm-dd For reports that span multiple days, this value would be the end date of the report in the time zone of the report subscription. Example 1: If your report start date is 2020-03-06 and the end date is 2020-03-09, the reportDate passed in the query is 2020-03-09. Example 2: If your report runs from midnight to midnight on 2020-03-09, the reportDate passed in the query is 2020-03-10
|
|
64
64
|
* @param {String} reportName Name of the report to download
|
|
65
65
|
* @param {Object} opts Optional parameters
|
|
66
|
-
* @param {String} opts.organizationId Valid
|
|
66
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
67
67
|
* @param {module:api/ReportDownloadsApi~downloadReportCallback} callback The callback function, accepting three arguments: error, data, response
|
|
68
68
|
*/
|
|
69
69
|
this.downloadReport = function(reportDate, reportName, opts, callback) {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
* Create or update an already existing classic or standard subscription.
|
|
63
63
|
* @param {module:model/PredefinedSubscriptionRequestBean} predefinedSubscriptionRequestBean Report subscription request payload
|
|
64
64
|
* @param {Object} opts Optional parameters
|
|
65
|
-
* @param {String} opts.organizationId Valid
|
|
65
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
66
66
|
* @param {module:api/ReportSubscriptionsApi~createStandardOrClassicSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
67
67
|
*/
|
|
68
68
|
this.createStandardOrClassicSubscription = function(predefinedSubscriptionRequestBean, opts, callback) {
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
* Create a report subscription for your organization. The report name must be unique.
|
|
111
111
|
* @param {module:model/CreateReportSubscriptionRequest} createReportSubscriptionRequest Report subscription request payload
|
|
112
112
|
* @param {Object} opts Optional parameters
|
|
113
|
-
* @param {String} opts.organizationId Valid
|
|
113
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
114
114
|
* @param {module:api/ReportSubscriptionsApi~createSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
115
115
|
*/
|
|
116
116
|
this.createSubscription = function(createReportSubscriptionRequest, opts, callback) {
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
* Delete a report subscription for your organization. You must know the unique name of the report you want to delete.
|
|
159
159
|
* @param {String} reportName Name of the Report to Delete
|
|
160
160
|
* @param {Object} opts Optional parameters
|
|
161
|
-
* @param {String} opts.organizationId Valid
|
|
161
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
162
162
|
* @param {module:api/ReportSubscriptionsApi~deleteSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
163
163
|
*/
|
|
164
164
|
this.deleteSubscription = function(reportName, opts, callback) {
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
* Get All Subscriptions
|
|
207
207
|
* View a summary of all report subscriptions.
|
|
208
208
|
* @param {Object} opts Optional parameters
|
|
209
|
-
* @param {String} opts.organizationId Valid
|
|
209
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
210
210
|
* @param {module:api/ReportSubscriptionsApi~getAllSubscriptionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
211
211
|
* data is of type: {@link module:model/ReportingV3ReportSubscriptionsGet200Response}
|
|
212
212
|
*/
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
* View the details of a report subscription, such as the report format or report frequency, using the report’s unique name.
|
|
251
251
|
* @param {String} reportName Name of the Report to Retrieve
|
|
252
252
|
* @param {Object} opts Optional parameters
|
|
253
|
-
* @param {String} opts.organizationId Valid
|
|
253
|
+
* @param {String} opts.organizationId Valid Organization Id
|
|
254
254
|
* @param {module:api/ReportSubscriptionsApi~getSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
255
255
|
* data is of type: {@link module:model/ReportingV3ReportSubscriptionsGet200ResponseSubscriptions}
|
|
256
256
|
*/
|