From e074689fa192e109123c153624189d4ce37fe504 Mon Sep 17 00:00:00 2001 From: Harsha Rahul Boggaram Date: Fri, 17 Jun 2022 17:35:26 -0700 Subject: [PATCH] Version 6.10.0-v2.1-22.2.00.00 release (#176) Co-authored-by: root --- CHANGELOG.md | 5 + src/Api/EnvelopesApi.php | 94 +++ src/Api/PowerFormsApi.php | 60 ++ src/Model/AccountInformation.php | 30 + src/Model/AccountSettingsInformation.php | 240 +++++++ src/Model/Agent.php | 30 + src/Model/CarbonCopy.php | 30 + src/Model/CertifiedDelivery.php | 30 + src/Model/ConnectCustomConfiguration.php | 30 + .../ConnectHistoricalEnvelopeRepublish.php | 336 +++++++++ src/Model/ConsentDetails.php | 366 ++++++++++ src/Model/Editor.php | 30 + src/Model/EnvelopePublishTransaction.php | 666 ++++++++++++++++++ .../EnvelopePublishTransactionErrorRollup.php | 336 +++++++++ src/Model/Intermediary.php | 30 + src/Model/NotaryRecipient.php | 60 ++ src/Model/Participant.php | 30 + src/Model/ScheduledSending.php | 30 + src/Model/Signer.php | 30 + ...erAccountManagementGranularInformation.php | 60 ++ src/Model/Witness.php | 30 + 21 files changed, 2553 insertions(+) create mode 100644 src/Model/ConnectHistoricalEnvelopeRepublish.php create mode 100644 src/Model/ConsentDetails.php create mode 100644 src/Model/EnvelopePublishTransaction.php create mode 100644 src/Model/EnvelopePublishTransactionErrorRollup.php diff --git a/CHANGELOG.md b/CHANGELOG.md index cdae7c69..4619157b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file. See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes. +## [v6.10.0] - eSignature API v2.1-22.2.00.00 - 2022-06-17 +### Changed +- Added support for version v2.1-22.2.00.00 of the DocuSign ESignature API. +- Updated the SDK release version. + ## [v6.9.0] - eSignature API v2.1-22.1.02.00 - 2022-05-18 ### Changed - Added support for version v2.1-22.1.02.00 of the DocuSign ESignature API. diff --git a/src/Api/EnvelopesApi.php b/src/Api/EnvelopesApi.php index 291757b4..6d3212ee 100644 --- a/src/Api/EnvelopesApi.php +++ b/src/Api/EnvelopesApi.php @@ -4934,6 +4934,100 @@ public function createEnvelopeTransferRulesWithHttpInfo($account_id, $envelope_t } } + /** + * Operation createHistoricalEnvelopePublishTransaction + * + * Submits a batch of historical envelopes for republish to an adhoc config. + * + * @param ?string $account_id The external account number (int) or account ID Guid. + * @param \DocuSign\eSign\Model\ConnectHistoricalEnvelopeRepublish $connect_historical_envelope_republish (optional) + * + * @throws ApiException on non-2xx response + * @return \DocuSign\eSign\Model\EnvelopePublishTransaction + */ + public function createHistoricalEnvelopePublishTransaction($account_id, $connect_historical_envelope_republish = null) + { + list($response) = $this->createHistoricalEnvelopePublishTransactionWithHttpInfo($account_id, $connect_historical_envelope_republish); + return $response; + } + + /** + * Operation createHistoricalEnvelopePublishTransactionWithHttpInfo + * + * Submits a batch of historical envelopes for republish to an adhoc config. + * + * @param ?string $account_id The external account number (int) or account ID Guid. + * @param \DocuSign\eSign\Model\ConnectHistoricalEnvelopeRepublish $connect_historical_envelope_republish (optional) + * + * @throws ApiException on non-2xx response + * @return array of \DocuSign\eSign\Model\EnvelopePublishTransaction, HTTP status code, HTTP response headers (array of strings) + */ + public function createHistoricalEnvelopePublishTransactionWithHttpInfo($account_id, $connect_historical_envelope_republish = null): array + { + // verify the required parameter 'account_id' is set + if ($account_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling createHistoricalEnvelopePublishTransaction'); + } + // parse inputs + $resourcePath = "/v2.1/accounts/{accountId}/connect/envelopes/publish/historical"; + $httpBody = $_tempBody ?? ''; // $_tempBody is the method argument, if present + $queryParams = $headerParams = $formParams = []; + $headerParams['Accept'] ??= $this->apiClient->selectHeaderAccept(['application/json']); + $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + + + // path params + if ($account_id !== null) { + $resourcePath = self::updateResourcePath($resourcePath, "accountId", $account_id); + } + + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + // body params + $_tempBody = null; + if (isset($connect_historical_envelope_republish)) { + $_tempBody = $connect_historical_envelope_republish; + } + + // for model (json/xml) + if (isset($_tempBody)) { + $httpBody = $_tempBody; // $_tempBody is the method argument, if present + } 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( + $resourcePath, + 'POST', + $queryParams, + $httpBody, + $headerParams, + '\DocuSign\eSign\Model\EnvelopePublishTransaction', + '/v2.1/accounts/{accountId}/connect/envelopes/publish/historical' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\EnvelopePublishTransaction', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 201: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\EnvelopePublishTransaction', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + case 400: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + } + + throw $e; + } + } + /** * Operation createLock * diff --git a/src/Api/PowerFormsApi.php b/src/Api/PowerFormsApi.php index 07cbede7..69178284 100644 --- a/src/Api/PowerFormsApi.php +++ b/src/Api/PowerFormsApi.php @@ -261,6 +261,60 @@ public function setOrderBy(?string $order_by): self $this->order_by = $order_by; return $this; } + /** + * $search_fields + * @var ?string + */ + protected ?string $search_fields = null; + + /** + * Gets search_fields + * + * @return ?string + */ + public function getSearchFields(): ?string + { + return $this->search_fields; + } + + /** + * Sets search_fields + * @param ?string $search_fields + * + * @return self + */ + public function setSearchFields(?string $search_fields): self + { + $this->search_fields = $search_fields; + return $this; + } + /** + * $search_text + * @var ?string + */ + protected ?string $search_text = null; + + /** + * Gets search_text + * + * @return ?string + */ + public function getSearchText(): ?string + { + return $this->search_text; + } + + /** + * Sets search_text + * @param ?string $search_text + * + * @return self + */ + public function setSearchText(?string $search_text): self + { + $this->search_text = $search_text; + return $this; + } /** * $to_date * @var ?string @@ -1010,6 +1064,12 @@ public function listPowerFormsWithHttpInfo($account_id, \DocuSign\eSign\Api\Powe if ($options->getOrderBy() != 'null') { $queryParams['order_by'] = $this->apiClient->getSerializer()->toQueryValue($options->getOrderBy()); } + if ($options->getSearchFields() != 'null') { + $queryParams['search_fields'] = $this->apiClient->getSerializer()->toQueryValue($options->getSearchFields()); + } + if ($options->getSearchText() != 'null') { + $queryParams['search_text'] = $this->apiClient->getSerializer()->toQueryValue($options->getSearchText()); + } if ($options->getToDate() != 'null') { $queryParams['to_date'] = $this->apiClient->getSerializer()->toQueryValue($options->getToDate()); } diff --git a/src/Model/AccountInformation.php b/src/Model/AccountInformation.php index 080e4675..c2bd631e 100644 --- a/src/Model/AccountInformation.php +++ b/src/Model/AccountInformation.php @@ -70,6 +70,7 @@ class AccountInformation implements ModelInterface, ArrayAccess 'billing_period_envelopes_sent' => '?string', 'billing_period_start_date' => '?string', 'billing_profile' => '?string', + 'brands' => '\DocuSign\eSign\Model\BrandsResponse', 'can_upgrade' => '?string', 'connect_permission' => '?string', 'created_date' => '?string', @@ -115,6 +116,7 @@ class AccountInformation implements ModelInterface, ArrayAccess 'billing_period_envelopes_sent' => null, 'billing_period_start_date' => null, 'billing_profile' => null, + 'brands' => null, 'can_upgrade' => null, 'connect_permission' => null, 'created_date' => null, @@ -181,6 +183,7 @@ public static function swaggerFormats() 'billing_period_envelopes_sent' => 'billingPeriodEnvelopesSent', 'billing_period_start_date' => 'billingPeriodStartDate', 'billing_profile' => 'billingProfile', + 'brands' => 'brands', 'can_upgrade' => 'canUpgrade', 'connect_permission' => 'connectPermission', 'created_date' => 'createdDate', @@ -226,6 +229,7 @@ public static function swaggerFormats() 'billing_period_envelopes_sent' => 'setBillingPeriodEnvelopesSent', 'billing_period_start_date' => 'setBillingPeriodStartDate', 'billing_profile' => 'setBillingProfile', + 'brands' => 'setBrands', 'can_upgrade' => 'setCanUpgrade', 'connect_permission' => 'setConnectPermission', 'created_date' => 'setCreatedDate', @@ -271,6 +275,7 @@ public static function swaggerFormats() 'billing_period_envelopes_sent' => 'getBillingPeriodEnvelopesSent', 'billing_period_start_date' => 'getBillingPeriodStartDate', 'billing_profile' => 'getBillingProfile', + 'brands' => 'getBrands', 'can_upgrade' => 'getCanUpgrade', 'connect_permission' => 'getConnectPermission', 'created_date' => 'getCreatedDate', @@ -370,6 +375,7 @@ public function __construct(array $data = null) $this->container['billing_period_envelopes_sent'] = isset($data['billing_period_envelopes_sent']) ? $data['billing_period_envelopes_sent'] : null; $this->container['billing_period_start_date'] = isset($data['billing_period_start_date']) ? $data['billing_period_start_date'] : null; $this->container['billing_profile'] = isset($data['billing_profile']) ? $data['billing_profile'] : null; + $this->container['brands'] = isset($data['brands']) ? $data['brands'] : null; $this->container['can_upgrade'] = isset($data['can_upgrade']) ? $data['can_upgrade'] : null; $this->container['connect_permission'] = isset($data['connect_permission']) ? $data['connect_permission'] : null; $this->container['created_date'] = isset($data['created_date']) ? $data['created_date'] : null; @@ -663,6 +669,30 @@ public function setBillingProfile($billing_profile) return $this; } + /** + * Gets brands + * + * @return \DocuSign\eSign\Model\BrandsResponse + */ + public function getBrands() + { + return $this->container['brands']; + } + + /** + * Sets brands + * + * @param \DocuSign\eSign\Model\BrandsResponse $brands brands + * + * @return $this + */ + public function setBrands($brands) + { + $this->container['brands'] = $brands; + + return $this; + } + /** * Gets can_upgrade * diff --git a/src/Model/AccountSettingsInformation.php b/src/Model/AccountSettingsInformation.php index 4139165f..a612077d 100644 --- a/src/Model/AccountSettingsInformation.php +++ b/src/Model/AccountSettingsInformation.php @@ -149,6 +149,8 @@ class AccountSettingsInformation implements ModelInterface, ArrayAccess 'allow_in_person_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_managed_stamps' => '?string', 'allow_managed_stamps_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'allow_managing_envelopes_on_behalf_of_others' => '?string', + 'allow_managing_envelopes_on_behalf_of_others_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_markup' => '?string', 'allow_markup_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_member_time_zone' => '?string', @@ -179,6 +181,8 @@ class AccountSettingsInformation implements ModelInterface, ArrayAccess 'allow_organization_to_use_in_person_electronic_notary_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_organization_to_use_remote_notary' => '?string', 'allow_organization_to_use_remote_notary_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'allow_organization_to_use_third_party_electronic_notary' => '?string', + 'allow_organization_to_use_third_party_electronic_notary_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_payment_processing' => '?string', 'allow_payment_processing_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_phone_authentication' => '?string', @@ -201,6 +205,8 @@ class AccountSettingsInformation implements ModelInterface, ArrayAccess 'allow_scheduled_sending_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_security_appliance' => '?string', 'allow_security_appliance_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'allow_sending_envelopes_on_behalf_of_others' => '?string', + 'allow_sending_envelopes_on_behalf_of_others_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_send_to_certified_delivery' => '?string', 'allow_send_to_certified_delivery_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_send_to_intermediary' => '?string', @@ -235,6 +241,8 @@ class AccountSettingsInformation implements ModelInterface, ArrayAccess 'allow_social_id_login_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_supplemental_documents' => '?string', 'allow_supplemental_documents_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'allow_third_party_electronic_notary' => '?string', + 'allow_third_party_electronic_notary_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_users_to_access_directory' => '?string', 'allow_users_to_access_directory_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_value_insights' => '?string', @@ -758,6 +766,8 @@ class AccountSettingsInformation implements ModelInterface, ArrayAccess 'allow_in_person_metadata' => null, 'allow_managed_stamps' => null, 'allow_managed_stamps_metadata' => null, + 'allow_managing_envelopes_on_behalf_of_others' => null, + 'allow_managing_envelopes_on_behalf_of_others_metadata' => null, 'allow_markup' => null, 'allow_markup_metadata' => null, 'allow_member_time_zone' => null, @@ -788,6 +798,8 @@ class AccountSettingsInformation implements ModelInterface, ArrayAccess 'allow_organization_to_use_in_person_electronic_notary_metadata' => null, 'allow_organization_to_use_remote_notary' => null, 'allow_organization_to_use_remote_notary_metadata' => null, + 'allow_organization_to_use_third_party_electronic_notary' => null, + 'allow_organization_to_use_third_party_electronic_notary_metadata' => null, 'allow_payment_processing' => null, 'allow_payment_processing_metadata' => null, 'allow_phone_authentication' => null, @@ -810,6 +822,8 @@ class AccountSettingsInformation implements ModelInterface, ArrayAccess 'allow_scheduled_sending_metadata' => null, 'allow_security_appliance' => null, 'allow_security_appliance_metadata' => null, + 'allow_sending_envelopes_on_behalf_of_others' => null, + 'allow_sending_envelopes_on_behalf_of_others_metadata' => null, 'allow_send_to_certified_delivery' => null, 'allow_send_to_certified_delivery_metadata' => null, 'allow_send_to_intermediary' => null, @@ -844,6 +858,8 @@ class AccountSettingsInformation implements ModelInterface, ArrayAccess 'allow_social_id_login_metadata' => null, 'allow_supplemental_documents' => null, 'allow_supplemental_documents_metadata' => null, + 'allow_third_party_electronic_notary' => null, + 'allow_third_party_electronic_notary_metadata' => null, 'allow_users_to_access_directory' => null, 'allow_users_to_access_directory_metadata' => null, 'allow_value_insights' => null, @@ -1388,6 +1404,8 @@ public static function swaggerFormats() 'allow_in_person_metadata' => 'allowInPersonMetadata', 'allow_managed_stamps' => 'allowManagedStamps', 'allow_managed_stamps_metadata' => 'allowManagedStampsMetadata', + 'allow_managing_envelopes_on_behalf_of_others' => 'allowManagingEnvelopesOnBehalfOfOthers', + 'allow_managing_envelopes_on_behalf_of_others_metadata' => 'allowManagingEnvelopesOnBehalfOfOthersMetadata', 'allow_markup' => 'allowMarkup', 'allow_markup_metadata' => 'allowMarkupMetadata', 'allow_member_time_zone' => 'allowMemberTimeZone', @@ -1418,6 +1436,8 @@ public static function swaggerFormats() 'allow_organization_to_use_in_person_electronic_notary_metadata' => 'allowOrganizationToUseInPersonElectronicNotaryMetadata', 'allow_organization_to_use_remote_notary' => 'allowOrganizationToUseRemoteNotary', 'allow_organization_to_use_remote_notary_metadata' => 'allowOrganizationToUseRemoteNotaryMetadata', + 'allow_organization_to_use_third_party_electronic_notary' => 'allowOrganizationToUseThirdPartyElectronicNotary', + 'allow_organization_to_use_third_party_electronic_notary_metadata' => 'allowOrganizationToUseThirdPartyElectronicNotaryMetadata', 'allow_payment_processing' => 'allowPaymentProcessing', 'allow_payment_processing_metadata' => 'allowPaymentProcessingMetadata', 'allow_phone_authentication' => 'allowPhoneAuthentication', @@ -1440,6 +1460,8 @@ public static function swaggerFormats() 'allow_scheduled_sending_metadata' => 'allowScheduledSendingMetadata', 'allow_security_appliance' => 'allowSecurityAppliance', 'allow_security_appliance_metadata' => 'allowSecurityApplianceMetadata', + 'allow_sending_envelopes_on_behalf_of_others' => 'allowSendingEnvelopesOnBehalfOfOthers', + 'allow_sending_envelopes_on_behalf_of_others_metadata' => 'allowSendingEnvelopesOnBehalfOfOthersMetadata', 'allow_send_to_certified_delivery' => 'allowSendToCertifiedDelivery', 'allow_send_to_certified_delivery_metadata' => 'allowSendToCertifiedDeliveryMetadata', 'allow_send_to_intermediary' => 'allowSendToIntermediary', @@ -1474,6 +1496,8 @@ public static function swaggerFormats() 'allow_social_id_login_metadata' => 'allowSocialIdLoginMetadata', 'allow_supplemental_documents' => 'allowSupplementalDocuments', 'allow_supplemental_documents_metadata' => 'allowSupplementalDocumentsMetadata', + 'allow_third_party_electronic_notary' => 'allowThirdPartyElectronicNotary', + 'allow_third_party_electronic_notary_metadata' => 'allowThirdPartyElectronicNotaryMetadata', 'allow_users_to_access_directory' => 'allowUsersToAccessDirectory', 'allow_users_to_access_directory_metadata' => 'allowUsersToAccessDirectoryMetadata', 'allow_value_insights' => 'allowValueInsights', @@ -1997,6 +2021,8 @@ public static function swaggerFormats() 'allow_in_person_metadata' => 'setAllowInPersonMetadata', 'allow_managed_stamps' => 'setAllowManagedStamps', 'allow_managed_stamps_metadata' => 'setAllowManagedStampsMetadata', + 'allow_managing_envelopes_on_behalf_of_others' => 'setAllowManagingEnvelopesOnBehalfOfOthers', + 'allow_managing_envelopes_on_behalf_of_others_metadata' => 'setAllowManagingEnvelopesOnBehalfOfOthersMetadata', 'allow_markup' => 'setAllowMarkup', 'allow_markup_metadata' => 'setAllowMarkupMetadata', 'allow_member_time_zone' => 'setAllowMemberTimeZone', @@ -2027,6 +2053,8 @@ public static function swaggerFormats() 'allow_organization_to_use_in_person_electronic_notary_metadata' => 'setAllowOrganizationToUseInPersonElectronicNotaryMetadata', 'allow_organization_to_use_remote_notary' => 'setAllowOrganizationToUseRemoteNotary', 'allow_organization_to_use_remote_notary_metadata' => 'setAllowOrganizationToUseRemoteNotaryMetadata', + 'allow_organization_to_use_third_party_electronic_notary' => 'setAllowOrganizationToUseThirdPartyElectronicNotary', + 'allow_organization_to_use_third_party_electronic_notary_metadata' => 'setAllowOrganizationToUseThirdPartyElectronicNotaryMetadata', 'allow_payment_processing' => 'setAllowPaymentProcessing', 'allow_payment_processing_metadata' => 'setAllowPaymentProcessingMetadata', 'allow_phone_authentication' => 'setAllowPhoneAuthentication', @@ -2049,6 +2077,8 @@ public static function swaggerFormats() 'allow_scheduled_sending_metadata' => 'setAllowScheduledSendingMetadata', 'allow_security_appliance' => 'setAllowSecurityAppliance', 'allow_security_appliance_metadata' => 'setAllowSecurityApplianceMetadata', + 'allow_sending_envelopes_on_behalf_of_others' => 'setAllowSendingEnvelopesOnBehalfOfOthers', + 'allow_sending_envelopes_on_behalf_of_others_metadata' => 'setAllowSendingEnvelopesOnBehalfOfOthersMetadata', 'allow_send_to_certified_delivery' => 'setAllowSendToCertifiedDelivery', 'allow_send_to_certified_delivery_metadata' => 'setAllowSendToCertifiedDeliveryMetadata', 'allow_send_to_intermediary' => 'setAllowSendToIntermediary', @@ -2083,6 +2113,8 @@ public static function swaggerFormats() 'allow_social_id_login_metadata' => 'setAllowSocialIdLoginMetadata', 'allow_supplemental_documents' => 'setAllowSupplementalDocuments', 'allow_supplemental_documents_metadata' => 'setAllowSupplementalDocumentsMetadata', + 'allow_third_party_electronic_notary' => 'setAllowThirdPartyElectronicNotary', + 'allow_third_party_electronic_notary_metadata' => 'setAllowThirdPartyElectronicNotaryMetadata', 'allow_users_to_access_directory' => 'setAllowUsersToAccessDirectory', 'allow_users_to_access_directory_metadata' => 'setAllowUsersToAccessDirectoryMetadata', 'allow_value_insights' => 'setAllowValueInsights', @@ -2606,6 +2638,8 @@ public static function swaggerFormats() 'allow_in_person_metadata' => 'getAllowInPersonMetadata', 'allow_managed_stamps' => 'getAllowManagedStamps', 'allow_managed_stamps_metadata' => 'getAllowManagedStampsMetadata', + 'allow_managing_envelopes_on_behalf_of_others' => 'getAllowManagingEnvelopesOnBehalfOfOthers', + 'allow_managing_envelopes_on_behalf_of_others_metadata' => 'getAllowManagingEnvelopesOnBehalfOfOthersMetadata', 'allow_markup' => 'getAllowMarkup', 'allow_markup_metadata' => 'getAllowMarkupMetadata', 'allow_member_time_zone' => 'getAllowMemberTimeZone', @@ -2636,6 +2670,8 @@ public static function swaggerFormats() 'allow_organization_to_use_in_person_electronic_notary_metadata' => 'getAllowOrganizationToUseInPersonElectronicNotaryMetadata', 'allow_organization_to_use_remote_notary' => 'getAllowOrganizationToUseRemoteNotary', 'allow_organization_to_use_remote_notary_metadata' => 'getAllowOrganizationToUseRemoteNotaryMetadata', + 'allow_organization_to_use_third_party_electronic_notary' => 'getAllowOrganizationToUseThirdPartyElectronicNotary', + 'allow_organization_to_use_third_party_electronic_notary_metadata' => 'getAllowOrganizationToUseThirdPartyElectronicNotaryMetadata', 'allow_payment_processing' => 'getAllowPaymentProcessing', 'allow_payment_processing_metadata' => 'getAllowPaymentProcessingMetadata', 'allow_phone_authentication' => 'getAllowPhoneAuthentication', @@ -2658,6 +2694,8 @@ public static function swaggerFormats() 'allow_scheduled_sending_metadata' => 'getAllowScheduledSendingMetadata', 'allow_security_appliance' => 'getAllowSecurityAppliance', 'allow_security_appliance_metadata' => 'getAllowSecurityApplianceMetadata', + 'allow_sending_envelopes_on_behalf_of_others' => 'getAllowSendingEnvelopesOnBehalfOfOthers', + 'allow_sending_envelopes_on_behalf_of_others_metadata' => 'getAllowSendingEnvelopesOnBehalfOfOthersMetadata', 'allow_send_to_certified_delivery' => 'getAllowSendToCertifiedDelivery', 'allow_send_to_certified_delivery_metadata' => 'getAllowSendToCertifiedDeliveryMetadata', 'allow_send_to_intermediary' => 'getAllowSendToIntermediary', @@ -2692,6 +2730,8 @@ public static function swaggerFormats() 'allow_social_id_login_metadata' => 'getAllowSocialIdLoginMetadata', 'allow_supplemental_documents' => 'getAllowSupplementalDocuments', 'allow_supplemental_documents_metadata' => 'getAllowSupplementalDocumentsMetadata', + 'allow_third_party_electronic_notary' => 'getAllowThirdPartyElectronicNotary', + 'allow_third_party_electronic_notary_metadata' => 'getAllowThirdPartyElectronicNotaryMetadata', 'allow_users_to_access_directory' => 'getAllowUsersToAccessDirectory', 'allow_users_to_access_directory_metadata' => 'getAllowUsersToAccessDirectoryMetadata', 'allow_value_insights' => 'getAllowValueInsights', @@ -3269,6 +3309,8 @@ public function __construct(array $data = null) $this->container['allow_in_person_metadata'] = isset($data['allow_in_person_metadata']) ? $data['allow_in_person_metadata'] : null; $this->container['allow_managed_stamps'] = isset($data['allow_managed_stamps']) ? $data['allow_managed_stamps'] : null; $this->container['allow_managed_stamps_metadata'] = isset($data['allow_managed_stamps_metadata']) ? $data['allow_managed_stamps_metadata'] : null; + $this->container['allow_managing_envelopes_on_behalf_of_others'] = isset($data['allow_managing_envelopes_on_behalf_of_others']) ? $data['allow_managing_envelopes_on_behalf_of_others'] : null; + $this->container['allow_managing_envelopes_on_behalf_of_others_metadata'] = isset($data['allow_managing_envelopes_on_behalf_of_others_metadata']) ? $data['allow_managing_envelopes_on_behalf_of_others_metadata'] : null; $this->container['allow_markup'] = isset($data['allow_markup']) ? $data['allow_markup'] : null; $this->container['allow_markup_metadata'] = isset($data['allow_markup_metadata']) ? $data['allow_markup_metadata'] : null; $this->container['allow_member_time_zone'] = isset($data['allow_member_time_zone']) ? $data['allow_member_time_zone'] : null; @@ -3299,6 +3341,8 @@ public function __construct(array $data = null) $this->container['allow_organization_to_use_in_person_electronic_notary_metadata'] = isset($data['allow_organization_to_use_in_person_electronic_notary_metadata']) ? $data['allow_organization_to_use_in_person_electronic_notary_metadata'] : null; $this->container['allow_organization_to_use_remote_notary'] = isset($data['allow_organization_to_use_remote_notary']) ? $data['allow_organization_to_use_remote_notary'] : null; $this->container['allow_organization_to_use_remote_notary_metadata'] = isset($data['allow_organization_to_use_remote_notary_metadata']) ? $data['allow_organization_to_use_remote_notary_metadata'] : null; + $this->container['allow_organization_to_use_third_party_electronic_notary'] = isset($data['allow_organization_to_use_third_party_electronic_notary']) ? $data['allow_organization_to_use_third_party_electronic_notary'] : null; + $this->container['allow_organization_to_use_third_party_electronic_notary_metadata'] = isset($data['allow_organization_to_use_third_party_electronic_notary_metadata']) ? $data['allow_organization_to_use_third_party_electronic_notary_metadata'] : null; $this->container['allow_payment_processing'] = isset($data['allow_payment_processing']) ? $data['allow_payment_processing'] : null; $this->container['allow_payment_processing_metadata'] = isset($data['allow_payment_processing_metadata']) ? $data['allow_payment_processing_metadata'] : null; $this->container['allow_phone_authentication'] = isset($data['allow_phone_authentication']) ? $data['allow_phone_authentication'] : null; @@ -3321,6 +3365,8 @@ public function __construct(array $data = null) $this->container['allow_scheduled_sending_metadata'] = isset($data['allow_scheduled_sending_metadata']) ? $data['allow_scheduled_sending_metadata'] : null; $this->container['allow_security_appliance'] = isset($data['allow_security_appliance']) ? $data['allow_security_appliance'] : null; $this->container['allow_security_appliance_metadata'] = isset($data['allow_security_appliance_metadata']) ? $data['allow_security_appliance_metadata'] : null; + $this->container['allow_sending_envelopes_on_behalf_of_others'] = isset($data['allow_sending_envelopes_on_behalf_of_others']) ? $data['allow_sending_envelopes_on_behalf_of_others'] : null; + $this->container['allow_sending_envelopes_on_behalf_of_others_metadata'] = isset($data['allow_sending_envelopes_on_behalf_of_others_metadata']) ? $data['allow_sending_envelopes_on_behalf_of_others_metadata'] : null; $this->container['allow_send_to_certified_delivery'] = isset($data['allow_send_to_certified_delivery']) ? $data['allow_send_to_certified_delivery'] : null; $this->container['allow_send_to_certified_delivery_metadata'] = isset($data['allow_send_to_certified_delivery_metadata']) ? $data['allow_send_to_certified_delivery_metadata'] : null; $this->container['allow_send_to_intermediary'] = isset($data['allow_send_to_intermediary']) ? $data['allow_send_to_intermediary'] : null; @@ -3355,6 +3401,8 @@ public function __construct(array $data = null) $this->container['allow_social_id_login_metadata'] = isset($data['allow_social_id_login_metadata']) ? $data['allow_social_id_login_metadata'] : null; $this->container['allow_supplemental_documents'] = isset($data['allow_supplemental_documents']) ? $data['allow_supplemental_documents'] : null; $this->container['allow_supplemental_documents_metadata'] = isset($data['allow_supplemental_documents_metadata']) ? $data['allow_supplemental_documents_metadata'] : null; + $this->container['allow_third_party_electronic_notary'] = isset($data['allow_third_party_electronic_notary']) ? $data['allow_third_party_electronic_notary'] : null; + $this->container['allow_third_party_electronic_notary_metadata'] = isset($data['allow_third_party_electronic_notary_metadata']) ? $data['allow_third_party_electronic_notary_metadata'] : null; $this->container['allow_users_to_access_directory'] = isset($data['allow_users_to_access_directory']) ? $data['allow_users_to_access_directory'] : null; $this->container['allow_users_to_access_directory_metadata'] = isset($data['allow_users_to_access_directory_metadata']) ? $data['allow_users_to_access_directory_metadata'] : null; $this->container['allow_value_insights'] = isset($data['allow_value_insights']) ? $data['allow_value_insights'] : null; @@ -5943,6 +5991,54 @@ public function setAllowManagedStampsMetadata($allow_managed_stamps_metadata) return $this; } + /** + * Gets allow_managing_envelopes_on_behalf_of_others + * + * @return ?string + */ + public function getAllowManagingEnvelopesOnBehalfOfOthers() + { + return $this->container['allow_managing_envelopes_on_behalf_of_others']; + } + + /** + * Sets allow_managing_envelopes_on_behalf_of_others + * + * @param ?string $allow_managing_envelopes_on_behalf_of_others + * + * @return $this + */ + public function setAllowManagingEnvelopesOnBehalfOfOthers($allow_managing_envelopes_on_behalf_of_others) + { + $this->container['allow_managing_envelopes_on_behalf_of_others'] = $allow_managing_envelopes_on_behalf_of_others; + + return $this; + } + + /** + * Gets allow_managing_envelopes_on_behalf_of_others_metadata + * + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getAllowManagingEnvelopesOnBehalfOfOthersMetadata() + { + return $this->container['allow_managing_envelopes_on_behalf_of_others_metadata']; + } + + /** + * Sets allow_managing_envelopes_on_behalf_of_others_metadata + * + * @param \DocuSign\eSign\Model\SettingsMetadata $allow_managing_envelopes_on_behalf_of_others_metadata allow_managing_envelopes_on_behalf_of_others_metadata + * + * @return $this + */ + public function setAllowManagingEnvelopesOnBehalfOfOthersMetadata($allow_managing_envelopes_on_behalf_of_others_metadata) + { + $this->container['allow_managing_envelopes_on_behalf_of_others_metadata'] = $allow_managing_envelopes_on_behalf_of_others_metadata; + + return $this; + } + /** * Gets allow_markup * @@ -6663,6 +6759,54 @@ public function setAllowOrganizationToUseRemoteNotaryMetadata($allow_organizatio return $this; } + /** + * Gets allow_organization_to_use_third_party_electronic_notary + * + * @return ?string + */ + public function getAllowOrganizationToUseThirdPartyElectronicNotary() + { + return $this->container['allow_organization_to_use_third_party_electronic_notary']; + } + + /** + * Sets allow_organization_to_use_third_party_electronic_notary + * + * @param ?string $allow_organization_to_use_third_party_electronic_notary + * + * @return $this + */ + public function setAllowOrganizationToUseThirdPartyElectronicNotary($allow_organization_to_use_third_party_electronic_notary) + { + $this->container['allow_organization_to_use_third_party_electronic_notary'] = $allow_organization_to_use_third_party_electronic_notary; + + return $this; + } + + /** + * Gets allow_organization_to_use_third_party_electronic_notary_metadata + * + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getAllowOrganizationToUseThirdPartyElectronicNotaryMetadata() + { + return $this->container['allow_organization_to_use_third_party_electronic_notary_metadata']; + } + + /** + * Sets allow_organization_to_use_third_party_electronic_notary_metadata + * + * @param \DocuSign\eSign\Model\SettingsMetadata $allow_organization_to_use_third_party_electronic_notary_metadata allow_organization_to_use_third_party_electronic_notary_metadata + * + * @return $this + */ + public function setAllowOrganizationToUseThirdPartyElectronicNotaryMetadata($allow_organization_to_use_third_party_electronic_notary_metadata) + { + $this->container['allow_organization_to_use_third_party_electronic_notary_metadata'] = $allow_organization_to_use_third_party_electronic_notary_metadata; + + return $this; + } + /** * Gets allow_payment_processing * @@ -7191,6 +7335,54 @@ public function setAllowSecurityApplianceMetadata($allow_security_appliance_meta return $this; } + /** + * Gets allow_sending_envelopes_on_behalf_of_others + * + * @return ?string + */ + public function getAllowSendingEnvelopesOnBehalfOfOthers() + { + return $this->container['allow_sending_envelopes_on_behalf_of_others']; + } + + /** + * Sets allow_sending_envelopes_on_behalf_of_others + * + * @param ?string $allow_sending_envelopes_on_behalf_of_others + * + * @return $this + */ + public function setAllowSendingEnvelopesOnBehalfOfOthers($allow_sending_envelopes_on_behalf_of_others) + { + $this->container['allow_sending_envelopes_on_behalf_of_others'] = $allow_sending_envelopes_on_behalf_of_others; + + return $this; + } + + /** + * Gets allow_sending_envelopes_on_behalf_of_others_metadata + * + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getAllowSendingEnvelopesOnBehalfOfOthersMetadata() + { + return $this->container['allow_sending_envelopes_on_behalf_of_others_metadata']; + } + + /** + * Sets allow_sending_envelopes_on_behalf_of_others_metadata + * + * @param \DocuSign\eSign\Model\SettingsMetadata $allow_sending_envelopes_on_behalf_of_others_metadata allow_sending_envelopes_on_behalf_of_others_metadata + * + * @return $this + */ + public function setAllowSendingEnvelopesOnBehalfOfOthersMetadata($allow_sending_envelopes_on_behalf_of_others_metadata) + { + $this->container['allow_sending_envelopes_on_behalf_of_others_metadata'] = $allow_sending_envelopes_on_behalf_of_others_metadata; + + return $this; + } + /** * Gets allow_send_to_certified_delivery * @@ -8007,6 +8199,54 @@ public function setAllowSupplementalDocumentsMetadata($allow_supplemental_docume return $this; } + /** + * Gets allow_third_party_electronic_notary + * + * @return ?string + */ + public function getAllowThirdPartyElectronicNotary() + { + return $this->container['allow_third_party_electronic_notary']; + } + + /** + * Sets allow_third_party_electronic_notary + * + * @param ?string $allow_third_party_electronic_notary + * + * @return $this + */ + public function setAllowThirdPartyElectronicNotary($allow_third_party_electronic_notary) + { + $this->container['allow_third_party_electronic_notary'] = $allow_third_party_electronic_notary; + + return $this; + } + + /** + * Gets allow_third_party_electronic_notary_metadata + * + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getAllowThirdPartyElectronicNotaryMetadata() + { + return $this->container['allow_third_party_electronic_notary_metadata']; + } + + /** + * Sets allow_third_party_electronic_notary_metadata + * + * @param \DocuSign\eSign\Model\SettingsMetadata $allow_third_party_electronic_notary_metadata allow_third_party_electronic_notary_metadata + * + * @return $this + */ + public function setAllowThirdPartyElectronicNotaryMetadata($allow_third_party_electronic_notary_metadata) + { + $this->container['allow_third_party_electronic_notary_metadata'] = $allow_third_party_electronic_notary_metadata; + + return $this; + } + /** * Gets allow_users_to_access_directory * diff --git a/src/Model/Agent.php b/src/Model/Agent.php index 834442a5..4fe865a9 100644 --- a/src/Model/Agent.php +++ b/src/Model/Agent.php @@ -68,6 +68,7 @@ class Agent implements ModelInterface, ArrayAccess 'auto_responded_reason' => '?string', 'client_user_id' => '?string', 'completed_count' => '?string', + 'consent_details_list' => '\DocuSign\eSign\Model\ConsentDetails[]', 'custom_fields' => '?string[]', 'declined_date_time' => '?string', 'declined_reason' => '?string', @@ -148,6 +149,7 @@ class Agent implements ModelInterface, ArrayAccess 'auto_responded_reason' => null, 'client_user_id' => null, 'completed_count' => null, + 'consent_details_list' => null, 'custom_fields' => null, 'declined_date_time' => null, 'declined_reason' => null, @@ -249,6 +251,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'autoRespondedReason', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', + 'consent_details_list' => 'consentDetailsList', 'custom_fields' => 'customFields', 'declined_date_time' => 'declinedDateTime', 'declined_reason' => 'declinedReason', @@ -329,6 +332,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'setAutoRespondedReason', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', + 'consent_details_list' => 'setConsentDetailsList', 'custom_fields' => 'setCustomFields', 'declined_date_time' => 'setDeclinedDateTime', 'declined_reason' => 'setDeclinedReason', @@ -409,6 +413,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'getAutoRespondedReason', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', + 'consent_details_list' => 'getConsentDetailsList', 'custom_fields' => 'getCustomFields', 'declined_date_time' => 'getDeclinedDateTime', 'declined_reason' => 'getDeclinedReason', @@ -543,6 +548,7 @@ public function __construct(array $data = null) $this->container['auto_responded_reason'] = isset($data['auto_responded_reason']) ? $data['auto_responded_reason'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; + $this->container['consent_details_list'] = isset($data['consent_details_list']) ? $data['consent_details_list'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; $this->container['declined_date_time'] = isset($data['declined_date_time']) ? $data['declined_date_time'] : null; $this->container['declined_reason'] = isset($data['declined_reason']) ? $data['declined_reason'] : null; @@ -825,6 +831,30 @@ public function setCompletedCount($completed_count) return $this; } + /** + * Gets consent_details_list + * + * @return \DocuSign\eSign\Model\ConsentDetails[] + */ + public function getConsentDetailsList() + { + return $this->container['consent_details_list']; + } + + /** + * Sets consent_details_list + * + * @param \DocuSign\eSign\Model\ConsentDetails[] $consent_details_list + * + * @return $this + */ + public function setConsentDetailsList($consent_details_list) + { + $this->container['consent_details_list'] = $consent_details_list; + + return $this; + } + /** * Gets custom_fields * diff --git a/src/Model/CarbonCopy.php b/src/Model/CarbonCopy.php index 61643363..187fe489 100644 --- a/src/Model/CarbonCopy.php +++ b/src/Model/CarbonCopy.php @@ -69,6 +69,7 @@ class CarbonCopy implements ModelInterface, ArrayAccess 'auto_responded_reason' => '?string', 'client_user_id' => '?string', 'completed_count' => '?string', + 'consent_details_list' => '\DocuSign\eSign\Model\ConsentDetails[]', 'custom_fields' => '?string[]', 'declined_date_time' => '?string', 'declined_reason' => '?string', @@ -154,6 +155,7 @@ class CarbonCopy implements ModelInterface, ArrayAccess 'auto_responded_reason' => null, 'client_user_id' => null, 'completed_count' => null, + 'consent_details_list' => null, 'custom_fields' => null, 'declined_date_time' => null, 'declined_reason' => null, @@ -260,6 +262,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'autoRespondedReason', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', + 'consent_details_list' => 'consentDetailsList', 'custom_fields' => 'customFields', 'declined_date_time' => 'declinedDateTime', 'declined_reason' => 'declinedReason', @@ -345,6 +348,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'setAutoRespondedReason', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', + 'consent_details_list' => 'setConsentDetailsList', 'custom_fields' => 'setCustomFields', 'declined_date_time' => 'setDeclinedDateTime', 'declined_reason' => 'setDeclinedReason', @@ -430,6 +434,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'getAutoRespondedReason', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', + 'consent_details_list' => 'getConsentDetailsList', 'custom_fields' => 'getCustomFields', 'declined_date_time' => 'getDeclinedDateTime', 'declined_reason' => 'getDeclinedReason', @@ -569,6 +574,7 @@ public function __construct(array $data = null) $this->container['auto_responded_reason'] = isset($data['auto_responded_reason']) ? $data['auto_responded_reason'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; + $this->container['consent_details_list'] = isset($data['consent_details_list']) ? $data['consent_details_list'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; $this->container['declined_date_time'] = isset($data['declined_date_time']) ? $data['declined_date_time'] : null; $this->container['declined_reason'] = isset($data['declined_reason']) ? $data['declined_reason'] : null; @@ -902,6 +908,30 @@ public function setCompletedCount($completed_count) return $this; } + /** + * Gets consent_details_list + * + * @return \DocuSign\eSign\Model\ConsentDetails[] + */ + public function getConsentDetailsList() + { + return $this->container['consent_details_list']; + } + + /** + * Sets consent_details_list + * + * @param \DocuSign\eSign\Model\ConsentDetails[] $consent_details_list + * + * @return $this + */ + public function setConsentDetailsList($consent_details_list) + { + $this->container['consent_details_list'] = $consent_details_list; + + return $this; + } + /** * Gets custom_fields * diff --git a/src/Model/CertifiedDelivery.php b/src/Model/CertifiedDelivery.php index ad077de6..a3670102 100644 --- a/src/Model/CertifiedDelivery.php +++ b/src/Model/CertifiedDelivery.php @@ -69,6 +69,7 @@ class CertifiedDelivery implements ModelInterface, ArrayAccess 'auto_responded_reason' => '?string', 'client_user_id' => '?string', 'completed_count' => '?string', + 'consent_details_list' => '\DocuSign\eSign\Model\ConsentDetails[]', 'custom_fields' => '?string[]', 'declined_date_time' => '?string', 'declined_reason' => '?string', @@ -152,6 +153,7 @@ class CertifiedDelivery implements ModelInterface, ArrayAccess 'auto_responded_reason' => null, 'client_user_id' => null, 'completed_count' => null, + 'consent_details_list' => null, 'custom_fields' => null, 'declined_date_time' => null, 'declined_reason' => null, @@ -256,6 +258,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'autoRespondedReason', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', + 'consent_details_list' => 'consentDetailsList', 'custom_fields' => 'customFields', 'declined_date_time' => 'declinedDateTime', 'declined_reason' => 'declinedReason', @@ -339,6 +342,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'setAutoRespondedReason', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', + 'consent_details_list' => 'setConsentDetailsList', 'custom_fields' => 'setCustomFields', 'declined_date_time' => 'setDeclinedDateTime', 'declined_reason' => 'setDeclinedReason', @@ -422,6 +426,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'getAutoRespondedReason', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', + 'consent_details_list' => 'getConsentDetailsList', 'custom_fields' => 'getCustomFields', 'declined_date_time' => 'getDeclinedDateTime', 'declined_reason' => 'getDeclinedReason', @@ -559,6 +564,7 @@ public function __construct(array $data = null) $this->container['auto_responded_reason'] = isset($data['auto_responded_reason']) ? $data['auto_responded_reason'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; + $this->container['consent_details_list'] = isset($data['consent_details_list']) ? $data['consent_details_list'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; $this->container['declined_date_time'] = isset($data['declined_date_time']) ? $data['declined_date_time'] : null; $this->container['declined_reason'] = isset($data['declined_reason']) ? $data['declined_reason'] : null; @@ -890,6 +896,30 @@ public function setCompletedCount($completed_count) return $this; } + /** + * Gets consent_details_list + * + * @return \DocuSign\eSign\Model\ConsentDetails[] + */ + public function getConsentDetailsList() + { + return $this->container['consent_details_list']; + } + + /** + * Sets consent_details_list + * + * @param \DocuSign\eSign\Model\ConsentDetails[] $consent_details_list + * + * @return $this + */ + public function setConsentDetailsList($consent_details_list) + { + $this->container['consent_details_list'] = $consent_details_list; + + return $this; + } + /** * Gets custom_fields * diff --git a/src/Model/ConnectCustomConfiguration.php b/src/Model/ConnectCustomConfiguration.php index ceb559bb..e75799a5 100644 --- a/src/Model/ConnectCustomConfiguration.php +++ b/src/Model/ConnectCustomConfiguration.php @@ -66,6 +66,7 @@ class ConnectCustomConfiguration implements ModelInterface, ArrayAccess 'configuration_type' => '?string', 'connect_id' => '?string', 'delivery_mode' => '?string', + 'disabled_by' => '?string', 'enable_log' => '?string', 'envelope_events' => '?string[]', 'event_data' => '\DocuSign\eSign\Model\ConnectEventData', @@ -114,6 +115,7 @@ class ConnectCustomConfiguration implements ModelInterface, ArrayAccess 'configuration_type' => null, 'connect_id' => null, 'delivery_mode' => null, + 'disabled_by' => null, 'enable_log' => null, 'envelope_events' => null, 'event_data' => null, @@ -183,6 +185,7 @@ public static function swaggerFormats() 'configuration_type' => 'configurationType', 'connect_id' => 'connectId', 'delivery_mode' => 'deliveryMode', + 'disabled_by' => 'disabledBy', 'enable_log' => 'enableLog', 'envelope_events' => 'envelopeEvents', 'event_data' => 'eventData', @@ -231,6 +234,7 @@ public static function swaggerFormats() 'configuration_type' => 'setConfigurationType', 'connect_id' => 'setConnectId', 'delivery_mode' => 'setDeliveryMode', + 'disabled_by' => 'setDisabledBy', 'enable_log' => 'setEnableLog', 'envelope_events' => 'setEnvelopeEvents', 'event_data' => 'setEventData', @@ -279,6 +283,7 @@ public static function swaggerFormats() 'configuration_type' => 'getConfigurationType', 'connect_id' => 'getConnectId', 'delivery_mode' => 'getDeliveryMode', + 'disabled_by' => 'getDisabledBy', 'enable_log' => 'getEnableLog', 'envelope_events' => 'getEnvelopeEvents', 'event_data' => 'getEventData', @@ -381,6 +386,7 @@ public function __construct(array $data = null) $this->container['configuration_type'] = isset($data['configuration_type']) ? $data['configuration_type'] : null; $this->container['connect_id'] = isset($data['connect_id']) ? $data['connect_id'] : null; $this->container['delivery_mode'] = isset($data['delivery_mode']) ? $data['delivery_mode'] : null; + $this->container['disabled_by'] = isset($data['disabled_by']) ? $data['disabled_by'] : null; $this->container['enable_log'] = isset($data['enable_log']) ? $data['enable_log'] : null; $this->container['envelope_events'] = isset($data['envelope_events']) ? $data['envelope_events'] : null; $this->container['event_data'] = isset($data['event_data']) ? $data['event_data'] : null; @@ -608,6 +614,30 @@ public function setDeliveryMode($delivery_mode) return $this; } + /** + * Gets disabled_by + * + * @return ?string + */ + public function getDisabledBy() + { + return $this->container['disabled_by']; + } + + /** + * Sets disabled_by + * + * @param ?string $disabled_by + * + * @return $this + */ + public function setDisabledBy($disabled_by) + { + $this->container['disabled_by'] = $disabled_by; + + return $this; + } + /** * Gets enable_log * diff --git a/src/Model/ConnectHistoricalEnvelopeRepublish.php b/src/Model/ConnectHistoricalEnvelopeRepublish.php new file mode 100644 index 00000000..4f9945b7 --- /dev/null +++ b/src/Model/ConnectHistoricalEnvelopeRepublish.php @@ -0,0 +1,336 @@ + + * @license The DocuSign PHP Client SDK is licensed under the MIT License. + * @link https://github.com/swagger-api/swagger-codegen + */ + +/** + * DocuSign REST API + * + * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. + * + * OpenAPI spec version: v2.1 + * Contact: devcenter@docusign.com + * Generated by: https://github.com/swagger-api/swagger-codegen.git + * Swagger Codegen version: 2.4.21-SNAPSHOT + */ + +/** + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen + * Do not edit the class manually. + */ + +namespace DocuSign\eSign\Model; + +use \ArrayAccess; +use DocuSign\eSign\ObjectSerializer; + +/** + * ConnectHistoricalEnvelopeRepublish Class Doc Comment + * + * @category Class + * @package DocuSign\eSign + * @author Swagger Codegen team + * @license The DocuSign PHP Client SDK is licensed under the MIT License. + * @link https://github.com/swagger-api/swagger-codegen + */ +class ConnectHistoricalEnvelopeRepublish implements ModelInterface, ArrayAccess +{ + const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $swaggerModelName = 'connectHistoricalEnvelopeRepublish'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $swaggerTypes = [ + 'config' => '\DocuSign\eSign\Model\ConnectCustomConfiguration', + 'envelopes' => '?string[]' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $swaggerFormats = [ + 'config' => null, + 'envelopes' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerTypes() + { + return self::$swaggerTypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerFormats() + { + return self::$swaggerFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'config' => 'config', + 'envelopes' => 'envelopes' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'config' => 'setConfig', + 'envelopes' => 'setEnvelopes' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'config' => 'getConfig', + 'envelopes' => 'getEnvelopes' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$swaggerModelName; + } + + + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['config'] = isset($data['config']) ? $data['config'] : null; + $this->container['envelopes'] = isset($data['envelopes']) ? $data['envelopes'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets config + * + * @return \DocuSign\eSign\Model\ConnectCustomConfiguration + */ + public function getConfig() + { + return $this->container['config']; + } + + /** + * Sets config + * + * @param \DocuSign\eSign\Model\ConnectCustomConfiguration $config config + * + * @return $this + */ + public function setConfig($config) + { + $this->container['config'] = $config; + + return $this; + } + + /** + * Gets envelopes + * + * @return ?string[] + */ + public function getEnvelopes() + { + return $this->container['envelopes']; + } + + /** + * Sets envelopes + * + * @param ?string[] $envelopes + * + * @return $this + */ + public function setEnvelopes($envelopes) + { + $this->container['envelopes'] = $envelopes; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + #[\ReturnTypeWillChange] + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + #[\ReturnTypeWillChange] + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + #[\ReturnTypeWillChange] + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + diff --git a/src/Model/ConsentDetails.php b/src/Model/ConsentDetails.php new file mode 100644 index 00000000..59658a9c --- /dev/null +++ b/src/Model/ConsentDetails.php @@ -0,0 +1,366 @@ + + * @license The DocuSign PHP Client SDK is licensed under the MIT License. + * @link https://github.com/swagger-api/swagger-codegen + */ + +/** + * DocuSign REST API + * + * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. + * + * OpenAPI spec version: v2.1 + * Contact: devcenter@docusign.com + * Generated by: https://github.com/swagger-api/swagger-codegen.git + * Swagger Codegen version: 2.4.21-SNAPSHOT + */ + +/** + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen + * Do not edit the class manually. + */ + +namespace DocuSign\eSign\Model; + +use \ArrayAccess; +use DocuSign\eSign\ObjectSerializer; + +/** + * ConsentDetails Class Doc Comment + * + * @category Class + * @package DocuSign\eSign + * @author Swagger Codegen team + * @license The DocuSign PHP Client SDK is licensed under the MIT License. + * @link https://github.com/swagger-api/swagger-codegen + */ +class ConsentDetails implements ModelInterface, ArrayAccess +{ + const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $swaggerModelName = 'consentDetails'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $swaggerTypes = [ + 'consent_key' => '?string', + 'delivery_method' => '?string', + 'signer_consent_status' => '?string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $swaggerFormats = [ + 'consent_key' => null, + 'delivery_method' => null, + 'signer_consent_status' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerTypes() + { + return self::$swaggerTypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerFormats() + { + return self::$swaggerFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'consent_key' => 'consentKey', + 'delivery_method' => 'deliveryMethod', + 'signer_consent_status' => 'signerConsentStatus' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'consent_key' => 'setConsentKey', + 'delivery_method' => 'setDeliveryMethod', + 'signer_consent_status' => 'setSignerConsentStatus' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'consent_key' => 'getConsentKey', + 'delivery_method' => 'getDeliveryMethod', + 'signer_consent_status' => 'getSignerConsentStatus' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$swaggerModelName; + } + + + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['consent_key'] = isset($data['consent_key']) ? $data['consent_key'] : null; + $this->container['delivery_method'] = isset($data['delivery_method']) ? $data['delivery_method'] : null; + $this->container['signer_consent_status'] = isset($data['signer_consent_status']) ? $data['signer_consent_status'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets consent_key + * + * @return ?string + */ + public function getConsentKey() + { + return $this->container['consent_key']; + } + + /** + * Sets consent_key + * + * @param ?string $consent_key + * + * @return $this + */ + public function setConsentKey($consent_key) + { + $this->container['consent_key'] = $consent_key; + + return $this; + } + + /** + * Gets delivery_method + * + * @return ?string + */ + public function getDeliveryMethod() + { + return $this->container['delivery_method']; + } + + /** + * Sets delivery_method + * + * @param ?string $delivery_method Reserved: For DocuSign use only. + * + * @return $this + */ + public function setDeliveryMethod($delivery_method) + { + $this->container['delivery_method'] = $delivery_method; + + return $this; + } + + /** + * Gets signer_consent_status + * + * @return ?string + */ + public function getSignerConsentStatus() + { + return $this->container['signer_consent_status']; + } + + /** + * Sets signer_consent_status + * + * @param ?string $signer_consent_status + * + * @return $this + */ + public function setSignerConsentStatus($signer_consent_status) + { + $this->container['signer_consent_status'] = $signer_consent_status; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + #[\ReturnTypeWillChange] + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + #[\ReturnTypeWillChange] + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + #[\ReturnTypeWillChange] + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + diff --git a/src/Model/Editor.php b/src/Model/Editor.php index 33ba5b08..fcf69dab 100644 --- a/src/Model/Editor.php +++ b/src/Model/Editor.php @@ -67,6 +67,7 @@ class Editor implements ModelInterface, ArrayAccess 'auto_responded_reason' => '?string', 'client_user_id' => '?string', 'completed_count' => '?string', + 'consent_details_list' => '\DocuSign\eSign\Model\ConsentDetails[]', 'custom_fields' => '?string[]', 'declined_date_time' => '?string', 'declined_reason' => '?string', @@ -146,6 +147,7 @@ class Editor implements ModelInterface, ArrayAccess 'auto_responded_reason' => null, 'client_user_id' => null, 'completed_count' => null, + 'consent_details_list' => null, 'custom_fields' => null, 'declined_date_time' => null, 'declined_reason' => null, @@ -246,6 +248,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'autoRespondedReason', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', + 'consent_details_list' => 'consentDetailsList', 'custom_fields' => 'customFields', 'declined_date_time' => 'declinedDateTime', 'declined_reason' => 'declinedReason', @@ -325,6 +328,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'setAutoRespondedReason', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', + 'consent_details_list' => 'setConsentDetailsList', 'custom_fields' => 'setCustomFields', 'declined_date_time' => 'setDeclinedDateTime', 'declined_reason' => 'setDeclinedReason', @@ -404,6 +408,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'getAutoRespondedReason', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', + 'consent_details_list' => 'getConsentDetailsList', 'custom_fields' => 'getCustomFields', 'declined_date_time' => 'getDeclinedDateTime', 'declined_reason' => 'getDeclinedReason', @@ -537,6 +542,7 @@ public function __construct(array $data = null) $this->container['auto_responded_reason'] = isset($data['auto_responded_reason']) ? $data['auto_responded_reason'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; + $this->container['consent_details_list'] = isset($data['consent_details_list']) ? $data['consent_details_list'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; $this->container['declined_date_time'] = isset($data['declined_date_time']) ? $data['declined_date_time'] : null; $this->container['declined_reason'] = isset($data['declined_reason']) ? $data['declined_reason'] : null; @@ -818,6 +824,30 @@ public function setCompletedCount($completed_count) return $this; } + /** + * Gets consent_details_list + * + * @return \DocuSign\eSign\Model\ConsentDetails[] + */ + public function getConsentDetailsList() + { + return $this->container['consent_details_list']; + } + + /** + * Sets consent_details_list + * + * @param \DocuSign\eSign\Model\ConsentDetails[] $consent_details_list + * + * @return $this + */ + public function setConsentDetailsList($consent_details_list) + { + $this->container['consent_details_list'] = $consent_details_list; + + return $this; + } + /** * Gets custom_fields * diff --git a/src/Model/EnvelopePublishTransaction.php b/src/Model/EnvelopePublishTransaction.php new file mode 100644 index 00000000..d8a0962a --- /dev/null +++ b/src/Model/EnvelopePublishTransaction.php @@ -0,0 +1,666 @@ + + * @license The DocuSign PHP Client SDK is licensed under the MIT License. + * @link https://github.com/swagger-api/swagger-codegen + */ + +/** + * DocuSign REST API + * + * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. + * + * OpenAPI spec version: v2.1 + * Contact: devcenter@docusign.com + * Generated by: https://github.com/swagger-api/swagger-codegen.git + * Swagger Codegen version: 2.4.21-SNAPSHOT + */ + +/** + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen + * Do not edit the class manually. + */ + +namespace DocuSign\eSign\Model; + +use \ArrayAccess; +use DocuSign\eSign\ObjectSerializer; + +/** + * EnvelopePublishTransaction Class Doc Comment + * + * @category Class + * @package DocuSign\eSign + * @author Swagger Codegen team + * @license The DocuSign PHP Client SDK is licensed under the MIT License. + * @link https://github.com/swagger-api/swagger-codegen + */ +class EnvelopePublishTransaction implements ModelInterface, ArrayAccess +{ + const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $swaggerModelName = 'envelopePublishTransaction'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $swaggerTypes = [ + 'apply_connect_settings' => '?string', + 'envelope_count' => '?string', + 'envelope_level_error_rollups' => '\DocuSign\eSign\Model\EnvelopePublishTransactionErrorRollup[]', + 'envelope_publish_transaction_id' => '?string', + 'error_count' => '?string', + 'file_level_errors' => '?string[]', + 'no_action_required_envelope_count' => '?string', + 'processed_envelope_count' => '?string', + 'processing_status' => '?string', + 'results_uri' => '?string', + 'submission_date' => '?string', + 'submitted_by_user_info' => '\DocuSign\eSign\Model\UserInfo', + 'submitted_for_publishing_envelope_count' => '?string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $swaggerFormats = [ + 'apply_connect_settings' => null, + 'envelope_count' => null, + 'envelope_level_error_rollups' => null, + 'envelope_publish_transaction_id' => null, + 'error_count' => null, + 'file_level_errors' => null, + 'no_action_required_envelope_count' => null, + 'processed_envelope_count' => null, + 'processing_status' => null, + 'results_uri' => null, + 'submission_date' => null, + 'submitted_by_user_info' => null, + 'submitted_for_publishing_envelope_count' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerTypes() + { + return self::$swaggerTypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerFormats() + { + return self::$swaggerFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'apply_connect_settings' => 'applyConnectSettings', + 'envelope_count' => 'envelopeCount', + 'envelope_level_error_rollups' => 'envelopeLevelErrorRollups', + 'envelope_publish_transaction_id' => 'envelopePublishTransactionId', + 'error_count' => 'errorCount', + 'file_level_errors' => 'fileLevelErrors', + 'no_action_required_envelope_count' => 'noActionRequiredEnvelopeCount', + 'processed_envelope_count' => 'processedEnvelopeCount', + 'processing_status' => 'processingStatus', + 'results_uri' => 'resultsUri', + 'submission_date' => 'submissionDate', + 'submitted_by_user_info' => 'submittedByUserInfo', + 'submitted_for_publishing_envelope_count' => 'submittedForPublishingEnvelopeCount' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'apply_connect_settings' => 'setApplyConnectSettings', + 'envelope_count' => 'setEnvelopeCount', + 'envelope_level_error_rollups' => 'setEnvelopeLevelErrorRollups', + 'envelope_publish_transaction_id' => 'setEnvelopePublishTransactionId', + 'error_count' => 'setErrorCount', + 'file_level_errors' => 'setFileLevelErrors', + 'no_action_required_envelope_count' => 'setNoActionRequiredEnvelopeCount', + 'processed_envelope_count' => 'setProcessedEnvelopeCount', + 'processing_status' => 'setProcessingStatus', + 'results_uri' => 'setResultsUri', + 'submission_date' => 'setSubmissionDate', + 'submitted_by_user_info' => 'setSubmittedByUserInfo', + 'submitted_for_publishing_envelope_count' => 'setSubmittedForPublishingEnvelopeCount' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'apply_connect_settings' => 'getApplyConnectSettings', + 'envelope_count' => 'getEnvelopeCount', + 'envelope_level_error_rollups' => 'getEnvelopeLevelErrorRollups', + 'envelope_publish_transaction_id' => 'getEnvelopePublishTransactionId', + 'error_count' => 'getErrorCount', + 'file_level_errors' => 'getFileLevelErrors', + 'no_action_required_envelope_count' => 'getNoActionRequiredEnvelopeCount', + 'processed_envelope_count' => 'getProcessedEnvelopeCount', + 'processing_status' => 'getProcessingStatus', + 'results_uri' => 'getResultsUri', + 'submission_date' => 'getSubmissionDate', + 'submitted_by_user_info' => 'getSubmittedByUserInfo', + 'submitted_for_publishing_envelope_count' => 'getSubmittedForPublishingEnvelopeCount' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$swaggerModelName; + } + + + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['apply_connect_settings'] = isset($data['apply_connect_settings']) ? $data['apply_connect_settings'] : null; + $this->container['envelope_count'] = isset($data['envelope_count']) ? $data['envelope_count'] : null; + $this->container['envelope_level_error_rollups'] = isset($data['envelope_level_error_rollups']) ? $data['envelope_level_error_rollups'] : null; + $this->container['envelope_publish_transaction_id'] = isset($data['envelope_publish_transaction_id']) ? $data['envelope_publish_transaction_id'] : null; + $this->container['error_count'] = isset($data['error_count']) ? $data['error_count'] : null; + $this->container['file_level_errors'] = isset($data['file_level_errors']) ? $data['file_level_errors'] : null; + $this->container['no_action_required_envelope_count'] = isset($data['no_action_required_envelope_count']) ? $data['no_action_required_envelope_count'] : null; + $this->container['processed_envelope_count'] = isset($data['processed_envelope_count']) ? $data['processed_envelope_count'] : null; + $this->container['processing_status'] = isset($data['processing_status']) ? $data['processing_status'] : null; + $this->container['results_uri'] = isset($data['results_uri']) ? $data['results_uri'] : null; + $this->container['submission_date'] = isset($data['submission_date']) ? $data['submission_date'] : null; + $this->container['submitted_by_user_info'] = isset($data['submitted_by_user_info']) ? $data['submitted_by_user_info'] : null; + $this->container['submitted_for_publishing_envelope_count'] = isset($data['submitted_for_publishing_envelope_count']) ? $data['submitted_for_publishing_envelope_count'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets apply_connect_settings + * + * @return ?string + */ + public function getApplyConnectSettings() + { + return $this->container['apply_connect_settings']; + } + + /** + * Sets apply_connect_settings + * + * @param ?string $apply_connect_settings + * + * @return $this + */ + public function setApplyConnectSettings($apply_connect_settings) + { + $this->container['apply_connect_settings'] = $apply_connect_settings; + + return $this; + } + + /** + * Gets envelope_count + * + * @return ?string + */ + public function getEnvelopeCount() + { + return $this->container['envelope_count']; + } + + /** + * Sets envelope_count + * + * @param ?string $envelope_count + * + * @return $this + */ + public function setEnvelopeCount($envelope_count) + { + $this->container['envelope_count'] = $envelope_count; + + return $this; + } + + /** + * Gets envelope_level_error_rollups + * + * @return \DocuSign\eSign\Model\EnvelopePublishTransactionErrorRollup[] + */ + public function getEnvelopeLevelErrorRollups() + { + return $this->container['envelope_level_error_rollups']; + } + + /** + * Sets envelope_level_error_rollups + * + * @param \DocuSign\eSign\Model\EnvelopePublishTransactionErrorRollup[] $envelope_level_error_rollups + * + * @return $this + */ + public function setEnvelopeLevelErrorRollups($envelope_level_error_rollups) + { + $this->container['envelope_level_error_rollups'] = $envelope_level_error_rollups; + + return $this; + } + + /** + * Gets envelope_publish_transaction_id + * + * @return ?string + */ + public function getEnvelopePublishTransactionId() + { + return $this->container['envelope_publish_transaction_id']; + } + + /** + * Sets envelope_publish_transaction_id + * + * @param ?string $envelope_publish_transaction_id + * + * @return $this + */ + public function setEnvelopePublishTransactionId($envelope_publish_transaction_id) + { + $this->container['envelope_publish_transaction_id'] = $envelope_publish_transaction_id; + + return $this; + } + + /** + * Gets error_count + * + * @return ?string + */ + public function getErrorCount() + { + return $this->container['error_count']; + } + + /** + * Sets error_count + * + * @param ?string $error_count + * + * @return $this + */ + public function setErrorCount($error_count) + { + $this->container['error_count'] = $error_count; + + return $this; + } + + /** + * Gets file_level_errors + * + * @return ?string[] + */ + public function getFileLevelErrors() + { + return $this->container['file_level_errors']; + } + + /** + * Sets file_level_errors + * + * @param ?string[] $file_level_errors + * + * @return $this + */ + public function setFileLevelErrors($file_level_errors) + { + $this->container['file_level_errors'] = $file_level_errors; + + return $this; + } + + /** + * Gets no_action_required_envelope_count + * + * @return ?string + */ + public function getNoActionRequiredEnvelopeCount() + { + return $this->container['no_action_required_envelope_count']; + } + + /** + * Sets no_action_required_envelope_count + * + * @param ?string $no_action_required_envelope_count + * + * @return $this + */ + public function setNoActionRequiredEnvelopeCount($no_action_required_envelope_count) + { + $this->container['no_action_required_envelope_count'] = $no_action_required_envelope_count; + + return $this; + } + + /** + * Gets processed_envelope_count + * + * @return ?string + */ + public function getProcessedEnvelopeCount() + { + return $this->container['processed_envelope_count']; + } + + /** + * Sets processed_envelope_count + * + * @param ?string $processed_envelope_count + * + * @return $this + */ + public function setProcessedEnvelopeCount($processed_envelope_count) + { + $this->container['processed_envelope_count'] = $processed_envelope_count; + + return $this; + } + + /** + * Gets processing_status + * + * @return ?string + */ + public function getProcessingStatus() + { + return $this->container['processing_status']; + } + + /** + * Sets processing_status + * + * @param ?string $processing_status + * + * @return $this + */ + public function setProcessingStatus($processing_status) + { + $this->container['processing_status'] = $processing_status; + + return $this; + } + + /** + * Gets results_uri + * + * @return ?string + */ + public function getResultsUri() + { + return $this->container['results_uri']; + } + + /** + * Sets results_uri + * + * @param ?string $results_uri + * + * @return $this + */ + public function setResultsUri($results_uri) + { + $this->container['results_uri'] = $results_uri; + + return $this; + } + + /** + * Gets submission_date + * + * @return ?string + */ + public function getSubmissionDate() + { + return $this->container['submission_date']; + } + + /** + * Sets submission_date + * + * @param ?string $submission_date + * + * @return $this + */ + public function setSubmissionDate($submission_date) + { + $this->container['submission_date'] = $submission_date; + + return $this; + } + + /** + * Gets submitted_by_user_info + * + * @return \DocuSign\eSign\Model\UserInfo + */ + public function getSubmittedByUserInfo() + { + return $this->container['submitted_by_user_info']; + } + + /** + * Sets submitted_by_user_info + * + * @param \DocuSign\eSign\Model\UserInfo $submitted_by_user_info submitted_by_user_info + * + * @return $this + */ + public function setSubmittedByUserInfo($submitted_by_user_info) + { + $this->container['submitted_by_user_info'] = $submitted_by_user_info; + + return $this; + } + + /** + * Gets submitted_for_publishing_envelope_count + * + * @return ?string + */ + public function getSubmittedForPublishingEnvelopeCount() + { + return $this->container['submitted_for_publishing_envelope_count']; + } + + /** + * Sets submitted_for_publishing_envelope_count + * + * @param ?string $submitted_for_publishing_envelope_count + * + * @return $this + */ + public function setSubmittedForPublishingEnvelopeCount($submitted_for_publishing_envelope_count) + { + $this->container['submitted_for_publishing_envelope_count'] = $submitted_for_publishing_envelope_count; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + #[\ReturnTypeWillChange] + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + #[\ReturnTypeWillChange] + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + #[\ReturnTypeWillChange] + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + diff --git a/src/Model/EnvelopePublishTransactionErrorRollup.php b/src/Model/EnvelopePublishTransactionErrorRollup.php new file mode 100644 index 00000000..0f840333 --- /dev/null +++ b/src/Model/EnvelopePublishTransactionErrorRollup.php @@ -0,0 +1,336 @@ + + * @license The DocuSign PHP Client SDK is licensed under the MIT License. + * @link https://github.com/swagger-api/swagger-codegen + */ + +/** + * DocuSign REST API + * + * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. + * + * OpenAPI spec version: v2.1 + * Contact: devcenter@docusign.com + * Generated by: https://github.com/swagger-api/swagger-codegen.git + * Swagger Codegen version: 2.4.21-SNAPSHOT + */ + +/** + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen + * Do not edit the class manually. + */ + +namespace DocuSign\eSign\Model; + +use \ArrayAccess; +use DocuSign\eSign\ObjectSerializer; + +/** + * EnvelopePublishTransactionErrorRollup Class Doc Comment + * + * @category Class + * @package DocuSign\eSign + * @author Swagger Codegen team + * @license The DocuSign PHP Client SDK is licensed under the MIT License. + * @link https://github.com/swagger-api/swagger-codegen + */ +class EnvelopePublishTransactionErrorRollup implements ModelInterface, ArrayAccess +{ + const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $swaggerModelName = 'envelopePublishTransactionErrorRollup'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $swaggerTypes = [ + 'count' => '?string', + 'error_type' => '?string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $swaggerFormats = [ + 'count' => null, + 'error_type' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerTypes() + { + return self::$swaggerTypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerFormats() + { + return self::$swaggerFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'count' => 'count', + 'error_type' => 'errorType' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'count' => 'setCount', + 'error_type' => 'setErrorType' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'count' => 'getCount', + 'error_type' => 'getErrorType' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$swaggerModelName; + } + + + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['count'] = isset($data['count']) ? $data['count'] : null; + $this->container['error_type'] = isset($data['error_type']) ? $data['error_type'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets count + * + * @return ?string + */ + public function getCount() + { + return $this->container['count']; + } + + /** + * Sets count + * + * @param ?string $count + * + * @return $this + */ + public function setCount($count) + { + $this->container['count'] = $count; + + return $this; + } + + /** + * Gets error_type + * + * @return ?string + */ + public function getErrorType() + { + return $this->container['error_type']; + } + + /** + * Sets error_type + * + * @param ?string $error_type + * + * @return $this + */ + public function setErrorType($error_type) + { + $this->container['error_type'] = $error_type; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + #[\ReturnTypeWillChange] + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + #[\ReturnTypeWillChange] + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + #[\ReturnTypeWillChange] + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + diff --git a/src/Model/Intermediary.php b/src/Model/Intermediary.php index 54285f75..b2574757 100644 --- a/src/Model/Intermediary.php +++ b/src/Model/Intermediary.php @@ -67,6 +67,7 @@ class Intermediary implements ModelInterface, ArrayAccess 'auto_responded_reason' => '?string', 'client_user_id' => '?string', 'completed_count' => '?string', + 'consent_details_list' => '\DocuSign\eSign\Model\ConsentDetails[]', 'custom_fields' => '?string[]', 'declined_date_time' => '?string', 'declined_reason' => '?string', @@ -147,6 +148,7 @@ class Intermediary implements ModelInterface, ArrayAccess 'auto_responded_reason' => null, 'client_user_id' => null, 'completed_count' => null, + 'consent_details_list' => null, 'custom_fields' => null, 'declined_date_time' => null, 'declined_reason' => null, @@ -248,6 +250,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'autoRespondedReason', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', + 'consent_details_list' => 'consentDetailsList', 'custom_fields' => 'customFields', 'declined_date_time' => 'declinedDateTime', 'declined_reason' => 'declinedReason', @@ -328,6 +331,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'setAutoRespondedReason', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', + 'consent_details_list' => 'setConsentDetailsList', 'custom_fields' => 'setCustomFields', 'declined_date_time' => 'setDeclinedDateTime', 'declined_reason' => 'setDeclinedReason', @@ -408,6 +412,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'getAutoRespondedReason', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', + 'consent_details_list' => 'getConsentDetailsList', 'custom_fields' => 'getCustomFields', 'declined_date_time' => 'getDeclinedDateTime', 'declined_reason' => 'getDeclinedReason', @@ -542,6 +547,7 @@ public function __construct(array $data = null) $this->container['auto_responded_reason'] = isset($data['auto_responded_reason']) ? $data['auto_responded_reason'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; + $this->container['consent_details_list'] = isset($data['consent_details_list']) ? $data['consent_details_list'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; $this->container['declined_date_time'] = isset($data['declined_date_time']) ? $data['declined_date_time'] : null; $this->container['declined_reason'] = isset($data['declined_reason']) ? $data['declined_reason'] : null; @@ -824,6 +830,30 @@ public function setCompletedCount($completed_count) return $this; } + /** + * Gets consent_details_list + * + * @return \DocuSign\eSign\Model\ConsentDetails[] + */ + public function getConsentDetailsList() + { + return $this->container['consent_details_list']; + } + + /** + * Sets consent_details_list + * + * @param \DocuSign\eSign\Model\ConsentDetails[] $consent_details_list + * + * @return $this + */ + public function setConsentDetailsList($consent_details_list) + { + $this->container['consent_details_list'] = $consent_details_list; + + return $this; + } + /** * Gets custom_fields * diff --git a/src/Model/NotaryRecipient.php b/src/Model/NotaryRecipient.php index d0dfa433..8a97f6a5 100644 --- a/src/Model/NotaryRecipient.php +++ b/src/Model/NotaryRecipient.php @@ -72,6 +72,7 @@ class NotaryRecipient implements ModelInterface, ArrayAccess 'can_sign_offline' => '?string', 'client_user_id' => '?string', 'completed_count' => '?string', + 'consent_details_list' => '\DocuSign\eSign\Model\ConsentDetails[]', 'creation_reason' => '?string', 'custom_fields' => '?string[]', 'declined_date_time' => '?string', @@ -115,6 +116,7 @@ class NotaryRecipient implements ModelInterface, ArrayAccess 'notary_id' => '?string', 'notary_signer_email_sent' => '?string', 'notary_signers' => '?string[]', + 'notary_source_type' => '?string', 'notary_type' => '?string', 'note' => '?string', 'note_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', @@ -179,6 +181,7 @@ class NotaryRecipient implements ModelInterface, ArrayAccess 'can_sign_offline' => null, 'client_user_id' => null, 'completed_count' => null, + 'consent_details_list' => null, 'creation_reason' => null, 'custom_fields' => null, 'declined_date_time' => null, @@ -222,6 +225,7 @@ class NotaryRecipient implements ModelInterface, ArrayAccess 'notary_id' => null, 'notary_signer_email_sent' => null, 'notary_signers' => null, + 'notary_source_type' => null, 'notary_type' => null, 'note' => null, 'note_metadata' => null, @@ -307,6 +311,7 @@ public static function swaggerFormats() 'can_sign_offline' => 'canSignOffline', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', + 'consent_details_list' => 'consentDetailsList', 'creation_reason' => 'creationReason', 'custom_fields' => 'customFields', 'declined_date_time' => 'declinedDateTime', @@ -350,6 +355,7 @@ public static function swaggerFormats() 'notary_id' => 'notaryId', 'notary_signer_email_sent' => 'notarySignerEmailSent', 'notary_signers' => 'notarySigners', + 'notary_source_type' => 'notarySourceType', 'notary_type' => 'notaryType', 'note' => 'note', 'note_metadata' => 'noteMetadata', @@ -414,6 +420,7 @@ public static function swaggerFormats() 'can_sign_offline' => 'setCanSignOffline', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', + 'consent_details_list' => 'setConsentDetailsList', 'creation_reason' => 'setCreationReason', 'custom_fields' => 'setCustomFields', 'declined_date_time' => 'setDeclinedDateTime', @@ -457,6 +464,7 @@ public static function swaggerFormats() 'notary_id' => 'setNotaryId', 'notary_signer_email_sent' => 'setNotarySignerEmailSent', 'notary_signers' => 'setNotarySigners', + 'notary_source_type' => 'setNotarySourceType', 'notary_type' => 'setNotaryType', 'note' => 'setNote', 'note_metadata' => 'setNoteMetadata', @@ -521,6 +529,7 @@ public static function swaggerFormats() 'can_sign_offline' => 'getCanSignOffline', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', + 'consent_details_list' => 'getConsentDetailsList', 'creation_reason' => 'getCreationReason', 'custom_fields' => 'getCustomFields', 'declined_date_time' => 'getDeclinedDateTime', @@ -564,6 +573,7 @@ public static function swaggerFormats() 'notary_id' => 'getNotaryId', 'notary_signer_email_sent' => 'getNotarySignerEmailSent', 'notary_signers' => 'getNotarySigners', + 'notary_source_type' => 'getNotarySourceType', 'notary_type' => 'getNotaryType', 'note' => 'getNote', 'note_metadata' => 'getNoteMetadata', @@ -682,6 +692,7 @@ public function __construct(array $data = null) $this->container['can_sign_offline'] = isset($data['can_sign_offline']) ? $data['can_sign_offline'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; + $this->container['consent_details_list'] = isset($data['consent_details_list']) ? $data['consent_details_list'] : null; $this->container['creation_reason'] = isset($data['creation_reason']) ? $data['creation_reason'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; $this->container['declined_date_time'] = isset($data['declined_date_time']) ? $data['declined_date_time'] : null; @@ -725,6 +736,7 @@ public function __construct(array $data = null) $this->container['notary_id'] = isset($data['notary_id']) ? $data['notary_id'] : null; $this->container['notary_signer_email_sent'] = isset($data['notary_signer_email_sent']) ? $data['notary_signer_email_sent'] : null; $this->container['notary_signers'] = isset($data['notary_signers']) ? $data['notary_signers'] : null; + $this->container['notary_source_type'] = isset($data['notary_source_type']) ? $data['notary_source_type'] : null; $this->container['notary_type'] = isset($data['notary_type']) ? $data['notary_type'] : null; $this->container['note'] = isset($data['note']) ? $data['note'] : null; $this->container['note_metadata'] = isset($data['note_metadata']) ? $data['note_metadata'] : null; @@ -1106,6 +1118,30 @@ public function setCompletedCount($completed_count) return $this; } + /** + * Gets consent_details_list + * + * @return \DocuSign\eSign\Model\ConsentDetails[] + */ + public function getConsentDetailsList() + { + return $this->container['consent_details_list']; + } + + /** + * Sets consent_details_list + * + * @param \DocuSign\eSign\Model\ConsentDetails[] $consent_details_list + * + * @return $this + */ + public function setConsentDetailsList($consent_details_list) + { + $this->container['consent_details_list'] = $consent_details_list; + + return $this; + } + /** * Gets creation_reason * @@ -2138,6 +2174,30 @@ public function setNotarySigners($notary_signers) return $this; } + /** + * Gets notary_source_type + * + * @return ?string + */ + public function getNotarySourceType() + { + return $this->container['notary_source_type']; + } + + /** + * Sets notary_source_type + * + * @param ?string $notary_source_type + * + * @return $this + */ + public function setNotarySourceType($notary_source_type) + { + $this->container['notary_source_type'] = $notary_source_type; + + return $this; + } + /** * Gets notary_type * diff --git a/src/Model/Participant.php b/src/Model/Participant.php index 9d78726f..b8e7fa60 100644 --- a/src/Model/Participant.php +++ b/src/Model/Participant.php @@ -67,6 +67,7 @@ class Participant implements ModelInterface, ArrayAccess 'auto_responded_reason' => '?string', 'client_user_id' => '?string', 'completed_count' => '?string', + 'consent_details_list' => '\DocuSign\eSign\Model\ConsentDetails[]', 'custom_fields' => '?string[]', 'declined_date_time' => '?string', 'declined_reason' => '?string', @@ -148,6 +149,7 @@ class Participant implements ModelInterface, ArrayAccess 'auto_responded_reason' => null, 'client_user_id' => null, 'completed_count' => null, + 'consent_details_list' => null, 'custom_fields' => null, 'declined_date_time' => null, 'declined_reason' => null, @@ -250,6 +252,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'autoRespondedReason', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', + 'consent_details_list' => 'consentDetailsList', 'custom_fields' => 'customFields', 'declined_date_time' => 'declinedDateTime', 'declined_reason' => 'declinedReason', @@ -331,6 +334,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'setAutoRespondedReason', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', + 'consent_details_list' => 'setConsentDetailsList', 'custom_fields' => 'setCustomFields', 'declined_date_time' => 'setDeclinedDateTime', 'declined_reason' => 'setDeclinedReason', @@ -412,6 +416,7 @@ public static function swaggerFormats() 'auto_responded_reason' => 'getAutoRespondedReason', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', + 'consent_details_list' => 'getConsentDetailsList', 'custom_fields' => 'getCustomFields', 'declined_date_time' => 'getDeclinedDateTime', 'declined_reason' => 'getDeclinedReason', @@ -547,6 +552,7 @@ public function __construct(array $data = null) $this->container['auto_responded_reason'] = isset($data['auto_responded_reason']) ? $data['auto_responded_reason'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; + $this->container['consent_details_list'] = isset($data['consent_details_list']) ? $data['consent_details_list'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; $this->container['declined_date_time'] = isset($data['declined_date_time']) ? $data['declined_date_time'] : null; $this->container['declined_reason'] = isset($data['declined_reason']) ? $data['declined_reason'] : null; @@ -830,6 +836,30 @@ public function setCompletedCount($completed_count) return $this; } + /** + * Gets consent_details_list + * + * @return \DocuSign\eSign\Model\ConsentDetails[] + */ + public function getConsentDetailsList() + { + return $this->container['consent_details_list']; + } + + /** + * Sets consent_details_list + * + * @param \DocuSign\eSign\Model\ConsentDetails[] $consent_details_list + * + * @return $this + */ + public function setConsentDetailsList($consent_details_list) + { + $this->container['consent_details_list'] = $consent_details_list; + + return $this; + } + /** * Gets custom_fields * diff --git a/src/Model/ScheduledSending.php b/src/Model/ScheduledSending.php index 7c69c7f7..0fe02f95 100644 --- a/src/Model/ScheduledSending.php +++ b/src/Model/ScheduledSending.php @@ -59,6 +59,7 @@ class ScheduledSending implements ModelInterface, ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'bulk_list_id' => '?string', 'resume_date' => '?string', 'rules' => '\DocuSign\eSign\Model\EnvelopeDelayRule[]', 'status' => '?string' @@ -70,6 +71,7 @@ class ScheduledSending implements ModelInterface, ArrayAccess * @var string[] */ protected static $swaggerFormats = [ + 'bulk_list_id' => null, 'resume_date' => null, 'rules' => null, 'status' => null @@ -102,6 +104,7 @@ public static function swaggerFormats() * @var string[] */ protected static $attributeMap = [ + 'bulk_list_id' => 'bulkListId', 'resume_date' => 'resumeDate', 'rules' => 'rules', 'status' => 'status' @@ -113,6 +116,7 @@ public static function swaggerFormats() * @var string[] */ protected static $setters = [ + 'bulk_list_id' => 'setBulkListId', 'resume_date' => 'setResumeDate', 'rules' => 'setRules', 'status' => 'setStatus' @@ -124,6 +128,7 @@ public static function swaggerFormats() * @var string[] */ protected static $getters = [ + 'bulk_list_id' => 'getBulkListId', 'resume_date' => 'getResumeDate', 'rules' => 'getRules', 'status' => 'getStatus' @@ -189,6 +194,7 @@ public function getModelName() */ public function __construct(array $data = null) { + $this->container['bulk_list_id'] = isset($data['bulk_list_id']) ? $data['bulk_list_id'] : null; $this->container['resume_date'] = isset($data['resume_date']) ? $data['resume_date'] : null; $this->container['rules'] = isset($data['rules']) ? $data['rules'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; @@ -218,6 +224,30 @@ public function valid() } + /** + * Gets bulk_list_id + * + * @return ?string + */ + public function getBulkListId() + { + return $this->container['bulk_list_id']; + } + + /** + * Sets bulk_list_id + * + * @param ?string $bulk_list_id + * + * @return $this + */ + public function setBulkListId($bulk_list_id) + { + $this->container['bulk_list_id'] = $bulk_list_id; + + return $this; + } + /** * Gets resume_date * diff --git a/src/Model/Signer.php b/src/Model/Signer.php index 64395927..5ebc2014 100644 --- a/src/Model/Signer.php +++ b/src/Model/Signer.php @@ -72,6 +72,7 @@ class Signer implements ModelInterface, ArrayAccess 'can_sign_offline' => '?string', 'client_user_id' => '?string', 'completed_count' => '?string', + 'consent_details_list' => '\DocuSign\eSign\Model\ConsentDetails[]', 'creation_reason' => '?string', 'custom_fields' => '?string[]', 'declined_date_time' => '?string', @@ -176,6 +177,7 @@ class Signer implements ModelInterface, ArrayAccess 'can_sign_offline' => null, 'client_user_id' => null, 'completed_count' => null, + 'consent_details_list' => null, 'creation_reason' => null, 'custom_fields' => null, 'declined_date_time' => null, @@ -301,6 +303,7 @@ public static function swaggerFormats() 'can_sign_offline' => 'canSignOffline', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', + 'consent_details_list' => 'consentDetailsList', 'creation_reason' => 'creationReason', 'custom_fields' => 'customFields', 'declined_date_time' => 'declinedDateTime', @@ -405,6 +408,7 @@ public static function swaggerFormats() 'can_sign_offline' => 'setCanSignOffline', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', + 'consent_details_list' => 'setConsentDetailsList', 'creation_reason' => 'setCreationReason', 'custom_fields' => 'setCustomFields', 'declined_date_time' => 'setDeclinedDateTime', @@ -509,6 +513,7 @@ public static function swaggerFormats() 'can_sign_offline' => 'getCanSignOffline', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', + 'consent_details_list' => 'getConsentDetailsList', 'creation_reason' => 'getCreationReason', 'custom_fields' => 'getCustomFields', 'declined_date_time' => 'getDeclinedDateTime', @@ -667,6 +672,7 @@ public function __construct(array $data = null) $this->container['can_sign_offline'] = isset($data['can_sign_offline']) ? $data['can_sign_offline'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; + $this->container['consent_details_list'] = isset($data['consent_details_list']) ? $data['consent_details_list'] : null; $this->container['creation_reason'] = isset($data['creation_reason']) ? $data['creation_reason'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; $this->container['declined_date_time'] = isset($data['declined_date_time']) ? $data['declined_date_time'] : null; @@ -1088,6 +1094,30 @@ public function setCompletedCount($completed_count) return $this; } + /** + * Gets consent_details_list + * + * @return \DocuSign\eSign\Model\ConsentDetails[] + */ + public function getConsentDetailsList() + { + return $this->container['consent_details_list']; + } + + /** + * Sets consent_details_list + * + * @param \DocuSign\eSign\Model\ConsentDetails[] $consent_details_list + * + * @return $this + */ + public function setConsentDetailsList($consent_details_list) + { + $this->container['consent_details_list'] = $consent_details_list; + + return $this; + } + /** * Gets creation_reason * diff --git a/src/Model/UserAccountManagementGranularInformation.php b/src/Model/UserAccountManagementGranularInformation.php index c2c10520..b2652142 100644 --- a/src/Model/UserAccountManagementGranularInformation.php +++ b/src/Model/UserAccountManagementGranularInformation.php @@ -79,6 +79,8 @@ class UserAccountManagementGranularInformation implements ModelInterface, ArrayA 'can_manage_sharing_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'can_manage_signing_groups' => '?string', 'can_manage_signing_groups_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'can_manage_stamps' => '?string', + 'can_manage_stamps_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'can_manage_users' => '?string', 'can_manage_users_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'can_view_users' => '?string' @@ -110,6 +112,8 @@ class UserAccountManagementGranularInformation implements ModelInterface, ArrayA 'can_manage_sharing_metadata' => null, 'can_manage_signing_groups' => null, 'can_manage_signing_groups_metadata' => null, + 'can_manage_stamps' => null, + 'can_manage_stamps_metadata' => null, 'can_manage_users' => null, 'can_manage_users_metadata' => null, 'can_view_users' => null @@ -162,6 +166,8 @@ public static function swaggerFormats() 'can_manage_sharing_metadata' => 'canManageSharingMetadata', 'can_manage_signing_groups' => 'canManageSigningGroups', 'can_manage_signing_groups_metadata' => 'canManageSigningGroupsMetadata', + 'can_manage_stamps' => 'canManageStamps', + 'can_manage_stamps_metadata' => 'canManageStampsMetadata', 'can_manage_users' => 'canManageUsers', 'can_manage_users_metadata' => 'canManageUsersMetadata', 'can_view_users' => 'canViewUsers' @@ -193,6 +199,8 @@ public static function swaggerFormats() 'can_manage_sharing_metadata' => 'setCanManageSharingMetadata', 'can_manage_signing_groups' => 'setCanManageSigningGroups', 'can_manage_signing_groups_metadata' => 'setCanManageSigningGroupsMetadata', + 'can_manage_stamps' => 'setCanManageStamps', + 'can_manage_stamps_metadata' => 'setCanManageStampsMetadata', 'can_manage_users' => 'setCanManageUsers', 'can_manage_users_metadata' => 'setCanManageUsersMetadata', 'can_view_users' => 'setCanViewUsers' @@ -224,6 +232,8 @@ public static function swaggerFormats() 'can_manage_sharing_metadata' => 'getCanManageSharingMetadata', 'can_manage_signing_groups' => 'getCanManageSigningGroups', 'can_manage_signing_groups_metadata' => 'getCanManageSigningGroupsMetadata', + 'can_manage_stamps' => 'getCanManageStamps', + 'can_manage_stamps_metadata' => 'getCanManageStampsMetadata', 'can_manage_users' => 'getCanManageUsers', 'can_manage_users_metadata' => 'getCanManageUsersMetadata', 'can_view_users' => 'getCanViewUsers' @@ -309,6 +319,8 @@ public function __construct(array $data = null) $this->container['can_manage_sharing_metadata'] = isset($data['can_manage_sharing_metadata']) ? $data['can_manage_sharing_metadata'] : null; $this->container['can_manage_signing_groups'] = isset($data['can_manage_signing_groups']) ? $data['can_manage_signing_groups'] : null; $this->container['can_manage_signing_groups_metadata'] = isset($data['can_manage_signing_groups_metadata']) ? $data['can_manage_signing_groups_metadata'] : null; + $this->container['can_manage_stamps'] = isset($data['can_manage_stamps']) ? $data['can_manage_stamps'] : null; + $this->container['can_manage_stamps_metadata'] = isset($data['can_manage_stamps_metadata']) ? $data['can_manage_stamps_metadata'] : null; $this->container['can_manage_users'] = isset($data['can_manage_users']) ? $data['can_manage_users'] : null; $this->container['can_manage_users_metadata'] = isset($data['can_manage_users_metadata']) ? $data['can_manage_users_metadata'] : null; $this->container['can_view_users'] = isset($data['can_view_users']) ? $data['can_view_users'] : null; @@ -818,6 +830,54 @@ public function setCanManageSigningGroupsMetadata($can_manage_signing_groups_met return $this; } + /** + * Gets can_manage_stamps + * + * @return ?string + */ + public function getCanManageStamps() + { + return $this->container['can_manage_stamps']; + } + + /** + * Sets can_manage_stamps + * + * @param ?string $can_manage_stamps + * + * @return $this + */ + public function setCanManageStamps($can_manage_stamps) + { + $this->container['can_manage_stamps'] = $can_manage_stamps; + + return $this; + } + + /** + * Gets can_manage_stamps_metadata + * + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getCanManageStampsMetadata() + { + return $this->container['can_manage_stamps_metadata']; + } + + /** + * Sets can_manage_stamps_metadata + * + * @param \DocuSign\eSign\Model\SettingsMetadata $can_manage_stamps_metadata can_manage_stamps_metadata + * + * @return $this + */ + public function setCanManageStampsMetadata($can_manage_stamps_metadata) + { + $this->container['can_manage_stamps_metadata'] = $can_manage_stamps_metadata; + + return $this; + } + /** * Gets can_manage_users * diff --git a/src/Model/Witness.php b/src/Model/Witness.php index 41b10198..da2dcc0c 100644 --- a/src/Model/Witness.php +++ b/src/Model/Witness.php @@ -72,6 +72,7 @@ class Witness implements ModelInterface, ArrayAccess 'can_sign_offline' => '?string', 'client_user_id' => '?string', 'completed_count' => '?string', + 'consent_details_list' => '\DocuSign\eSign\Model\ConsentDetails[]', 'creation_reason' => '?string', 'custom_fields' => '?string[]', 'declined_date_time' => '?string', @@ -178,6 +179,7 @@ class Witness implements ModelInterface, ArrayAccess 'can_sign_offline' => null, 'client_user_id' => null, 'completed_count' => null, + 'consent_details_list' => null, 'creation_reason' => null, 'custom_fields' => null, 'declined_date_time' => null, @@ -305,6 +307,7 @@ public static function swaggerFormats() 'can_sign_offline' => 'canSignOffline', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', + 'consent_details_list' => 'consentDetailsList', 'creation_reason' => 'creationReason', 'custom_fields' => 'customFields', 'declined_date_time' => 'declinedDateTime', @@ -411,6 +414,7 @@ public static function swaggerFormats() 'can_sign_offline' => 'setCanSignOffline', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', + 'consent_details_list' => 'setConsentDetailsList', 'creation_reason' => 'setCreationReason', 'custom_fields' => 'setCustomFields', 'declined_date_time' => 'setDeclinedDateTime', @@ -517,6 +521,7 @@ public static function swaggerFormats() 'can_sign_offline' => 'getCanSignOffline', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', + 'consent_details_list' => 'getConsentDetailsList', 'creation_reason' => 'getCreationReason', 'custom_fields' => 'getCustomFields', 'declined_date_time' => 'getDeclinedDateTime', @@ -677,6 +682,7 @@ public function __construct(array $data = null) $this->container['can_sign_offline'] = isset($data['can_sign_offline']) ? $data['can_sign_offline'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; + $this->container['consent_details_list'] = isset($data['consent_details_list']) ? $data['consent_details_list'] : null; $this->container['creation_reason'] = isset($data['creation_reason']) ? $data['creation_reason'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; $this->container['declined_date_time'] = isset($data['declined_date_time']) ? $data['declined_date_time'] : null; @@ -1100,6 +1106,30 @@ public function setCompletedCount($completed_count) return $this; } + /** + * Gets consent_details_list + * + * @return \DocuSign\eSign\Model\ConsentDetails[] + */ + public function getConsentDetailsList() + { + return $this->container['consent_details_list']; + } + + /** + * Sets consent_details_list + * + * @param \DocuSign\eSign\Model\ConsentDetails[] $consent_details_list + * + * @return $this + */ + public function setConsentDetailsList($consent_details_list) + { + $this->container['consent_details_list'] = $consent_details_list; + + return $this; + } + /** * Gets creation_reason *