Skip to content

Commit

Permalink
Version 4.3.0-rc (#99)
Browse files Browse the repository at this point in the history
Co-authored-by: Dhaval Brahmbhatt <[email protected]>
  • Loading branch information
dbbrahmbhatt and Dhaval Brahmbhatt authored May 15, 2020
1 parent 2d5d6cb commit becec85
Show file tree
Hide file tree
Showing 370 changed files with 48,145 additions and 7,434 deletions.
210 changes: 209 additions & 1 deletion src/Api/AccountsApi.php

Large diffs are not rendered by default.

30 changes: 29 additions & 1 deletion src/Api/AuthenticationApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

/**
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down
50 changes: 49 additions & 1 deletion src/Api/BillingApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

/**
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down
26 changes: 23 additions & 3 deletions src/Api/BulkEnvelopesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

/**
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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&#39;s GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec
* @param string $recipient_id The &#x60;recipientId&#x60; 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 &#x60;recipientId&#x60; must be unique, but there is no uniqueness requirement across envelopes. For example, many envelopes assign the first recipient a &#x60;recipientId&#x60; of &#x60;1&#x60;.
* @param string $bulk_recipients_request (required)
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return \DocuSign\eSign\Model\BulkRecipientsSummaryResponse
Expand All @@ -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&#39;s GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec
* @param string $recipient_id The &#x60;recipientId&#x60; 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 &#x60;recipientId&#x60; must be unique, but there is no uniqueness requirement across envelopes. For example, many envelopes assign the first recipient a &#x60;recipientId&#x60; of &#x60;1&#x60;.
* @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)
Expand Down Expand Up @@ -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(
Expand Down
Loading

0 comments on commit becec85

Please sign in to comment.