-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Dhaval Brahmbhatt <[email protected]>
- Loading branch information
1 parent
2d5d6cb
commit becec85
Showing
370 changed files
with
48,145 additions
and
7,434 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
* OpenAPI spec version: v2 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
* | ||
* Swagger Codegen version: 2.4.13-SNAPSHOT | ||
*/ | ||
|
||
/** | ||
|
@@ -276,6 +276,10 @@ public function deleteSocialLoginWithHttpInfo($account_id, $user_id, $social_acc | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -348,6 +352,10 @@ public function getOAuthTokenWithHttpInfo() | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -452,6 +460,10 @@ public function listSocialLoginsWithHttpInfo($account_id, $user_id) | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -550,6 +562,10 @@ public function loginWithHttpInfo(AuthenticationApi\LoginOptions $options = null | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -626,6 +642,10 @@ public function revokeOAuthTokenWithHttpInfo() | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -719,6 +739,10 @@ public function updatePasswordWithHttpInfo($login_part, $user_password_informati | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -826,6 +850,10 @@ public function updateSocialLoginWithHttpInfo($account_id, $user_id, $social_acc | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
* OpenAPI spec version: v2 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
* | ||
* Swagger Codegen version: 2.4.13-SNAPSHOT | ||
*/ | ||
|
||
/** | ||
|
@@ -364,6 +364,10 @@ public function getBillingPlanWithHttpInfo($billing_plan_id) | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -454,6 +458,10 @@ public function getCreditCardInfoWithHttpInfo($account_id) | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -558,6 +566,10 @@ public function getInvoiceWithHttpInfo($account_id, $invoice_id) | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -662,6 +674,10 @@ public function getPaymentWithHttpInfo($account_id, $payment_id) | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -770,6 +786,10 @@ public function getPlanWithHttpInfo($account_id, BillingApi\GetPlanOptions $opti | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -846,6 +866,10 @@ public function listBillingPlansWithHttpInfo() | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -950,6 +974,10 @@ public function listInvoicesWithHttpInfo($account_id, BillingApi\ListInvoicesOpt | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -1040,6 +1068,10 @@ public function listInvoicesPastDueWithHttpInfo($account_id) | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -1144,6 +1176,10 @@ public function listPaymentsWithHttpInfo($account_id, BillingApi\ListPaymentsOpt | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -1241,6 +1277,10 @@ public function makePaymentWithHttpInfo($account_id, $billing_payment_request = | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -1338,6 +1378,10 @@ public function purchaseEnvelopesWithHttpInfo($account_id, $purchased_envelopes_ | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -1441,6 +1485,10 @@ public function updatePlanWithHttpInfo($account_id, $billing_plan_information = | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
* OpenAPI spec version: v2 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
* | ||
* Swagger Codegen version: 2.4.13-SNAPSHOT | ||
*/ | ||
|
||
/** | ||
|
@@ -379,6 +379,10 @@ public function callListWithHttpInfo($account_id, BulkEnvelopesApi\ListOptions $ | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -497,6 +501,10 @@ public function deleteRecipientsWithHttpInfo($account_id, $envelope_id, $recipie | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -619,6 +627,10 @@ public function getWithHttpInfo($account_id, $batch_id, BulkEnvelopesApi\GetOpti | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -751,6 +763,10 @@ public function getRecipientsWithHttpInfo($account_id, $envelope_id, $recipient_ | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
@@ -787,7 +803,7 @@ public function getRecipientsWithHttpInfo($account_id, $envelope_id, $recipient_ | |
* | ||
* @param string $account_id The external account number (int) or account id GUID. | ||
* @param string $envelope_id The envelope's GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec | ||
* @param string $recipient_id The `recipientId` used when the envelope or template was created. | ||
* @param string $recipient_id A local reference that senders use to map recipients to other objects, such as specific document tabs. Within an envelope, each `recipientId` must be unique, but there is no uniqueness requirement across envelopes. For example, many envelopes assign the first recipient a `recipientId` of `1`. | ||
* @param string $bulk_recipients_request (required) | ||
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response | ||
* @return \DocuSign\eSign\Model\BulkRecipientsSummaryResponse | ||
|
@@ -805,7 +821,7 @@ public function updateRecipients($account_id, $envelope_id, $recipient_id, $bulk | |
* | ||
* @param string $account_id The external account number (int) or account id GUID. | ||
* @param string $envelope_id The envelope's GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec | ||
* @param string $recipient_id The `recipientId` used when the envelope or template was created. | ||
* @param string $recipient_id A local reference that senders use to map recipients to other objects, such as specific document tabs. Within an envelope, each `recipientId` must be unique, but there is no uniqueness requirement across envelopes. For example, many envelopes assign the first recipient a `recipientId` of `1`. | ||
* @param string $bulk_recipients_request (required) | ||
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response | ||
* @return array of \DocuSign\eSign\Model\BulkRecipientsSummaryResponse, HTTP status code, HTTP response headers (array of strings) | ||
|
@@ -880,6 +896,10 @@ public function updateRecipientsWithHttpInfo($account_id, $envelope_id, $recipie | |
} elseif (count($formParams) > 0) { | ||
$httpBody = $formParams; // for HTTP post (form) | ||
} | ||
// this endpoint requires OAuth (access token) | ||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) { | ||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken(); | ||
} | ||
// make the API Call | ||
try { | ||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( | ||
|
Oops, something went wrong.