Skip to content

Commit 3b2aa99

Browse files
committed
v4.4.0
1 parent 93ac807 commit 3b2aa99

File tree

87 files changed

+10273
-109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+10273
-109
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@
22

33
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
44

5-
## [v4.3.0] - eSignature API v19.1.02
5+
## [v4.4.0] - eSignature API v2-19.2.02
66
### Changed
7-
- The SDK now supports version 19.1.02 of the DocuSign eSignature API.
7+
- The SDK now supports version 19.2.02 of the DocuSign eSignature v2 API.
8+
- SDK Release Version updated.
9+
10+
## [v4.3.0] - eSignature API v2-19.1.02
11+
### Changed
12+
- The SDK now supports version 19.1.02 of the DocuSign eSignature v2 API.
813
- SDK Release Version updated.
914
### Added
1015
- Cache-control and Pragma headers to the oAuth calls. (DCM-2244)

src/api/BulkEnvelopesApi.js

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212
(function(root, factory) {
1313
if (typeof define === 'function' && define.amd) {
1414
// AMD. Register as an anonymous module.
15-
define(['Configuration', 'ApiClient', 'model/BulkEnvelopeStatus', 'model/BulkEnvelopesResponse', 'model/BulkRecipientsRequest', 'model/BulkRecipientsResponse', 'model/BulkRecipientsSummaryResponse', 'model/BulkRecipientsUpdateResponse', 'model/ErrorDetails'], factory);
15+
define(['Configuration', 'ApiClient', 'model/BulkEnvelopeStatus', 'model/BulkEnvelopesResponse', 'model/BulkRecipientsResponse', 'model/BulkRecipientsSummaryResponse', 'model/BulkRecipientsUpdateResponse', 'model/ErrorDetails'], factory);
1616
} else if (typeof module === 'object' && module.exports) {
1717
// CommonJS-like environments that support module.exports, like Node.
18-
module.exports = factory(require('../Configuration'), require('../ApiClient'), require('../model/BulkEnvelopeStatus'), require('../model/BulkEnvelopesResponse'), require('../model/BulkRecipientsRequest'), require('../model/BulkRecipientsResponse'), require('../model/BulkRecipientsSummaryResponse'), require('../model/BulkRecipientsUpdateResponse'), require('../model/ErrorDetails'));
18+
module.exports = factory(require('../Configuration'), require('../ApiClient'), require('../model/BulkEnvelopeStatus'), require('../model/BulkEnvelopesResponse'), require('../model/BulkRecipientsResponse'), require('../model/BulkRecipientsSummaryResponse'), require('../model/BulkRecipientsUpdateResponse'), require('../model/ErrorDetails'));
1919
} else {
2020
// Browser globals (root is window)
2121
if (!root.Docusign) {
2222
root.Docusign = {};
2323
}
24-
root.Docusign.BulkEnvelopesApi = factory(root.Docusign.Configuration, root.Docusign.ApiClient, root.Docusign.BulkEnvelopeStatus, root.Docusign.BulkEnvelopesResponse, root.Docusign.BulkRecipientsRequest, root.Docusign.BulkRecipientsResponse, root.Docusign.BulkRecipientsSummaryResponse, root.Docusign.BulkRecipientsUpdateResponse, root.Docusign.ErrorDetails);
24+
root.Docusign.BulkEnvelopesApi = factory(root.Docusign.Configuration, root.Docusign.ApiClient, root.Docusign.BulkEnvelopeStatus, root.Docusign.BulkEnvelopesResponse, root.Docusign.BulkRecipientsResponse, root.Docusign.BulkRecipientsSummaryResponse, root.Docusign.BulkRecipientsUpdateResponse, root.Docusign.ErrorDetails);
2525
}
26-
}(this, function(Configuration, ApiClient, BulkEnvelopeStatus, BulkEnvelopesResponse, BulkRecipientsRequest, BulkRecipientsResponse, BulkRecipientsSummaryResponse, BulkRecipientsUpdateResponse, ErrorDetails) {
26+
}(this, function(Configuration, ApiClient, BulkEnvelopeStatus, BulkEnvelopesResponse, BulkRecipientsResponse, BulkRecipientsSummaryResponse, BulkRecipientsUpdateResponse, ErrorDetails) {
2727
'use strict';
2828

2929
/**
@@ -352,24 +352,21 @@ The response returns information about the envelopes sent with bulk recipient ba
352352
* Updates the bulk recipients in a draft envelope using a file upload. The Content-Type supported for uploading a bulk recipient file is CSV (text/csv).
353353
354354
The REST API does not support modifying individual rows or values in the bulk recipients file. It only allows the entire file to be added or replaced with a new file.
355+
* @param {String} bulkRecipientsRequest
355356
* @param {String} accountId The external account number (int) or account ID Guid.
356-
* @param {String} envelopeId The envelopeId Guid of the envelope being accessed.
357-
* @param {String} recipientId The ID of the recipient being accessed.
358-
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
359-
* @param {module:model/BulkRecipientsRequest} optsOrCallback.bulkRecipientsRequest
357+
* @param {String} envelopeId The envelope's GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec
358+
* @param {String} recipientId The `recipientId` used when the envelope or template was created.
360359
* @param {module:api/BulkEnvelopesApi~updateRecipientsCallback} callback The callback function, accepting three arguments: error, data, response
361360
* data is of type: {@link module:model/BulkRecipientsSummaryResponse}
362361
*/
363-
this.updateRecipients = function(accountId, envelopeId, recipientId, optsOrCallback, callback) {
364-
optsOrCallback = optsOrCallback || {};
362+
this.updateRecipients = function(bulkRecipientsRequest, accountId, envelopeId, recipientId, callback) {
363+
var postBody = bulkRecipientsRequest;
365364

366-
if (typeof optsOrCallback === 'function') {
367-
callback = optsOrCallback;
368-
optsOrCallback = {};
365+
// verify the required parameter 'bulkRecipientsRequest' is set
366+
if (bulkRecipientsRequest == undefined || bulkRecipientsRequest == null) {
367+
throw new Error("Missing the required parameter 'bulkRecipientsRequest' when calling updateRecipients");
369368
}
370369

371-
var postBody = optsOrCallback['bulkRecipientsRequest'];
372-
373370
// verify the required parameter 'accountId' is set
374371
if (accountId == undefined || accountId == null) {
375372
throw new Error("Missing the required parameter 'accountId' when calling updateRecipients");

src/api/DataFeedApi.js

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
/**
2+
* DocuSign REST API
3+
* The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
4+
*
5+
* OpenAPI spec version: v2.1
6+
* Contact: [email protected]
7+
*
8+
* NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead.
9+
*
10+
*/
11+
12+
(function(root, factory) {
13+
if (typeof define === 'function' && define.amd) {
14+
// AMD. Register as an anonymous module.
15+
define(['Configuration', 'ApiClient', 'model/ErrorDetails'], factory);
16+
} else if (typeof module === 'object' && module.exports) {
17+
// CommonJS-like environments that support module.exports, like Node.
18+
module.exports = factory(require('../Configuration'), require('../ApiClient'), require('../model/ErrorDetails'));
19+
} else {
20+
// Browser globals (root is window)
21+
if (!root.Docusign) {
22+
root.Docusign = {};
23+
}
24+
root.Docusign.DataFeedApi = factory(root.Docusign.Configuration, root.Docusign.ApiClient, root.Docusign.ErrorDetails);
25+
}
26+
}(this, function(Configuration, ApiClient, ErrorDetails) {
27+
'use strict';
28+
29+
/**
30+
* DataFeed service.
31+
* @module api/DataFeedApi
32+
* @version 3.0.0
33+
*/
34+
35+
/**
36+
* Constructs a new DataFeedApi.
37+
* @alias module:api/DataFeedApi
38+
* @class
39+
* @param {module:ApiClient} apiClient Optional API client implementation to use,
40+
* default to {@link module:ApiClient#instance} if unspecified.
41+
*/
42+
var exports = function(apiClient) {
43+
this.apiClient = apiClient || Configuration.default.getDefaultApiClient() || ApiClient.instance;
44+
45+
46+
this.setApiClient = function(apiClient) {
47+
this.apiClient = apiClient;
48+
};
49+
50+
this.getApiClient = function() {
51+
return this.apiClient;
52+
};
53+
54+
55+
/**
56+
* (Optional)Callback function to receive the result of the getDataFeedElement operation. If none specified a Promise will be returned.
57+
* @callback module:api/DataFeedApi~getDataFeedElementCallback
58+
* @param {String} error Error message, if any.
59+
* @param data This operation does not return a value.
60+
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
61+
*/
62+
63+
/**
64+
* Retrieves a Datafeed element by Id.
65+
* @param {String} accountId The external account number (int) or account ID Guid.
66+
* @param {String} dataFeedElementId
67+
* @param {module:api/DataFeedApi~getDataFeedElementCallback} callback The callback function, accepting three arguments: error, data, response
68+
*/
69+
this.getDataFeedElement = function(accountId, dataFeedElementId, callback) {
70+
var postBody = null;
71+
72+
// verify the required parameter 'accountId' is set
73+
if (accountId == undefined || accountId == null) {
74+
throw new Error("Missing the required parameter 'accountId' when calling getDataFeedElement");
75+
}
76+
77+
// verify the required parameter 'dataFeedElementId' is set
78+
if (dataFeedElementId == undefined || dataFeedElementId == null) {
79+
throw new Error("Missing the required parameter 'dataFeedElementId' when calling getDataFeedElement");
80+
}
81+
82+
if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
83+
if (typeof optsOrCallback !== 'undefined') {
84+
optsOrCallback = callback;
85+
}
86+
callback = arguments[arguments.length-1];
87+
}
88+
89+
var pathParams = {
90+
'accountId': accountId,
91+
'dataFeedElementId': dataFeedElementId
92+
};
93+
var queryParams = {
94+
};
95+
var headerParams = {
96+
};
97+
var formParams = {
98+
};
99+
100+
var authNames = [];
101+
var contentTypes = [];
102+
var accepts = ['application/json'];
103+
var returnType = null;
104+
105+
return this.apiClient.callApi(
106+
'/v2.1/accounts/{accountId}/data_feeds/data/{dataFeedElementId}', 'GET',
107+
pathParams, queryParams, headerParams, formParams, postBody,
108+
authNames, contentTypes, accepts, returnType, callback
109+
);
110+
};
111+
};
112+
113+
return exports;
114+
}));

0 commit comments

Comments
 (0)